/* Loaded only by the account-page layout. Main application styling is untouched. */
.auth-page {
    --auth-blue: var(--catersys-brand);
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f6f8;
    color: #19323e;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
}
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-page .auth-card { width: 100%; max-width: 440px; min-width: 0; border: 1px solid #dce5e9; border-radius: 18px; background: #fff; box-shadow: 0 12px 36px #19323e12; overflow: hidden; }
.auth-page .auth-brand { background: var(--auth-blue); padding: 0 32px; }
.auth-page .auth-brand img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.auth-page .auth-content { padding: 32px; }
.auth-page .auth-eyebrow { margin: 0 0 4px; color: var(--auth-blue); font-size: .875rem; font-weight: 600; }
.auth-page h1 { margin: 0 0 8px; font-size: 1.875rem; font-weight: 650; line-height: 1.2; }
.auth-page .auth-intro { margin: 0 0 24px; color: #526b77; }
.auth-page .auth-field { margin-bottom: 20px; }
.auth-page .auth-field label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 600; }
.auth-page .auth-field input { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #a9bec8; border-radius: 8px; background: #fff; color: #19323e; font: inherit; }
.auth-page .auth-field input:focus-visible, .auth-page button:focus-visible, .auth-page a:focus-visible, .auth-page input[type="checkbox"]:focus-visible { outline: 3px solid var(--auth-blue); outline-offset: 3px; }
.auth-page .auth-field input.input-validation-error { border-color: #a52b35; }
.auth-page .auth-remember { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 20px; cursor: pointer; font-size: .9375rem; }
.auth-page .auth-remember input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--auth-blue); }
.auth-page .auth-muted { color: #526b77; }
.auth-page .auth-primary { display: block; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--auth-blue); border-radius: 8px; background: var(--auth-blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.auth-page .auth-primary:hover { background: var(--catersys-brand-hover); border-color: var(--catersys-brand-hover); }
.auth-page .auth-cancel { display: flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 12px; color: var(--auth-blue); text-align: center; text-underline-offset: 3px; }
.auth-page .auth-errors { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #e1a9ad; border-radius: 8px; background: #fff4f4; color: #8c222b; }
.auth-page .auth-errors ul { margin: 0; padding-left: 18px; }
.auth-page .auth-errors.validation-summary-valid, .auth-page .field-validation-valid { display: none; }
.auth-page .auth-field-error { display: block; margin-top: 6px; color: #8c222b; font-size: .875rem; }
@media (max-width: 480px) {
    .auth-page .auth-content { padding: 24px; }
    .auth-page .auth-brand { padding: 0 24px; }
}
@media (max-height: 700px) {
    .auth-page { align-items: flex-start; }
}
