/* cp – prihlásenie a MFA (rovnaký vizuál ako klientska zóna) */
@font-face { font-family: "Work Sans"; font-weight: 100 900; font-display: swap; src: url("../fonts/worksans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Work Sans"; font-weight: 100 900; font-display: swap; src: url("../fonts/worksans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }
:root { --accent: #ea580c; --ink: #1b1d20; --muted: #6b6f76; --line: #e7e7e2; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fbfbfa; color: var(--ink); font-family: "Work Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.login-wrapper { width: 100%; max-width: 440px; }
.login-card { padding: 40px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgb(0 0 0 / .06); }
.brand { text-align: center; margin-bottom: 28px; }
.brand-word { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.brand-word span { color: var(--accent); }
.brand small { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { margin-bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
p, ol { font-size: 14px; line-height: 1.7; color: #3f4348; }
ol { margin: 12px 0 16px 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3f4348; }
.form-control { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(234 88 12 / .14); }
.form-control.code { font-size: 20px; letter-spacing: .25em; text-align: center; }
.btn-login, a.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 8px; padding: 14px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.btn-login:hover, a.btn:hover { background: var(--accent); transform: translateY(-1px); }
.form-second { margin-top: 24px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.alert { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 13px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.alert-error, .err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.err { margin-bottom: 14px; padding: 12px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
code, .key { display: inline-block; margin: 2px 0; padding: 5px 10px; border-radius: 8px; background: #f4f4f0; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 13px; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
a { color: var(--accent); }
a.btn { color: #fff; }

.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: 12.5px; line-height: 1.5; color: #3f4348; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* QR kód pre MFA */
.qr-box { display: flex; justify-content: center; margin: 12px 0 6px; padding: 14px; background: #fff; border: 1.5px solid #e7e7e2; border-radius: 14px; }
.qr-box svg { width: 200px; height: 200px; }
