/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f4f4f9;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Images */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: url('https://res.cloudinary.com/d1pf7fgmpy/image/upload/v1733636411/stephwedstolu/Screenshot_2024-12-08_at_05.37.47.png') no-repeat left center, 
                url('https://res.cloudinary.com/d1pf7fgmpy/image/upload/v1733636414/stephwedstolu/Screenshot_2024-12-08_at_05.37.09.png') no-repeat right center;
    background-size: cover;
    z-index: -1;
    filter: blur(2px) brightness(0.2);
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

input, select, button {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button {
    background: #3c4142;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background: #2b2f30;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

.hidden {
    display: none !important;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

#countryCode {
    width: 100px !important;
}

#rsvpForm > div.form-step.active > div > button:nth-child(2):disabled {
    background-color: #2b2f30;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 1rem;
    }

    .form-container {
        margin: 1rem auto;
        width: 80%;
        max-width: 100%;
        padding: 1.5rem;
    }

    img {
        max-width: 200px;
    }

    h2 {
        font-size: 1.25rem;
    }

    input, select, button {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
