:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --secondary-color: #F8FAFC;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white-color: #FFFFFF;
    --border-color: #E5E7EB;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1100px;
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Left Brand Panel */
.login-brand-panel {
    background: linear-gradient(135deg, var(--primary-color), #3730A3);
    color: var(--white-color);
    padding: 50px;
    display: flex;
    flex-direction: column;
}
.login-brand-panel .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    text-decoration: none;
    opacity: 0.9;
}
.brand-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.brand-content h2 { font-size: 1.5rem !important; font-weight: 700; margin-bottom: 15px; }
.brand-content p { font-size: 1.1rem; opacity: 0.8; line-height: 1.6; }
.brand-content .illustration { max-width: 80%; margin-top: 40px; align-self: center; }

/* Right Form Panel */
.login-form-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}
.form-wrapper { width: 100%; max-width: 400px; }
.form-wrapper h3 { font-size: 2rem; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.form-wrapper .form-subtitle { color: var(--text-light); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper i { position: absolute; left: 15px; color: #9CA3AF; }
.input-wrapper input { width: 100%; padding: 14px 14px 14px 45px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 1rem; transition: border-color 0.2s; }
.input-wrapper input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
.toggle-password { position: absolute; right: 15px; cursor: pointer; color: #9CA3AF; }

.form-options { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 30px; }
.remember-me { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.forgot-password { color: var(--primary-color); text-decoration: none; }

.login-btn { width: 100%; padding: 15px; border: none; background-color: var(--primary-color); color: var(--white-color); border-radius: 10px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.login-btn:hover { background-color: var(--primary-dark); }

.signup-link { text-align: center; margin-top: 30px; color: var(--text-light); }
.signup-link a { color: var(--primary-color); font-weight: 600; text-decoration: none; }

/* Responsive */
@media (max-width: 992px) { .login-container { grid-template-columns: 1fr; } .login-brand-panel { display: none; } }
@media (max-width: 480px) { .login-form-panel { padding: 30px 20px; } .form-wrapper h3 { font-size: 1.8rem; } }