* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================================
    STYLE: LOGIN PAGE
   ========================================================= */

/* ===== Layout utama ===== */
.login-hal {
    background-color: #f0f4f9;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ===== Box login ===== */
.box-login {
    background-color: white;
    width: 380px;
    max-width: 100%;
    padding: 25px 30px;

    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    animation: fadeIn 0.4s ease;
}

/* Animasi halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Judul ===== */
.box-login h2 {
    text-align: center;
    padding-bottom: 5px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.box-login h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0099ff;
    margin: 10px auto 0;
    box-shadow: 0 0 8px #0099ff;
    border-radius: 3px;
}

/* ===== Pesan error ===== */
.box-login i {
    display: block;
    margin: 15px auto;
    color: #d9534f;
    text-align: center;
    font-size: 0.95rem;
}

/* ===== form ===== */
.box-login form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== Label ===== */
.box-login label {
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
}

/* ===== Input fields ===== */
.box-login input {
    font-size: 1rem;
    padding: 12px;
    border: 1px solid #d0d7e0;
    border-radius: 8px;
    background-color: #fafbfc;
    transition: 0.25s ease;
}

.box-login input:focus {
    border-color: #007BFF;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
}

/* ===== Tombol Login ===== */
.box-login button {
    font-size: 1rem;
    padding: 12px;
    border: none;
    cursor: pointer;
    color: white;

    background-color: #007bff;
    border-radius: 8px;

    transition: 0.3s ease;
}

.box-login button:hover {
    background: linear-gradient(90deg, #006ae6, #004eb2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.box-login button:active {
    transform: translateY(0);
}

/* ===== Link "Belum punya akun" ===== */
.notif-belumpunyaakun {
    margin-top: 18px;
    text-align: center;
}

.notif-belumpunyaakun a {
    text-decoration: none;
    color: #007BFF;
    font-size: 0.95rem;
    font-weight: 600;

    transition: 0.3s ease;
    position: relative;
}

/* Hover underline */
.notif-belumpunyaakun a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #007BFF;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.notif-belumpunyaakun a:hover::after {
    width: 100%;
}

/* =========================================================
    RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {
    .box-login {
        padding: 20px;
    }

    .box-login h2 {
        font-size: 1.1rem;
    }

    .box-login input,
    .box-login button,
    .notif-belumpunyaakun a {
        font-size: .8rem;
    }
}
