/* --- Base Styles --- */
body {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.form-step {
    display: none; /* Hide all steps by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: flex; /* Show the active step */
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.exit {
    animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

#purchase-notification {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#purchase-notification.visible {
    opacity: 1;
}

.progress-bar-fill {
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/* --- Background Image Slider --- */
#background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth fade transition */
    -webkit-backface-visibility: hidden; /* Helps with flickering on some browsers */
    backface-visibility: hidden;
}

.bg-slide.active {
    opacity: 1;
}

