/* Promoters: ny login-side (ccc/LoginNew.aspx).
   Samme farver, skrift og afrunding som managerens nye sider (se manager.css). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --navy: #023f5e; --text: #374a56; --muted: #5b6878; --link: #007eb4; --page: #f3f5f7; --line: #e8ecef; --error: #ce1626; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body.lg { margin: 0; min-height: 100vh; background: #fff; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: .875rem; color: var(--text); line-height: 1.5; }
.lg a { color: var(--link); }
.lg a:focus-visible, .lg button:focus-visible, .lg input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.lgwrap { min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: 32px 16px calc(32px + env(safe-area-inset-bottom)); }
.lgcard { width: 100%; max-width: 400px; }
.lglogo { display: block; max-width: 200px; max-height: 56px; height: auto; margin: 0 0 24px; }
.lg h1 { margin: 0 0 24px; font-size: 1.375rem; font-weight: 700; color: var(--navy); line-height: 1.25; }

.lg .fld { margin-bottom: 16px; }
.lg label.f { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 4px; }
.lg input.t { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--muted); border-radius: 8px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; }
.lg input.t[aria-invalid="true"] { border-color: var(--error); }
.lg .pw { position: relative; }
.lg .pw input.t { padding-right: 112px; }
.lg .pwbtn { position: absolute; top: 0; right: 0; height: 48px; min-width: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: .875rem; font-weight: 500; color: var(--link); text-decoration: underline; cursor: pointer; }

.lg .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 8px; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; border: 1px solid var(--navy); text-decoration: none; }
.lg .btn.p { background: var(--navy); color: #fff; }
.lg .btn.block { width: 100%; }
.lg .btn[aria-busy="true"] { cursor: progress; opacity: .8; }

.lg .state { margin: 0 0 16px; color: var(--muted); }
.lg .state.err { color: var(--error); font-weight: 500; }
.lg .forgot { margin: 16px 0 0; }
.lg .forgot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.lg .lang { display: flex; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.lg .lnk { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; font: inherit; font-size: .875rem; font-weight: 500; color: var(--link); text-decoration: underline; cursor: pointer; }

@media (min-width: 768px) {
  body.lg { background: var(--page); }
  .lgwrap { align-items: center; padding: 48px 24px; }
  .lgcard { background: #fff; border-radius: 12px; padding: 32px; }
}
@media (prefers-reduced-motion: reduce) { .lg * { transition: none !important; animation: none !important; } }
