html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    position: fixed; /* Strict viewport lock */
    touch-action: none; /* Disable touch gestures like rubber-banding */
}

:root {
    --primary: #4f46e5;
    --secondary: #ec4899;
    --dark-bg: #0f172a;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--dark-bg);
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e293b;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Ambient Background blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none; /* Prevent interaction */
    overflow: hidden;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #4f46e5;
    border-radius: 50%;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #ec4899;
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .login-card {
        padding: 20px;
        border-radius: 20px;
        width: 85%;
        max-width: 280px;
    }

    .logo-text {
        font-size: 18px;
    }

    .subtitle {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .form-input {
        padding: 8px 10px;
        font-size: 12px;
    }

    .btn-login {
        padding: 10px;
        font-size: 13px;
        margin-top: 5px;
    }

    .blob {
        opacity: 0.2;
        filter: blur(30px);
    }
}
