/* Base styling */
body {
    background: url('../img/12.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Card styling */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-in-out;
    width: 100%;
}

/* Card hover */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Headings */
.card h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Form inputs */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    color: #fff;
}

.form-control::placeholder {
    color: #eee;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    outline: none;
}

/* Button */
.btn-primary {
    background: linear-gradient(to right, #00f2fe, #4facfe);
    border: none;
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    transform: scale(1.05);
}

/* Link to login */
p {
    text-align: center;
    color: #eee;
    margin-top: 1rem;
}

p a {
    color: #00ffe1;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

option:disabled {
    color: red;
    font-weight: bold;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }
    .card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .card {
        padding: 1rem;
    }

    .form-control,
    .form-select,
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.9rem;
    }
}
