/* ==================================================================
   QRJam app-look
   Sluit de website aan op de QRJam iOS-app: systeemlettertype,
   licht/donker volgens het apparaat, zachte merkgloed (mesh) en
   glas-oppervlakken met ronde knoppen.

   Wordt als laatste stylesheet geladen (zie functions.php) en legt
   zich over app.css en de inline <style>-blokken van de pagina's.
   ================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────── */
html:root body[data-vibe] {
  /* Merk (Theme.swift) */
  --brand-pink:   #FF2BD1;
  --brand-purple: #6100A8;
  --brand-violet: #7C3CFF;

  /* Licht (iOS systemBackground / label) */
  --bg:           #ffffff !important;
  --bg-soft:      #f2f2f7 !important;
  --surface:      rgba(255, 255, 255, .62) !important;
  --surface-raised: rgba(255, 255, 255, .72) !important;
  --surface-solid: #ffffff;
  --ink:          #0a0a0c !important;
  --ink-soft:     rgba(60, 60, 67, .86) !important;
  --muted:        rgba(60, 60, 67, .6) !important;
  --line:         rgba(60, 60, 67, .12) !important;
  --line-strong:  rgba(60, 60, 67, .22) !important;
  --accent:       #D40E9C !important; /* AccentColor licht */
  --accent-ink:   #ffffff !important;
  --accent-soft:  rgba(212, 14, 156, .12) !important;
  --pos:          #1f9d55 !important;

  --glass-bg:      rgba(255, 255, 255, .58);
  --glass-bg-strong: rgba(255, 255, 255, .78);
  --glass-border:  rgba(255, 255, 255, .85);
  --glass-edge:    rgba(60, 60, 67, .10);
  --glass-shadow:  0 10px 34px -14px rgba(40, 10, 70, .28), 0 1px 2px rgba(0, 0, 0, .04);
  --fill-tertiary: rgba(118, 118, 128, .12);
  --mesh-alpha:    .22;

  --shadow-card:  var(--glass-shadow) !important;

  --font-sans:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --font-mono:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif !important;

  --radius-card:  28px;
  --radius-field: 16px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"]) body[data-vibe] {
    --bg:           #000000 !important;
    --bg-soft:      #1c1c1e !important;
    --surface:      rgba(255, 255, 255, .07) !important;
    --surface-raised: rgba(255, 255, 255, .09) !important;
    --surface-solid: #1c1c1e;
    --ink:          #ffffff !important;
    --ink-soft:     rgba(235, 235, 245, .8) !important;
    --muted:        rgba(235, 235, 245, .56) !important;
    --line:         rgba(255, 255, 255, .10) !important;
    --line-strong:  rgba(255, 255, 255, .20) !important;
    --accent:       #FF3BD3 !important; /* AccentColor donker */
    --accent-ink:   #ffffff !important;
    --accent-soft:  rgba(255, 59, 211, .16) !important;
    --pos:          #30d158 !important;

    --glass-bg:      rgba(255, 255, 255, .08);
    --glass-bg-strong: rgba(40, 40, 46, .72);
    --glass-border:  rgba(255, 255, 255, .14);
    --glass-edge:    rgba(255, 255, 255, .06);
    --glass-shadow:  0 14px 40px -16px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .04) inset;
    --fill-tertiary: rgba(118, 118, 128, .24);
    --mesh-alpha:    .55;

    color-scheme: dark;
  }
}
html:root[data-theme="dark"] body[data-vibe] {
  --bg:           #000000 !important;
  --bg-soft:      #1c1c1e !important;
  --surface:      rgba(255, 255, 255, .07) !important;
  --surface-raised: rgba(255, 255, 255, .09) !important;
  --surface-solid: #1c1c1e;
  --ink:          #ffffff !important;
  --ink-soft:     rgba(235, 235, 245, .8) !important;
  --muted:        rgba(235, 235, 245, .56) !important;
  --line:         rgba(255, 255, 255, .10) !important;
  --line-strong:  rgba(255, 255, 255, .20) !important;
  --accent:       #FF3BD3 !important; /* AccentColor donker */
  --accent-ink:   #ffffff !important;
  --accent-soft:  rgba(255, 59, 211, .16) !important;
  --pos:          #30d158 !important;

  --glass-bg:      rgba(255, 255, 255, .08);
  --glass-bg-strong: rgba(40, 40, 46, .72);
  --glass-border:  rgba(255, 255, 255, .14);
  --glass-edge:    rgba(255, 255, 255, .06);
  --glass-shadow:  0 14px 40px -16px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .04) inset;
  --fill-tertiary: rgba(118, 118, 128, .24);
  --mesh-alpha:    .55;

  color-scheme: dark;
}


