:root {
    --auth-primary: #0f4c81;
    --auth-primary-dark: #0b3559;
    --auth-accent: #e27a2d;
    --auth-bg: #edf4fb;
    --auth-text: #1f2937;
    --auth-muted: #64748b;
    --auth-border: #d7e2ee;
    --auth-danger: #dc2626;
    --auth-warning: #d97706;
    --auth-success: #16a34a;
}

body.auth-body {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(15, 76, 129, .18), transparent 30%), linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    color: var(--auth-text);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
    border: 1px solid rgba(255, 255, 255, .7);
    overflow: hidden;
}

.auth-header {
    padding: 28px 28px 18px;
    background: linear-gradient(135deg, var(--auth-primary), #1b78c0);
    color: #fff;
}

.auth-logo-img {
    width: auto;
    max-width: 100%;
    max-height: 108px;
    height: auto;
    display: block;
}

.auth-affiliate-badge {
    width: auto;
    max-width: 100%;
    max-height: 72px;
    height: auto;
    display: block;
    margin: 14px 0 18px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
}

.auth-header h1,
.auth-header h2 {
    font-size: 1.75rem;
    margin: 0 0 8px;
    font-weight: 800;
}

.auth-header p {
    margin: 0;
    color: rgba(255, 255, 255, .95);
    font-size: 1rem;
}

.auth-content {
    padding: 24px 28px 28px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.wizard-progress {
    height: 8px;
    background: #dbe8f3;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 22px;
}

.wizard-progress-bar {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, var(--auth-accent), var(--auth-primary));
    transition: width .25s ease;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 24px;
}

.step-dot {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 10px 8px;
    border-radius: 999px;
    border: 1px solid var(--auth-border);
    color: var(--auth-muted);
    font-size: .88rem;
    font-weight: 600;
    background: #fff;
}

.step-dot.active,
.step-dot.done {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), #1b78c0);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.auth-note {
    background: #fff7ed;
    color: #7c2d12;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: .95rem;
    margin-bottom: 18px;
}

.auth-footer-links {
    margin-top: 20px;
    text-align: center;
    color: var(--auth-muted);
}

.auth-footer-links a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
}

.otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 22px 0;
}

.otp-input {
    width: 48px;
    height: 56px;
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
}

.otp-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, .12);
}

.strength-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 10px 0 14px;
}

.strength-segment {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
}

