/* Hadsten Bio Filmklub — fælles design for alle fire sider. */
@font-face { font-family: 'Filmklub Sans'; src: url('../fonts/dejavu-sans-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Filmklub Sans'; src: url('../fonts/dejavu-sans-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --navy: #080f1e;
  --field: #1d283a;
  --field-line: #415066;
  --text: #fff7e8;
  --muted: #bec4ce;
  --gold: #ffcc42;
  --gold-light: #ffdb73;
  --error: #ffb1b8;
  --success: #b9e7ce;
  --radius: 16px;
  --space: 24px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--navy); }
body { margin: 0; color: var(--text); background: var(--navy); font-family: 'Filmklub Sans', sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-light); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .7; }
.icon { width: 24px; height: 24px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; z-index: 10; left: 12px; top: 12px; transform: translateY(-180%); padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--navy); }
.skip-link:focus { transform: translateY(0); }
.app-shell { width: 100%; max-width: 480px; margin: 0 auto; min-height: 100svh; overflow: clip; background: var(--navy); }
.cinema-hero { position: relative; height: clamp(280px, 86vw, 402px); isolation: isolate; overflow: hidden; background: #100e0f; }
.cinema-photo { position: absolute; z-index: -2; top: 90px; left: 0; width: 100%; height: calc(100% - 70px); object-fit: cover; object-position: 50% 49%; filter: brightness(.65) saturate(.95); }
.cinema-hero::before { position: absolute; z-index: -1; content: ''; inset: 0; background: linear-gradient(180deg, #080b13 0%, #080b13db 11%, #080b1300 38%, #080f1e00 65%, #080f1e 100%); }
.brand { display: block; position: relative; top: max(27px, env(safe-area-inset-top)); width: 65%; max-width: 306px; margin: 0 auto; }
.brand img { display: block; width: 100%; height: auto; }
.page-content { position: relative; margin-top: -19px; padding: 0 var(--space); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(26px, 6.7vw, 32px); line-height: 1.2; letter-spacing: -.035em; font-weight: 700; margin-bottom: 9px; text-wrap: balance; }
.intro { font-size: 16px; line-height: 1.55; color: var(--muted); margin-bottom: 26px; }
.intro p { margin-bottom: 8px; }
.intro p:last-child { margin-bottom: 0; }
.login .intro { max-width: 28ch; }
.back-link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0 0 7px -10px; color: var(--text); text-decoration: none; border-radius: 50%; }
.back-link:hover { background: #ffffff0b; }
.back-link .icon { width: 25px; height: 25px; }
.centered-header { text-align: center; }
.page-symbol { color: var(--gold); margin-bottom: 10px; }
.page-symbol .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.centered-header .intro { max-width: 36ch; margin-left: auto; margin-right: auto; }
.field-group { margin-bottom: 15px; }
.field { position: relative; min-height: 66px; display: flex; align-items: center; background: linear-gradient(115deg, #223046, #1d2637); border: 1px solid var(--field-line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px #ffcc4228; }
.field.is-invalid { border-color: var(--error); }
.field-icon { color: var(--text); display: flex; align-items: center; justify-content: center; width: 55px; flex: 0 0 55px; min-height: 37px; border-right: 1px solid #677386; }
.field-body { padding: 8px 13px; flex: 1; min-width: 0; }
.field-label { display: block; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.4; margin-bottom: 2px; cursor: text; }
.field input { width: 100%; border: 0; outline: none; border-radius: 0; padding: 0; background: transparent; color: var(--text); font-size: 16px; line-height: 1.6; }
.field input::placeholder { color: #aeb7c6; opacity: 1; }
.field input:focus-visible { outline: none; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px #1e293b inset; caret-color: var(--text); }
.field.has-trailing .field-body { padding-right: 46px; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 40px; height: 44px; border: 0; border-radius: 8px; color: var(--text); background: transparent; }
.password-toggle:hover { background: #ffffff0a; }
.field-error { margin: 6px 2px 0; color: var(--error); font-size: 12px; line-height: 1.5; }
.field-help { color: var(--muted); font-size: 13px; margin: 2px 2px 23px; }
.form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 2px 0 21px; font-size: 13px; }
.remember { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; cursor: pointer; }
.remember input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--field); border: 1px solid #8491a3; border-radius: 5px; }
.check-box .icon { width: 17px; height: 17px; visibility: hidden; stroke-width: 2.8; }
.remember input:checked + .check-box { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.remember input:checked + .check-box .icon { visibility: visible; }
.remember input:focus-visible + .check-box { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.form-options a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.form-options a:hover { text-decoration: underline; }
.ticket-button { --notch: 10px; position: relative; width: 100%; min-height: 58px; display: flex; justify-content: center; align-items: center; gap: 15px; border: 1px solid #ffe08c; border-radius: 13px; padding: 15px 26px; background: linear-gradient(112deg, #ffce46, #ffcc42 65%, #f8bd32); color: #081324; font-size: clamp(16px, 4.3vw, 19px); line-height: 1.25; font-weight: 700; text-decoration: none; box-shadow: inset 0 1px 0 #ffffff36; }
.ticket-button::before, .ticket-button::after { content: ''; position: absolute; width: 20px; height: 20px; top: calc(50% - 10px); border-radius: 50%; background: var(--navy); }
.ticket-button::before { left: -11px; }
.ticket-button::after { right: -11px; }
.ticket-button:hover { color: #081324; background: linear-gradient(112deg, #ffdb6b, #ffd359); }
.ticket-button .icon { width: 25px; height: 25px; stroke-width: 2; }
.action-label { position: relative; z-index: 1; }
.status { margin: 16px 0 0; padding: 13px 15px; border: 1px solid #465b70; border-radius: 12px; background: #162335; color: var(--text); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.status[data-kind='error'] { color: #ffe0e3; border-color: #aa5264; }
.status[data-kind='success'] { color: var(--success); border-color: #527a69; }
.secondary-action { text-align: center; margin: 24px 0 0; font-size: 15px; }
.secondary-action p { margin-bottom: 4px; }
.secondary-action a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 12px; }
.return-link { color: var(--text); }
.return-link .icon { width: 24px; height: 24px; }
.page-footer { padding: 29px var(--space) max(24px, env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 12px; }
.page-footer .help-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 15px; margin-bottom: 12px; }
.powered { margin: 0; font-size: 11px; letter-spacing: .045em; }
.powered a { color:inherit; text-decoration:none; }
.powered a:hover { color:var(--gold); text-decoration:underline; }
.section-title { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 12px; }
.faq { margin: 0 0 23px; }
.faq details { border: 1px solid var(--field-line); border-radius: 14px; background: linear-gradient(112deg, #223046, #1d2637); margin-bottom: 9px; }
.faq summary { display: flex; list-style: none; align-items: center; gap: 12px; min-height: 61px; padding: 12px 14px; font-size: 14px; line-height: 1.4; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .question-icon { border-right: 1px solid #677386; display: flex; width: 37px; min-height: 30px; align-items: center; padding-right: 12px; flex: 0 0 auto; }
.faq .question-text { flex: 1; }
.faq .chevron { width: 19px; height: 19px; }
.faq details[open] .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 15px 63px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.contact-block .section-title { margin-bottom: 5px; }
.contact-block p { color: var(--muted); font-size: 14px; margin-bottom: 19px; }
.help-page .intro { margin-bottom: 20px; }
.help-page .page-footer { padding-top: 22px; }
.no-script { margin: 15px 0; color: var(--error); font-size: 14px; }
@media (max-width: 359px) {
  :root { --space: 18px; }
  h1 { font-size: 25px; }
  .cinema-hero { height: 280px; }
  .intro { font-size: 15px; }
  .field-icon { width: 46px; flex-basis: 46px; }
  .field-body { padding-left: 10px; padding-right: 9px; }
  .form-options { font-size: 12px; gap: 0 8px; }
  .ticket-button { gap: 10px; font-size: 16px; }
  .faq summary { font-size: 13px; gap: 10px; padding-left: 12px; padding-right: 12px; }
  .faq .question-icon { width: 32px; padding-right: 8px; }
  .faq-answer { padding-left: 54px; }
}
@media (min-width: 620px) {
  html { background: #050a13; }
  body { padding: 24px; background: radial-gradient(ellipse at 50% 10%, #1b2434, #050a13 70%); }
  .app-shell { min-height: calc(100svh - 48px); border-radius: 25px; box-shadow: 0 20px 90px #0009, 0 0 0 1px #ffffff12; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Integration with the existing Filmklub PHP shell and Android WebView. */
.filmklub-site.auth-design {
  --navy:#080f1e;
  --field:#1d283a;
  --field-line:#415066;
  --text:#fff7e8;
  --muted:#bec4ce;
  --gold:#ffcc42;
  --gold-light:#ffdb73;
  overflow-x:hidden;
  background:var(--navy);
  color:var(--text);
  font-family:'Filmklub Sans',sans-serif;
}
.filmklub-site.auth-design .app-shell { width:100%; max-width:480px; overflow:hidden; background:var(--navy); color:var(--text); }
.filmklub-site.auth-design .page-content { width:100%; background:var(--navy); color:var(--text); }
.filmklub-site.auth-design h1,
.filmklub-site.auth-design h2 { color:var(--text); }
.filmklub-site.auth-design .cinema-hero .brand { display:block; width:65%; max-width:306px; }
.filmklub-site.auth-design .cinema-hero .brand img { width:100%; height:auto; object-fit:contain; }
.filmklub-site.route-kunde-login > .site-header,
.filmklub-site.route-glemt-adgangskode > .site-header,
.filmklub-site.route-aktiver-profil > .site-header,
.filmklub-site.route-hjaelp > .site-header,
.filmklub-site.route-kunde-login > .clubapp-join,
.filmklub-site.route-glemt-adgangskode > .clubapp-join,
.filmklub-site.route-aktiver-profil > .clubapp-join,
.filmklub-site.route-hjaelp > .clubapp-join,
.filmklub-site.route-kunde-login > .site-footer,
.filmklub-site.route-glemt-adgangskode > .site-footer,
.filmklub-site.route-aktiver-profil > .site-footer,
.filmklub-site.route-hjaelp > .site-footer,
.filmklub-site.route-kunde-login > .pwa-install,
.filmklub-site.route-glemt-adgangskode > .pwa-install,
.filmklub-site.route-aktiver-profil > .pwa-install,
.filmklub-site.route-hjaelp > .pwa-install { display:none !important; }
.auth-design .flash,
.auth-design .form-errors { margin:0 0 16px; border:1px solid #aa5264; border-radius:12px; padding:12px 14px; background:#321b27; color:#ffe0e3; font-size:13px; }
.auth-design .flash-success { border-color:#527a69; background:#142a27; color:var(--success); }
.auth-design .flash-info { border-color:#526d8a; background:#162335; color:#e1ecf8; }
.auth-design .form-errors ul { margin:0; padding-left:18px; }
.auth-design .password-toggle span { display:flex; }
.auth-design .password-toggle [hidden] { display:none !important; }
.auth-design .auth-code-fields { display:grid; gap:15px; }
.auth-design .auth-code-fields .field-group { margin:0; }
.auth-design .auth-code-fields + .ticket-button { margin-top:20px; }
.auth-design .faq details a { color:var(--gold); }
.auth-design .ticket-button-link { margin-top:4px; }
.auth-design .page-footer { padding-bottom:max(24px, env(safe-area-inset-bottom)); }
