/* Wrapper: agar form selalu di tengah layar */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;       /* full 1 layar */
    background: #f5f5f5; /* warna abu lembut */
    padding: 20px;       /* biar ada ruang di layar kecil */
}

/* Container: kotak form login */
.login-container {
    width: 100%;
    max-width: 400px;       /* ukuran sedang */
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

/* Judul */
.login-container h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
}

/* Input */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

/* Tombol */
.login-container button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.login-container button:hover {
    background: #2980b9;
}

/* ========================= */
/* POPUP ERROR */
/* ========================= */

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* background hitam transparan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Box popup */
.popup-box {
    background: rgba(231, 76, 60, 0.9); /* merah transparan */
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* Tombol Tutup */
.popup-box button {
    margin-top: 12px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #e74c3c;
    cursor: pointer;
    font-weight: bold;
}

.popup-box button:hover {
    background: #f2f2f2;
}

/* Animasi */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================= */
/* 📱 Responsif */
/* ========================= */

/* Tablet */
@media (max-width: 768px) {
    .login-container {
        max-width: 90%;
        padding: 25px;
    }

    .login-container h2 {
        font-size: 1.3rem;
    }
}

/* HP*
