/* =============================================================================
   US2290 Auth Theme — Login & Signup visual refresh
   Loaded after auth-redesign.css via us2290/_AccountMaster.cshtml.
   Layout, fields, and workflow unchanged — theme overrides only.
   ============================================================================= */

html.brand-us2290 {
    --auth-left-bg:         #0f172a;
    --auth-accent:          #16a34a;
    --auth-accent-hover:    #15803d;
    --auth-accent-ring:     rgba(22, 163, 74, 0.22);
    --auth-link:            #f59e0b;
    --auth-link-hover:      #d97706;
    --auth-heading-dark:    #1f2937;
    --auth-label-color:     #1f2937;
    --auth-placeholder:     #6b7280;
    --auth-sub-text:        #6b7280;
    --auth-input-border:    #e5e7eb;
    --auth-input-radius:    10px;
    --auth-btn-radius:      10px;
}

/* Page shell */
html.brand-us2290,
html.brand-us2290 body.full-height,
html.brand-us2290 body.full-height .page-wrapper,
html.brand-us2290 body.full-height #body {
    background-color: var(--auth-left-bg) !important;
}

/* Left hero — soft dark slate + subtle accent glows */
html.brand-us2290 .auth-split-left {
    background: linear-gradient(165deg, #1e293b 0%, #0f172a 52%, #111827 100%) !important;
    position: relative;
    overflow: hidden;
}

html.brand-us2290 .auth-split-left::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -60px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

html.brand-us2290 .auth-split-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(22, 163, 74, 0.10) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

html.brand-us2290 .auth-left-content {
    position: relative;
    z-index: 1;
}

html.brand-us2290 .auth-left-badges {
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

/* Headline hierarchy */
html.brand-us2290 .auth-left-headline {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
}

html.brand-us2290 .auth-heading {
    color: var(--auth-heading-dark) !important;
    font-weight: 700 !important;
    font-size: 26px !important;
    letter-spacing: -0.02em !important;
}

/* Benefit pills — softer glass, no neon green */
html.brand-us2290 .auth-left-benefits li {
    color: rgba(255, 255, 255, 0.90) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    font-weight: 400 !important;
}

/* Trust metrics — modern stat cards */
html.brand-us2290 .us-auth-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 28px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

html.brand-us2290 .us-auth-stat {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

html.brand-us2290 .us-auth-stat + .us-auth-stat {
    border-left: none !important;
    padding-left: 16px !important;
}

html.brand-us2290 .us-auth-stat-value {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #f59e0b !important;
    line-height: 1.15 !important;
}

html.brand-us2290 .us-auth-stat-label {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    line-height: 1.35 !important;
}

/* Right panel */
html.brand-us2290 .auth-split-right {
    background-color: #ffffff !important;
}

html.brand-us2290 .auth-sub-line {
    color: var(--auth-sub-text) !important;
    font-weight: 400 !important;
}

/* Form labels & inputs */
html.brand-us2290 .auth-form .control-label {
    color: var(--auth-label-color) !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

html.brand-us2290 .auth-form .form-control {
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px 44px 10px 14px !important;
    border: 1px solid var(--auth-input-border) !important;
    border-radius: var(--auth-input-radius) !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    background-color: #ffffff !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

html.brand-us2290 .auth-form .form-control::placeholder {
    color: var(--auth-placeholder) !important;
    opacity: 1 !important;
}

html.brand-us2290 .auth-form .form-control:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
    outline: none !important;
}

html.brand-us2290 .auth-form .form-group {
    margin-bottom: 20px !important;
}

html.brand-us2290 .auth-form .input-icon {
    color: #9ca3af !important;
}

/* Primary CTA — green */
html.brand-us2290 .auth-form .btn_account,
html.brand-us2290 .auth-form .btn_account.btn-default {
    height: 48px !important;
    line-height: 48px !important;
    border-radius: var(--auth-btn-radius) !important;
    background-color: var(--auth-accent) !important;
    border: 1px solid var(--auth-accent) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

html.brand-us2290 .auth-form .btn_account:hover,
html.brand-us2290 .auth-form .btn_account.btn-default:hover,
html.brand-us2290 .auth-form .btn_account:focus,
html.brand-us2290 .auth-form .btn_account.btn-default:focus {
    background-color: var(--auth-accent-hover) !important;
    border-color: var(--auth-accent-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.32) !important;
}

/* Links — amber */
html.brand-us2290 .auth-forgot-link,
html.brand-us2290 .auth-switch a,
html.brand-us2290 .auth-sub-line a,
html.brand-us2290 .auth-terms a,
html.brand-us2290 .auth-check-group a {
    color: var(--auth-link) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

html.brand-us2290 .auth-forgot-link:hover,
html.brand-us2290 .auth-switch a:hover,
html.brand-us2290 .auth-sub-line a:hover,
html.brand-us2290 .auth-terms a:hover,
html.brand-us2290 .auth-check-group a:hover {
    color: var(--auth-link-hover) !important;
    text-decoration: underline !important;
}

html.brand-us2290 .auth-footer a:hover {
    color: var(--auth-link) !important;
}

/* Checkbox row */
html.brand-us2290 .auth-checkbox-row {
    color: var(--auth-sub-text) !important;
}

html.brand-us2290 .auth-check-group {
    color: #374151 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

html.brand-us2290 .auth-check-group input[type="checkbox"] {
    accent-color: #f59e0b;
}

html.brand-us2290 .auth-terms {
    color: var(--auth-sub-text) !important;
}

/* Estimate banner — amber tint */
html.brand-us2290 .auth-estimate-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    color: #92400e !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

html.brand-us2290 .nickelled-reset {
    display: none;
}

html.brand-us2290 .pbt-0 {
    padding-bottom: 10px;
    padding-top: 11px !important;
}

@media (max-width: 991px) {
    html.brand-us2290 .us-auth-stats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    html.brand-us2290 .auth-left-headline {
        font-size: 32px !important;
    }

    html.brand-us2290 .us-auth-stat-value {
        font-size: 18px !important;
    }
}
