/* Only the login and registration layout uses this stylesheet. */
body.auth-split { margin: 0; background: #fff; color: #182139; }
.auth-split .auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.auth-split .auth-brand { display: flex; flex-direction: column; padding: 40px clamp(32px, 5vw, 88px) 32px; background: #f4f6fc; background: color-mix(in srgb, var(--auth-primary, #1d3494) 5%, #fff); color: #182139; min-width: 0; }
.auth-split .auth-logo { font-size: 28px; font-weight: 700; letter-spacing: -.7px; flex-shrink: 0; }
.auth-split .auth-logo img { display: block; width: auto; max-width: min(220px, 100%); height: auto; max-height: 104px; object-fit: contain; object-position: left center; }
.auth-split .auth-brand-copy { margin-top: clamp(32px, 5vh, 56px); }
.auth-split .auth-brand h2 { color: inherit; font-size: clamp(42px, 4.5vw, 70px); line-height: 1.08; letter-spacing: -2px; font-weight: 600; margin: 0 0 22px; }
.auth-split .auth-brand p { font-size: 17px; line-height: 1.6; margin: 0; color: #293b59; }
.auth-split .auth-form-panel { display: flex; align-items: center; justify-content: center; background: #fff; padding: 48px 40px; min-width: 0; }
.auth-split .auth-form-wrap { width: 100%; max-width: 440px; }
.auth-split h1 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -1px; margin: 0 0 10px; color: #182139; }
.auth-split .auth-subtitle { color: #657086; font-size: 15px; margin-bottom: 32px; }
.auth-split .auth-field { margin-bottom: 18px; }
.auth-split .form-label { display: block; color: #293249; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.auth-split .form-control { height: 50px; padding: 12px 14px; border: 1px solid #d5dae3; border-radius: 7px; background-color: #fff; color: #182139; font-size: 15px; }
.auth-split .form-control:focus { border-color: var(--auth-primary, #1d3494); box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-primary, #1d3494) 15%, transparent); }
.auth-split .auth-password { padding-right: 52px; }
.auth-split .auth-password-toggle { position: absolute; inset: 3px 3px 3px auto; width: 44px; border: 0; border-radius: 5px; background: #fff; color: #657086; font-size: 20px; cursor: pointer; }
.auth-split a { color: var(--auth-primary, #1d3494); font-weight: 600; text-decoration: none; }
.auth-split a:hover { text-decoration: underline; }
.auth-split :is(a, button, input):focus-visible { outline: 3px solid color-mix(in srgb, var(--auth-primary, #1d3494) 55%, #fff); outline-offset: 3px; }
.auth-split .auth-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 26px; font-size: 13px; }
.auth-split .form-check { margin: 0; }
.auth-split .form-check-input { border-color: #a6afbd; }
.auth-split .form-check-input:checked { background-color: var(--auth-primary, #1d3494); border-color: var(--auth-primary, #1d3494); }
.auth-split .auth-submit { width: 100%; min-height: 50px; border-radius: 7px; color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.auth-split .auth-footer { margin: 26px 0 0; text-align: center; color: #657086; font-size: 14px; }
.auth-split .auth-error { color: #b42318; font-size: 13px; margin-top: 6px; }
.auth-split .is-invalid { border-color: #b42318; background-image: none; }
.auth-split .alert { font-size: 14px; }
.auth-split .auth-mobile-logo { display: none; }
.auth-split .g-recaptcha { margin-bottom: 8px; transform-origin: left top; }
@media (max-width: 991.98px) {
    .auth-split .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-split .auth-brand { display: none; }
    .auth-split .auth-mobile-logo { display: block; margin-bottom: 28px; }
    .auth-split .auth-form-panel { padding: 36px 24px; }
    .auth-split .auth-mobile-logo img { max-height: 80px; }
}
@media (max-height: 700px) {
    .auth-split .auth-form-panel { padding-top: 28px; padding-bottom: 28px; }
    .auth-split .auth-subtitle { margin-bottom: 24px; }
    .auth-split .auth-field { margin-bottom: 14px; }
}
/* The dashboard theme uses !important for primary buttons. */
.auth-split .auth-submit { background-color: var(--auth-primary, #1d3494) !important; border-color: var(--auth-primary, #1d3494) !important; }
.auth-split .auth-submit:hover { background-color: color-mix(in srgb, var(--auth-primary, #1d3494) 82%, #000) !important; border-color: color-mix(in srgb, var(--auth-primary, #1d3494) 82%, #000) !important; }

/* Company workspace: quiet surfaces and a flat operational overview. */
body.auth-split { background: #f5f5f0; color: #203c36; }
.auth-split .auth-shell { max-width: 1440px; margin: 0 auto; grid-template-columns: 1.08fr 1fr; padding: 28px; gap: 28px; }
.auth-split .auth-brand { background: transparent; color: #203c36; padding: 28px clamp(24px, 4vw, 64px); }
.auth-split .auth-logo { color: #203c36; }
.auth-split .auth-logo img { max-height: 76px; }
.auth-split .auth-brand-copy { margin-top: clamp(36px, 7vh, 72px); }
.auth-split .auth-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #597168; margin-bottom: 20px; }
.auth-split .auth-brand h2 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -2.3px; margin-bottom: 20px; }
.auth-split .auth-brand-copy > p { max-width: 410px; color: #64736d; font-size: 16px; }
.auth-split .auth-workflow { margin-top: 36px; max-width: 440px; border-top: 1px solid #d5ddd5; }
.auth-split .auth-workflow-heading { display: flex; align-items: center; gap: 10px; padding: 20px 0 12px; font-size: 12px; font-weight: 600; color: #405e52; }
.auth-split .auth-workflow-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #dfe9df; font-size: 16px; }
.auth-split .auth-workflow-row { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid #e0e4dc; }
.auth-split .auth-step { flex-shrink: 0; font-size: 11px; color: #718579; font-variant-numeric: tabular-nums; }
.auth-split .auth-workflow-row h3 { font-size: 14px; font-weight: 600; color: #29473b; margin: 0 0 4px; }
.auth-split .auth-workflow-row p { font-size: 12px; color: #67776d; line-height: 1.5; }
.auth-split .auth-workflow-row > i { margin-left: auto; font-size: 20px; color: #718579; }
.auth-split .auth-brand-footer { margin-top: auto; padding-top: 32px; font-size: 11px; color: #718074; }
.auth-split .auth-form-panel { border: 1px solid #e4e6de; border-radius: 20px; box-shadow: 0 8px 32px #243c2d04; padding: 48px clamp(28px, 4vw, 64px); }
.auth-split .auth-form-wrap { max-width: 390px; }
.auth-split h1 { font-size: 30px; letter-spacing: -1px; color: #243c34; }
.auth-split .auth-subtitle { line-height: 1.65; }
.auth-split .form-control { border-radius: 8px; background: #fcfcfa; }
.auth-split .auth-password-toggle { background: #fcfcfa; }
.auth-split .auth-submit { border-radius: 8px; }
@media (max-width: 991.98px) {
    .auth-split .auth-shell { grid-template-columns: minmax(0, 1fr); max-width: 600px; padding: 20px; gap: 0; }
    .auth-split .auth-form-panel { padding: 36px 28px; }
}
@media (max-width: 420px) {
    .auth-split .auth-shell { padding: 10px; }
    .auth-split .auth-form-panel { padding: 28px 18px; border-radius: 14px; }
    .auth-split .auth-options { font-size: 12px; }
}