/* ── Basis + achtergrond (AmbientBackground) ─────────────────────── */
html {
  background: var(--bg, #fff);
}
html:root body[data-vibe] {
  font-family: var(--font-sans) !important;
  background-color: var(--bg) !important;
  background-image:
    radial-gradient(55% 45% at 0% 0%,   rgb(124 60 255 / var(--mesh-alpha)) 0%, transparent 70%),
    radial-gradient(45% 40% at 50% -5%, rgb(97 0 168 / var(--mesh-alpha)) 0%, transparent 70%),
    radial-gradient(55% 45% at 100% 0%, rgb(255 43 209 / var(--mesh-alpha)) 0%, transparent 70%),
    radial-gradient(40% 40% at 100% 48%, rgb(97 0 168 / calc(var(--mesh-alpha) * .8)) 0%, transparent 70%),
    radial-gradient(55% 40% at 50% 105%, rgb(124 60 255 / calc(var(--mesh-alpha) * .9)) 0%, transparent 70%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  color: var(--ink) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html:root body[data-vibe] h1, html:root body[data-vibe] h2, html:root body[data-vibe] h3, html:root body[data-vibe] h4,
html:root body[data-vibe] .flow-title, html:root body[data-vibe] .hero h1, html:root body[data-vibe] .how-step h3 {
  font-family: var(--font-display) !important;
  letter-spacing: -.025em;
}
html:root body[data-vibe] .hero h1 {
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  line-height: 1.02 !important;
}
html:root body[data-vibe] .hero h1 em,
html:root body[data-vibe] .brand em {
  color: var(--accent) !important;
  font-style: normal !important;
  text-shadow: none !important;
}

::selection { background: var(--accent-soft); }

/* ── Oude neon-lagen uitzetten ────────────────────────────────────── */
html:root body[data-vibe] .landing::before,
html:root body[data-vibe] .landing::after,
html:root body[data-vibe] .hero::before,
html:root body[data-vibe] .landing .qrjam-footer::before,
html:root body[data-vibe] .landing .qrjam-footer::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}
html:root body[data-vibe] .hero-preview::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-pink) 22%, transparent) 0%, color-mix(in srgb, var(--brand-violet) 16%, transparent) 40%, transparent 72%) !important;
  filter: blur(30px) !important;
}
html:root body[data-vibe] .hero h1,
html:root body[data-vibe] .hero p.lead {
  text-shadow: none !important;
}
html:root body[data-vibe] .hero-actions,
html:root body[data-vibe] .hero-links {
  filter: none !important;
}
html:root body[data-vibe] main.flow-center,
html:root body[data-vibe] .landing,
html:root body[data-vibe] .app-shell,
html:root body[data-vibe] #root {
  background: transparent !important;
  background-image: none !important;
}
html:root body[data-vibe] .landing .how-step,
html:root body[data-vibe] .landing .how-step:hover {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
}
html:root body[data-vibe] .landing .eyebrow {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  border: 0 !important;
  box-shadow: none !important;
}
html:root body[data-vibe] .landing .qrjam-footer,
html:root body[data-vibe] main > .qrjam-footer {
  background: transparent !important;
  border-top: 1px solid var(--line) !important;
}
html:root body[data-vibe] .topbar .topbar-nav-desktop a.btn.qrjam-current-page,
html:root body[data-vibe] .topbar .topbar-nav-desktop a.btn.qrjam-current-page:hover,
html:root body[data-vibe] .topbar .mobile-menu a.qrjam-current-page {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  border-color: color-mix(in srgb, var(--accent) 35%, transparent) !important;
  box-shadow: none !important;
}

