/* Only the public authentication layout loads this stylesheet. */
body.auth-page { margin: 0; padding: 0; min-height: 100vh; background: #f3f6f5; color: #283d38; font-size: 16px; line-height: 1.5; }
.auth-page * { box-sizing: border-box; }
.auth-page [hidden] { display: none !important; }
.auth-header { min-height: 62px; padding: 14px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #315f56; border-bottom: 4px solid #91b4a9; }
.auth-header a { color: #fff; font-size: 14px; }
.auth-logo { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 30px; }
.auth-logo img { display: block; width: 100px; height: auto; }
.auth-main { width: calc(100% - 32px); max-width: 460px; margin: clamp(36px, 8vh, 86px) auto 32px; }
.auth-main-wide { max-width: 600px; }
.auth-card { padding: 32px; background: #fff; border: 1px solid #d8e3df; border-radius: 12px; box-shadow: 0 12px 36px #244d4010; overflow-wrap: anywhere; }
.auth-card h1 { margin: 0 0 24px; font-size: 28px; line-height: 1.2; font-weight: 500; color: #254c42; }
.auth-card h2 { font-size: 20px; line-height: 1.4; }
.auth-card p { margin: 0 0 20px; }
.auth-card .auth-lead { margin-top: -8px; color: #52645d; }
.auth-card .form-group { margin: 0 0 20px; }
.auth-card label.control-label, .auth-card .form-group > label { display: block; padding: 0; margin: 0 0 7px; font-size: 15px; font-weight: 600; text-align: left; }
.auth-card .form-control { width: 100%; max-width: none; height: 46px; padding: 10px 12px; border: 1px solid #9eafa8; border-radius: 5px; font-size: 16px; color: #233f35; background: #fff; box-shadow: none; }
.auth-card .form-control:focus { border-color: #315f56 !important; box-shadow: 0 0 0 3px #315f5626 !important; }
.auth-page a { text-underline-offset: 3px; }
.auth-card a, .auth-help a { color: #315f56; text-decoration: underline; }
.auth-page a:focus-visible, .auth-page button:focus-visible, .auth-page input:focus-visible { outline: 3px solid #ad7c13 !important; outline-offset: 3px; }
.auth-card .btn { min-height: 44px; padding: 11px 16px; font-size: 16px; font-weight: 600; white-space: normal; border-radius: 5px; text-decoration: none; }
.auth-card .btn-success, .auth-card .btn-green { color: #fff; background: #315f56; border: 1px solid #315f56; }
.auth-card .btn-success:hover, .auth-card .btn-success:focus, .auth-card .btn-success:active, .auth-card .btn-green:hover { background: #244b42 !important; border-color: #244b42 !important; }
.auth-card .auth-submit { display: block; width: 100%; margin: 24px 0 18px; }
.auth-card .auth-back { display: block; text-align: center; margin-top: 18px; }
.auth-card .validation-summary-valid, .auth-card .field-validation-valid { display: none; }
.auth-card .validation-summary-errors { padding: 12px 16px; border-left: 3px solid #a32f38; background: #fcf0f1; margin-bottom: 20px; }
.auth-card .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.auth-card .text-danger, .auth-card .field-validation-error { color: #a12630; font-size: 14px; }
.auth-card .input-validation-error { border-color: #a12630 !important; }
.auth-status { padding: 12px 14px; border-radius: 5px; background: #eef5f2; color: #315f56; }
.auth-remember { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: normal; cursor: pointer; }
.auth-remember input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #315f56; }
.auth-password { position: relative; }
.auth-password .form-control { padding-right: 78px; }
.auth-password-toggle { position: absolute; top: 1px; right: 1px; min-height: 44px; min-width: 66px; padding: 8px; background: transparent; border: 0; border-radius: 4px; color: #315f56; font-size: 13px; text-decoration: underline; }
.auth-caps { display: block; font-size: 14px; color: #745315; margin-top: 6px; }
.auth-account-list { padding: 0; margin: 24px 0; list-style: none; }
.auth-account-list li + li { margin-top: 12px; }
.auth-account-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 58px; padding: 16px; border: 1px solid #c4d6ce; border-radius: 6px; text-decoration: none; background: #f7faf8; font-weight: 600; }
.auth-account-list a:hover { background: #edf5f0; border-color: #315f56; }
.auth-account-name { min-width: 0; overflow-wrap: anywhere; }
.auth-account-arrow { flex-shrink: 0; }
.auth-help, .auth-footer { text-align: center; font-size: 14px; margin-top: 22px; }
.auth-footer { color: #64736c; margin-top: 16px; }
.auth-card .alert { font-size: 14px; }
.auth-card .passtrengthMeter { display: block; margin-bottom: 44px; }
.auth-card .passtrengthMeter > input { width: 100%; }
.auth-providers { margin-bottom: 24px; }
.auth-providers .btn { margin: 0 8px 8px 0; }
@media (max-width: 480px) {
    .auth-card { padding: 24px 20px; }
    .auth-main { margin-top: 28px; }
    .auth-header { gap: 16px; padding: 12px 20px; }
}
