/* --- Login Page Wrapper --- */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a001a 0%, #080808 100%);
    font-family: 'Poppins', sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 255, 0.1);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 40px);
    text-align: center;
    width: min(92vw, 380px);
    max-width: 92vw;
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.05);
    border-bottom: 4px solid #ff00ff; /* Pink Accent */
}

/* --- Logo & Text --- */
.logo h1 {
    font-size: 2.5rem;
    color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    margin-bottom: 10px;
}

.logo span {
    color: #fff;
}

.subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- INPUT FIELDS FIX (No more white background) --- */
.neon-input-pink {
    width: 100%;
    background: #0d0d0d !important; /* Force dark background */
    border: 1px solid #333 !important;
    border-radius: 8px;
    padding: 12px 15px;
    color: white !important;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s ease;
}

    /* Focus State: Jab user click kare tab bhi dark rahe */
    .neon-input-pink:focus {
        background: #000 !important;
        border-color: #ff00ff !important; /* Pink Border */
        box-shadow: 0 0 15px rgba(255, 0, 255, 0.3) !important;
    }

    /* Chrome/Edge/Safari Autofill Fix (Important!) */
    .neon-input-pink:-webkit-autofill,
    .neon-input-pink:-webkit-autofill:hover,
    .neon-input-pink:-webkit-autofill:focus {
        -webkit-text-fill-color: #fff !important;
        -webkit-box-shadow: 0 0 0px 1000px #0d0d0d inset !important; /* Suggestion box ko dark rakhega */
        transition: background-color 5000s ease-in-out 0s;
    }

    /* Placeholder Styling */
    .neon-input-pink::placeholder {
        color: #444 !important;
    }

/* --- Buttons --- */
.btn-neon-pink {
    width: 100%;
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

    .btn-neon-pink:hover {
        background: #ff00ff;
        color: #000;
        box-shadow: 0 0 30px #ff00ff;
    }

/* --- Footer Links --- */
.error-msg {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #ff3333;
}

.footer-links {
    margin-top: 25px;
    font-size: 0.8rem;
    color: #666;
}

.neon-aqua-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

    .neon-aqua-link:hover {
        text-shadow: 0 0 10px #00ffff;
    }

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .login-container {
        padding: 20px 15px;
        min-height: 100vh;
        height: auto;
    }

    .glass-card {
        width: 100%;
        max-width: 360px;
        padding: 30px 20px;
    }

    .logo h1 {
        font-size: 2rem;
    }
}