/* Glas-oppervlak (glassEffect) */
html:root body[data-vibe] .surface,
html:root body[data-vibe] .how-step,
html:root body[data-vibe] .pl-preview,
html:root body[data-vibe] .print-controls > .surface,
html:root body[data-vibe] .qrjam-footer,
html:root body[data-vibe] .mobile-menu,
html:root body[data-vibe] details,
html:root body[data-vibe] main div[style*="background:var(--surface-raised)"],
html:root body[data-vibe] main div[style*="background: var(--surface-raised)"],
html:root body[data-vibe] main div[style*="background:var(--surface)"],
html:root body[data-vibe] main div[style*="background: var(--surface)"] {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}
html:root body[data-vibe] .surface,
html:root body[data-vibe] .how-step,
html:root body[data-vibe] details,
html:root body[data-vibe] main div[style*="background:var(--surface-raised)"],
html:root body[data-vibe] main div[style*="background: var(--surface-raised)"] {
  border-radius: var(--radius-card) !important;
}
/* Binnen een glasvlak geen tweede glaslaag */
html:root body[data-vibe] details > div,
html:root body[data-vibe] details > summary {
  background: transparent !important;
}

/* ── Topbar (navigatiebalk) ───────────────────────────────────────── */
html:root body[data-vibe] .topbar,
html:root body[data-vibe] header.topbar {
  background: color-mix(in srgb, var(--bg) 62%, transparent) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
}
html:root body[data-vibe] .brand,
html:root body[data-vibe] .brand span {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: var(--ink) !important;
}

/* ── Knoppen (glass / glassProminent) ─────────────────────────────── */
html:root body[data-vibe] .btn {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  letter-spacing: -.01em;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease !important;
  filter: none !important;
}
html:root body[data-vibe] .btn:active { transform: scale(.97) !important; }

html:root body[data-vibe] .btn.primary,
html:root body[data-vibe] a.btn.primary,
html:root body[data-vibe] .qrjam-stable-primary {
  background: var(--accent) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%) !important;
  background-color: var(--accent) !important;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, white) !important;
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}
html:root body[data-vibe] .btn.primary:hover { box-shadow: 0 12px 30px -10px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .35) !important; }

html:root body[data-vibe] .btn.ghost,
html:root body[data-vibe] a.btn.ghost,
html:root body[data-vibe] .qrjam-stable-how,
html:root body[data-vibe] .qrjam-stable-webplayer,
html:root body[data-vibe] .qrjam-stable-appstore,
html:root body[data-vibe] .homepage-webplayer-cta {
  background: var(--glass-bg) !important;
  background-image: none !important;
  color: var(--ink) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
html:root body[data-vibe] .btn.ghost:hover {
  background: var(--glass-bg-strong) !important;
}
html:root body[data-vibe] .btn:disabled { opacity: .4 !important; }

/* Navigatie-knoppen: rustige glazen pillen */
html:root body[data-vibe] .top-actions .btn.ghost,
html:root body[data-vibe] .topbar-nav-desktop .btn {
  box-shadow: none !important;
  border-color: var(--line) !important;
  background: var(--fill-tertiary) !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
}
html:root body[data-vibe] .top-actions .btn.ghost:hover {
  background: var(--glass-bg-strong) !important;
}
html:root body[data-vibe] .top-actions .btn[aria-current="page"],
html:root body[data-vibe] .top-actions .btn.qrjam-current-page,
html:root body[data-vibe] .top-actions .btn.active {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  border-color: color-mix(in srgb, var(--accent) 35%, transparent) !important;
  box-shadow: none !important;
}

/* ── Velden ───────────────────────────────────────────────────────── */
html:root body[data-vibe] .input,
html:root body[data-vibe] input[type="text"],
html:root body[data-vibe] input[type="email"],
html:root body[data-vibe] input[type="password"],
html:root body[data-vibe] input[type="url"],
html:root body[data-vibe] input[type="search"],
html:root body[data-vibe] textarea,
html:root body[data-vibe] select {
  font-family: var(--font-sans) !important;
  background: var(--glass-bg-strong) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-field) !important;
  box-shadow: none !important;
}
html:root body[data-vibe] .input:focus,
html:root body[data-vibe] input:focus,
html:root body[data-vibe] textarea:focus,
html:root body[data-vibe] select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
  outline: none !important;
}
html:root body[data-vibe] .input::placeholder,
html:root body[data-vibe] input::placeholder,
html:root body[data-vibe] textarea::placeholder { color: var(--muted) !important; }

