:root {
    --brand-primary: #5057BE;
    --brand-primary-hover: #4349a3;
    --brand-secondary: #D76285;
    --brand-text: #334155;
    --brand-sidebar-width: 45%;
}

/* Main Container Layout */
.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: #fff;
    overflow: hidden;
    position: fixed; /* Ensures it overlays properly */
    top: 0;
    left: 0;
    z-index: 1000; /* High z-index to sit on top of any wrapper */
}

/* Brand Section Wrapper */
.brand-section {
    width: var(--brand-sidebar-width, 45%);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    color: #1e293b;
    overflow: hidden;
    height: 100vh; /* Ensure full height by default */
}

/* Abstract shapes background */
.brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Increased blur for smoother gradient */
    opacity: 0.6; /* Reduced opacity for more subtle premium feel */
    animation: float 25s infinite ease-in-out;
    z-index: 1;
}

.brand-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-primary, #5057BE) 0%, rgba(80, 87, 190, 0) 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.brand-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-secondary, #D76285) 0%, rgba(215, 98, 133, 0) 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -8s;
}

.brand-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FCD34D 0%, rgba(252, 211, 77, 0) 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation-delay: -15s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -60px) rotate(10deg); }
    66% { transform: translate(-30px, 30px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Glassmorphism Card for Content */
.brand-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.brand-logo { 
    margin-bottom: 2rem; 
    height: 40px; 
    width: auto;
    display: block;
}

.brand-heading { 
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 1.25rem; 
    line-height: 1.1; 
    color: #1e293b; 
    letter-spacing: -1px; 
}

.brand-subtext { 
    font-size: 1.125rem; 
    color: #475569; 
    line-height: 1.7; 
    margin-bottom: 2.5rem; 
    font-weight: 400;
}

/* Feature List Styling */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.brand-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 14px 32px;
    background: #1e293b;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
}

.brand-btn:hover { 
    background: #0f172a; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Mobile Responsiveness for Brand Section */
@media (max-width: 991px) {
    .brand-section { 
        display: none; 
    }
    
    .login-container {
        overflow-y: auto; /* Enable scrolling on smaller screens */
    }
}
