/* Global Styles */
body {
    font-family: 'Almarai', sans-serif !important;
    background-color: #eef2f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars if shapes go out */
}

.main-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Login Card Container */
.login-card {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    height: 600px; /* Fixed height for desktop */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Form Side (Right) */
.form-side {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.form-content {
    width: 100%;
    max-width: 380px;
}

.form-control {
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.form-control:focus {
    border-color: #3b82f6; /* Primary Blue */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: #fff;
}

.form-floating > label {
    right: 0;
    left: auto;
    padding: 1rem 0.75rem;
}

.btn-login {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

/* Brand Side (Left) */
.brand-side {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 80%;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.brand-logo {
    max-width: 120px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Abstract Shapes Animation */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(60px);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: -50px;
    right: -50px;
    animation: float 8s infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6; /* Purple accent */
    bottom: -100px;
    left: -100px;
    animation: float 10s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 50px) rotate(10deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .login-card {
        height: auto;
        min-height: 500px;
        max-width: 500px;
    }
    
    .brand-side {
        display: none !important;
    }
    
    .form-side {
        padding: 30px 20px;
    }
}