/* Labels / eyebrows in iOS-sectiekop-stijl */
html:root body[data-vibe] .label,
html:root body[data-vibe] .eyebrow,
html:root body[data-vibe] .how-num,
html:root body[data-vibe] .steps,
html:root body[data-vibe] .print-section h4 {
  font-family: var(--font-sans) !important;
  letter-spacing: .04em !important;
}
html:root body[data-vibe] .eyebrow {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  border: 0 !important;
  font-weight: 600 !important;
}
html:root body[data-vibe] .how-num { color: var(--accent) !important; font-weight: 700 !important; }

/* Stappen in de kaartjesmaker */
html:root body[data-vibe] .step.active .step-num {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
html:root body[data-vibe] .step.done .step-num {
  background: var(--accent-soft) !important;
  border-color: transparent !important;
  color: var(--accent) !important;
}

/* ── Taalkeuze als iOS segmented control ──────────────────────────── */
html:root body[data-vibe] .lang-switch {
  background: var(--fill-tertiary) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html:root body[data-vibe] .lang-switch .lang-btn {
  color: var(--muted) !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
}
html:root body[data-vibe] .lang-switch .lang-btn.active {
  background: var(--surface-solid) !important;
  color: var(--ink) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12) !important;
}

/* ── Mobiel menu ──────────────────────────────────────────────────── */
html:root body[data-vibe] .hamburger span { background: var(--ink) !important; }
html:root body[data-vibe] .mobile-menu {
  background: var(--glass-bg-strong) !important;
  border-radius: 22px !important;
}
html:root body[data-vibe] .mobile-menu a { color: var(--ink) !important; }

/* ── Footer ───────────────────────────────────────────────────────── */
html:root body[data-vibe] .qrjam-footer,
html:root body[data-vibe] .static-footer {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: var(--muted) !important;
}
html:root body[data-vibe] .qrjam-footer a,
html:root body[data-vibe] .static-footer a,
html:root body[data-vibe] .qrjam-footer .btn.ghost {
  color: var(--muted) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:root body[data-vibe] .qrjam-footer a:hover,
html:root body[data-vibe] .static-footer a:hover { color: var(--ink) !important; }

/* ── Links in tekst ───────────────────────────────────────────────── */
html:root body[data-vibe] .prose a,
html:root body[data-vibe] .inline-player-link,
html:root body[data-vibe] .qrjam-static-text-link {
  color: var(--accent) !important;
}

/* ── Kaartjesmaker: printvoorbeeld blijft wit papier ──────────────── */
html:root body[data-vibe] .paper {
  background: #ffffff !important;
  color: #111 !important;
  border-radius: 6px !important;
  box-shadow: 0 30px 60px -30px rgba(40, 10, 70, .45), 0 0 0 1px rgba(0, 0, 0, .05) !important;
}

/* ── Respecteer 'minder beweging' ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html:root body[data-vibe] * { transition: none !important; animation: none !important; }
}

/* ── Homepage CTA's en footer-details ────────────────────────────── */
html:root body[data-vibe] .qrjam-stable-cta:not(.qrjam-stable-primary),
html:root body[data-vibe] .qrjam-stable-cta:not(.qrjam-stable-primary) * {
  color: var(--ink) !important;
}
html:root body[data-vibe] .qrjam-stable-cta:not(.qrjam-stable-primary) svg {
  fill: currentColor !important;
}
html:root body[data-vibe] .qrjam-footer-copy,
html:root body[data-vibe] .qrjam-footer-copy * {
  color: var(--muted) !important;
}
html:root body[data-vibe] .social-icon-tiktok,
html:root body[data-vibe] .social-icon-tiktok * {
  color: var(--ink) !important;
}
html:root body[data-vibe] .social-icon-tiktok path[fill="#fff"],
html:root body[data-vibe] .social-icon-tiktok path[fill="#ffffff"],
html:root body[data-vibe] .social-icon-tiktok path[fill="white"] {
  fill: var(--ink) !important;
}
/* Tekstlinks in lopende tekst: gewoon accentkleur, geen blokje */
html:root body[data-vibe] .inline-player-link,
html:root body[data-vibe] main a.qrjam-static-text-link {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--accent) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* ── Mijn QRJam (account-plugin) ──────────────────────────────────── */
html:root body[data-vibe] .qrjam-account-wrap,
html:root body[data-vibe] .qrjam-account-wrap h1,
html:root body[data-vibe] .qrjam-account-wrap h2,
html:root body[data-vibe] .qrjam-account-wrap h3,
html:root body[data-vibe] .qrjam-field label,
html:root body[data-vibe] .qrjam-stat strong {
  color: var(--ink) !important;
}
html:root body[data-vibe] .qrjam-account-wrap p,
html:root body[data-vibe] .qrjam-orders-table td:nth-child(6) {
  color: var(--ink-soft) !important;
}
html:root body[data-vibe] .qrjam-eyebrow,
html:root body[data-vibe] .qrjam-muted,
html:root body[data-vibe] .qrjam-stat span,
html:root body[data-vibe] .qrjam-table th,
html:root body[data-vibe] .qrjam-configs-table td::before,
html:root body[data-vibe] .qrjam-orders-table td::before {
  color: var(--muted) !important;
}
html:root body[data-vibe] .qrjam-card,
html:root body[data-vibe] .qrjam-stat {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}
html:root body[data-vibe] .qrjam-stat { border-radius: 20px !important; }
html:root body[data-vibe] .qrjam-table td,
html:root body[data-vibe] .qrjam-config-row:hover td,
html:root body[data-vibe] .qrjam-configs-table tr,
html:root body[data-vibe] .qrjam-orders-table tr {
  background: var(--fill-tertiary) !important;
  border-color: transparent !important;
}
html:root body[data-vibe] .qrjam-btn {
  border-radius: 999px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--accent) linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%) !important;
  box-shadow: 0 8px 24px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
html:root body[data-vibe] .qrjam-btn-secondary {
  color: var(--ink) !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: none !important;
}
html:root body[data-vibe] .qrjam-btn-danger {
  color: #d70015 !important;
  background: rgba(255, 59, 48, .1) !important;
  border: 1px solid rgba(255, 59, 48, .35) !important;
  box-shadow: none !important;
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"]) body[data-vibe] .qrjam-btn-danger { color: #ff6961 !important; }
}
html:root[data-theme="dark"] body[data-vibe] .qrjam-btn-danger { color: #ff6961 !important; }

html:root body[data-vibe] .qrjam-notice-success,
html:root body[data-vibe] .qrjam-status-paid {
  color: var(--pos) !important;
  background: color-mix(in srgb, var(--pos) 12%, transparent) !important;
  border-color: color-mix(in srgb, var(--pos) 35%, transparent) !important;
}
html:root body[data-vibe] .qrjam-notice-error {
  color: #d70015 !important;
  background: rgba(255, 59, 48, .1) !important;
  border-color: rgba(255, 59, 48, .35) !important;
}

/* Velden op de accountpagina (overschrijft de vaste donkere autofill-stijl) */
html:root body.qrjam-account-page[data-vibe] input[type="text"],
html:root body.qrjam-account-page[data-vibe] input[type="email"],
html:root body.qrjam-account-page[data-vibe] input[type="password"],
html:root body.qrjam-account-page[data-vibe] .qrjam-field input {
  background-color: var(--glass-bg-strong) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--accent) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-field) !important;
  box-shadow: none !important;
}
html:root body.qrjam-account-page[data-vibe] input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
html:root body.qrjam-account-page[data-vibe] input:-webkit-autofill,
html:root body.qrjam-account-page[data-vibe] input:-webkit-autofill:hover,
html:root body.qrjam-account-page[data-vibe] input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink) !important;
  box-shadow: 0 0 0 1000px var(--surface-solid) inset !important;
  -webkit-box-shadow: 0 0 0 1000px var(--surface-solid) inset !important;
}
html:root body.qrjam-account-page[data-vibe] input::placeholder {
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
}

