body {
    background-color: #fdfdfd;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.mcontainer {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 60px;
    display: flex;
    justify-content: space-between;
}

.form-container {
    background-color: #ffffff;
    padding: 50px;
    width: 65%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #221f20;
    letter-spacing: 1px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
    display: block;
}

.input-error {
    border: 1px solid red;
}

/* Style pour l'erreur globale */
#global-error {
    color: red;
    font-size: 1em;
    margin-bottom: 10px;
    display: none;
}


.form-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #7d7d7d;
}

.form-input {
    margin-bottom: 25px;
}

.form-input input, .form-input select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 14px;
    font-size: 16px;
    width: 100%;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-input input:focus, .form-input select:focus {
    border-color: #a88734;
    outline: none;
}

.form-input label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #555;
}

.btn-next {
    background-color: #221f20;
    color: white;
    border: none;
    padding: 14px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    width: auto;
    min-width: 150px; /* Fixe la largeur minimum du bouton */
}



.hidden {
    display: none;
}

.info-box {
    background-color: white;
    padding: 40px;
    font-size: 16px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    position: sticky;
    top: 100px;
}

.info-box h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 25px;
    color: #221f20;
    letter-spacing: 0.5px;
}

.info-box ul {
    padding-left: 0;
    list-style-type: none;
}

.info-box li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #555;
}

.info-box li::before {
    content: '\2713'; /* Checkmark icon */
    font-size: 16px;
    color: #a88734;
    margin-right: 12px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .form-container,
    .info-box {
        width: 90%;
        margin-bottom: 30px;
    }
}
/* Style du bouton */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    width: 50px; /* Taille carrée pour montrer uniquement le spinner */
    height: 50px;
    color:black;
}

/* Style du spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid ;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;

}

/* Animation de rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
