@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Hilangkan scrollbar */
    background: #F4F6F5;
}

.auth-container {
    display: flex;
    height: 100%;
    width: 100%;
}

/* --- PANEL KIRI (FORM) --- */
.left-panel {
    width: 50%;
    background: #F4F6F5; /* Abu-abu sangat muda */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 100px;
    position: relative;
}

/* Logo di Pojok Kiri Atas */
.brand-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 28px;
    font-weight: 800;
    color: #FFC107; /* Kuning Emas */
}

.title {
    font-size: 48px;
    font-weight: 700;
    color: #FF6B00; /* Oranye */
    line-height: 1.2;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

/* Form Styling */
.input-group { margin-bottom: 20px; }

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #E0E0E0; /* Abu-abu Input */
    font-size: 14px;
    outline: none;
}

input:focus {
    background-color: #d6d6d6;
}

/* Tombol Submit */
.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #7B61FF; /* Ungu */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover { background-color: #634bd1; }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #7B61FF;
    text-decoration: none;
    font-weight: 600;
}

/* --- PANEL KANAN (DEKORASI) --- */
.right-panel {
    width: 50%;
    background-color: #2E2F86; /* Ungu Tua Gelap */
    position: relative;
    overflow: hidden;
}

/* Bola-bola Oranye */
.circle {
    position: absolute;
    background-color: #FF8C00; /* Oranye Pekat */
    border-radius: 50%;
}

/* Posisi Bola sesuai Gambar */
.c1 { width: 180px; height: 180px; top: -40px; right: -40px; } /* Pojok Kanan Atas */
.c2 { width: 40px; height: 40px; top: 60px; left: 150px; } /* Kecil Atas */
.c3 { width: 250px; height: 250px; top: 150px; left: -80px; } /* Besar Kiri */
.c4 { width: 50px; height: 50px; top: 40%; right: 20%; } /* Kecil Tengah */
.c5 { width: 100px; height: 100px; bottom: 30%; left: 30%; } /* Sedang Tengah */
.c6 { width: 80px; height: 80px; bottom: 15%; left: 50px; } /* Kecil Bawah Kiri */
.c7 { width: 150px; height: 150px; bottom: 20%; right: -50px; } /* Sedang Kanan Bawah */
.c8 { width: 300px; height: 300px; bottom: -150px; left: 20%; } /* Besar Bawah Tengah */


/* RESPONSIVE (HP) */
@media (max-width: 900px) {
    .right-panel { display: none; } /* Hilangkan dekorasi di HP */
    .left-panel { width: 100%; padding: 40px; }
}

.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Latar gelap transparan */
    
    display: none; /* Wajib hidden di awal */
    justify-content: center; 
    align-items: center;
    
    z-index: 99999 !important; /* Supaya muncul paling depan */
}

.modal-box {
    background-color: #E0E0E0;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); /* Tambah bayangan biar cantik */
    animation: popUp 0.3s ease-out; /* Efek muncul */
}

.btn-modal {
    background-color: #7B61FF; 
    color: white;
    border: none; 
    padding: 12px 20px;
    border-radius: 10px; 
    cursor: pointer;
    margin-top: 20px; 
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    transition: 0.3s;
}

.btn-modal:hover {
    background-color: #634bd1;
    transform: translateY(-2px);
}

/* Animasi sederhana */
@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

