/* override.css — additive, safe: no HTML structure changes */

/* Hide legacy PL/EN anchors (we'll render a single toggle via JS) */
#lang-switch a#btn-pl,
#lang-switch a#btn-en { display: none; }

/* Single toggle styling (inserted by JS) */
:root {
  --ls-border: rgba(255,255,255,0.25);
  --ls-border-active: rgba(255,255,255,0.5);
  --ls-text: rgba(255,255,255,0.85);
  --ls-text-active: #fff;
  --ls-hover-bg: rgba(255,255,255,0.08);
  --ls-radius: 4px;
}

#lang-switch { position: fixed; top: 12px; right: 16px; z-index: 10000; display: inline-flex; gap: 6px; }

#lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; min-width: 54px; padding: 6px 14px;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  background: transparent; color: var(--ls-text);
  font: inherit; font-weight: 700; letter-spacing: .01em; line-height: 1.25;
  cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .08s ease;
}
#lang-toggle:hover { background: var(--ls-hover-bg); color: var(--ls-text-active); }
#lang-toggle:active { transform: translateY(1px); }
#lang-toggle.is-pl, #lang-toggle.is-en { color: var(--ls-text-active); border-color: var(--ls-border-active); }

@media (max-width: 736px) { #lang-switch { right: 72px; } }