.strength-segment.active.weak { background: #ef4444; }
.strength-segment.active.medium { background: #f59e0b; }
.strength-segment.active.strong { background: #22c55e; }

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.rule-list li {
    color: var(--auth-muted);
    font-size: .93rem;
    margin-bottom: 6px;
}

.rule-list li.ok {
    color: var(--auth-success);
    font-weight: 600;
}

.rule-list li.ok::before {
    content: '✓ ';
}

.rule-list li::before {
    content: '✗ ';
}

.forgot-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.forgot-switch button {
    border: 1px solid var(--auth-border);
    background: #fff;
    color: var(--auth-muted);
    border-radius: 14px;
    padding: 12px 10px;
    font-weight: 600;
}

.forgot-switch button.active {
    background: linear-gradient(135deg, var(--auth-primary), #1b78c0);
    border-color: transparent;
    color: #fff;
}

.security-question-box {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--auth-border);
    margin-bottom: 16px;
}

.checkmark-success {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: block;
}

.invalid-feedback.d-block {
    display: block;
}

/* ===== MODERN RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .auth-shell {
        padding: 20px 12px;
    }

    .auth-card {
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(15, 23, 42, .15);
        margin: 0 auto;
    }

    .auth-header {
        padding: 24px 20px 16px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .auth-header p {
        font-size: 0.95rem;
    }

    .auth-logo-img {
        max-height: 80px;
    }

    .auth-affiliate-badge {
        max-height: 56px;
        margin: 12px 0 16px;
    }

    .auth-content {
        padding: 20px;
    }

    .wizard-progress {
        height: 6px;
        margin-bottom: 20px;
    }

    .step-indicator {
        gap: 8px;
        margin-bottom: 22px;
    }

    .step-dot {
        font-size: 0.75rem;
        padding: 10px 6px;
        border-radius: 8px;
    }

    .wizard-step {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 0.95rem;
        margin-bottom: 6px;
        font-weight: 500;
    }

    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 1rem;
        border-radius: 12px;
        border: 1px solid var(--auth-border);
        min-height: 44px;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--auth-primary);
        box-shadow: 0 0 0 3px rgba(15, 76, 129, .1);
    }

    .btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.95rem;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--auth-primary), #1b78c0);
        border: none;
        color: #fff;
    }

    .btn-primary:hover {
        box-shadow: 0 8px 20px rgba(15, 76, 129, .3);
        transform: translateY(-1px);
    }

    .btn-outline-secondary {
        border: 1px solid var(--auth-border);
        color: var(--auth-muted);
        background: #fff;
    }

    .btn-outline-secondary:hover {
        background: #f8fafc;
        border-color: var(--auth-primary);
        color: var(--auth-primary);
    }

    .d-flex.justify-content-between {
        gap: 12px;
    }

    .d-flex.justify-content-between button {
        flex: 1;
    }

    .auth-note {
        font-size: 0.9rem;
        padding: 12px 14px;
        margin-bottom: 16px;
    }

    .auth-footer-links {
        font-size: 0.9rem;
        margin-top: 18px;
    }

    .otp-group {
        gap: 8px;
        margin: 20px 0;
    }

    .otp-input {
        width: 40px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 10px;
    }

    .strength-bar {
        gap: 6px;
        margin: 10px 0 12px;
    }

    .strength-segment {
        height: 6px;
        border-radius: 999px;
    }

    .rule-list {
        margin: 0 0 14px;
        font-size: 0.88rem;
    }

    .rule-list li {
        margin-bottom: 5px;
    }

    .form-check {
        margin-bottom: 10px;
    }

    .form-check-label {
        font-size: 0.95rem;
        margin-left: 8px;
        user-select: none;
    }

    .form-check-input {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        cursor: pointer;
        border: 1px solid var(--auth-border);
        border-radius: 4px;
    }

    .form-check-input:checked {
        background: linear-gradient(135deg, var(--auth-primary), #1b78c0);
        border-color: transparent;
    }

    .form-text {
        font-size: 0.82rem;
        color: var(--auth-muted);
        margin-top: 4px;
    }
}

@media (max-width: 576px) {
    .auth-shell {
        padding: 16px 10px;
    }

    .auth-card {
        border-radius: 14px;
        max-width: 100%;
    }

    .auth-header {
        padding: 20px 18px 14px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 1.2rem;
    }

    .auth-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .auth-logo-img {
        max-height: 72px;
    }

    .auth-affiliate-badge {
        max-height: 52px;
        margin: 10px 0 14px;
    }

    .auth-content {
        padding: 16px;
    }

    .wizard-progress {
        height: 5px;
        margin-bottom: 18px;
    }

    .step-indicator {
        gap: 6px;
        margin-bottom: 20px;
    }

    .step-dot {
        font-size: 0.7rem;
        padding: 8px 4px;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .form-control,
    .form-select {
        padding: 10px 10px;
        font-size: 16px;
        min-height: 42px;
    }

    .btn {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .d-flex.justify-content-between {
        gap: 10px;
    }

    .row.g-3 {
        gap: 12px;
    }

    .auth-note {
        font-size: 0.85rem;
        padding: 10px 12px;
        line-height: 1.4;
    }

    .rule-list {
        font-size: 0.82rem;
    }

    .rule-list li {
        margin-bottom: 4px;
    }

    .otp-input {
        width: 36px;
        height: 44px;
        font-size: 1.1rem;
    }

    .auth-footer-links {
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .auth-shell {
        padding: 12px 8px;
    }

    .auth-card {
        border-radius: 12px;
    }

    .auth-header {
        padding: 18px 16px 12px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .auth-header p {
        font-size: 0.85rem;
    }

    .auth-logo-img {
        max-height: 64px;
    }

    .auth-content {
        padding: 14px;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .step-dot {
        font-size: 0.65rem;
    }
}

body.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(226, 122, 45, .12), transparent 26%),
        radial-gradient(circle at bottom right, rgba(15, 76, 129, .2), transparent 30%),
        linear-gradient(180deg, #eef5fb 0%, #f9f5ef 100%);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 1.02fr) minmax(420px, .98fr);
}

.auth-left {
    position: relative;
    overflow: hidden;
    padding: 52px 44px;
    background:
        radial-gradient(circle at top left, rgba(244, 177, 122, .34), transparent 24%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, .08), transparent 28%),
        linear-gradient(155deg, #0a3554 0%, #0f4c81 56%, #164d7b 100%);
    color: #fff;
}

.auth-left::before,
.auth-left::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.auth-left::before {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -120px;
    background: rgba(255, 255, 255, .06);
}

.auth-left::after {
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -70px;
    background: rgba(244, 177, 122, .14);
}

.auth-left-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-left: auto;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.auth-left h1 {
    margin: 24px 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: .94;
    letter-spacing: -.03em;
}

.auth-left p {
    max-width: 560px;
    color: rgba(255, 255, 255, .84);
    line-height: 1.8;
    font-size: 1rem;
}

.auth-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 26px;
}

.auth-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
}

.auth-features {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.auth-feature {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(244, 177, 122, .95), rgba(226, 122, 45, .95));
    color: #fff;
    font-size: 1.05rem;
}

.auth-feature span {
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
}

.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.auth-stat {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}

.auth-stat-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
}

.auth-stat-label {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: .86rem;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
}

.auth-right-inner {
    width: min(100%, 720px);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px);
    padding: 24px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 8px;
    border-radius: 22px;
    background: #e9f0f5;
    margin-bottom: 18px;
}

.auth-tab {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: #5b6b7c;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .22s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, #0f4c81, #1868a5);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 76, 129, .18);
}

.auth-panel {
    display: none;
    padding: 18px 10px 4px;
}

.auth-panel.active {
    display: block;
}

.auth-form-header {
    margin-bottom: 18px;
}

.auth-form-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #102132;
}

.auth-form-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: .92rem;
    font-weight: 700;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8794;
}

.form-input {
    width: 100%;
    min-height: 56px;
    padding: 0 48px 0 48px;
    border-radius: 16px;
    border: 1px solid #d9e3ec;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-size: .98rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0f4c81;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, .12);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 18px;
}

.checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: #5b6473;
    font-size: .92rem;
    line-height: 1.6;
}

.checkbox-label input {
    margin-top: 5px;
}

.checkbox-label a,
.link-btn {
    color: #0f4c81;
    font-weight: 700;
    text-decoration: none;
}

.link-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.btn-auth {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #e27a2d, #bc531b);
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 16px 28px rgba(188, 83, 27, .18);
}

.btn-auth.btn-outline {
    background: #fff;
    color: #0f4c81;
    border: 1px solid rgba(15, 76, 129, .16);
    box-shadow: none;
}

.btn-auth.btn-secondary {
    background: linear-gradient(135deg, #0f4c81, #1868a5);
    box-shadow: 0 16px 28px rgba(15, 76, 129, .18);
}

.auth-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.auth-alert.error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.auth-alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-alert.info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.auth-alert.hidden,
.hidden {
    display: none !important;
}

.step-indicator {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 10px;
    align-items: center;
    margin: 10px 0 22px;
}

.step-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.step-item.active .step-num,
.step-item.active .step-label,
.step-item.done .step-num,
.step-item.done .step-label {
    color: #0f4c81;
}

.step-num {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eff5fa;
    color: #64748b;
    font-weight: 800;
}

.step-label {
    font-size: .82rem;
    font-weight: 700;
}

.step-line {
    height: 2px;
    border-radius: 999px;
    background: #dce6ef;
}

.user-type-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.user-type-card {
    padding: 22px 18px;
    border-radius: 22px;
    border: 1px solid #d8e3ec;
    background: linear-gradient(180deg, #fff, #f8fbfd);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.user-type-card:hover,
.user-type-card.selected {
    transform: translateY(-2px);
    border-color: rgba(15, 76, 129, .36);
    box-shadow: 0 18px 28px rgba(15, 76, 129, .1);
}

.utc-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #edf4fb;
    color: #0f4c81;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.utc-icon--corp {
    background: #fff2e8;
    color: #bc531b;
}

.user-type-card h3 {
    margin: 0 0 8px;
    color: #132234;
}

.user-type-card p,
.user-type-card li,
.corp-approval-note,
.doc-upload-info,
.corp-summary-row,
.auth-2fa-info p {
    color: #64748b;
}

.user-type-card ul,
.dealers-hero-list,
.rule-list,
.consent-boxes {
    padding-left: 0;
    list-style: none;
}

.user-type-card ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}

.utc-badge {
    display: inline-flex;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff2e8;
    color: #bc531b;
    font-weight: 800;
    font-size: .78rem;
}

.consent-boxes,
.corp-summary,
.doc-upload-item,
.doc-upload-info,
.corp-approval-note,
.auth-2fa-info,
.modal-box {
    border-radius: 20px;
    border: 1px solid #deebf3;
    background: #f9fbfd;
}

.consent-boxes,
.corp-summary,
.doc-upload-info,
.corp-approval-note,
.auth-2fa-info,
.modal-box {
    padding: 16px;
}

.corp-subtabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #7b8794;
}

.corp-subtab {
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf4fb;
    font-weight: 700;
}

.corp-subtab.active {
    background: #0f4c81;
    color: #fff;
}

.corp-substep,
.reg-step {
    display: none;
}

.corp-substep.active,
.reg-step.active {
    display: block;
}

.doc-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.doc-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #d8e3ec;
    cursor: pointer;
    font-weight: 700;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 18px 0;
}

.otp-box {
    width: 48px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid #d8e3ec;
    background: #fff;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
}

.success-animation {
    text-align: center;
    padding: 12px 0;
}

.success-checkmark {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e27a2d, #bc531b);
    color: #fff;
    font-size: 2rem;
}

.info-bar {
    margin: 18px auto 0;
    width: min(100% - 32px, 860px);
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left,
    .auth-right {
        padding: 28px 18px;
    }

    .auth-left-content {
        margin: 0;
    }
}

@media (max-width: 760px) {
    .auth-right-inner {
        padding: 18px 14px;
        border-radius: 24px;
    }

    .form-row,
    .user-type-cards,
    .auth-stats {
        grid-template-columns: 1fr;
    }

    .step-indicator {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .step-line {
        display: none;
    }

    .auth-tab {
        min-height: 50px;
        font-size: .92rem;
    }

    .auth-left h1 {
        font-size: 2.3rem;
    }

    .doc-upload-item,
    .form-row-between {
        flex-direction: column;
        align-items: stretch;
    }

    .otp-box {
        width: 42px;
        height: 50px;
    }
}

/* ==================== PREMIUM 2026 OVERRIDES ==================== */
body.auth-body {
    background:
        radial-gradient(circle at top right, rgba(44, 106, 162, 0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(20, 58, 99, 0.12), transparent 32%),
        linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
}

.auth-left {
    background:
        radial-gradient(circle at top left, rgba(126, 168, 211, 0.28), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 26%),
        linear-gradient(155deg, #1A1A2E 0%, #E8540A 58%, #FF6B2B 100%);
}

.auth-feature-icon,
.auth-tab.active,
.btn-auth,
.success-checkmark {
    background: var(--gradient-primary);
}

.auth-right-inner {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.btn-auth {
    box-shadow: 0 16px 30px rgba(20, 58, 99, 0.2);
}

.btn-auth.btn-outline {
    color: #1A1A2E;
}

.utc-icon--corp,
.utc-badge {
    background: rgba(26, 26, 46, 0.08);
    color: #1A1A2E;
}

/* ─── OTP VERIFICATION MODAL ─── */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    padding: 32px;
}

.modal.hidden {
    display: none !important;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    color: #0f4c81;
    font-size: 1.4rem;
    margin: 0 0 8px;
}

.modal-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.otp-input {
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #d7e2ee;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.otp-input:focus {
    outline: none;
    border-color: #0f4c81;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-verify, .btn-resend {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-verify {
    background: #0f4c81;
    color: #fff;
}

.btn-verify:hover { background: #0b3559; }

.btn-resend {
    background: #f0f4f8;
    color: #0f4c81;
}

.btn-resend:hover { background: #e2e8f0; }

.modal-message {
    margin-top: 16px;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
}

.modal-message.error {
    background: #fee;
    color: #dc2626;
}

.modal-message.success {
    background: #efe;
    color: #16a34a;
}
