:root {
    --auth-ink: #172033;
    --auth-muted: #667085;
    --auth-yellow: #f3c75f;
    --auth-yellow-soft: #fff8e8;
    --auth-navy: #1d2b45;
    --auth-line: #e4e8ef;
}

body.coach-auth-body {
    min-height: 100vh;
    color: var(--auth-ink);
    background: #f5f7fb;
    overflow-x: hidden;
}

body.coach-auth-body #layoutAuthentication,
body.coach-auth-body #layoutAuthentication_content,
body.coach-auth-body main { min-height: 100vh; }
body.coach-auth-body #layoutAuthentication_content { display: flex; align-items: stretch; }
body.coach-auth-body #layoutAuthentication_content main { width: 100%; }
body.coach-auth-body .auth-page-shell { min-height: 100vh; }

.coach-auth-visual {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding: 3.5rem clamp(2rem, 6vw, 6rem);
    color: #fff;
    background: linear-gradient(145deg, #17243a 0%, #263d60 100%);
}

.coach-auth-visual::before {
    position: absolute;
    inset: 0;
    opacity: .24;
    content: '';
    background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
    background-size: 23px 23px;
    mask-image: linear-gradient(to bottom right, black, transparent 80%);
}

.coach-auth-orb { position: absolute; border-radius: 50%; opacity: .22; filter: blur(2px); }
.coach-auth-orb-one { width: 330px; height: 330px; right: -100px; top: 18%; background: var(--auth-yellow); }
.coach-auth-orb-two { width: 170px; height: 170px; left: -70px; bottom: 11%; background: #8fb9e8; }
.coach-auth-visual-inner { position: relative; z-index: 1; display: flex; width: 100%; flex-direction: column; justify-content: space-between; }
.coach-auth-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.coach-auth-brand:hover { color: #fff; }
.coach-auth-brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }
.coach-auth-brand span { color: var(--auth-yellow); }
.coach-auth-copy { max-width: 520px; margin: auto 0; padding: 4rem 0; }
.coach-auth-kicker { color: #f8d889; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.coach-auth-copy h1 { margin: 1rem 0 1.2rem; color: #fff; font-size: clamp(2.4rem, 4.4vw, 4.4rem); font-weight: 780; line-height: 1; letter-spacing: -.065em; }
.coach-auth-copy h1 span { color: var(--auth-yellow); }
.coach-auth-copy p { max-width: 470px; margin: 0; color: #cbd6e4; font-size: 1rem; line-height: 1.8; }
.coach-auth-benefits { display: grid; gap: .85rem; max-width: 410px; }
.coach-auth-benefit { display: flex; align-items: center; gap: .7rem; color: #dce5f0; font-size: .82rem; }
.coach-auth-benefit i { display: grid; width: 1.65rem; height: 1.65rem; flex: 0 0 1.65rem; place-items: center; color: #533e0e; background: var(--auth-yellow); border-radius: .5rem; }
.coach-auth-benefit svg { width: .9rem; height: .9rem; }

.coach-auth-form-side { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 2rem clamp(1rem, 5vw, 5rem); background: #f8f9fc; }
.coach-auth-card { width: 100%; max-width: 520px; padding: clamp(1.5rem, 4vw, 3rem); background: #fff; border: 1px solid var(--auth-line); border-radius: 1.25rem; box-shadow: 0 20px 55px rgba(23,32,51,.09); }
.coach-auth-card-wide { max-width: 660px; }
.coach-auth-mobile-brand { display: none; }
.coach-auth-card-header { margin-bottom: 2rem; }
.coach-auth-card-header h2 { margin: 1.2rem 0 .55rem; color: var(--auth-ink); font-size: 1.8rem; font-weight: 780; letter-spacing: -.05em; }
.coach-auth-card-header p { margin: 0; color: var(--auth-muted); font-size: .9rem; line-height: 1.65; }
.coach-auth-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--auth-ink); font-size: 1rem; font-weight: 800; letter-spacing: -.04em; }
.coach-auth-logo img { width: 2.35rem; height: 2.35rem; object-fit: contain; }
.coach-auth-logo span { color: #b27c17; }
.coach-auth-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: .45rem; color: #344054; font-size: .78rem; font-weight: 750; }
.coach-auth-label .required { color: #ba3d42; }
.coach-auth-field { position: relative; }
.coach-auth-field .form-control, .coach-auth-field .select2-container--default .select2-selection--single { min-height: 2.95rem; color: var(--auth-ink); background: #fff; border: 1px solid #d8dee8; border-radius: .7rem; font-size: .88rem; }
.coach-auth-field .form-control { padding: .78rem .9rem; }
.coach-auth-field .form-control::placeholder { color: #98a2b3; }
.coach-auth-field .form-control:focus { border-color: #d4a638; box-shadow: 0 0 0 4px rgba(243,199,95,.22); }
.coach-auth-field .form-control.is-invalid { border-color: #d65c61; }
.coach-auth-field .input-group-text { min-height: 2.95rem; color: #475467; background: #f8fafc; border-color: #d8dee8; border-radius: .7rem 0 0 .7rem; font-size: .8rem; }
.coach-auth-field .input-group .form-control { border-radius: 0 .7rem .7rem 0; }
.coach-auth-field .invalid-feedback { display: block; margin-top: .35rem; color: #ba3d42; font-size: .72rem; }
.coach-auth-password-toggle { position: absolute; right: .75rem; bottom: .72rem; z-index: 2; padding: 0; color: #7b8798; background: none; border: 0; }
.coach-auth-password-toggle:hover { color: var(--auth-ink); }
.coach-auth-password-toggle svg { width: 1rem; height: 1rem; }
.coach-auth-submit { display: inline-flex; min-height: 2.95rem; align-items: center; justify-content: center; gap: .5rem; width: 100%; color: #3b2d0d; background: var(--auth-yellow); border: 0; border-radius: .7rem; font-size: .88rem; font-weight: 800; box-shadow: 0 9px 19px rgba(200,148,47,.17); }
.coach-auth-submit:hover { color: #3b2d0d; background: #eab84f; }
.coach-auth-submit svg { width: 1rem; }
.coach-auth-link { color: #9a6a11; font-size: .78rem; font-weight: 750; text-decoration: none; }
.coach-auth-link:hover { color: var(--auth-ink); text-decoration: underline; }
.coach-auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.7rem 0; color: #98a2b3; font-size: .72rem; }
.coach-auth-divider::before, .coach-auth-divider::after { height: 1px; flex: 1; content: ''; background: var(--auth-line); }
.coach-auth-switch { margin: 1.8rem -1rem -1rem; padding-top: 1.25rem; color: var(--auth-muted); border-top: 1px solid var(--auth-line); text-align: center; font-size: .8rem; }
.coach-auth-switch a { color: #9a6a11; font-weight: 800; text-decoration: none; }
.coach-auth-switch a:hover { text-decoration: underline; }
.coach-auth-alert { margin-bottom: 1.25rem; padding: .8rem .9rem; color: #8b363b; background: #fff0f1; border: 1px solid #f2c6c8; border-radius: .65rem; font-size: .78rem; }
.coach-auth-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; color: #667085; font-size: .78rem; }
.coach-auth-check { display: flex; align-items: center; gap: .45rem; }
.coach-auth-check input { accent-color: #c8942f; }
.coach-auth-check label { cursor: pointer; }
.coach-auth-select2 .select2-container { width: 100% !important; }
.coach-auth-select2 .select2-selection__rendered { padding: .78rem .9rem !important; color: #98a2b3 !important; font-size: .88rem; line-height: 1.35 !important; }
.coach-auth-select2 .select2-selection__arrow { top: .7rem !important; right: .5rem !important; }
.coach-auth-select2 .select2-container--default.select2-container--focus .select2-selection--single,
.coach-auth-select2 .select2-container--default.select2-container--open .select2-selection--single { border-color: #d4a638 !important; box-shadow: 0 0 0 4px rgba(243,199,95,.22); }
.select2-dropdown { border-color: #d8dee8 !important; box-shadow: 0 12px 25px rgba(23,32,51,.1); }
.select2-results__option--highlighted[aria-selected] { color: #3b2d0d !important; background: var(--auth-yellow) !important; }

@media (max-width: 991.98px) {
    .coach-auth-visual { display: none; }
    .coach-auth-form-side { padding: 1.2rem; }
    .coach-auth-mobile-brand { display: flex; justify-content: center; margin-bottom: 1.8rem; }
}

@media (max-width: 575.98px) {
    .coach-auth-form-side { padding: .75rem; }
    .coach-auth-card { padding: 1.35rem; border-radius: 1rem; }
    .coach-auth-card-header h2 { font-size: 1.55rem; }
    .coach-auth-meta { align-items: flex-start; flex-direction: column; }
}
