/* ===== Login Section Styling ===== */

body {
    font-family: "Poppins", sans-serif;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}


/* Overlay (adds a soft dark tint for readability) */

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 0, 50, 0.6);
    backdrop-filter: blur(2px);
    z-index: 0;
}


/* Container */

.login-section {
    width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    position: relative;
    z-index: 1;
}


/* Header */

.login-form-container h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #00e1ff, #0078ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Input Groups */

.input-group {
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #e0e7ff;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #00c6ff;
    box-shadow: 0 0 12px #00c6ff80;
}


/* Dropdown Styling */

.input-group select {
    appearance: none;
    background-image: url('https://cdn-icons-png.flaticon.com/512/25/25623.png');
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right 12px center;
    cursor: pointer;
}

.input-group select option {
    background: #1b1f2a;
    color: #fff;
    padding: 10px;
}


/* Button */

.form-actions button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #00c6ff, #0078ff);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions button:hover {
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    transform: translateY(-2px);
}


/* Register Link */

.login-form-container p {
    text-align: center;
    font-size: 14px;
    color: #e0e7ff;
    margin-top: 15px;
}

.login-form-container a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.login-form-container a:hover {
    text-decoration: underline;
}


/* Error Message */

.error-message {
    background: rgba(255, 77, 77, 0.835);
    color: #ffb3b3;
    padding: 10px;
    border: 1px solid rgba(255, 77, 77, 0.653);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 480px) {
    .login-section {
        width: 90%;
        padding: 30px 20px;
    }
}