/* --- Global Auth Styles (Minimalist Dark Theme) --- */
:root {
    --bg-dark: #121212;
    --card-dark: #1e1e1e;
    --accent-color: #00BCD4; /* Biru Neon */
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --input-bg: #2a2a2a;
}

/* Reset dan Pengaturan Dasar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* Pastikan font ini diimpor di HTML */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    /* Tengahkan konten di tengah halaman */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

/* Auth Card Container (Mobile View Friendly) */
.auth-container {
    background-color: var(--card-dark);
    padding: 30px;
    border-radius: 12px;
    /* Box Shadow Berkelas */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5); 
    width: 100%;
    max-width: 420px; 
    transition: transform 0.3s ease-in-out;
}

.auth-container:hover {
    transform: translateY(-5px); /* Efek hover halus */
}

.auth-container h2 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Form Grouping */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: var(--input-bg);
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Efek Glow Neon pada Input Fokus (Keren & Modern) */
.form-group input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.7); 
    outline: none;
}

/* Button Styles */
.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: var(--bg-dark);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    background-color: #00a0b3;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.8);
}

/* Link/Pesan Bawah */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #4df9ff;
}

/* Alert/Pesan Status */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.alert-error {
    background-color: #581a1a; /* Merah gelap */
    color: #ffb3b3;
    border: 1px solid #7c2d2d;
}

.alert-success {
    background-color: #1a581a; /* Hijau gelap */
    color: #b3ffb3;
    border: 1px solid #2d7c2d;
}

/* Mobile Responsiveness (Sudah Disesuaikan Otomatis) */
/* Karena menggunakan max-width, tampilan akan rapi di semua ukuran layar */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
    }
    .auth-container h2 {
        font-size: 1.5rem;
    }
}
