 body { background: transparent; min-height: 100vh; }
        .mesh-bg {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background:
                radial-gradient(circle at 100% 0%, rgba(185,28,28,0.08) 0%, transparent 30%),
                radial-gradient(circle at 0% 100%, rgba(215,119,6,0.08) 0%, transparent 30%),
                radial-gradient(circle at 50% 50%, rgba(185,28,28,0.03) 0%, transparent 50%);
            z-index: -1;
        }
        .register-card {
            background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
            border: 1px solid rgba(185,28,28,0.1);
            border-radius: 24px;
            box-shadow: 0 25px 80px rgba(185,28,28,0.12), 0 10px 30px rgba(0,0,0,0.05);
            padding: 3rem; max-width: 520px; width: 100%;
            box-sizing: border-box;
            position: relative; overflow: hidden;
        }
        .register-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: linear-gradient(90deg, var(--terra), var(--gold));
        }
        .role-btn {
            border: 2px solid rgba(185,28,28,0.15); border-radius: 20px; padding: 2rem 1.5rem;
            cursor: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, rgba(185,28,28,0.02), rgba(215,119,6,0.02));
            text-align: center; width: 100%; position: relative;
        }
        .role-btn::before {
            content: ''; position: absolute; inset: 0; border-radius: 18px;
            background: linear-gradient(135deg, var(--terra), var(--gold)); opacity: 0;
            transition: opacity 0.3s;
        }
        .role-btn:hover, .role-btn.selected { 
            border-color: var(--terra); 
            background: linear-gradient(135deg, rgba(185,28,28,0.05), rgba(215,119,6,0.05));
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 15px 40px rgba(185,28,28,0.15);
        }
        .role-btn:hover::before, .role-btn.selected::before { opacity: 0.1; }
        .role-btn i { font-size: 2.5rem; color: var(--terra); margin-bottom: 0.5rem; position: relative; z-index: 1; }
        .role-btn .fw-bold { position: relative; z-index: 1; }
        .role-btn .text-muted { position: relative; z-index: 1; }
        .form-control, .form-select {
            border-radius: 16px; background: rgba(255,251,245,0.8); 
            border: 2px solid rgba(185,28,28,0.1);
            padding: 0.875rem 1.25rem; font-size: 1rem;
            transition: all 0.3s;
        }
        .form-control:focus, .form-select:focus { 
            background: rgba(255,255,255,0.95);
            border-color: var(--terra); 
            box-shadow: 0 0 0 4px rgba(185,28,28,0.1);
            outline: none;
        }
        .btn-premium {
            background: linear-gradient(135deg, var(--terra), var(--gold)); 
            color: white;
            border-radius: 16px; font-weight: 700; border: none; 
            padding: 16px 32px; font-size: 1.1rem;
            box-shadow: 0 10px 30px rgba(185,28,28,0.25);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative; overflow: hidden;
        }
        .btn-premium::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
            opacity: 0; transition: opacity 0.3s;
        }
        .btn-premium:hover { 
            transform: translateY(-2px) scale(1.02);
            color: white; 
            box-shadow: 0 15px 40px rgba(185,28,28,0.35);
        }
        .btn-premium:hover::before { opacity: 1; }
        .role-link { display: block; text-decoration: none; }
        
        /* Mobile Styles with Bottom Footer */
        @media (max-width: 768px) {
            /* Disable custom cursor on mobile */
            #chakra-cursor {
                display: none !important;
            }
            * {
                cursor: auto !important;
                transition: none !important;
            }
            
            /* Mobile Layout */
            body {
                background: transparent;
                min-height: 100vh;
                overflow-x: hidden;
                padding-bottom: 80px !important;
            }
            
            /* Mobile Register Card */
            .register-card {
                background: rgba(255,255,255,0.98);
                backdrop-filter: blur(20px);
                border: 1px solid rgba(185,28,28,0.1);
                border-radius: 20px;
                box-shadow: 0 10px 40px rgba(185,28,28,0.15);
                padding: 2rem 1.5rem;
                max-width: 100%;
                margin: 20px 0;
                position: relative;
                overflow: hidden;
                box-sizing: border-box;
                animation: slideUp 0.6s ease-out;
            }
            
            .register-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 3px;
                background: linear-gradient(90deg, var(--terra), var(--gold));
            }
            
            /* Mobile Typography */
            .register-card h2 {
                font-size: 1.8rem;
                font-weight: 800;
                margin-bottom: 0.5rem;
                text-align: center;
            }
            
            .register-card p {
                font-size: 1rem;
                text-align: center;
                margin-bottom: 2rem;
            }
            
            /* Mobile Role Selection */
            .d-flex.gap-3.mb-4 {
                display: flex !important;
                flex-direction: column !important;
                gap: 1rem !important;
            }
            
            .role-btn {
                border: 2px solid rgba(185,28,28,0.15);
                border-radius: 16px;
                padding: 1.5rem;
                cursor: pointer;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                background: linear-gradient(135deg, rgba(185,28,28,0.02), rgba(215,119,6,0.02));
                text-align: center;
                width: 100%;
                position: relative;
                min-height: 120px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                animation: slideUp 0.6s ease-out;
                animation-fill-mode: both;
            }
            
            .role-btn:nth-child(1) {
                animation-delay: 0.1s;
            }
            
            .role-btn:nth-child(2) {
                animation-delay: 0.2s;
            }
            
            .role-btn::before {
                content: '';
                position: absolute;
                inset: 0;
                border-radius: 14px;
                background: linear-gradient(135deg, var(--terra), var(--gold));
                opacity: 0;
                transition: opacity 0.3s;
            }
            
            .role-btn:active {
                transform: scale(0.98);
            }
            
            .role-btn:hover, .role-btn.selected {
                border-color: var(--terra);
                background: linear-gradient(135deg, rgba(185,28,28,0.05), rgba(215,119,6,0.05));
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(185,28,28,0.15);
            }
            
            .role-btn:hover::before, .role-btn.selected::before {
                opacity: 0.1;
            }
            
            .role-btn i {
                font-size: 2.5rem;
                color: var(--terra);
                margin-bottom: 0.75rem;
                position: relative;
                z-index: 1;
            }
            
            .role-btn .fw-bold {
                position: relative;
                z-index: 1;
                font-size: 1.1rem;
                margin-bottom: 0.25rem;
            }
            
            .role-btn .text-muted {
                position: relative;
                z-index: 1;
                font-size: 0.9rem;
            }
            
            /* Mobile Login Link */
            .text-center.text-muted.small.mb-0 {
                text-align: center !important;
                margin-top: 2rem !important;
                padding-top: 1.5rem !important;
                border-top: 1px solid rgba(185,28,28,0.1) !important;
                font-size: 0.95rem !important;
            }
            
            .text-center.text-muted.small.mb-0 a {
                color: var(--terra);
                text-decoration: none;
                font-weight: 700;
                font-size: 1rem;
            }
            
            /* Mobile Animations */
            @keyframes slideUp {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }
        
        @media (max-width: 480px) {
            .register-card {
                margin: 20px 0;
                padding: 1.5rem 1.25rem;
                border-radius: 16px;
            }
            
            .register-card h2 {
                font-size: 1.5rem;
            }
            
            .role-btn {
                padding: 1.25rem;
                min-height: 110px;
            }
            
            .role-btn i {
                font-size: 2.2rem;
            }
        }
        /* Registration Page Custom Styles */