/* ── Mobiel: capsule-knoppen en een goed leesbaar menu ───────────── */
html:root body[data-vibe] .qrjam-stable-hero-cta-grid .qrjam-stable-cta,
html:root body[data-vibe] .hero-actions .btn,
html:root body[data-vibe] .hero-actions a {
  border-radius: 999px !important;
}
html:root body[data-vibe] .topbar .mobile-menu,
html:root body[data-vibe] .topbar-nav-wrap .mobile-menu {
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent) !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  overflow: hidden;
}
html:root body[data-vibe] .topbar .mobile-menu a {
  color: var(--ink) !important;
  border-color: var(--line) !important;
  background: transparent !important;
}
html:root body[data-vibe] .topbar .hamburger {
  background: var(--fill-tertiary) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* ── Homepage-knoppen: geen afgeknipt blok, duidelijke glazen randen ── */
html:root body[data-vibe] .qrjam-stable-hero-cta-grid,
html:root body[data-vibe] .hero-actions {
  contain: none !important;
  isolation: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
html:root body[data-vibe] .qrjam-stable-hero-cta-grid .qrjam-stable-cta:not(.qrjam-stable-primary) {
  background: var(--glass-bg-strong) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: 0 6px 18px -10px rgba(40, 10, 70, .35) !important;
}
html:root body[data-vibe] .qrjam-stable-hero-cta-grid .qrjam-stable-cta:not(.qrjam-stable-primary):hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent) !important;
}

