:root { --auth-navy: #12344a; --auth-navy-dark: #08283c; --auth-gold: #9a7846; --auth-muted: #65737e; --auth-border: #dce2e5; }
*, *::before, *::after { box-sizing: border-box; }
body.auth-page { margin: 0; color: var(--auth-navy); background: #f8f9f9; font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.auth-page a { color: var(--auth-navy); text-underline-offset: 3px; }
.auth-page a:hover { color: var(--auth-gold); }
.auth-page :focus-visible { outline: 3px solid #a58148; outline-offset: 4px; }
.auth-skip { position: fixed; top: -100px; left: 16px; padding: 12px; background: white; z-index: 1100; }
.auth-skip:focus { top: 12px; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.auth-left { min-width: 0; display: flex; flex-direction: column; padding: 32px clamp(28px, 5vw, 88px) 22px; }
.auth-masthead { margin-bottom: 26px; }
.auth-wordmark { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font-size: 13px; letter-spacing: 2px; font-weight: 650; }
.auth-wordmark img { width: 78px; height: 44px; object-fit: contain; }
.auth-wordmark sup { font-size: 8px; letter-spacing: 0; top: -.6em; }
.auth-wordmark-light { font-weight: 400; }
.auth-wordmark-divider { width: 1px; height: 30px; background: #d4d5d1; }
.auth-main { display: flex; flex: 1; align-items: center; justify-content: center; padding: 32px 0; }
.auth-card { width: 100%; max-width: 460px; padding: 32px; background: #fff; border: 1px solid #dfe5e7; border-top: 3px solid #aa916b; border-radius: 13px; box-shadow: 0 10px 35px rgb(18 52 74 / 6%); }
.auth-eyebrow { color: var(--auth-gold); font-size: 10px; letter-spacing: 2px; font-weight: 650; margin: 0 0 14px; }
.auth-card h1 { font-family: inherit; font-size: 27px; font-weight: 500; letter-spacing: -.5px; line-height: 1.35; margin: 0 0 14px; }
.auth-card h1 span { color: var(--auth-navy); }
.auth-intro { color: var(--auth-muted); font-size: 13px; line-height: 1.75; margin-bottom: 22px; }
.auth-tabs { display: flex; list-style: none; gap: 4px; padding: 5px; margin: 0 0 22px; background: #f3f5f5; border: 1px solid #e4e6e1; border-radius: 9px; }
.auth-tabs > li { flex: 1; min-width: 0; }
.auth-tab { flex: 1; display: block; width: 100%; border: 0; padding: 11px 12px; border-radius: 6px; background: transparent; color: var(--auth-muted); text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .16s ease, color .16s ease; }
.auth-tab.active { color: var(--auth-navy); background: white; box-shadow: 0 2px 6px #12344a10; }
.auth-card h2 { font-size: 18px; font-weight: 500; margin: 14px 0 10px; }
.auth-sso-icon, .auth-step-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #e2d8c7; border-radius: 12px; background: #f4efe6; color: var(--auth-gold); font-size: 22px; }
.auth-step-icon { margin-bottom: 24px; }
.auth-copy { color: var(--auth-muted); font-size: 13px; margin-bottom: 18px; }
.auth-page .btn-login { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 44px; padding: 10px 18px; margin: 24px 0 0; background: var(--auth-navy); border: 1px solid var(--auth-navy); border-radius: 7px; color: white; font: inherit; font-weight: 600; text-decoration: none; transition: background .16s ease, box-shadow .16s ease; }
.auth-page .btn-login:hover { color: white; background: var(--auth-navy-dark); box-shadow: 0 4px 12px #12344a20; }
.btn-login > span { font-size: 20px; font-weight: 400; line-height: 1; }
.auth-secure-note { color: var(--auth-muted); display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; font-size: 11px; text-align: center; }
.auth-secure-note i { color: var(--auth-gold); }
.auth-support { border-top: 1px solid #e4e5e0; padding-top: 20px; margin: 24px 0 0; font-size: 12px; color: var(--auth-muted); overflow-wrap: anywhere; }
.auth-support p:last-child { margin-bottom: 0; }
.auth-footer { flex-shrink: 0; text-align: center; }
.auth-family-label { color: #7c817f; font-size: 8px; letter-spacing: 1.7px; margin: 0 0 13px; }
.ihcl-brands { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.3vw, 22px); flex-wrap: wrap; }
.ihcl-brands > a { display: flex; align-items: center; }
.ihcl-brands img { display: block; width: auto; height: 33px; max-width: 64px; object-fit: contain; }
.auth-copyright { font-size: 9px; color: #747c80; margin: 17px 0 0; }
.auth-banner { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #143b50; }
.auth-banner-image { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.auth-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #041c3326 0%, transparent 35%); pointer-events: none; }
.auth-banner-logo { position: absolute; top: 35px; right: 36px; width: 100px; height: auto; z-index: 1; }
.auth-banner-caption { position: absolute; z-index: 1; bottom: 56px; left: clamp(28px, 4vw, 64px); right: 28px; color: white; }
.auth-banner-caption .auth-eyebrow { color: #efdcbb; font-size: 9px; }
.auth-banner-caption p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 44px); line-height: 1.25; font-weight: 400; margin: 20px 0 27px; letter-spacing: -.6px; }
.auth-banner-location { display: inline-block; padding-top: 18px; border-top: 1px solid #ffffff55; font-size: 8px; letter-spacing: 2px; }
.auth-card .form-group { margin: 0 0 20px; }
.auth-card label { display: block; font-size: 12px; font-weight: 600; color: var(--auth-navy); margin: 0 0 8px; }
.auth-card .form-control, .auth-card .form-select { min-height: 46px; border: 1px solid var(--auth-border); border-radius: 7px; background-color: white; padding: 12px 14px; font-size: 13px; color: var(--auth-navy); box-shadow: none; }
.auth-card .form-control::placeholder { color: #87929a; opacity: 1; }
.auth-card .form-control:focus, .auth-card .form-select:focus { border-color: var(--auth-gold); box-shadow: 0 0 0 3px #a5814818; }
.auth-card .form-control.error { border-color: #bd4b4b; }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth-label-row > a { font-size: 11px; text-decoration: none; }
.auth-password { position: relative; }
.auth-password .form-control { padding-right: 50px; }
.auth-password-toggle { position: absolute; right: 3px; top: 3px; width: 43px; height: 43px; border: none; border-radius: 5px; background: transparent; color: #6c7c87; }
.auth-password-toggle:hover { background: #f2f3ef; }
.auth-back { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 12px; margin-bottom: 28px; color: var(--auth-muted); }
.auth-password-rules { font-size: 12px; color: var(--auth-muted); padding: 14px 16px; margin-bottom: 22px; background: #f0f1ed; border-left: 2px solid #b59a72; border-radius: 0 6px 6px 0; white-space: normal; }
.auth-card .alert { font-size: 12px; border-radius: 7px; overflow-wrap: anywhere; }
.auth-card label.error, .auth-card .error, .auth-card [data-recaptcha-error], .auth-card .alert-danger { color: #a83030; font-size: 12px; font-weight: 400; margin-top: 6px; }
.auth-card .btn-close { font-size: 10px; }
.auth-card .auth-otp-input { font-size: 26px; letter-spacing: 13px; text-align: center; padding-left: 25px; font-variant-numeric: tabular-nums; }
.auth-field-hint { margin: 8px 0 0; color: var(--auth-muted); font-size: 11px; }
.auth-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--auth-muted); margin: 0 0 24px; }
.resend-btn { border: 0; background: transparent; padding: 6px 0; color: var(--auth-navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.resend-btn:disabled { color: #767e83; cursor: not-allowed; text-decoration: none; }
.auth-otp-feedback:not(:empty) { background: #eff3ee; padding: 12px 14px; margin-bottom: 18px; border-radius: 7px; font-size: 12px; }
.auth-card .login-container, .auth-card .form-container, .auth-card .panel-body { padding: 0; background: none; box-shadow: none; }
.auth-card .info-scrollable { font-size: 12px; color: var(--auth-muted); }
.auth-card .info-scrollable h3 { font-size: 15px; color: var(--auth-navy); }
.auth-card .login-reason { font-size: 13px; color: var(--auth-muted); }
.auth-card input[type="checkbox"] { accent-color: var(--auth-navy); width: 16px; height: 16px; margin-right: 7px; vertical-align: middle; }
.auth-card input[type="checkbox"] + label { display: inline; font-size: 12px; font-weight: 400; }
.auth-card .btn-link { font-size: 12px; padding: 0; }
.auth-page .modal-dialog { max-width: 640px; }
.auth-page .modal-body { max-height: 65vh; overflow-y: auto; font-size: 13px; }
.auth-page .modal-title { font-size: 18px; }
.auth-page .terms-icon { width: 22px; }
@media (min-width: 1500px) { .auth-card { max-width: 460px; } }
@media (max-width: 1050px) { .auth-left { padding-left: 30px; padding-right: 30px; } .auth-wordmark { gap: 12px; font-size: 11px; letter-spacing: 1.5px; } .ihcl-brands { gap: 10px; } .ihcl-brands img { height: 27px; max-width: 50px; } }
@media (max-width: 767px) { .auth-shell { grid-template-columns: 1fr; } .auth-left { min-height: 100svh; padding: 24px 24px 20px; } .auth-main { padding: 40px 0; } .auth-card { max-width: 460px; padding: 28px; } .auth-card h1 { font-size: 26px; } .auth-banner { position: relative; height: 320px; } .auth-banner-caption { bottom: 28px; } .auth-banner-caption p { font-size: 30px; margin: 14px 0 18px; } .auth-banner-logo { top: 24px; right: 24px; width: 78px; } .ihcl-brands { gap: 14px; } .ihcl-brands img { height: 30px; max-width: 55px; } }
@media (max-width: 374px) { .auth-left { padding-left: 18px; padding-right: 18px; } .auth-card { padding: 23px 20px; } .auth-card h1 { font-size: 24px; } .auth-wordmark { gap: 9px; font-size: 10px; } .auth-wordmark img { width: 64px; } .auth-otp-input { letter-spacing: 9px; } .ihcl-brands { gap: 10px; } .ihcl-brands img { height: 25px; max-width: 42px; } }
@media (prefers-reduced-motion: reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
