/* Shared presentation for analyst and employee authentication. */
html { min-height: 100%; background: #102b38; }
body { margin: 0; padding: 40px 24px; box-sizing: border-box; min-height: 100vh; min-height: 100dvh; font-family: 'Segoe UI', system-ui, sans-serif; background: var(--login-bg, radial-gradient(ellipse at top right, #286f71 0%, #173b47 42%, #102b38 100%)) !important; color: #17303d; }
body > .login-container, body > .container, body > .card { box-sizing: border-box; width: 100%; max-width: 440px; padding: 40px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; box-shadow: 0 24px 70px rgba(3,20,28,.25); position: relative; z-index: 1; }
.login-header, .container > .header { margin-bottom: 30px; }
.login-header img { width: var(--login-logo-size, 230px); max-width: 100%; height: auto; object-fit: contain; margin-bottom: 22px; }
h1 { font-size: 25px !important; font-weight: 650; letter-spacing: -.6px; line-height: 1.25; color: inherit !important; }
.login-header p, .header p, .mfa-desc, .mfa-subtitle { font-size: 14px; line-height: 1.65; color: #647680; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.form-group input:not([type=checkbox]):not([type=radio]), .otp-input-field { box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cbd7db; border-radius: 10px; font-size: 16px; background: #f8fafb; color: #17303d; transition: border-color .15s, box-shadow .15s; }
.form-group input:focus, .otp-input-field:focus { outline: none; border-color: #287f78; box-shadow: 0 0 0 3px rgba(40,127,120,.14); background: #fff; }
.login-button, .submit-btn, .card .btn { box-sizing: border-box; min-height: 48px; border-radius: 10px; background: var(--login-accent, #287f78) !important; font-size: 15px; font-weight: 650; box-shadow: 0 5px 12px rgba(40,127,120,.15); }
.login-button:hover, .submit-btn:hover { transform: none; filter: brightness(.95); }
.login-links, .back-link, .mfa-back, .portal-link { font-size: 14px; line-height: 1.7; }
.login-links a, .back-link, .mfa-back a, .portal-link a, .forgot-password a { color: #24766f !important; }
.form-hint { font-size: 12px; line-height: 1.6; color: #647680; }
.powered-by { font-size: 11px; opacity: .65; margin-top: 22px; }
.error-message, .success-message, .msg, .mfa-error { border-radius: 10px; line-height: 1.6; }
.sso-provider-btn { min-height: 44px; border-radius: 10px; }
body[data-card=flat] > .login-container { box-shadow: none; }
@media (max-width: 600px) {
 body { padding: 24px 16px; }
 body > .login-container, body > .container, body > .card { padding: 30px 24px; max-width: 440px; border-radius: 18px; margin-left: auto !important; margin-right: auto !important; }
 .login-header img { width: min(var(--login-logo-size, 210px), 100%); margin-bottom: 18px; }
 h1 { font-size: 23px !important; }
}
@media (max-height: 600px) { body { justify-content: flex-start; padding-top: 24px; padding-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.forgot-link, .ss-text-link { color: #526c75 !important; font-size: 14px; }
.container > .header .icon, .mfa-icon svg { color: #287f78; }
.modal-box { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 18px; padding: 30px; }
body > .change-container { box-sizing:border-box; width:100%; max-width:440px; padding:40px; border:1px solid rgba(255,255,255,.6); border-radius:20px; box-shadow:0 24px 70px rgba(3,20,28,.25); }
.change-container .j7-bs-btn { min-height:48px; background:#287f78; border-color:#287f78; color:white; }
@media(max-width:480px) { body > .change-container { padding:28px 22px; } }