body { background: transparent; min-height: 100vh; }

.mesh-bg {
    position: fixed; inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(185,28,28,0.07) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(215,119,6,0.07) 0%, transparent 35%);
    z-index: -1;
}

.container-reg { max-width: 560px; width: 100%; }

.section-label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--terra);
    margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid #fef3c7;
}

.form-label-custom { font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 0.35rem; }

.form-control-custom {
    border-radius: 12px; background: #f1f5f9; border: 2px solid transparent;
    padding: 0.7rem 1rem; font-size: 0.95rem; transition: 0.2s;
}

.form-control-custom:focus { background: #fff; border-color: var(--terra); box-shadow: none; }

/* Gender & Subject Custom Buttons */
.gender-option input { display: none; }
.gender-option label {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.55rem 1rem; border-radius: 12px; border: 2px solid #e2e8f0;
    background: #f1f5f9; cursor: pointer; font-size: 0.88rem; font-weight: 600;
    color: #475569; transition: 0.2s;
}

.gender-option input:checked + label { 
    border-color: var(--terra); background: #fef3c7; color: var(--terra); 
}

/* Registration Button */
.btn-submit-reg {
    background: linear-gradient(135deg, var(--terra), var(--gold)); color: #fff; border: none; border-radius: 14px;
    font-weight: 700; font-size: 1rem; padding: 14px;
    box-shadow: 0 8px 24px rgba(185,28,28,0.22); transition: 0.25s; cursor: pointer;
}

.btn-submit-reg:hover { opacity: .9; color: #fff; transform: translateY(-2px); }

/* Password Toggle */
.btn-toggle-pass { background: none; border: none; color: #94a3b8; cursor: pointer; z-index: 10; }

/* Progress Dots */
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.dot.active { background: var(--terra); width: 24px; border-radius: 4px; }

/* Subject List Checks (from original) */
.subject-check {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 0.8rem; border-radius: 12px; border: 2px solid #e2e8f0;
    background: #f8fafc; cursor: pointer; transition: 0.2s;
}
.subject-check:has(input:checked) { border-color: var(--terra); background: #fef3c7; }

 body { background: transparent; min-height: 100vh; }
    .mesh-bg {
        position: fixed; inset: 0;
        background: radial-gradient(circle at 20% 80%, rgba(185,28,28,0.07) 0%, transparent 35%);
        z-index: -1;
    }
    .card-login {
        background: #fff; border-radius: 28px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.07);
        padding: 2.5rem 2rem; max-width: 420px; width: 100%;
    }
    .form-control {
        border-radius: 12px; background: #f1f5f9; border: 2px solid transparent;
        padding: 0.7rem 1rem; font-size: 0.95rem; transition: 0.2s;
    }
    .form-control:focus { background: #fff; border-color: var(--terra); box-shadow: none; }
    .form-label { font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 0.35rem; }
    .btn-login {
        background: linear-gradient(135deg, var(--terra), var(--gold)); color: #fff; border: none; border-radius: 14px;
        font-weight: 700; font-size: 1rem; padding: 14px; width: 100%;
        box-shadow: 0 8px 24px rgba(185,28,28,0.22); transition: 0.25s;
    }
    .btn-login:hover { opacity: .9; color: #fff; transform: translateY(-2px); }
    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear,
    input[type="password"]::-webkit-contacts-auto-fill-button,
    input[type="password"]::-webkit-credentials-auto-fill-button { display: none !important; }
    
body { 
    background: transparent; 
    min-height: 100vh; 
}

.mesh-bg { 
    position: fixed; 
    inset: 0; 
    background: radial-gradient(circle at 80% 10%, rgba(185,28,28,0.07) 0%, transparent 35%); 
    z-index: -1; 
}

.card-login { 
    background: #fff; 
    border-radius: 28px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.07); 
    padding: 2.5rem 2rem; 
    max-width: 420px; 
    width: 100%; 
}

.form-label-custom { 
    font-size: 0.82rem; 
    font-weight: 600; 
    color: #374151; 
    margin-bottom: 0.35rem; 
}

.form-input-login { 
    border-radius: 12px; 
    background: #f1f5f9; 
    border: 2px solid transparent; 
    padding: 0.7rem 1rem; 
    font-size: 0.95rem; 
    transition: 0.2s; 
}

.form-input-login:focus { 
    background: #fff; 
    border-color: var(--terra); 
    box-shadow: none; 
}

.btn-toggle-pass { 
    background: none; 
    border: none; 
    color: #94a3b8; 
    cursor: pointer; 
    padding: 0; 
}

.text-terra { color: var(--terra) !important; }

.btn-login-tutor { 
    background: linear-gradient(135deg, var(--terra), var(--gold)); 
    color: #fff; 
    border: none; 
    border-radius: 14px; 
    font-weight: 700; 
    font-size: 1rem; 
    padding: 14px; 
    width: 100%; 
    box-shadow: 0 8px 24px rgba(185,28,28,0.22); 
    transition: 0.25s; 
}

.btn-login-tutor:hover { 
    opacity: .9; 
    color: #fff; 
    transform: translateY(-2px); 
}
/* Layout & Background */
body { background: transparent; min-height: 100vh; }
.mesh-bg {
    position: fixed; inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(185,28,28,0.07) 0%, transparent 35%);
    z-index: -1;
}
.tutor-reg-container { max-width: 580px; width: 100%; padding: 6rem 1rem 4rem; }
.card-reg { background: #fff; border-radius: 28px; padding: 2.5rem 2rem; }

/* Headers & Labels */
.reg-title-tutor { font-size: 1.6rem; }
.btn-back-tutor { color: #64748b; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; }
.section-label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--terra);
    margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid #fef3c7;
}
.form-label-custom { font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 0.35rem; }
.form-text-small { font-size: 0.78rem; color: #6c757d; }
.small-footer-text { font-size: 0.78rem; }
.select-all-label { font-size: 0.85rem; font-weight: 600; color: #64748b; cursor: pointer; }
.text-danger-small { color: #dc3545; font-size: 0.875rem; margin-top: 0.25rem; }

/* Custom Inputs */
.form-control-custom {
    border-radius: 12px; background: #f1f5f9; border: 2px solid transparent;
    padding: 0.7rem 1rem; font-size: 0.95rem; transition: 0.2s;
}
.form-control-custom:focus { background: #fff; border-color: var(--terra); box-shadow: none; }

/* Toggle/Chip Buttons */
.gender-group { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.gender-option input, .chip-check input { display: none; }

.gender-option label, .chip-check label {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1rem; border-radius: 12px; border: 2px solid #e2e8f0;
    background: #f1f5f9; cursor: pointer; font-size: 0.88rem; font-weight: 600;
    color: #475569; transition: 0.2s;
}
.gender-option input:checked + label, 
.chip-check input:checked + label { 
    border-color: var(--terra); background: #fef3c7; color: var(--terra); 
}

/* Password Toggle */
.pass-wrap { position: relative; }
.toggle-pass {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #94a3b8; cursor: pointer; padding: 0;
}

/* Button */
.btn-submit-tutor {
    background: linear-gradient(135deg, var(--terra), var(--gold)); color: #fff; border: none; border-radius: 14px;
    font-weight: 700; font-size: 1rem; padding: 14px;
    box-shadow: 0 8px 24px rgba(185,28,28,0.22); transition: 0.25s; cursor: pointer;
}
.btn-submit-tutor:hover { opacity: .9; color: #fff; transform: translateY(-2px); }

/* Helper classes */
.d-none-js { display: none; }

/* OTP Verification Styles */
:root {
    --brand-orange: #ea580c;
}



/* Brand Colors */
.text-brand { color: var(--brand-orange) !important; }
.bg-brand { background-color: var(--brand-orange) !important; }

/* Main Card */
.otp-card {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
}

/* OTP Input Group */
.otp-field-group {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.otp-input-field {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #f1f5f9;
    outline: none;
    transition: 0.2s;
}

.otp-input-field:focus {
    border-color: var(--brand-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

/* Verify Button */
.btn-verify {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.22);
    transition: 0.25s;
}

.btn-verify:hover {
    background: #c2410c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.3);
}

/* ── Premium Desktop Split-Screen Redesign (>= 992px) ── */
@media (min-width: 992px) {
    /* Hide global navigation distractions for an immersive portal feel */
    .nav-wrap, .ikat-top, .page-silk, .mesh-bg {
        display: none !important;
    }
    
    body.auth-split-screen {
        display: flex !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fffdf9 !important; /* Premium silk/cream body background */
        flex-direction: row !important;
        overflow-x: hidden !important;
    }
    
    /* Left Branding Banner Panel */
    .auth-left-panel {
        width: 40% !important;
        height: 100vh !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: #25030a !important; /* Deep brand crimson */
        overflow: hidden !important;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15) !important;
    }
    
    .auth-left-content {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .auth-left-image {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0.38;
        filter: saturate(0.8) contrast(1.15) brightness(0.9);
        transition: transform 12s cubic-bezier(0.1, 1, 0.1, 1);
    }
    
    .auth-left-panel:hover .auth-left-image {
        transform: scale(1.08);
    }
    
    .auth-left-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(37, 3, 10, 0.96) 0%, rgba(92, 22, 38, 0.85) 100%);
        z-index: 1;
    }
    
    .auth-left-inner {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .auth-feat-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(254, 243, 199, 0.12);
        border: 1px solid rgba(254, 243, 199, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        color: var(--gold);
        flex-shrink: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    
    .ikat-border-mini {
        height: 6px;
        background: repeating-linear-gradient(45deg, var(--terra), var(--terra) 10px, var(--gold) 10px, var(--gold) 20px);
        border-radius: 3px;
        opacity: 0.8;
    }
    
    /* Right Panel Layout (Centers forms on the remaining 60% width) */
    body.auth-split-screen .min-vh-100,
    body.auth-split-screen .container-reg,
    body.auth-split-screen .tutor-reg-container {
        width: 60% !important;
        margin-left: 40% !important;
        margin-right: 0 !important;
        max-width: 60% !important;
        padding: 4rem 3rem !important;
        box-sizing: border-box !important;
        background: transparent !important;
        margin-top: 0 !important;
    }
    
    body.auth-split-screen .min-vh-100 {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 100vh !important;
    }
    
    body.auth-split-screen .container-reg,
    body.auth-split-screen .tutor-reg-container {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
        height: auto !important;
    }
    
    /* Elegant Form Card Overhaul */
    body.auth-split-screen .register-card,
    body.auth-split-screen .card-login,
    body.auth-split-screen .card-reg,
    body.auth-split-screen .container-reg .card {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(185, 28, 28, 0.08) !important;
        border-radius: 28px !important;
        box-shadow: 0 25px 70px rgba(37, 3, 10, 0.08), 0 10px 30px rgba(0,0,0,0.02) !important;
        padding: 3rem 2.5rem !important;
        width: 100% !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Clean, premium form inputs */
    body.auth-split-screen .form-control,
    body.auth-split-screen .form-select,
    body.auth-split-screen .form-control-custom,
    body.auth-split-screen .form-input-login {
        border: 2px solid rgba(185, 28, 28, 0.08) !important;
        background: #fdfcf9 !important;
        border-radius: 14px !important;
        padding: 0.8rem 1.1rem !important;
        font-size: 0.95rem !important;
        transition: all 0.2s ease !important;
    }
    
    body.auth-split-screen .form-control:focus,
    body.auth-split-screen .form-select:focus,
    body.auth-split-screen .form-control-custom:focus,
    body.auth-split-screen .form-input-login:focus {
        background: #ffffff !important;
        border-color: var(--terra) !important;
        box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08) !important;
        outline: none !important;
    }
    
    /* Subtle role hover scales */
    body.auth-split-screen .role-btn:hover {
        transform: translateY(-5px) scale(1.03) !important;
    }
}

/* ── GLOBAL BACKGROUND OVERRIDE FOR REGISTRATION PORTAL ── */
.mesh-bg {
    display: block !important;
    background: linear-gradient(135deg, #023e8a 0%, #d90429 100%) !important;
    opacity: 1 !important;
}
body {
    background: linear-gradient(135deg, #023e8a 0%, #d90429 100%) !important;
    background-attachment: fixed !important;
}