/* ===== LOGIN PAGE ===== */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-light);
    padding: 20px;
}

.login-container {
    display: flex;
    width: 900px;
    max-width: 100%;
    min-height: 520px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Left Panel */
.login-left {
    flex: 1;
    background: var(--primary-gradient);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.login-left-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.login-left-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-left-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 40px;
}

.login-left-footer {
    margin-top: auto;
}

.login-left-footer h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-left-footer .divider {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.login-left-footer h4 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Right Panel */
.login-right {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right-content {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.login-logo {
    text-align: center;
    margin-bottom: 16px;
}

.login-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Placeholder if no logo image */
.login-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.login-right h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 6px;
}

.login-form .btn {
    margin-top: 8px;
}

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

.login-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        padding: 32px 28px;
        min-height: auto;
    }

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

    .login-left-content p {
        margin-bottom: 20px;
    }

    .login-right {
        padding: 32px 28px;
    }
}
