/* ==========================================
   GAYA UNTUK HALAMAN AUTENTIKASI (LOGIN/REGISTER)
========================================== */

body { 
    background-color: #000000; 
    color: #a0a0a0; 
    font-family: 'Poppins', sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
}

.login-card { 
    background-color: #121212; 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid #2a2a2a; 
    width: 90%; 
    max-width: 400px; 
    box-sizing: border-box; 
    position: relative; 
    z-index: 1; 
}

h2 { 
    color: #ffffff; 
    text-align: center; 
    margin-top: 0; 
    margin-bottom: 30px; 
}

p { 
    text-align: center; 
    font-size: 0.9rem; 
    margin-bottom: 25px; 
    color: #ccc; 
}

input { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border-radius: 8px; 
    border: 1px solid #2a2a2a; 
    background-color: #1a1a1a; 
    color: #ffffff; 
    font-family: 'Poppins', sans-serif; 
    box-sizing: border-box; 
}

input:focus { 
    outline: none; 
    border-color: #4CAF50; 
}

/* Khusus untuk kolom input OTP */
input[type="number"] { 
    text-align: center; 
    font-size: 1.2rem; 
    letter-spacing: 5px; 
}

button { 
    width: 100%; 
    padding: 12px; 
    background-color: #ffffff; 
    color: #000000; 
    border: none; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
    font-family: 'Poppins', sans-serif; 
    margin-top: 10px; 
    transition: opacity 0.2s; 
}

button:hover { 
    opacity: 0.8; 
}

/* Tombol hijau khusus di halaman OTP/Lupa Password */
button.btn-green { 
    background-color: #4CAF50; 
    color: #ffffff; 
}

.error { 
    color: #ff6b6b; 
    text-align: center; 
    margin-bottom: 15px; 
    font-size: 0.9rem; 
}

.link-bawah { 
    text-align: center; 
    display: block; 
    margin-top: 20px; 
    color: #4CAF50; 
    text-decoration: none; 
    font-size: 0.9rem; 
}

.link-bawah:hover { 
    text-decoration: underline; 
}

.link-lupa { 
    display: block; 
    text-align: center; 
    margin-top: 15px; 
    color: #a0a0a0; 
    text-decoration: none; 
    font-size: 0.85rem; 
}

.link-lupa:hover { 
    color: #ffffff; 
}


/* ==========================================
   ANIMASI LOADING FULL SCREEN (OVERLAY)
========================================== */

.loader-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px); 
    display: none; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
    opacity: 0; 
    transition: opacity 0.3s; 
}

/* Class ini ditambahkan oleh JS saat tombol ditekan */
.loader-overlay.active { 
    display: flex; 
    opacity: 1; 
}

.loader-emoji { 
    font-size: 60px; 
    animation: bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate; 
    margin-bottom: 15px; 
}

.loader-text { 
    color: #4CAF50; 
    font-weight: 600; 
    font-size: 1.1rem; 
    letter-spacing: 1px; 
    animation: pulse 1s infinite; 
}

@keyframes bounce { 
    0% { transform: translateY(0) scale(1); } 
    100% { transform: translateY(-25px) scale(1.1); } 
}

@keyframes pulse { 
    0% { opacity: 0.6; } 
    50% { opacity: 1; } 
    100% { opacity: 0.6; } 
}