/******************************** Fenêtre modale *********************************/

/* Nouveau css modale globale */

.modal-scroll {
    max-height: 90vh;
    overflow-y: auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.modal {
    background-color: rgba(22, 1, 1, 0.75);
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: block;
}

.modal > div {
    width: auto;
    background-color: white;
    padding: 16px;
    box-sizing: border-box;
    margin: 0 auto;
}

.modal > div > h4 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 18px;
    color: #D06310;
}

.modal > div > p {
    text-align: center;
    font-size: 20px;
    color: black;
    margin-bottom: 30px;
}

.sendModal {
    display: flex;
    margin: 13px auto;
    width: auto;
    background-color: #6E00C8;
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 10px 10px 10px 0;
}

.cancelModal {
    display: flex;
    margin: auto;
    width: auto;
    background-color: #6E00C8;
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 10px 10px 10px 0;
}

/* Css modale réservation */
.recaps-reservation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
}

.button-modal {
    display: flex;
    flex-direction: row;
}

/******************************** Fenêtre modale mot de passe oublier*********************************/


.modif-password > form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.modif-password > form > input {
    background-color: #FDD9A8;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    padding: 12px;
    width: 50%;
    margin-top: 20px;
}

/*********************** Formulaire Fenêtre modale du dashboard ***********************/


.account-modif-one {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    margin: auto; 
    background-color: white;
}

.account-modif-one form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Ajouter de l'espace entre les champs */
}

form div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

form div label {
    color: #303030;
    margin-bottom: 5px;
}

form div input, 
form div select {
    background-color: #FDD9A8;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    padding: 12px;
    width: 100%;
}


/******************************** Fenêtre modale confirmation de suppréssions *********************************/

.recaps-reservation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
}



/****************************************** Résponsive *******************************************/

@media (min-width: 500px){

    
}

@media (min-width: 768px){

    .modif-password > form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .modif-password > form > input {
        background-color: #FDD9A8;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        padding: 12px;
        width: 50%;
        margin-top: 20px;
    }

    .modal {
        background-color: rgba(22, 1, 1, 0.75);
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .modal.active {
        display: block;
    }

    .modal > div {
        width: 700px;
        background-color: white;
        padding: 16px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .modal > div > h4 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 18px;
        color: #D06310;
    }

    .modal > div > p {
        text-align: center;
        font-size: 20px;
        color: black;
        margin-bottom: 30px;
    }

    .sendModal {
        display: flex;
        margin: 13px auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    .cancelModal {
        display: flex;
        margin: auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    /* Css modale réservation */
    .recaps-reservation {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }

    .button-modal {
        display: flex;
        flex-direction: row;
    }

    .reservation-page>h2 {
        font-size: 20px;   
    }

     
}

@media (min-width: 992px){
    
    .modif-password > form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .modif-password > form > input {
        background-color: #FDD9A8;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        padding: 12px;
        width: 50%;
        margin-top: 20px;
    }

    .modal {
        background-color: rgba(22, 1, 1, 0.75);
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .modal.active {
        display: block;
    }

    .modal > div {
        width: 700px;
        background-color: white;
        padding: 16px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .modal > div > h4 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 18px;
        color: #D06310;
    }

    .modal > div > p {
        text-align: center;
        font-size: 20px;
        color: black;
        margin-bottom: 30px;
    }

    .sendModal {
        display: flex;
        margin: 13px auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    .cancelModal {
        display: flex;
        margin: auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    /* Css modale réservation */
    .recaps-reservation {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }

    .button-modal {
        display: flex;
        flex-direction: row;
    }

}


@media (min-width: 1199px){

    .modif-password > form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .modif-password > form > input {
        background-color: #FDD9A8;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        padding: 12px;
        width: 50%;
        margin-top: 20px;
    }

    .modal {
        background-color: rgba(22, 1, 1, 0.75);
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .modal.active {
        display: block;
    }

    .modal > div {
        width: 700px;
        background-color: white;
        padding: 16px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .modal > div > h4 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 18px;
        color: #D06310;
    }

    .modal > div > p {
        text-align: center;
        font-size: 20px;
        color: black;
        margin-bottom: 30px;
    }

    .sendModal {
        display: flex;
        margin: 13px auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    .cancelModal {
        display: flex;
        margin: auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    /* Css modale réservation */
    .recaps-reservation {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }

    .button-modal {
        display: flex;
        flex-direction: row;
    }


}

@media (min-width: 1400px){
    
    .modif-password > form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .modif-password > form > input {
        background-color: #FDD9A8;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        padding: 12px;
        width: 50%;
        margin-top: 20px;
    }

    .modal {
        background-color: rgba(22, 1, 1, 0.75);
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .modal.active {
        display: block;
    }

    .modal > div {
        width: 700px;
        background-color: white;
        padding: 16px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .modal > div > h4 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 18px;
        color: #D06310;
    }

    .modal > div > p {
        text-align: center;
        font-size: 20px;
        color: black;
        margin-bottom: 30px;
    }

    .sendModal {
        display: flex;
        margin: 13px auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    .cancelModal {
        display: flex;
        margin: auto;
        width: auto;
        background-color: #6E00C8;
        color: white;
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 10px 10px 10px 0;
    }

    /* Css modale réservation */
    .recaps-reservation {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }

    .button-modal {
        display: flex;
        flex-direction: row;
    }

    .modal-scroll {
        max-height: 90vh;
        overflow-y: auto;
        background-color: white;
        padding: 20px;
        border-radius: 10px;   
    }
    
}

.reservation-two-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 50px auto;
}

.reservation-card-one {
    background-color: white;
    padding: 20px;
    margin: auto 50px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
    box-shadow: -10px 7px 0px 2px #FDD9A8;
}

.reservation-card-one > h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto 50px;
    font-size: 30px;
    color: #6E00C8;
}

.reservation-card-two {
    background-color: white;
    padding: 20px;
    margin: auto 50px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
    box-shadow: -10px 7px 0px 2px #FDD9A8;
}

.reservation-card-two > h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto 50px;
    font-size: 30px;
    color: #6E00C8;
}

.reservation-card-two .form-alert {
    color: red;
    font-weight: bold;
}

.reservation-card-one .field {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.reservation-card-one .label {
    display: block;
    font-weight: bold;
    font-size: 20px;
    color: #303030;
    margin-bottom: 4px;
}

.reservation-card-one .value {
    display: block;
    color: #6E00C8;
    font-weight: bold;
}

.field > label {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #303030;
    margin-bottom: 4px;
    margin: auto;
}

.field > select {
    background-color: #FDD9A8;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    padding: 12px;
    width: 20%;
    margin: auto;
}
