* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background:
        linear-gradient(rgba(15,81,50,0.75), rgba(15,81,50,0.75)),
        url('img/sekolah.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-box {
    width: 350px;
    padding: 30px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h2 {
    margin-bottom: 5px;
    color: #0f5132;
}

.subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #198754;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #198754, #d4af37);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(to right, #0f5132, #b58928);
}

.error {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE HP */
@media (max-width: 480px) {
    .login-box {
        width: 90%;
        padding: 25px 20px;
    }
}
