/* ============================================================
   chunk2u — style.css
   v3.0 | 2026-05-01 | Komplett omskrivning utan dubbletter.
         Korrekt FA-ikonhantering genomgående. Ingen svg-konflikt.
   ============================================================ */

/* ── Reset ────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variabler ────────────────────────────────────────────────*/
:root {
  --brand:        #1e3a5f;
  --brand-d:      #0f2744;
  --brand-dd:     #07111f;
  --accent:       #3b82f6;
  --accent-h:     #2563eb;
  --gold:         #c9a84c;
  --surface-2:    rgba(255,255,255,.06);
  --surface-3:    rgba(255,255,255,.10);
  --border:       rgba(255,255,255,.10);
  --border-card:  rgba(255,255,255,.12);
  --text:         #ffffff;
  --text-2:       rgba(255,255,255,.80);
  --text-3:       rgba(255,255,255,.42);
  --danger:       #ef4444;
  --success:      #22c55e;
  --card-bg:      rgba(255,255,255,.07);
  --card-bg-h:    rgba(255,255,255,.11);
  --input-bg:     rgba(255,255,255,.08);
  --input-border: rgba(255,255,255,.18);
  --radius:       12px;
  --radius-lg:    18px;
}

/* ── Grund ────────────────────────────────────────────────────*/
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--brand-dd);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* ── Banner ───────────────────────────────────────────────────*/
.site-banner {
  background: var(--gold);
  color: #1a1200;
  text-align: center;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 600;
}