/* ── Logo: licht monogram (qrjam-logo.svg) ───────────────────────── */
html:root body[data-vibe] .brand > svg {
  display: none !important;
}
html:root body[data-vibe] .brand::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 22.5%;
  background: url("qrjam-logo.svg") center / 100% 100% no-repeat;
  box-shadow: 0 4px 12px -5px rgba(40, 10, 70, .35);
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"]) body[data-vibe] .brand::before {
    box-shadow: 0 4px 14px -4px rgba(255, 43, 209, .4);
  }
}
html:root[data-theme="dark"] body[data-vibe] .brand::before {
  box-shadow: 0 4px 14px -4px rgba(255, 43, 209, .4);
}

html:root body[data-vibe] .brand {
  gap: 10px !important;
}
html:root body[data-vibe] .brand > span {
  font-size: 22px !important;
  letter-spacing: -.03em !important;
}
html:root body[data-vibe] .brand > span > span {
  color: var(--muted) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* ── Thema-keuze (Automatisch / Licht / Donker) ───────────────────── */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }

html:root body[data-vibe] .qrjam-theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0 8px 0 0;
  border: 0;
  border-radius: 999px;
  background: var(--fill-tertiary);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
html:root body[data-vibe] .qrjam-theme-toggle:hover { background: var(--glass-bg-strong); }
html:root body[data-vibe] .qrjam-theme-toggle:active { transform: scale(.94); }
html:root body[data-vibe] .qrjam-theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Thema-knop: op desktop direct links van NL/EN, tijdens het configureren verborgen (net als de taalkeuze) */
@media (min-width: 761px) {
  html:root body[data-vibe] .topbar > .qrjam-theme-toggle {
    order: 19 !important;
    margin: 0 0 0 8px !important;
  }
}
html:root body[data-vibe] .topbar.qrjam-config-flow-active .qrjam-theme-toggle,
html:root body.qrjam-config-flow-active[data-vibe] .qrjam-theme-toggle {
  display: none !important;
}

/* Thema-keuze op mobiel: in het hamburgermenu in plaats van in de volle header */
html:root body[data-vibe] .mobile-menu .qrjam-theme-menuitem {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 13px 18px;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  text-align: left;
}
html:root body[data-vibe] .mobile-menu .qrjam-theme-menuitem:hover {
  background: var(--fill-tertiary);
}
@media (max-width: 760px) {
  html:root body[data-vibe] .topbar .qrjam-theme-toggle:not(.qrjam-theme-menuitem) {
    display: none !important;
  }
}
