* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f7fa;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

/* ========================= */
/* MOBILE FIRST (HP)         */
/* ========================= */
.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px; /* biar tetap enak di HP besar */
    padding: 24px;
    border-radius: 6px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 22px;
    font-weight: normal;
}

label {
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px; /* penting: cegah zoom iOS */
    border: none;
    background: #f0f0f0;
    margin-bottom: 1px;
    border-radius: 4px;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.options a {
    color: #888;
    text-decoration: none;
}

button {
    width: 100%;
    background: #5272c3;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 17px;
    border-radius: 4px;
    cursor: pointer;
}

/* ========================= */
/* TABLET (>= 768px)         */
/* ========================= */
@media (min-width: 768px) {
    .login-container {
        max-width: 360px;
        padding: 30px;
    }

    button {
        padding: 14px;
        font-size: 15px;
    }
}

/* FOOTER NOTE */
.footer-note {
    margin-top: 18px;
    text-align: center;
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 480px) {
    .footer-note {
        font-size: 12px;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .footer-note {
        font-size: 11px;
    }
}