:root {
    --cream: #FFF8E7;
    --cream-light: #FFFBF0;
    --black: #0D0D0D;
    --black-soft: #1A1A1A;
    --accent: #2A2A2A;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 50%, #E8E0CC 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.login-container {
    max-width: 750px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    margin: auto;
}

.login-container .row {
    min-height: 500px;
}

.login-left {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
    color: var(--cream);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

.login-left h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.login-left p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 248, 231, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.login-right {
    padding: 40px 35px;
}

.form-label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #E8E0CC;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--black);
    box-shadow: none;
    outline: none;
}

.form-control.is-invalid {
    box-shadow: none;
}

.form-control.is-invalid:focus {
    box-shadow: none;
    outline: none;
}

.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 5px;
}

.btn-login {
    background: var(--black);
    color: var(--cream);
    padding: 10px;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid var(--black);
    width: 100%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: transparent;
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.form-check-input {
    border: 2px solid #E8E0CC;
    border-radius: 6px;
}

.form-check-input:checked {
    background-color: var(--black);
    border-color: var(--black);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E8E0CC;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #888;
    font-size: 0.9rem;
}

.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .login-left {
        padding: 30px 25px;
        min-height: auto;
    }

    .login-right {
        padding: 30px 25px;
    }

    .login-left h1 {
        font-size: 1.75rem;
    }
}
