:root {
    --brand-color: #4361ee;
    --bg-light: #f8f9fa;
    --text-muted: #6c757d;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* --- ANIMASI --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.split-container {
    display: flex;
    height: 100vh;
    animation: fadeIn 1s ease-out;
}

/* --- TATA LETAK --- */
.left-side {
    flex: 3; /* Area gambar lebih luas */
    background: linear-gradient(rgba(67, 97, 238, 0.8), rgba(63, 55, 201, 0.8)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: white;
}

.right-side {
    flex: 1.2; /* Area form sedikit lebih lebar agar nyaman */
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* --- LOGO STYLING --- */
.login-logo {
    width: 150px; /* Ukuran sesuai permintaan */
    height: auto;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

/* --- FORM COMPONENTS --- */
.login-card {
    width: 100%;
    max-width: 400px;
}

/* Efek Staggered untuk elemen form */
.login-card h2, .login-card p, .form-group, .btn-login, .alert {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.login-card h2 { animation-delay: 0.3s; }
.login-card p { animation-delay: 0.4s; }
.form-group:nth-of-type(1) { animation-delay: 0.5s; }
.form-group:nth-of-type(2) { animation-delay: 0.6s; }
.btn-login { animation-delay: 0.7s; }

.form-control {
    height: 50px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.1);
    background: #fff;
}

.btn-login {
    height: 50px;
    background: var(--brand-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    transition: 0.3s;
}

.btn-login:hover {
    background: #3046c9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    color: white;
}

.checkbox-container {
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .left-side { flex: 2; }
}

@media (max-width: 992px) {
    .left-side {
        display: none;
    }

    .right-side {
        flex: 1;
        background: #f4f7fe;
    }
}