:root {
    /* Warna Tema Hijau SMK Al-Falah */
    --theme-green: #064e3b; 
    --theme-green-light: #10b981; 
    --bg-body: #e2e8f0;
    --bg-panel: #f0fdf4;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #cbd5e1;
    --success: #10b981;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    margin: 0;
    min-height: 100vh;
    display: flex;
    padding: 30px 15px; 
    box-sizing: border-box;
    color: var(--text-dark);
}

/* --- CONTAINER UTAMA --- */
.login-wrapper {
    margin: auto; 
    display: flex;
    width: 1000px;
    max-width: 100%;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08);
    overflow: hidden;
}

/* --- PANEL KIRI (Ilustrasi & Branding) --- */
.left-panel {
    flex: 1.2;
    background: var(--bg-panel);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid #dcfce7;
}

.brand-title { margin-bottom: auto; }
.brand-title h1 { margin: 0; font-size: 24px; color: var(--text-dark); font-weight: 600; }
.brand-title h2 { margin: 5px 0 0 0; font-size: 16px; color: var(--theme-green); font-weight: 700; }
.brand-title p { margin: 5px 0 0 0; font-size: 13px; color: var(--text-light); letter-spacing: 1px; }

.illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    flex: 1;
}

.illustration-container img {
    max-width: 100%;
    max-height: 280px; 
    object-fit: contain;
    mix-blend-mode: multiply; 
}

.footer-text {
    font-size: 11px;
    color: var(--theme-green-light);
    text-align: center;
    font-weight: 500;
}

/* --- PANEL KANAN (Form Login) --- */
.right-panel {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.school-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}
.school-header img { width: 50px; height: auto; }
.school-header h3 { margin: 0; font-size: 16px; color: var(--theme-green); }
.school-header p { margin: 2px 0 0 0; font-size: 12px; color: var(--text-light); }

.welcome-text { margin-bottom: 25px; }
.welcome-text h2 { margin: 0 0 8px 0; font-size: 22px; font-weight: 600; }
.welcome-text p { margin: 0; font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* --- INPUT FORM --- */
.input-group {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 5px 15px;
    transition: 0.3s;
}
.input-group:focus-within {
    border-color: var(--theme-green-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); 
}

.input-icon { color: var(--theme-green-light); font-size: 16px; width: 25px; }
.input-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
}
.input-field::placeholder { color: #94a3b8; font-weight: 400; }
.status-icon { color: var(--success); font-size: 14px; margin-left: 10px; }
.eye-icon { color: var(--text-light); font-size: 14px; margin-left: 10px; cursor: pointer; }

/* --- OPTIONS & BUTTONS --- */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 25px;
}
.form-options label { display: flex; align-items: center; gap: 8px; color: var(--text-light); cursor: pointer;}
.form-options input[type="checkbox"] { accent-color: var(--theme-green); } 
.form-options a { color: var(--theme-green-light); text-decoration: none; font-weight: 500; }
.form-options a:hover { text-decoration: underline; }

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 12px;
    text-align: center;
}
.btn-primary {
    background: var(--theme-green);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}
.btn-primary:hover { background: #042f24; transform: translateY(-2px); }

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
    .login-wrapper { flex-direction: column; width: 100%; max-width: 500px; margin: auto;}
    .left-panel { padding: 30px; text-align: center; border-right: none; border-bottom: 1px solid #dcfce7; }
    .illustration-container { display: none; }
    .right-panel { padding: 30px; }
}