/* ── Språkrad ─────────────────────────────────────────────────*/
.lang-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem 1.5rem;
  background: var(--brand-dd);
  border-bottom: 1px solid var(--border);
  font-size: .7rem;
}
.lang-icon { width: 12px; height: 12px; stroke: var(--text-3); flex-shrink: 0; }
.lang-btn  { color: var(--text-3); font-weight: 500; letter-spacing: .04em; transition: color .15s; }
.lang-btn:hover, .lang-btn.active { color: #fff; }
.lang-sep  { color: var(--border); }

/* ── Navbar ───────────────────────────────────────────────────*/
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--brand-dd);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.04em;
}
.nav-logo span { color: var(--accent); }
.nav-links-desktop { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-size: .82rem; font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-admin { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.nav-btn {
  font-size: .8rem; font-weight: 600; color: #fff;
  background: var(--accent); border-radius: 8px; padding: .4rem 1.1rem;
  transition: background .15s;
}
.nav-btn:hover { background: var(--accent-h); color: #fff; }

/* ── Hamburger ────────────────────────────────────────────────*/
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; }

/* ── Drawer ───────────────────────────────────────────────────*/
.nav-drawer {
  position: fixed; top: 0; right: -280px; width: 260px; height: 100vh;
  background: var(--brand-dd); border-left: 1px solid var(--border);
  z-index: 300; transition: right .3s ease; padding: 1.5rem; overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.drawer-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--text-2); float: right; }
.drawer-links { list-style: none; margin-top: 2rem; }
.drawer-links li { border-bottom: 1px solid var(--border); }
.drawer-links a { display: block; padding: .75rem 0; font-size: .95rem; color: var(--text-2); }
.drawer-links a.active, .drawer-links a:hover { color: #fff; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 250; }
.nav-overlay.show { display: block; }

/* ── Flash ────────────────────────────────────────────────────*/
.flash { padding: .75rem 1.5rem; font-size: .875rem; font-weight: 500; text-align: center; }
.flash-ok      { background: #052e16; color: #86efac; }
.flash-error   { background: #450a0a; color: #fca5a5; }
.flash-warning { background: #431407; color: #fdba74; }

/* ── Doodle ───────────────────────────────────────────────────*/
.doodle-zone { width: 100%; max-height: 140px; overflow: hidden; border-bottom: 1px solid var(--border); }
.doodle-zone img { width: 100%; height: 140px; object-fit: cover; }
.doodle-zone .slide { display: none; }
.doodle-zone .slide.active { display: block; }

/* ── Hero ─────────────────────────────────────────────────────*/
.hero { text-align: center; padding: 4rem 1.5rem 2.5rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.hero-eyebrow i { font-size: .7rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; letter-spacing: -.04em;
  color: #fff; line-height: 1.1; margin-bottom: .75rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1rem; color: var(--text-2); max-width: 460px; margin: 0 auto; line-height: 1.65; }

/* ── Trust-badges ─────────────────────────────────────────────*/
.trust-badges {
  display: flex; justify-content: center;
  gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: 999px; padding: .3rem .85rem;
}
.trust-badge i { font-size: .7rem; color: var(--accent); }

/* ── Upload-widget ────────────────────────────────────────────*/
.upload-wrap { max-width: 540px; margin: 0 auto; padding: 0 1.25rem 4rem; width: 100%; }

/* ── Step-dots ────────────────────────────────────────────────*/
.step-dots { display: flex; gap: .4rem; justify-content: center; margin-bottom: 1.5rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); transition: all .25s; }
.dot.active { background: var(--accent); transform: scale(1.5); }
.dot.done   { background: var(--gold); }

/* ── Dropzone ─────────────────────────────────────────────────*/
.dropzone {
  border: 2px dashed var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 2.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: var(--accent);
  background: rgba(59,130,246,.08);
}
/* Drop-icon: en rundad box med FA-ikon inuti */
.drop-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25);
  display: flex; align-items: center; justify-content: center;
}
.drop-icon i { font-size: 1.4rem; color: var(--accent); }
.drop-title { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .35rem; }
.drop-sub   { font-size: .82rem; color: var(--text-3); }

/* ── Kort ─────────────────────────────────────────────────────*/
.pin-card, .progress-card, .done-card {
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
}
.pin-card h3 { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .5rem; }
.pin-card h3 i { margin-right: .4rem; color: var(--accent); }
.pin-card p { font-size: .85rem; color: var(--text-2); margin-bottom: 1.5rem; }
.pin-card p strong { color: #fff; }
.progress-card p { color: var(--text-2); font-size: .9rem; font-weight: 500; margin-bottom: 1rem; }
.progress-card p i { margin-right: .4rem; color: var(--accent); }

/* ── PIN-inputs ───────────────────────────────────────────────*/
.pin-inputs { display: flex; gap: .75rem; justify-content: center; margin-bottom: 1.25rem; }
.pin-input {
  width: 58px; height: 68px;
  font-size: 1.8rem; font-weight: 700; text-align: center;
  border: 2px solid var(--input-border); border-radius: 12px;
  color: #fff; background: var(--input-bg);
  transition: border-color .15s; outline: none;
  font-family: 'Inter', monospace;
}
.pin-input:focus { border-color: var(--accent); background: rgba(59,130,246,.12); }

/* ── Knappar ──────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.5rem; border-radius: 10px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  font-family: inherit; border: none;
  transition: background .15s, transform .1s;
  text-decoration: none; letter-spacing: .01em;
}
.btn i { font-size: .85rem; }
.btn:active { transform: scale(.98); }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }
.btn-secondary {
  background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border-card);
}
.btn-secondary:hover { background: var(--surface-3); color: #fff; }
.btn-full  { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Fält ─────────────────────────────────────────────────────*/
.field-wrap { margin-bottom: .875rem; }
.field-label {
  font-size: .73rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-3); display: block; margin-bottom: .35rem;
}
.field-label i { margin-right: .3rem; }
.field {
  width: 100%; padding: .6rem .9rem;
  border: 1px solid var(--input-border); border-radius: 10px;
  font-size: .9rem; font-family: inherit;
  background: var(--input-bg); color: #fff;
  outline: none; transition: border-color .15s; resize: vertical;
}
.field:focus { border-color: var(--accent); background: rgba(59,130,246,.08); }
.field::placeholder { color: var(--text-3); }

/* ── Fillista ─────────────────────────────────────────────────*/
.file-list { margin-top: .875rem; display: flex; flex-direction: column; gap: .4rem; }
.file-item {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: 10px; padding: .6rem .9rem;
}
.file-emoji { font-size: 1rem; flex-shrink: 0; color: var(--accent); }
.file-emoji i { font-size: 1rem; }
.file-info  { flex: 1; min-width: 0; }
.file-name  { font-size: .83rem; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size  { font-size: .72rem; color: var(--text-3); }
.file-rm    { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: .9rem; flex-shrink: 0; padding: 0 .25rem; transition: color .15s; }
.file-rm:hover { color: var(--danger); }
.file-rm i  { font-size: .9rem; }

/* ── File-actions ─────────────────────────────────────────────*/
.file-actions-bar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.file-actions-bar.hidden { display: none !important; }

/* ── Progress ─────────────────────────────────────────────────*/
.prog-bar-wrap { background: var(--surface-2); border-radius: 999px; height: 6px; overflow: hidden; margin: .75rem 0 .4rem; }
.prog-bar      { height: 6px; background: var(--accent); border-radius: 999px; transition: width .4s; width: 0; }
.prog-stats    { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-3); }

/* ── Klar-kort ────────────────────────────────────────────────*/
.done-check { font-size: 2.5rem; margin-bottom: .75rem; color: var(--success); }
.done-check i { font-size: 2.5rem; }
.done-card h2 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.done-card > p { font-size: .85rem; color: var(--text-2); margin-bottom: 1.5rem; }
.link-box {
  display: flex; gap: .5rem; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: 10px; padding: .6rem .9rem; margin-bottom: 1.25rem;
}
.link-display {
  flex: 1; font-family: 'SF Mono','Fira Code',monospace;
  font-size: .78rem; color: var(--accent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.btn-copy {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent); color: #fff; border: none;
  border-radius: 7px; padding: .35rem .9rem;
  font-size: .78rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background .15s; flex-shrink: 0;
}
.btn-copy:hover { background: var(--accent-h); }
.btn-copy i { font-size: .78rem; }

/* ── Taggar ───────────────────────────────────────────────────*/
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.25rem; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 500;
  color: var(--text-3); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 6px; padding: .2rem .6rem;
}
.tag i { font-size: .68rem; }

/* ── Extra-opts ───────────────────────────────────────────────*/
#extra-opts {
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1rem; margin-top: .75rem;
}

/* ── Trust-section ────────────────────────────────────────────*/
.trust-section { max-width: 600px; margin: 0 auto; padding: 0 1.25rem 4rem; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.trust-item {
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; gap: .875rem; align-items: flex-start;
}
.trust-item-icon { font-size: 1.1rem; color: var(--accent); flex-shrink: 0; margin-top: .1rem; }
.trust-item-icon i { font-size: 1.1rem; }
.trust-item-title { font-size: .83rem; font-weight: 600; color: #fff; margin-bottom: .15rem; }
.trust-item-desc  { font-size: .73rem; color: var(--text-2); line-height: 1.5; }

/* ── Toast ────────────────────────────────────────────────────*/
.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface-3); border: 1px solid var(--border-card);
  color: #fff; padding: .55rem 1.4rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  opacity: 0; transition: transform .3s, opacity .3s;
  pointer-events: none; z-index: 999; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.toast-err { background: rgba(239,68,68,.2); border-color: rgba(239,68,68,.4); color: #fca5a5; }

/* ── Footer ───────────────────────────────────────────────────*/
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--brand-dd);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand .footer-logo {
  font-size: 1.2rem; font-weight: 700; color: #fff;
  letter-spacing: -.03em; display: block; margin-bottom: .5rem;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: .78rem; color: var(--text-3); line-height: 1.65; max-width: 220px; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links strong {
  font-size: .68rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem;
}
.footer-links a { font-size: .8rem; color: var(--text-2); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 820px; margin: 0 auto;
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 1.25rem;
  font-size: .72rem; color: var(--text-3);
}

/* ── Gemensam sida-layout (om, villkor, etc) ──────────────────*/
.page-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.page-wrap h1 {
  font-size: 1.9rem; font-weight: 700;
  letter-spacing: -.04em; color: #fff;
  margin-bottom: .5rem;
}
.page-wrap h1 i { color: var(--accent); margin-right: .4rem; }
.page-wrap h2 {
  font-size: 1.15rem; font-weight: 600; color: #fff;
  margin: 2rem 0 .5rem;
}
.page-wrap h2 i { color: var(--accent); margin-right: .35rem; }
.page-wrap p   { font-size: .9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1rem; }
.page-wrap ul  { list-style: none; margin-bottom: 1rem; }
.page-wrap ul li {
  font-size: .9rem; color: var(--text-2); line-height: 1.7;
  padding-left: 1.4rem; position: relative; margin-bottom: .3rem;
}
.page-wrap ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.page-lead { font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; line-height: 1.7; }
.info-card {
  background: var(--surface-2); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem;
}
.info-card p { margin: 0; font-size: .88rem; }

/* ── Prissida ─────────────────────────────────────────────────*/
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin-top: 2rem;
}
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; position: relative;
}
.pricing-card.popular { border-color: var(--accent); border-width: 1.5px; }
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .67rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 14px; border-radius: 999px;
}
.pricing-tier  { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); margin-bottom: .5rem; }
.pricing-price { font-size: 2.1rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.pricing-price small { font-size: .82rem; font-weight: 400; color: var(--text-3); }
.pricing-desc  { font-size: .78rem; color: var(--text-3); margin: .5rem 0 1.25rem; }
.pricing-feats { list-style: none; font-size: .8rem; display: flex; flex-direction: column; gap: .45rem; }
.pricing-feats li { display: flex; gap: .45rem; align-items: flex-start; color: var(--text-2); padding-left: 0; }
.pricing-feats li::before { display: none; }
.pricing-feats i { flex-shrink: 0; margin-top: .2rem; }
.pricing-feats .fa-check { color: var(--success); }
.pricing-feats .fa-xmark { color: var(--text-3); }

/* ── Alert ────────────────────────────────────────────────────*/
.alert {
  border-radius: 10px; padding: .875rem 1.1rem;
  font-size: .85rem; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.alert i { margin-right: .4rem; }
.alert-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); color: #86efac; }
.alert-error   { background: rgba(239,68,68,.12);  border: 1px solid rgba(239,68,68,.25);  color: #fca5a5; }

/* ── Inlogg/aktivera-kort ─────────────────────────────────────*/
.auth-wrap {
  max-width: 440px; margin: 4rem auto;
  padding: 0 1.25rem 5rem;
}
.auth-card {
  background: var(--card-bg); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 2rem;
}
.auth-card h1 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.auth-card h1 i { color: var(--accent); margin-right: .4rem; }
.auth-card p.lead { font-size: .85rem; color: var(--text-2); margin-bottom: 1.5rem; line-height: 1.65; }

/* ── Utilities ────────────────────────────────────────────────*/
.hidden { display: none !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-3); font-size: .82rem; }

/* ── Responsivt ───────────────────────────────────────────────*/
@media (max-width: 640px) {
  .main-nav { padding: .875rem 1.25rem; }
  .nav-links-desktop { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 1.25rem 1.75rem; }
  .pin-input { width: 50px; height: 60px; font-size: 1.5rem; }
}

/* ── Valutaväljare ────────────────────────────────────────────*/
.currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--surface-2);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: .2rem .35rem;
  font-size: .72rem;
}
.currency-btn {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-family: inherit;
  transition: all .15s;
  letter-spacing: .04em;
}
.currency-btn.active {
  background: var(--accent);
  color: #fff;
}
.currency-btn:hover:not(.active) { color: #fff; }

/* ── Trust-badges: klickbar animation ────────────────────────*/
.trust-badge {
  cursor: default;
  transition: background .2s, transform .15s, border-color .2s;
}
.trust-badge:hover {
  background: rgba(59,130,246,.15);
  border-color: rgba(59,130,246,.4);
  transform: translateY(-2px);
}
.trust-badge:active { transform: scale(.96); }

/* ── Trust-grid items: hover-lift ────────────────────────────*/
.trust-item {
  transition: background .2s, transform .15s;
  cursor: default;
}
.trust-item:hover {
  background: var(--surface-3);
  transform: translateY(-2px);
}
.trust-item:active { transform: scale(.98); }

/* ── Select/dropdown ─────────────────────────────────────────*/
select.field,
select {
  color: #ffffff;
  background-color: var(--input-bg);
}
select.field option,
select option {
  background-color: #0f2744;
  color: #ffffff;
}
/* Firefox fix */
select.field:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #ffffff;
}

/* ── Select dropdown fix — vit text synlig utan markör ───────*/
select,
select.field {
  color: #ffffff !important;
  background-color: #0f2744;
  -webkit-text-fill-color: #ffffff;
}
select option {
  background-color: #0f2744 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* ── Custom select — fungerar i alla webbläsare ──────────────*/
.custom-select-wrap {
  position: relative;
  display: block;
}
.custom-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: .6rem 2.5rem .6rem .9rem;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  font-size: .9rem;
  font-family: inherit;
  background: #0f2744;
  color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
}
.custom-select-wrap::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.45);
  pointer-events: none;
  font-size: .8rem;
}
.custom-select-wrap select:focus {
  border-color: var(--accent);
  background: #0f2744;
}
.custom-select-wrap select option {
  background: #0f2744;
  color: #ffffff;
}

/* ── EU-flagga i navbar via CSS content ──────────────────────
   Emoji i CSS påverkas inte av editor-encoding.
   Ändra font-size här för att justera storlek.         ──────*/
.nav-eu-flag {
  display: inline-block;
  margin-left: .5rem;
  vertical-align: middle;
  font-size: 2rem;
  line-height: 1;
}
.nav-eu-flag::before {
  content: "\1F1EA\1F1FA";
}
