/* ================================================= */
/* ==      GAYA LOGIN "CLEAN & MODERN" (PUTIH)    == */
/* ================================================= */

/* --- Pengaturan Dasar & Latar Belakang --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px 0;
    
    /* Latar belakang putih keabuan (agar kartu login menonjol) */
    background-color: #f4f7f6;
    color: #333; /* Warna teks default gelap */
    
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Menengahkan konten secara vertikal */
}

/* Animasi fade-in */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Kotak Login Utama --- */
.login {
    background: #ffffff; /* Kartu login putih bersih */
    border-radius: 10px;
    padding: 40px 50px;
    width: 360px;
    max-width: 90%;
    margin: 2vh auto; /* Jarak atas/bawah otomatis */
    
    /* Bayangan (shadow) yang modern dan halus */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0; /* Garis tepi tipis */
    
    /* Panggil animasi fade-in */
    animation: fade-in 0.8s ease-out;
}

/* --- Logo di Dalam Kotak --- */
.login img {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto 25px auto;
}

/* --- Teks Judul "Selamat Datang..." --- */
.login h3 {
    color: #222; /* Hitam pekat */
    text-align: center;
    font-weight: 600; /* Sedikit tebal */
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
}

/* --- Kolom Input (Username & Password) --- */
.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    
    background: #f9f9f9; /* Latar input sedikit abu-abu */
    border: 1px solid #ddd;
    border-radius: 8px;
    
    color: #333;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* --- Teks Placeholder (di dalam input) --- */
.login input::placeholder {
    color: #999;
    opacity: 1;
}

/* --- Efek saat Input di-klik (Fokus) --- */
.login input:focus {
    outline: none;
    border-color: #007bff; /* Garis tepi jadi biru */
    background: #fff;
    /* Efek glow biru */
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1); 
}

/* --- "Tampilkan Password" & Checkbox --- */
.login div:has(input[type="checkbox"]) {
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: -10px;
    margin-bottom: 25px;
}

.login input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #007bff; /* Warna centang biru */
}

/* --- Tombol "LOGIN" --- */
.login .tombol {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    
    /* Tombol dengan warna aksen Biru */
    background: #007bff;
    color: #ffffff; 
    
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- Efek Hover pada Tombol "LOGIN" --- */
.login .tombol:hover {
    background: #0056b3; /* Biru lebih gelap */
    transform: translateY(-2px); /* Sedikit terangkat */
    box-shadow: 0 4px 10px rgba(0,123,255,0.2);
}

.login .tombol:active {
    transform: translateY(0); /* Efek ditekan */
    box-shadow: none;
}

/* --- Teks di LUAR Kotak Login --- */
h2, footer p, footer i {
    color: #777; /* Warna abu-abu */
    text-align: center;
    padding: 0 15px;
}

h2 {
    font-weight: 500;
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

footer {
    padding-bottom: 20px;
    margin-top: 20px;
}