/* 🔥 Enhanced Background */
body {
    background: linear-gradient(135deg, #343a40, #1f1f1f);
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ✨ Subtle Animated Particles */
body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/hexellence.png'); /* Subtle pattern */
    opacity: 0.1;
    animation: moveBackground 30s infinite linear;
}

/* Animated Particles */
@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* 🧊 Glassmorphism Login Box */
.login-box {
    width: 380px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.12); /* Semi-transparent */
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* 💎 Text Styling */
h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 🎯 Input Fields */
.form-control {
    border-radius: 5px;
    padding: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(21, 20, 20, 0.3);
    color: #000;
}

/* Placeholder Text */
.form-control::placeholder {
    color: #000(255, 255, 255, 0.5);
}

/* 📢 Button */
/* Button */
#loginBtn {
    background-color: #343a40;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
}

#loginBtn:hover {
    background-color: #212529;
    transform: scale(1.02);
}

/* Alert */
.alert {
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 5px;
}

/* 🔥 Add Glow Effect */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(226, 100, 84, 0.2); }
    50% { box-shadow: 0 0 15px rgba(226, 100, 84, 0.5); }
    100% { box-shadow: 0 0 5px rgba(226, 100, 84, 0.2); }
}

#loginBtn:hover {
    animation: glow 1.5s infinite alternate;
}
/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    .login-box {
        width: 90%;
        padding: 20px;
    }
    .form-control {
        padding: 10px;
        font-size: 0.9rem;
    }
    #loginBtn {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.4rem;
    }
    .login-box {
        width: 95%;
        padding: 15px;
    }
    .form-control {
        font-size: 0.85rem;
    }
    #loginBtn {
        font-size: 0.85rem;
        padding: 10px;
    }
}