
#corp-booking-step1 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5%;
}

#box-booking-step1 {
    width: auto;
    height: auto;
    padding: 3%;
    background-color: var(--box);
    border: solid 2px var(--primary);
    box-shadow: #2726267c 0px 6px 10px;
}

/* Grid pour les 6 inputs */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Section des radios */
.radio-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.radio-card {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: #2726267c 0px 2px 2px;

}

#booking-step1-devis{
    width: 100%;
    height: auto;
    margin-top: 5%;
    margin-bottom: 5%;
}

#booking-step1-arrival-box{
    width: auto;
    height: auto;
    margin-top: 3%;
    margin-bottom: 3%;
    display: flex;
    justify-content: space-around;
    background-color: var(--box);
    border: solid 2px var(--primary);
    box-shadow: #2726267c 0px 6px 10px;
}

#booking-step1-departure-box{
    width: auto;
    height: auto;
    margin-top: 3%;
    margin-bottom: 3%;
    display: flex;
    justify-content: space-around;
    background-color: var(--box);
    border: solid 2px var(--secondary);
    box-shadow: #2726267c 0px 6px 10px;
}

.arrival-cols{
    width: 100%;
    margin-bottom: 0%;
}

.arrival-col {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;
}

.departure-cols{
    width: 100%;
    margin-bottom: 0%;
}

.departure-col {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;
}

#booking-step1-total {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    align-self: flex-end;
}

/*Step 2 Booking*/

#corp-booking-step2 {
    width: 100%;
    min-height: 100vh;
    padding: 5%;
}

#cols-booking-form-contact-details {
    width: 55%;
    height: fit-content;
}

.autoComplete_wrapper {
    position: relative;
}

.autoComplete_list {
    position: absolute;
    z-index: 9999;
    background: #fff;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

#booking-form-contact-and-summary {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#booking-step2-total {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    align-self: flex-end;
    margin-top: 10%;
}

.form-grid-custom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

#phone-input-container {
    display: flex;
    flex-direction: column;
}

#box-booking-summary {
    background-color: var(--box);
    box-shadow: #2726267c 0px 6px 10px;
    border: solid 2px var(--primary);
    width: 45%;
    height: fit-content;
    padding: 3%;
}

#corp-booking-step4 {
    width: 100%;
    min-height: 100vh;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#box-booking-summary-recap {
    background-color: var(--box);
    box-shadow: #2726267c 0px 6px 10px;
    border: solid 2px var(--primary);
    min-width: 50%;
    height: fit-content;
    padding: 3%;
}

.form-control{
    box-shadow: #2726267c 0px 2px 2px;
}

.form-select{
    box-shadow: #2726267c 0px 2px 2px;
}

.ts-wrapper{
    box-shadow: #2726267c 0px 2px 2px;
}

.form-column{
    width: 100%;
}

.form-check-input{
    border: solid 2px var(--primary);
}


/* Mobile - Tout en colonne */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Force l'ordre des colonnes */
    .form-col-1 {
        order: 1;
    }
    
    .form-col-2 {
        order: 2;
    }
    
    .form-col-3 {
        order: 3;
    }
    
    .radio-section {
        grid-template-columns: 1fr;
    }
    
    #box-booking-step1 {
        padding: 1rem;
        margin: 1rem;
    }

    #booking-form-contact-and-summary {
        display: flex;
        flex-direction: column;
    }

    #box-booking-step1 {
        font-size: 2rem;
    }

    #box-booking-step1 h4{
        font-size: 2rem;
    }

    .form-control{
        font-size: 2rem;
    }

    .form-select{
        font-size: 2rem;
    }

    .form-select:focus{
        font-size: 2rem;
    }

    div.ts-control{
        font-size: 2rem;
    }

    div.ts-dropdown{
        font-size: 1.5rem;
    }

    input.booking_form_addressInput-ts-control{
        font-size: 2rem;
    }

    .ts-wrapper{
        font-size: 2rem;
    }

    input#booking_form_addressInput-ts-control{
        font-size: 2rem;
    }

    #booking_form_addressInput{
        font-size: 2rem;
    }
}

/* Tablet */
@media (max-width: 992px) and (min-width: 769px) {
    .form-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .radio-section {
        grid-template-columns: 1fr;
    }

     #booking-form-contact-and-summary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
    }

    #cols-booking-form-contact-details{
        width: 80%;
        height: auto;
    }

    #box-booking-summary{
        width: 80%;
        height: auto;
        margin-top: 5%;
    }

    #box-booking-step1{
        font-size: 2rem;
    }

    #box-booking-step1 h4{
        font-size: 2rem;
    }

    .form-control{
        font-size: 2rem;
    }

    .form-select{
        font-size: 2rem;
    }

    .form-select:focus{
        font-size: 2rem;
    }

    div.ts-control{
        font-size: 2rem;
        line-height: 1.2;
    }

    div.ts-dropdown{
        font-size: 1.5rem;
    }

    .ts-wrapper{
        font-size: 2rem;
    }

    #booking_form_addressInput-ts-control{
        font-size: 2rem;
    }

    #booking_form_addressInput{
        font-size: 2rem;
    }

    #booking_form_addressInputArrivee-ts-control{
        font-size: 2rem;
    }

    div.option{
        font-size: 2rem;
        margin-top: 1%;
        line-height: 1.5 !important;
    }

    #booking-step1-devis{
        font-size: 2rem;
    }

    .arrival-col{
        display: flex;
        align-items: flex-start;
        justify-content: center;
        justify-content: space-evenly;
        margin-left: 25%;
    }

    .departure-col{
        display: flex;
        align-items: flex-start;
        justify-content: center;
        justify-content: space-evenly;
        margin-left: 25%;
    }

    h1{
        font-size: 3rem;
    } 

    h6{
        font-size: 1.7rem;
    }

    h2{
        font-size: 2.5rem;
    }

    #booking-step1-total a{
        font-size: 2rem;
        width: 50%;
    }

    h4{
        font-size: 2.3rem;
    }

    .form-label{
        font-size: 2rem;
    }

    div#box-booking-summary {
        font-size: 2rem;
    }

    h5{
        font-size: 1.7rem;
    }

    #booking-step2-total button{
        font-size: 2rem;
        width: 50%;
    }

    .form-grid-custom{
        flex-direction: column;
    }

    #corp-booking-step4{
        font-size: 2rem;
    }

    .box-booking-summary-recap{
        height: auto;
        margin-top: 5%;
    }

    #booking-step2-total{
        width: -webkit-fill-available;
    }

    #adminDropdownMenu{
        font-size: 2rem;
    }
}
