:root {
    --primary-color: #15803d; /* Hijau logo untuk tombol */
    --bg-body: #064e3b; /* Hijau tua elegan untuk background luar */
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    background-color: var(--bg-body);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* BAGIAN SLIDER (KIRI) */
.left-section {
    flex: 1;
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background-size: cover;
    background-position: center;
    transition: background-image 1.2s ease-in-out; /* Efek transisi halus */
}

/* Overlay gelap agar teks terbaca */
.left-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.main-title-box, .info-box { position: relative; z-index: 2; }

.main-title { font-size: 2.5rem; margin-bottom: 10px; }
.sub-text { opacity: 0.9; font-size: 0.95rem; }

.pagination-dots { display: flex; gap: 8px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; transition: 0.3s; }
.dot.active { background: #fff; width: 25px; border-radius: 10px; }

/* BAGIAN FORM (KANAN) */
.right-section { flex: 1; padding: 60px; background: #fff; }
.welcome-title { font-size: 1.6rem; margin-bottom: 5px; color: #333; }
.welcome-subtext { color: #777; font-size: 0.9rem; margin-bottom: 30px; }

.tab-selector { display: flex; background: #f0f0f5; padding: 5px; border-radius: 12px; margin-bottom: 30px; }
.tab-btn { flex: 1; border: none; padding: 12px; cursor: pointer; border-radius: 10px; font-weight: 500; transition: 0.3s; background: transparent; }
.tab-btn.active { background: #fff; color: var(--primary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.input-group { margin-bottom: 20px; }
.label { display: block; font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 8px; text-transform: uppercase; }
.input-wrapper { position: relative; }

.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; }

/* Modifikasi padding kanan agar teks tidak menabrak icon mata */
.input-field { width: 100%; padding: 14px 45px 14px 45px; border-radius: 10px; border: 1px solid #ddd; background: #f9f9ff; }

/* CSS untuk tombol show/hide password */
.toggle-password { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #aaa; cursor: pointer; transition: 0.3s; }
.toggle-password:hover { color: var(--primary-color); }

.login-btn { width: 100%; padding: 16px; background: var(--primary-color); color: #fff; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }

.footer-copyright { margin-top: 30px; color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* RESPONSIVE */
@media (max-width: 850px) {
    .login-card { flex-direction: column; }
    .left-section { order: 2; padding: 40px; }
    .right-section { padding: 40px; }
}