
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* biar gak bisa geser */
}

body {
    display: flex;
    align-items: center;   /* center vertikal */
    justify-content: center; /* center horizontal */
    background: linear-gradient(-45deg, #0509ff, #fff, #e50404da);
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
    font-family: "Poppins", sans-serif;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 360px;
    box-sizing: border-box;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
    .login-header {
        text-align: center;
        padding: 20px 15px 10px;
        background: #f8f9fc;
        border-radius: 16px 16px 0 0;
    }

    .login-header img {
        width: 70px;
        margin-bottom: 8px;
    }

    .login-header h4 {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        color: #333;
    }

    .login-body {
        padding: 20px 15px;
    }

    .input-group-text {
        background: #f1f1f1;
        border: none;
    }

    .form-control {
        border-left: none;
        box-shadow: none !important;
    }

    .btn-primary {
        width: 100%;
        padding: 10px;
        font-weight: 600;
        border-radius: 8px;
        font-size: 14px;
    }

    .form-check-label {
        font-size: 13px;
        color: #666;
    }

    /* Responsive extra kecil */
    @media (max-width: 360px) {
        .login-card {
            width: 95%;
            max-width: 320px;
        }
        .login-header h4 {
            font-size: 14px;
        }
        .btn-primary {
            font-size: 13px;
        }
    }
