:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-bg: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #cbd5e1;
    background-image: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.2) 0, transparent 50%),
                      radial-gradient(at 50% 0%, rgba(29, 78, 216, 0.1) 0, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    min-height: 650px;
}

/* --- Sisi Kiri (Visual) --- */
.login-left {
    padding: 60px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-left h2 {
    font-weight: 800;
    color: var(--text-main);
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.login-left h2 span {
    color: var(--primary-color);
}

.login-left p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.illustration-wrapper {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.login-left img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* --- Sisi Kanan (Form) --- */
.login-right {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.login-header h4 {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-group-text {
    background-color: #fcfdfe;
    border-right: none;
    color: var(--text-muted);
    border-radius: 12px 0 0 12px;
    border-color: #e2e8f0;
}

.form-control {
    border-left: none;
    height: 52px;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    border-color: #e2e8f0;
    background-color: #fcfdfe;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
}

.btn-login {
    height: 52px;
    border-radius: 12px;
    background: var(--primary-color);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.login-footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Responsivitas --- */
@media (max-width: 1024px) {
    .login-right { padding: 40px 50px; }
    .login-left { padding: 40px; }
}

@media (max-width: 900px) {
    .login-container { grid-template-columns: 1fr; max-width: 500px; }
    .login-left { display: none; }
    .login-right { padding: 50px 30px; }
}