/* =============================================
   Party Planner CMS — app.css
   Alle temaer, layout og komponenter
   ============================================= */

/* === SKIP LINK (tilgængelighed) === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 14px 14px;
  font-weight: 700;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--hero-bg);
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; }
.muted, .small { color: var(--muted); }
.small { font-size: .92rem; }

/* === LAYOUT SHELL === */
.shell { max-width: 1360px; margin: 0 auto; padding: 24px; }

/* === TOPBAR === */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin: 12px auto 24px;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* === BRAND === */
.brand { display: flex; gap: 14px; align-items: center; }
.brand-mark {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: #fff; font-weight: 800;
  overflow: hidden; flex: 0 0 48px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand h1 { margin: 0; font-size: 1.05rem; }
.brand p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

/* === NAV & BUTTONS === */
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.btn, .btn-outline, .btn-soft, .btn-link {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
}
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { background: rgba(255,255,255,.06); }
.btn-soft { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--line); }
.btn-soft:hover { background: rgba(255,255,255,.13); }
.btn-link { background: transparent; color: var(--accent); padding: 0; }
.btn:disabled, .btn-outline:disabled, .btn-soft:disabled {
  opacity: .5; cursor: not-allowed; transform: none;
}

/* === GRID LAYOUTS === */
.hero, .grid, .admin-wrap { display: grid; gap: 24px; }
.hero { grid-template-columns: 1.05fr .95fr; }
.hero-compact { align-items: stretch; }
.grid { grid-template-columns: 1fr 1fr; }
.admin-wrap { grid-template-columns: 380px 1fr; }

/* === CARDS & PANELS === */
.hero-card, .panel, .card, .login-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

/* === HERO SECTION === */
.hero-card { min-height: 380px; overflow: hidden; position: relative; }
.hero-spotlight { display: flex; flex-direction: column; justify-content: center; }
.hero-title {
  font-size: clamp(2.6rem, 4vw, 4.25rem);
  line-height: 1.02;
  margin: 16px 0 10px;
}
.hero-copy { max-width: 58ch; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.hero-image {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.hero-image-card {
  position: relative; overflow: hidden; display: block;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-image-link { cursor: pointer; }
.hero-image-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
  z-index: 0;
}
.hero-image-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.34));
  z-index: 1;
}
.hero-image-card:hover,
.hero-image-card:focus-visible {
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  outline: none;
}
.hero-image-card:hover::before,
.hero-image-card:focus-visible::before { transform: scale(1.045); }
.image-overlay-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
  max-height: 76px; overflow: hidden;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  transition: max-height .32s ease, background .32s ease, transform .32s ease;
}
.image-overlay-card .overlay-title { display: block; margin: 0 0 6px; font-weight: 800; color: #fff; }
.image-overlay-card p { margin: 0; line-height: 1.6; }
.hero-image-card:hover .image-overlay-card,
.hero-image-card:focus-visible .image-overlay-card {
  max-height: 230px;
  background: rgba(0,0,0,.58);
  transform: translateY(-2px);
}

/* === BADGES & TAGS === */
.eyebrow, .tag, .badge, .pill {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .85rem; font-weight: 700;
}

/* === FLASH MESSAGES === */
.msg {
  padding: 14px 16px; border-radius: 16px;
  margin-bottom: 16px; font-weight: 700;
}
.msg.ok { background: rgba(34,197,94,.15); color: #c7f9d6; border: 1px solid rgba(34,197,94,.25); }
.msg.err { background: rgba(239,68,68,.14); color: #ffd0d0; border: 1px solid rgba(239,68,68,.25); }

/* === FORM ELEMENTS === */
.field { margin-bottom: 14px; }
label { display: block; margin-bottom: 8px; font-weight: 700; }
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=datetime-local],
textarea,
select,
input[type=file] {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
/* Minimal Ice — lys baggrund kræver mørkt input */
body.theme-minimal input[type=text],
body.theme-minimal input[type=email],
body.theme-minimal input[type=password],
body.theme-minimal input[type=number],
body.theme-minimal input[type=datetime-local],
body.theme-minimal textarea,
body.theme-minimal select {
  background: rgba(0,0,0,.04);
  color: #132033;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,.18);
}
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; }
.check input { width: auto; }

/* === STATS GRID === */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat {
  padding: 18px; border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.stat span { display: block; color: var(--muted); font-size: .9rem; }
.stat strong { display: block; font-size: 1.8rem; margin-top: 6px; }

/* === EVENT CARDS === */
.event-card, .public-item, .timeline-item, .faq-item, .theme-card {
  padding: 16px; border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.event-card { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; }
.thumb {
  width: 92px; height: 92px;
  border-radius: 18px; background: #111827;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}

/* === GALLERY === */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.gallery-item { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.gallery-item img { display: block; width: 100%; height: 180px; object-fit: cover; }

/* === THEME PICKER === */
.theme-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.theme-choice { display: block; cursor: pointer; }
.theme-choice input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card { min-height: 100%; transition: .2s ease; }
.theme-choice:hover .theme-card { transform: translateY(-2px); }
.theme-choice input:checked + .theme-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,255,255,.05), 0 0 0 4px rgba(255,255,255,.06);
}
.theme-swatch { height: 64px; border-radius: 14px; margin-bottom: 12px; }
.theme-active-label { margin-top: 10px; font-size: .92rem; color: var(--muted); }

/* === SECTION TITLE & META === */
.section-title {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.tagrow, .meta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.list { display: grid; gap: 14px; }

/* === SPOTLIGHT GRID === */
.spotlight-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 12px; }
.spotlight-stat { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.spotlight-stat span { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.spotlight-stat strong { display: block; font-size: 1rem; line-height: 1.4; }

/* === EVENT PREVIEW GRID === */
.event-preview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.event-preview-card {
  overflow: hidden; border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0,0,0,.35);
}
.event-preview-cover {
  height: 220px; background-size: cover; background-position: center; position: relative;
}
.event-preview-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.25));
}
.event-preview-top {
  position: absolute; left: 14px; right: 14px; top: 14px;
  display: flex; gap: 8px; flex-wrap: wrap; z-index: 2;
}
.event-preview-body { padding: 18px; }
.event-preview-body h4 { font-size: 1.35rem; margin-bottom: 8px; }
.event-preview-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; margin-top: 12px; }
.event-preview-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 18px; }
.event-preview-stats div { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.event-preview-stats span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.event-preview-stats strong { display: block; font-size: 1.2rem; }
.private-event-list { display: grid; gap: 12px; }
.private-event-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}

