.auth-page{min-height:100vh;min-height:100svh;display:grid;place-items:center;background:#f1f6fb;padding:32px;color:#242e3b;--ink:#242e3b;--muted:#546d8c;--teal:#204b86;--border:#d5e4ef}
.auth-card{width:min(440px,100%);background:#fff;padding:36px;border:1px solid #d5e4ef;border-radius:20px;box-shadow:0 14px 50px #204b8610}
.auth-brand{display:flex;gap:14px;align-items:center;color:#204b86;text-decoration:none;font-size:26px;font-weight:650;margin-bottom:32px}
.auth-brand .auth-brand-iq{color:#3484a1}
.auth-brand small{display:block;font-size:10px;letter-spacing:2px;color:#546d8c;margin-top:4px}
.auth-card h1{font-size:25px;margin:0 0 14px}
.auth-card .muted{color:#546d8c}
.auth-card form{display:grid;gap:18px;margin-top:26px}
.auth-card label{display:grid;gap:8px;font-size:14px;font-weight:550;color:#42566f}
.auth-card input:not([type=hidden]){width:100%;min-height:46px;padding:11px 13px;color:#242e3b;background:#f7fafc;border:1px solid #8fa9c2;border-radius:9px;box-shadow:inset 0 1px 2px #204b8605;font-size:16px;line-height:1.4}
.auth-card input:not([type=hidden]):hover{border-color:#587c9f}
.auth-card input:not([type=hidden]):focus{outline:3px solid #d3eef7;outline-offset:2px;border-color:#30809b;background:#fff}
.auth-card button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin-top:6px;padding:11px 18px;background:#204b86;color:#fff;border:1px solid #204b86;border-radius:9px;font-size:15px;font-weight:650;line-height:1.4;box-shadow:0 2px 4px #204b8610}
.auth-card button:hover,.auth-card .button.primary:hover{background:#183c6d;color:#fff;border-color:#183c6d}
.auth-card button:focus-visible,.auth-card .button.primary:focus-visible{outline:3px solid #66c2dd;outline-offset:3px}
.auth-card button:active,.auth-card .button.primary:active{background:#15375f;color:#fff;border-color:#15375f;box-shadow:none}
.auth-card .form-error{padding:12px 14px;color:#873c35;background:#fff2ef;border:1px solid #e9b7af;border-radius:9px}
@media(max-width:520px){.auth-page{padding:20px}.auth-card{padding:28px 24px}.auth-brand{margin-bottom:26px}}
.auth-card:has(.security-section){width:min(760px,100%)}
.auth-card .auth-step{display:inline-block;color:#3484a1;font-size:12px;letter-spacing:.06em;font-weight:650;margin-bottom:8px}
.auth-mobile{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;margin:16px 0;border-radius:10px;background:#edf6fa;border:1px solid #d2e7ef;font-size:14px;color:#42566f}
.auth-mobile strong{color:#204b86;white-space:nowrap}
.auth-card .auth-code{letter-spacing:.4em;text-align:center;font-size:24px;padding-left:1.4em}
.auth-card .auth-check{display:flex;align-items:center;gap:10px;line-height:1.5;cursor:pointer}
.auth-card .auth-check input[type=checkbox]{width:19px;min-height:19px;height:19px;padding:0;accent-color:#204b86;flex:none}
.auth-card .secondary{background:#fff;color:#204b86;border-color:#adbed1;box-shadow:none}
.auth-card .secondary:hover{background:#edf4fa;color:#183c6d;border-color:#587c9f}
.auth-card button:disabled{opacity:.55;cursor:wait}
.auth-card button[aria-busy=true]::before{content:'';width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:10px;animation:auth-spin .7s linear infinite}
.auth-secondary{margin-top:14px!important;gap:10px!important}
.auth-card small{font-size:12px;color:#546d8c;line-height:1.6}
.auth-card details{border-top:1px solid #d5e4ef;margin-top:20px;padding-top:16px}
.auth-card summary{font-weight:600;color:#204b86;cursor:pointer;font-size:14px;line-height:1.6}
.auth-recovery{margin-top:24px!important}
.auth-notice{padding:12px 14px;border:1px solid #b8dfd3;background:#eff9f5;color:#26634f;border-radius:9px;line-height:1.6}
.security-nav{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:20px}
.security-nav a{color:#204b86;text-decoration:none}
.security-section{margin-top:24px;padding:24px;border:1px solid #d5e4ef;background:#fff;border-radius:14px}
.security-section h2{font-size:19px;margin:0 0 14px;color:#204b86}
.security-section p{line-height:1.65;font-size:14px}
.security-section form{margin-top:18px}
.security-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.security-status{font-size:12px;font-weight:650;padding:5px 10px;border-radius:20px;background:#fff5de;color:#835e18;white-space:nowrap}
.security-status.enabled{background:#e8f5ef;color:#26634f}
.auth-card select{width:100%;min-height:46px;border:1px solid #8fa9c2;border-radius:9px;background:#f7fafc;color:#242e3b;padding:11px 36px 11px 13px;font:inherit;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23546d8c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.auth-card select:focus{outline:3px solid #d3eef7;outline-offset:2px;border-color:#30809b}
.security-device-list,.security-staff-list{list-style:none;padding:0;margin:12px 0}
.security-device-list li,.security-staff-list li{padding:12px 0;border-bottom:1px solid #e5edf4;display:grid;gap:6px;font-size:14px}
.security-device-list span,.security-staff-list span{display:block;color:#546d8c;font-size:12px;margin-top:5px}
.recovery-codes{background:#f1f8fc}.recovery-codes ul{padding:0;list-style:none;display:grid;gap:10px}.recovery-codes code{font-size:13px;overflow-wrap:anywhere}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.auth-card button[aria-busy=true]::before{animation:none}}
@media(max-width:520px){.security-section{padding:18px}.auth-mobile{align-items:flex-start;flex-direction:column;gap:8px}.security-nav{flex-wrap:wrap}}
/* Keep the account enrolment action visible without a long introductory scroll. */
.auth-card:has(.security-section){padding:28px 32px}
.auth-card:has(.security-section) .auth-brand{margin-bottom:18px}
.security-section{padding:20px;margin-top:18px}
.security-section p{margin:10px 0}
.security-section details{margin-top:14px;padding-top:12px}
.security-section form{gap:12px;margin-top:16px}
@media(max-width:520px){.auth-card:has(.security-section){padding:24px 20px}.security-section{padding:16px}}
.auth-card:has(.security-section) .auth-brand{margin-bottom:12px}
.auth-card:has(.security-section)>h1{margin-bottom:10px}
.auth-card:has(.security-section) .security-nav{margin-bottom:12px}
.auth-card:has(.security-section)>p.muted{margin:12px 0}
.security-heading h2{margin-bottom:8px}
