/* Body styling with animated background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* Animated background container */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    z-index: -1;
    overflow: hidden;
}


.animated-background::before,
.animated-background::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.animated-background::after {
    animation-direction: reverse;
}


/* Keyframes for background animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Form container styling */
.form-container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Center heading */
.center {
    text-align: center;
    margin-top: 10px;
}

/* Vintage heading styling */
.vintage-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: bold;
    color: #343a40;
}

/* Button styling */
.btn-primary {
    background-color: #6a11cb;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2575fc;
}

/* Back button styling */
.back-btn {
    height: 40px;
    width: 40px;
    background-color: #343a40;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    position: absolute;
    top: 20px;
    left: 10px;
}

/* Error message styling */
.text-danger {
    margin-top: 5px;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .form-container {
        margin: 20px;
        padding: 15px;
    }

    .vintage-heading {
        font-size: 2em;
    }
}

