/* Login svenbrk.de – colours of the dashboard (petrol blue, navy dark mode) */
:root {
  --brand: #0a5c80; --brand-dark: #074866; --brand-tint: #e3eef5;
  --text: #0e1a2b; --muted: #64707f; --bg: #f2f4f7; --panel: #fff; --border: #e3e7ed; --error: #b3261e; --ok: #1f7a46;
}
@media (prefers-color-scheme: dark) {
  :root { --brand: #1f7aa8; --brand-dark: #186892; --brand-tint: #16324a; --text: #e8eef4; --muted: #9aa8b8;
    --bg: #0b1520; --panel: #12202e; --border: #233446; --error: #ff8a80; --ok: #7bd3a0; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 440px; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 16px 48px; }
.wrap:has(.wide) { max-width: 600px; }
.brand { display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 600; margin: 0 0 20px; }
.logo { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
h1 { font-size: 1.45rem; margin: 0 0 4px; }
h2 { font-size: 1.05rem; margin: 28px 0 10px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; margin-top: 18px; }
.card > .muted:first-of-type { margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-full { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--brand-tint); color: var(--text); border-color: var(--border); }
.btn-link { background: none; color: var(--brand); padding: 0 6px; min-height: 36px; font-weight: 500; }
.i { width: 20px; height: 20px; flex: none; }
.pw { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.pw summary { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; color: var(--muted); font-weight: 500; min-height: 40px; list-style: none; }
.pw summary::-webkit-details-marker { display: none; }
.pw[open] summary { color: var(--text); }
.form { margin-top: 12px; }
.field { margin-bottom: 14px; }
.field[hidden] { display: none; }
label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  color: var(--text); font-size: 16px; }
input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
input[readonly] { opacity: .7; }
.error { color: var(--error); margin: 14px 0 0; }
.error[hidden] { display: none; }
.notice { color: var(--ok); font-weight: 500; }
.list { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid var(--border); border-radius: 12px; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); }
.list li:first-child { border-top: 0; }
.list li div { display: flex; flex-direction: column; }
.list form { margin: 0; }
.qr { width: 200px; max-width: 100%; background: #fff; padding: 8px; border-radius: 10px; margin: 8px 0; }
.qr svg { display: block; width: 100%; height: auto; }
.secret code { font-size: .95rem; word-break: break-all; }
.actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 28px; flex-wrap: wrap; }
