﻿/* Body background for light theme */
body {
    background: linear-gradient(180deg, #f3e5f5 0%, #e1f5fe 100%); /* Soft purple to light blue gradient */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    color: #2c3e50;
}

/* Container styling with glassmorphism */
.container.py-5 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

/* Fade-in animation for container */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heading styling */
h2.text-center.mb-4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
    position: relative;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #8e44ad, #9b59b6); /* Purple gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

    h2.text-center.mb-4::after {
        content: '';
        width: 60px;
        height: 4px;
        background: linear-gradient(to right, #8e44ad, #9b59b6);
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
    }

/* Error message styling */
.alert-danger {
    background-color: #ffe6e6;
    border-color: #ff9999;
    color: #e74c3c;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    text-align: center;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form group styling */
.mb-3 {
    position: relative;
}

/* Label styling */
.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Input styling */
.form-control {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #2c3e50;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .form-control:focus {
        border-color: #8e44ad;
        box-shadow: 0 0 8px rgba(142, 68, 173, 0.3);
        outline: none;
    }

/* Validation error message styling */
.text-danger {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 0.3rem;
    display: block;
}

/* Button styling */
.btn-primary {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.75rem;
    border-radius: 30px;
    background: linear-gradient(to right, #8e44ad, #9b59b6);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(142, 68, 173, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(to right, #9b59b6, #8e44ad);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
    }

/* Responsive adjustments */
@media (max-width: 576px) {
    .container.py-5 {
        padding: 1.5rem;
        margin: 1rem;
    }

    h2.text-center.mb-4 {
        font-size: 1.75rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .btn-primary {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}
