html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    /* penting agar tidak bisa scroll */
    background: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
}

.login-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    max-width: 420px;
    margin: auto;
    width: 100%;
}

.app-logo {
    text-align: center;
    margin-bottom: 50px;
}

.app-logo img {
    width: 70%;
    object-fit: contain;
}

.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-control {
    border-radius: 16px;
    padding: 12px 45px 12px 45px;
    height: 48px;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 20px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 20px;
}

.btn-primary {
    background-color: #2c8db8;
    border: #2c8db8;
    border-radius: 16px;
    padding: 12px;
    font-weight: 600;
}

.text-primary {
    color: #2c8db8 !important;
}

.footer-text {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #6c757d;
}

/* ============================= */
/* DESKTOP VERSION (CARD STYLE) */
/* ============================= */
@media (min-width: 768px) {

    body {
        background: linear-gradient(135deg, #eef5f9, #ffffff);
        display: flex;
        align-items: center;
        /* center vertical */
        justify-content: center;
        min-height: 100vh;
        padding: 40px 0;
    }

    .login-wrapper {
        background: #ffffff;
        padding: 45px 40px;
        border-radius: 24px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(44, 141, 184, 0.08);
        max-width: 430px;
        margin: 40px auto;
        /* tambah jarak aman */
    }

}

/* ============================= */
/* MOBILE VERSION (NO CARD) */
/* ============================= */
@media (max-width: 767px) {

    .login-wrapper {
        box-shadow: none;
        border: none;
        padding: 30px 24px;
        background: transparent;
    }

}
