/* Farver/tema */
:root{
  --bg:#0b1020; --panel:#111936; --muted:#90a0c0; --txt:#e9eefc;
  --accent:#2ecc71;          /* grøn accent som i dit eksempel */
  --accent-ink:#0b4224;      /* mørk tekst på grøn knap */
  --line:#223055;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--txt);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; }

/* Topbar */
.topbar{ position:sticky; top:0; z-index:10; display:flex; align-items:center;
  justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--line);
  background:rgba(11,16,32,.7); backdrop-filter:saturate(140%) blur(8px); }
.brand{ display:flex; align-items:center; gap:10px; color:inherit; text-decoration:none; }
.brand-icon{ display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:var(--accent); }
.brand .icon{ width:20px; height:20px; color:#fff; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text small{ color:var(--muted); }

/* Topbar er altid synlig */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,12,22,.88);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px;
}
body{ padding-top: 0px; }  /* justér til din topbar-højde */

.topbar .brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }

/* Hero */
.hero{
  min-height:72vh; display:grid; place-items:center; text-align:center; padding:48px 16px;
  background:
    radial-gradient(1200px 600px at 70% 90%, rgba(46,204,113,.15), transparent 60%),
    radial-gradient(900px 500px at 30% 20%, rgba(46,204,113,.10), transparent 60%);
}
.hero-inner{ max-width:900px; margin:auto; }
.hero-icon{ width:88px; height:88px; margin:0 auto 18px; border-radius:20px; background:var(--accent);
  display:grid; place-items:center; box-shadow:0 10px 40px rgba(46,204,113,.25); }
.icon-hero{ width:42px; height:42px; color:#fff; }

.hero-title{ font-size:44px; line-height:1.1; margin:10px 0 6px; font-weight:800; letter-spacing:.2px; }
@media (min-width: 900px){ .hero-title{ font-size:56px; } }
.accent{ color:var(--accent); text-shadow:0 0 1px rgba(0,0,0,.15); }
.hero-sub{ color:var(--muted); max-width:760px; margin:10px auto 22px; }
.hero-note{ color:var(--muted); font-size:.95rem; margin-top:10px; }

/* Layout / kort */
.container{ max-width:1100px; margin:24px auto 48px; padding:0 16px; }
.card{ background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.grid{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width: 900px){ .grid{ grid-template-columns:1fr 1fr; } }

.stack{ display:grid; gap:10px; }
.list{ margin:0; padding-left:18px; }
.muted{ color:var(--muted); }
.msg{ min-height:1.1em; font-size:.95rem; color:var(--muted); }

input,textarea{ background:#0f1730; border:1px solid var(--line); border-radius:10px; padding:10px 12px; color:var(--txt); }
input:focus,textarea:focus{ outline:2px solid var(--accent); border-color:transparent; }

/* Knapper */
.btn{ background:#3b82f6; color:#081021; border:none; padding:10px 14px; border-radius:10px; font-weight:700; cursor:pointer; }
.btn:hover{ filter:brightness(1.05); }
.btn-primary{ background:var(--accent); color:var(--accent-ink); }
.btn-ghost{ background:transparent; color:var(--txt); border:1px solid var(--line); }

.footer{ text-align:center; color:var(--muted); margin:32px 0; }
.hidden{ display:none !important; }

#features .hero-sub {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;}

/* --- Features: centrér og gør layoutet pænere --- */
#features .hero-title,
#features .hero-sub {
  text-align: center;}

  #features .card {
  height: 100%;
  border-radius: 16px;}
  
  html { scroll-behavior: smooth;}

  .topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px);}

  /* Fjern streger under "Log ind" og "Kontakt administrator" */
.btn,
.btn:link,
.btn:visited,
.btn:hover,
.btn:focus,
.btn:active,
.actions a {
  text-decoration: none !important;}

  /* CTA: centrér og gør det pænt */
section.container[aria-labelledby="cta-title"] .card {
    max-width: 750px; 
    margin: 0 auto;
    text-align: center;}

/* Knaprækken */
section.container[aria-labelledby="cta-title"] .card > div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;}

/* Ens knapper uden understregning */
section.container[aria-labelledby="cta-title"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  text-decoration: none;
  border-bottom: 1;}

  /* Centrer "Vis" vertikalt og giv plads i inputtet */
.auth-card .pw-wrap { position: relative; }
.auth-card .pw-wrap .input { padding-right: 72px; }  /* plads til knappen */

.auth-card .pw-toggle{
  position: absolute;
  right: 8px;
  top: 70%;
  transform: translateY(-50%);  /* midt på */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  line-height: 1;               /* undgå at teksten hopper opad */
  background: transparent;
  border:0;
  border-radius: 8px;
  cursor: pointer;
  opacity: .85;}

/* Ingen understregning på knapper/links i login-kortet */
.auth-card a.btn,
.auth-card a.btn-ghost,
.auth-card .helper a {
  text-decoration: none !important;
  border-bottom: 1 !important;}

  /* Selve menuen (options) – gør den mørk */
.select option,
.select optgroup {
  background-color: #0d1324;  /* match dit mørke tema */
  color: #e5e7eb;
}