/* ==========================================================================
   OPTIMAL MR — SPLIT SCREEN LOGIN & REGISTRATION PAGE STYLES (LOGIN CSS)
   ========================================================================== */

.login-body-layout {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background-color: #ffffff;
}

.login-split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 100vh;
    width: 100vw;
}

/* 1. LEFT PANEL: MINIMAL FORM */
.login-left-col {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.login-form-wrapper {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
}

.login-back-btn-top {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-muted);
    transition: color 0.25s ease;
    margin-bottom: 48px;
    align-self: flex-start;
}

.login-back-btn-top:hover {
    color: var(--color-main);
}

.login-brand-header {
    margin-bottom: 24px;
}

.login-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.login-intro-header {
    margin-bottom: 40px;
}

.login-intro-header h1 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--color-main);
    margin-bottom: 12px;
}

.login-intro-header h1 span {
    font-weight: 400;
    background: linear-gradient(135deg, var(--color-main) 30%, var(--brand-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-intro-header p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.login-helper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 32px;
    font-size: 0.84rem;
}

.login-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-muted);
    font-weight: 600;
}

.login-remember-me input {
    cursor: pointer;
}

.login-forgot-pass {
    color: var(--color-muted);
    font-weight: 600;
    transition: color 0.25s ease;
}

.login-forgot-pass:hover {
    color: var(--brand-red);
}

.login-footer-info {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--color-muted);
    text-align: center;
}

.login-footer-info a {
    color: var(--color-main);
    font-weight: 750;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.login-footer-info a:hover {
    color: var(--brand-red);
}

/* 2. RIGHT PANEL: AMBIENT LUXURY PROMO */
.login-right-col {
    background-color: #090d16;
    color: #ffffff;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Ambient Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    transition: transform 10s ease;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2563eb 0%, rgba(37, 99, 235, 0) 70%);
    top: -50px;
    right: -50px;
    animation: blueShiftOrb1 15s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
    bottom: -100px;
    left: -100px;
    animation: blueShiftOrb2 20s infinite ease-in-out;
}

@keyframes blueShiftOrb1 {
    0%, 100% {
        background: radial-gradient(circle, #1d4ed8 0%, rgba(29, 78, 216, 0) 70%);
        transform: translate(0, 0) scale(1);
    }
    33% {
        background: radial-gradient(circle, #3b82f6 0%, rgba(59, 130, 246, 0) 70%);
        transform: translate(-40px, 30px) scale(1.15);
    }
    66% {
        background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
        transform: translate(20px, -30px) scale(0.9);
    }
}

@keyframes blueShiftOrb2 {
    0%, 100% {
        background: radial-gradient(circle, #1e40af 0%, rgba(30, 64, 175, 0) 70%);
        transform: translate(0, 0) scale(1);
    }
    33% {
        background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
        transform: translate(30px, -40px) scale(0.9);
    }
    66% {
        background: radial-gradient(circle, #2563eb 0%, rgba(37, 99, 235, 0) 70%);
        transform: translate(-30px, 20px) scale(1.1);
    }
}

.login-promo-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.login-promo-slider {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.login-promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-promo-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: none;
}

.promo-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-red);
    background-color: rgba(228, 76, 83, 0.12);
    padding: 6px 12px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.promo-quote {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.45;
    color: #f7fafc;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.promo-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-author strong {
    font-size: 0.95rem;
    font-weight: 750;
    color: #ffffff;
}

.promo-author span {
    font-size: 0.78rem;
    color: #a0aec0;
}

/* Statistics slide specific styling */
.promo-stat-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 40%, var(--brand-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-lbl {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Slider dot indicators */
.login-slider-dots {
    display: flex;
    gap: 10px;
}

.login-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-slider-dots .dot.active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* Form transition support (Login & Register toggling) */
.form-panel {
    display: none;
    opacity: 0;
    transition: none;
}

.form-panel.active {
    display: block;
    opacity: 1;
}

/* 3. RESPONSIVE BREAKPOINT */
@media (max-width: 1024px) {
    .login-split-container {
        grid-template-columns: 1fr;
    }
    
    .login-right-col {
        display: none; /* Hide right column on tablets and mobiles */
    }
    
    .login-left-col {
        padding: 40px 24px;
    }
}
