/* background */
.login-body {
    margin: 0;
    padding: 0;
    background-image: url("/img/bg_login_kiosnet.jpg");
    background-size: cover;
    background-position: center;

    /* FIX: gunakan dynamic viewport height */
    min-height: 100dvh;
    height: 100dvh;

    font-family: "Inter", sans-serif;
    overflow: hidden; /* anti scroll saat keyboard muncul */
}

/* wrapper */
.login-wrapper {
    min-height: 100dvh;
    height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 16px; /* biar aman kalau keyboard muncul */
    box-sizing: border-box;
}

/* === CARD WITH BLUR BUT SOLID === */
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 16px;

    backdrop-filter: blur(14px);
    background: rgba(206, 202, 202, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    /* FIX: biar gak menyebabkan extra scroll */
    max-height: 100%;
    overflow-y: auto;
}

/* input */
.custom-input {
    background: #ffffff !important;
    border: 1px solid #ccc;
    color: #333 !important;
}

/* label */
.form-floating label {
    color: #555 !important;
}

/* button */
.login-btn {
    border-radius: 10px;
    font-weight: 600;
}

/* === RESPONSIVE HP === */
@media (max-width: 576px) {
    .login-card {
        max-width: 92%;
        padding: 24px;
        font-size: 1.05rem;

        /* FIX: biar tetap pas saat keyboard muncul */
        max-height: calc(100dvh - 32px);
    }

    .custom-input {
        font-size: 1.05rem;
        padding: 14px 12px;
    }

    .form-floating label {
        font-size: 0.95rem;
    }

    h3 {
        font-size: 1.8rem;
    }
}