/* === TABLE === */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: .85rem; text-transform: uppercase; color: var(--muted); }

/* === BADGE COLORS === */
.badge-green { background: rgba(34,197,94,.18); color: #bcffcf; }
.badge-red { background: rgba(239,68,68,.18); color: #ffd0d0; }
.badge-gold { background: rgba(245,158,11,.2); color: #ffe5a6; }
.badge-blue { background: rgba(56,189,248,.18); color: #d1f2ff; }

/* === FILTERS & COUNTDOWN === */
.filters { display: grid; grid-template-columns: 1fr 220px auto; gap: 12px; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.count-box {
  text-align: center; padding: 14px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.count-box strong { display: block; font-size: 1.7rem; }

/* === TIMELINE & FAQ & LOGIN === */
.timeline { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.faq { display: grid; gap: 12px; }
.login-box { max-width: 430px; margin: 70px auto; }

/* === FOOTER === */
.footer-note { margin-top: 24px; color: var(--muted); font-size: .9rem; text-align: center; }

/* === RICH TEXT EDITOR === */
.rich-editor { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; }
.rich-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.rich-toolbar button, .rich-toolbar select {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px; padding: 8px 10px; font: inherit;
}
.rich-toolbar select, .rich-toolbar option { background: var(--bg-2); color: var(--text); }
.rich-toolbar option[disabled] { color: var(--muted); }
.rich-surface { min-height: 180px; padding: 16px; outline: none; line-height: 1.8; white-space: normal; }
.rich-surface.is-compact { min-height: 110px; }
.rich-surface p, .rich-surface div { margin: 0 0 12px; }
.rich-surface h2, .rich-surface h3,
.rich-surface blockquote, .rich-surface ul, .rich-surface ol { margin: 0 0 12px; }
.rich-surface br { content: ''; }
.rich-surface:empty::before { content: attr(data-placeholder); color: var(--muted); }
.rich-help { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.rich-content { line-height: 1.8; }
.rich-content > *:first-child { margin-top: 0; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content p, .rich-content ul, .rich-content ol, .rich-content blockquote { margin: 0 0 16px; }
.rich-content h2, .rich-content h3 { margin: 22px 0 12px; line-height: 1.25; }
.rich-content ul, .rich-content ol { padding-left: 22px; }
.rich-content li + li { margin-top: 6px; }
.rich-content blockquote {
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.04);
  border-radius: 0 14px 14px 0;
}
.rich-content a { color: var(--accent); text-decoration: underline; }
.hero-copy.rich-content { max-width: 58ch; }
.hero-copy.rich-content p { margin: 0 0 12px; }

/* === ADMIN LAYOUT === */
.admin-top-grid { align-items: end; }
.admin-quick-nav { justify-content: flex-start; }
.admin-collapse {
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255,255,255,.03); padding: 14px 16px;
}
.admin-collapse summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; cursor: pointer; list-style: none; font-weight: 700;
}
.admin-collapse summary::-webkit-details-marker { display: none; }
.admin-collapse-body { padding-top: 4px; }
.admin-section-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.admin-section-link {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-weight: 700;
}
.admin-section-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 24px; }
.compact-event-list { display: grid; gap: 12px; }
.compact-event-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.compact-event-main { display: grid; gap: 6px; }
.compact-event-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sidebar-stack { display: grid; gap: 24px; }
.admin-anchor { scroll-margin-top: 110px; }
.quick-nav {
  position: sticky; top: 14px; z-index: 30;
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; margin: 0 0 18px;
  background: rgba(15,18,28,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
}
.quick-nav a {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  font-weight: 700; color: var(--text);
  transition: transform .15s, background .15s;
}
.quick-nav a:hover { transform: translateY(-1px); background: rgba(255,255,255,.13); }

/* === LOADING SPINNER (RSVP) === */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .hero, .grid, .admin-wrap, .stats, .gallery,
  .theme-grid, .event-preview-grid, .admin-section-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .hero, .grid, .admin-wrap, .stats, .gallery,
  .theme-grid, .filters, .countdown, .event-preview-grid,
  .spotlight-grid, .admin-section-grid {
    grid-template-columns: 1fr;
  }
  .event-card { grid-template-columns: 1fr; }
  .thumb { width: 100%; height: 180px; }
  .timeline-item { grid-template-columns: 1fr; }
  .private-event-row, .compact-event-card { flex-direction: column; align-items: flex-start; }
  .topbar { padding: 14px 16px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* === MINIMAL ICE — lys baggrund fixes === */
body.theme-minimal .event-card,
body.theme-minimal .public-item,
body.theme-minimal .timeline-item,
body.theme-minimal .faq-item,
body.theme-minimal .theme-card,
body.theme-minimal .panel,
body.theme-minimal .card,
body.theme-minimal .stat,
body.theme-minimal .spotlight-stat,
body.theme-minimal .event-preview-card,
body.theme-minimal .count-box,
body.theme-minimal .compact-event-card,
body.theme-minimal .private-event-row {
  background: rgba(0,0,0,.04);
}
body.theme-minimal .admin-collapse,
body.theme-minimal .rich-editor {
  background: rgba(0,0,0,.03);
}
body.theme-minimal .rich-toolbar {
  background: rgba(0,0,0,.04);
}
body.theme-minimal .quick-nav {
  background: rgba(240,244,250,.92);
}
body.theme-minimal .event-preview-stats div {
  background: rgba(0,0,0,.05);
}

/* === ANIMERET HERO BAGGRUND === */
@keyframes hero-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.04); }
  66%  { transform: translate(-20px, 15px) scale(.97); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes hero-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-25px, 20px) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}
.hero-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55;
  pointer-events: none; z-index: 0;
}
.hero-bg-orb-1 {
  width: 340px; height: 340px;
  top: -80px; left: -60px;
  background: var(--accent);
  animation: hero-drift 12s ease-in-out infinite;
}
.hero-bg-orb-2 {
  width: 260px; height: 260px;
  bottom: -60px; right: -40px;
  background: var(--accent-2);
  animation: hero-drift-2 16s ease-in-out infinite;
}
.hero-card { overflow: hidden; }
.hero-card > *:not(.hero-bg-orb) { position: relative; z-index: 1; }

/* === STATS GRID 5 kolonner på bred skærm === */
.stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

/* === VENTELISTE BADGE === */
.badge-waitlist { background: rgba(245,158,11,.2); color: #ffe5a6; }

/* === KAPACITETS-BAR === */
.capacity-bar-wrap {
  margin-top: 12px; background: rgba(255,255,255,.08);
  border-radius: 999px; height: 8px; overflow: hidden;
  border: 1px solid var(--line);
}
.capacity-bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .4s ease;
}

/* === KALENDER KNAPPER (lille) === */
.btn-cal {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600;
  color: var(--text); cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-cal:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }

/* === SMOOTH TRANSITIONS === */
.panel, .card, .event-preview-card, .stat, .event-card {
  transition: box-shadow .2s ease, transform .2s ease;
}

/* === ATTEND MODE — Kommer / Kommer ikke === */
.attend-choice {
  display: flex;
  gap: 14px;
  margin: 16px 0;
}
.attend-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.attend-btn:hover { transform: translateY(-3px); }
.attend-yes:hover  { border-color: #22c55e; background: rgba(34,197,94,.12); }
.attend-no:hover   { border-color: #ef4444; background: rgba(239,68,68,.10); }
.attend-icon { font-size: 2rem; line-height: 1; }
@media (max-width: 480px) {
  .attend-choice { flex-direction: column; }
}

/* === JULEFEST TEMA — snefnug & stemning === */
@keyframes snow-fall {
  0%   { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .5; }
  100% { transform: translateY(100vh) translateX(40px) rotate(360deg); opacity: 0; }
}
@keyframes snow-sway {
  0%, 100% { margin-left: 0; }
  50%       { margin-left: 30px; }
}
.snow-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.snowflake {
  position: absolute; top: -20px; color: #fff;
  font-size: 1.2em; opacity: .7; user-select: none;
  animation: snow-fall linear infinite, snow-sway ease-in-out infinite;
}
body.theme-christmas .snowflake { color: rgba(255,255,255,.6); }

/* Jule hero-orbs */
body.theme-christmas .hero-bg-orb-1 { background: #c0392b; }
body.theme-christmas .hero-bg-orb-2 { background: #2d6a4f; }

/* Julefarve på accenter */
body.theme-christmas .btn {
  background: linear-gradient(135deg, #c0392b, #922b21);
  box-shadow: 0 8px 24px rgba(192,57,43,.35);
}
body.theme-christmas .attend-yes:hover { border-color: #2d6a4f; background: rgba(45,106,79,.18); }
body.theme-christmas .attend-no:hover  { border-color: #922b21; background: rgba(146,43,33,.15); }

/* Julebånd på topbar */
body.theme-christmas .topbar {
  border-color: rgba(192,57,43,.35);
  box-shadow: 0 0 0 1px rgba(240,192,64,.10), 0 20px 50px rgba(0,0,0,.25);
}

/* Lys-kæde effekt på hero-card */
body.theme-christmas .hero-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: repeating-linear-gradient(
    90deg,
    #c0392b 0px, #c0392b 18px,
    #2d6a4f 18px, #2d6a4f 36px,
    #f0c040 36px, #f0c040 54px,
    #c0392b 54px, #c0392b 72px
  );
  border-radius: 24px 24px 0 0;
}

/* === TEMA-STYLING: select, checkbox, input på mørke temaer === */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a1b2cc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
  cursor: pointer;
}
select option {
  background: var(--bg-2, #1a1a2e);
  color: var(--text, #edf2ff);
}

/* Checkbox styling */
input[type=checkbox] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Julefest specifik dropdown */
body.theme-christmas select {
  border-color: rgba(192,57,43,.35);
  background-color: rgba(15,30,18,.9);
}
body.theme-christmas select option {
  background: #16281a;
}
body.theme-christmas input:focus,
body.theme-christmas textarea:focus,
body.theme-christmas select:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.2);
}
body.theme-christmas input[type=checkbox] {
  accent-color: #c0392b;
}

/* === ATTEND MODE — tydeligere visuel forskel === */
.attend-yes {
  border-color: rgba(34,197,94,.3);
  background: rgba(34,197,94,.07);
}
.attend-yes:hover {
  border-color: #22c55e;
  background: rgba(34,197,94,.18);
  box-shadow: 0 8px 24px rgba(34,197,94,.18);
}
.attend-no {
  border-color: rgba(239,68,68,.25);
  background: rgba(239,68,68,.06);
}
.attend-no:hover {
  border-color: #ef4444;
  background: rgba(239,68,68,.18);
  box-shadow: 0 8px 24px rgba(239,68,68,.18);
}
.attend-icon { font-size: 2.4rem; line-height: 1; }
.attend-btn { font-size: 1rem; transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
