/* 🌈 Full Gradient Background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    height: 100vh;
    overflow: hidden;
}

/* 🔮 Glass Effect Overlay */
.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('SVlogo.jpg') no-repeat center;
    background-size: 180px;
    opacity: 0.08;
    filter: blur(2px);
}

/* 🎯 Center Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* 🧊 Glassmorphic Login Card */
.login-card {
    width: 380px;
    padding: 35px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* 🎤 Title */
.title {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* 🚨 Error Box */
.error-box {
    background: rgba(255, 0, 0, 0.2);
    border-left: 4px solid #ff4d4d;
    color: #ffb3b3;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* 📝 Inputs */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    color: #eee;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.25);
}

/* 🔘 Login Button */
.login-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: #ffcc00;
    color: #000;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #ffdb4d;
}

/* 🔗 Links */
.links {
    margin-top: 15px;
}

.links a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.links a:hover {
    color: #ffeb3b;
}

/* ✨ Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
