/* RESET dan FONT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    /*background-color: #f4f7f6;  Warna latar belakang lembut */
    background-image: url('bg-sekolah2.jpg'); /* Ganti dengan path file gambar Anda */
    background-size: cover; /* Memastikan gambar menutupi seluruh area */
    background-position: center; /* Memastikan gambar berada di tengah */
    background-repeat: no-repeat; /* Mencegah pengulangan gambar */
    background-attachment: fixed; /* Membuat gambar latar belakang tetap (tidak ikut scroll) */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px; /* Padding untuk responsif di layar sangat kecil */
}

/* CONTAINER UTAMA */
.login-container {
    background-color: rgba(255, 255, 255, 0.95); /* Menggunakan alpha/transparansi pada putih */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sedikit bayangan lebih kuat */
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* HEADER */
.login-header {
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 8px;
}

.login-header p {
    color: #777;
    font-size: 1em;
}

/* FORM */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #007bff; /* Warna biru saat fokus */
    outline: none;
}

/* OPSI (Ingat Saya & Lupa Password) */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password,
.login-footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover,
.login-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* TOMBOL LOGIN */
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.login-button:hover {
    background-color: #0056b3;
}

.login-button:active {
    transform: scale(0.99);
}

/* FOOTER */
.login-footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #777;
}

/* RESPONSIVENESS (Opsional, tapi disarankan untuk mobile) */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        border-radius: 0; /* Menghilangkan border-radius pada layar kecil */
        box-shadow: none; /* Menghilangkan shadow pada layar kecil */
    }

    .login-header h2 {
        font-size: 1.6em;
    }

    .login-button {
        font-size: 1em;
        padding: 10px;
    }
}