/* Elregningstjek – følger temaets tokens (redesign.css), med reserveværdier. */
.elotjek {
  --et-accent: var(--eo-accent, #004aad);
  --et-accent-dark: var(--eo-accent-dark, #003279);
  --et-accent-light: var(--eo-accent-light, #9cc5ff);
  --et-soft: var(--eo-accent-soft, #eef3fc);
  --et-ink: var(--eo-ink, #0f1419);
  --et-ink-soft: var(--eo-ink-soft, #3a3f47);
  --et-muted: #5b6270;
  --et-line: var(--eo-line, #e4e6ea);
  --et-subtle: var(--eo-subtle, #f5f5f3);
  --et-radius: var(--eo-radius, 14px);
  font-family: var(--eo-sans, "Geist", system-ui, -apple-system, "Segoe UI", sans-serif);
  color: var(--et-ink);
  max-width: 640px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.elotjek *, .elotjek *::before, .elotjek *::after { box-sizing: border-box; }
.elotjek [hidden] { display: none !important; }
.elotjek h1, .elotjek h2 { letter-spacing: -.02em; color: var(--et-ink); margin: 0; }
.elotjek h2 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.elotjek p { margin: 0; }
.elotjek a { color: var(--et-accent); }
.elotjek-form, .elotjek-tak, .elotjek-res { display: flex; flex-direction: column; gap: 20px; }
.elotjek-tak:focus { outline: none; }

.elotjek-eyebrow, .elotjek-label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--et-accent); }
.elotjek-label { color: var(--et-muted); }
.elotjek-muted, .elotjek-smaat { font-size: 13px; line-height: 1.5; color: var(--et-muted); }

/* Intro */
.elotjek-intro { display: flex; flex-direction: column; gap: 10px; }
.elotjek .elotjek-intro h1 { font-weight: 800; font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; }
.elotjek .elotjek-intro p:last-child { font-size: 17px; line-height: 1.55; color: var(--et-ink-soft); }

/* Trin */
.elotjek-trin, .elotjek-naeste ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.elotjek .elotjek-trin li, .elotjek .elotjek-naeste li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.45; margin: 0; }
.elotjek-naeste li { align-items: flex-start; }
.elotjek-trin span, .elotjek-naeste span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--et-soft); color: var(--et-accent); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.elotjek-naeste span.is-aktiv { background: var(--et-accent); color: #fff; }
.elotjek-naeste { display: flex; flex-direction: column; gap: 14px; }

/* Kort + formular */
.elotjek-kort { display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--et-line); border-radius: var(--et-radius); padding: 18px; background: #fff; }
.elotjek-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; border: 2px dashed var(--et-accent-light); border-radius: 12px; background: #f7faff; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.elotjek-drop:hover, .elotjek-drop.is-over { background: var(--et-soft); border-color: var(--et-accent); }
.elotjek-drop:focus-within { outline: 3px solid var(--et-accent-light); outline-offset: 2px; }
.elotjek-drop.har-fil { padding: 16px; }
.elotjek-drop__titel { font-weight: 700; font-size: 16px; }
.elotjek-drop__hint { font-size: 13px; color: var(--et-muted); }
.elotjek-drop input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.elotjek-filer { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.elotjek-filer li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: var(--et-subtle); border-radius: 8px; font-size: 14px; margin: 0; }
.elotjek-filer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elotjek-filer button, .elotjek-link { background: none; border: 0; padding: 4px; color: var(--et-accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 32px; }
.elotjek-laeser { font-size: 14px; color: var(--et-accent-dark); background: var(--et-soft); padding: 10px 12px; border-radius: 8px; margin-top: -6px !important; }
.elotjek-tip { display: flex; gap: 10px; align-items: flex-start; background: var(--et-subtle); border-radius: 10px; padding: 12px; }
.elotjek-tip svg { flex: none; margin-top: 2px; }
.elotjek-tip p { font-size: 14px; line-height: 1.45; color: var(--et-ink-soft); }
.elotjek-felt { display: flex; flex-direction: column; gap: 6px; }
.elotjek-felt label { font-weight: 700; font-size: 15px; }
.elotjek-felt input { height: 48px; border: 1px solid #c9ced6; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; width: 100%; background: #fff; color: var(--et-ink); }
.elotjek-felt input:focus { outline: 3px solid var(--et-accent-light); border-color: var(--et-accent); }
.elotjek-felt span { font-size: 13px; color: var(--et-muted); }
.elotjek-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elotjek-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.elotjek-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--et-accent); }
.elotjek-check em { font-style: normal; color: var(--et-muted); }
.elotjek-fejl { color: #b32d2e; background: #fcf0f1; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; }

.elotjek-knap { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 12px 20px; border: 0; border-radius: 10px; background: var(--et-accent); color: #fff !important; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none !important; cursor: pointer; transition: background .15s; }
.elotjek-knap:hover { background: var(--et-accent-dark); }
.elotjek-knap:focus-visible { outline: 3px solid var(--et-accent-light); outline-offset: 2px; }
.elotjek-knap:disabled { opacity: .6; cursor: wait; }
.elotjek-knap--moerk { background: var(--et-ink); min-height: 48px; font-size: 16px; font-weight: 700; }
.elotjek-knap--moerk:hover { background: #000; }
.elotjek-knap--roed { background: #b32d2e; }
.elotjek-knap--roed:hover { background: #8a2424; }

/* Mørk boks om data */
.elotjek-privat { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--et-radius); background: var(--et-ink); color: #c9cfd8; scroll-margin-top: 90px; }
.elotjek .elotjek-privat h2 { color: #fff; font-size: 19px; }
.elotjek-privat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; }
.elotjek .elotjek-privat li { display: flex; gap: 10px; margin: 0; color: #c9cfd8; font-size: 14px; line-height: 1.45; }
.elotjek-privat svg { flex: none; margin-top: 1px; }
.elotjek .elotjek-privat a { color: var(--et-accent-light); font-weight: 700; font-size: 14px; }

/* Kvittering */
.elotjek-tak__top { display: flex; flex-direction: column; gap: 12px; }
.elotjek-tak__top h2 { font-size: 28px; line-height: 1.15; }
.elotjek-tak__top p { font-size: 16px; line-height: 1.55; color: var(--et-ink-soft); }
.elotjek-tak__ikon { width: 52px; height: 52px; border-radius: 50%; background: var(--et-soft); display: flex; align-items: center; justify-content: center; }
.elotjek-overslag { border: 1px solid var(--et-line); border-radius: var(--et-radius); overflow: hidden; }
.elotjek-overslag__top { padding: 16px 18px; background: var(--et-ink); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.elotjek-overslag__top .elotjek-eyebrow { color: var(--et-accent-light); font-size: 12px; }
.elotjek-overslag__tal { font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.elotjek-overslag__sub { font-size: 14px; color: #c9cfd8; }
.elotjek-overslag__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.elotjek dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; column-gap: 12px; font-size: 15px; }
.elotjek dt { color: var(--et-muted); margin: 0; }
.elotjek dd { margin: 0; font-weight: 700; text-align: right; }
.elotjek-vent { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--et-radius); background: var(--et-subtle); }
.elotjek-vent h2 { font-size: 18px; }
.elotjek-vent p { font-size: 15px; color: var(--et-ink-soft); }

/* Resultatside */
.elotjek-wrap { padding: 32px 16px 56px; }
.elotjek-res__intro { display: flex; flex-direction: column; gap: 8px; }
.elotjek-res__intro h1 { font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.12; }
.elotjek-res__din { gap: 12px; }
.elotjek-res__din h2 { font-size: 18px; }
.elotjek-res__sum { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; padding-top: 12px; border-top: 1px solid var(--et-line); }
.elotjek-kommentar { background: var(--et-soft); border-radius: var(--et-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; }
.elotjek-kommentar strong { font-size: 14px; }
.elotjek-res__liste { display: flex; flex-direction: column; gap: 12px; }
.elotjek-aftale { border: 1px solid var(--et-line); border-radius: var(--et-radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.elotjek-aftale.is-bedst { border: 2px solid var(--et-accent); }
.elotjek-aftale__top { display: flex; align-items: center; gap: 12px; }
.elotjek-aftale__top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.elotjek-aftale__top strong { font-size: 17px; }
.elotjek-aftale__top div span { font-size: 13px; color: var(--et-muted); }
.elotjek-aftale__logo { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--et-ink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.elotjek-badge { flex: none; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--et-accent); color: #fff; }
.elotjek-aftale__pris { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.elotjek-aftale__pris span { font-size: 14px; color: var(--et-muted); }
.elotjek-aftale__pris strong { font-weight: 800; font-size: 18px; color: var(--et-accent); }
.elotjek-res__lead { font-size: 17px; line-height: 1.55; color: var(--et-ink-soft); }
.elotjek-dyrere { font-style: normal; font-size: 14px; font-weight: 600; color: var(--et-muted); }
.elotjek .elotjek-reklame { font-size: 11px; color: var(--et-muted); text-align: center; margin-top: -6px; text-decoration: none; }
.elotjek-om { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--et-radius); background: var(--et-subtle); font-size: 14px; line-height: 1.5; color: var(--et-ink-soft); }
.elotjek-om strong { color: var(--et-ink); }
.elotjek-slet-boks { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 2px solid #b32d2e; border-radius: var(--et-radius); }
.elotjek-slet-boks a { text-align: center; font-weight: 600; }
.elotjek-tomt { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.elotjek-tomt h1 { font-size: 30px; font-weight: 800; }
.elotjek-tomt p { font-size: 17px; line-height: 1.55; color: var(--et-ink-soft); }
.elotjek-tomt .elotjek-knap { max-width: 280px; }
