body {
    background: linear-gradient(300deg, #5ec586, #24bdba, #298f8d);
}

#header-body {
    border-bottom: solid 8px white;
}

#header-body h1 {
    border-left: 4px solid var(--color3);
}

#header-body .right {
    background: linear-gradient(250deg, rgb(21, 198, 204), rgba(255, 0, 0, 0) 75.71%), linear-gradient(320deg, rgb(38, 247, 101), rgba(0, 0, 255, 0) 82.71%), linear-gradient(100deg, var(color3), rgba(0, 255, 0, 0) 68.71%);
}

.contenu-travel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 75px;
    font-family: system-ui, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
}

.contenu-travel h2 {
    width: 70%;
    margin-top: 30px;
    margin-bottom: 35px;
    text-align: center;
    font-size: 18px;
    font-weight: 1;
    color: rgb(56, 56, 56);
    font-family: arial, Tahoma, Geneva, Verdana, sans-serif
}

.contenu-travel form {
    width: 75%;
    max-width: 900px;
    background-color: rgb(253, 254, 253);
    border-left: 1px solid rgb(228, 228, 228);
    border-right: 1px solid rgb(221, 221, 221);
    padding-top: 35px;
    padding-bottom: 25px;
    padding-left: 2%;
    padding-right: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.deco-form {
    margin-right: 2%;
    border-right: 2px rgb(240, 240, 240) solid;
    border-bottom: 7px dotted teal;
    width: 28%;
    background-image: url('https://www.lifetime-travelmada.com/img/autres/travel.PNG');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.contenu-form {
    padding-top: 15px;
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

form .tab {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tab h3::after {
    content: ' (*) ';
    font-weight: 200;
    color: teal;
}

.tab h3 {
    width: 90%;
    margin-top: 5px;
    padding-top: 3px;
    padding-bottom: 6px;
    text-align: center;
    letter-spacing: 1px;
    font-size: 17px;
    font-weight: 20;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: 1px solid #abd1d12d;
    color: #000000;
}

.tab .tab-div-m1 {
    height: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
}

.tab .tab-div-m2 {
    min-height: 175px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.tab .tab-div-m2 i {
    font-weight: initial;
    font-size: 14px;
}

.tab .radios-classe {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.tab .radios-classe span {
    margin-left: 5%;
    margin-right: 5%;
}

label {
    margin-left: 5px;
    font-size: 15px;
    font-weight: 600;
    color: rgb(95, 95, 95);
}

.radios-classe input {
    border: 2px solid gray;
}

.tab select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 7px;
    padding-right: 7px;
    text-align: center;
    width: 150px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0;
    color: #6c7070;
    background-color: rgb(255, 255, 255);
    border: none;
    border-bottom: 1px solid rgb(206, 206, 206);
    cursor: pointer;
    transition: 0.2s;
}


/* For IE <= 11 */

.tab select::-ms-expand {
    display: none;
}

.tab select:hover,
.tab select:focus {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: 0.3s;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: #5a9998;
    border-bottom-color: rgb(0, 90, 90);
}

.tab select:focus,
.tab select:active {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    outline: none;
}

.tab .radios-type {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    line-height: 26px;
}

.tab .radios-type span {
    margin-top: 3px;
    margin-bottom: 3px;
}

.tab textarea {
    display: flex;
    align-self: center;
    resize: none;
    width: 80%;
    height: 90px;
    padding: 12px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(61, 61, 61);
    border: none;
    border-radius: 4px;
    box-shadow: inset 0px 0px 4px -1px rgb(63, 63, 63);
    transition: 0.6s;
}

.tab textarea:focus,
.tab textarea:active {
    outline: none;
    transition: 0.6s;
}

.tab-btns {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    text-align: end;
}

.tab-btns button {
    width: 100px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 14px;
    padding-right: 14px;
    margin-right: 10px;
    margin-left: 10px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    border: none;
}

.tab-btns button#prevBtn {
    background: none;
    border: 2px solid #196d6b;
    color: #176361;
    border-radius: 3px;
}

.tab-btns button#nextBtn {
    background: linear-gradient(300deg, #00ff62, #24bdba, #298f8d);
}

.tab-btns button:hover {
    cursor: pointer;
    transition: 0.1s;
    transform: scale(1.05)
}

.tab input[type="date"] {
    border: 1px solid rgb(155, 155, 155);
    box-shadow: 0px 0px 1px -1px black;
    color: rgb(141, 141, 141);
    border-radius: 3px;
    height: 27px;
    width: 140px;
    text-align: center;
    font-weight: bold;
}

.tab input[type="date"]:focus,
.tab input[type="date"]:active {
    outline: none;
}

.tab input[type="range"] {
    margin-top: 40px;
    width: 50%;
    min-width: 180px;
    max-width: 375px;
}


/* Make circles that indicate the steps of the form: */

.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}


/* Mark the active step: */

.step.active {
    opacity: 1;
}


/* Mark the steps that are finished and valid: */

.step.finish {
    background-color: #04AA6D;
}

output {
    margin-top: 7px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(116, 116, 116);
    text-align: center;
}


output.nb_nuits::after {
    content: ' nuits';
}

@media screen and (max-width: 700px) {
    .deco-form {
        display: none;
    }
    .contenu-travel h2 {
        font-size: 14px;
    }
    .tab h3 {
        width: 80%;
    }
    .contenu-travel form {
        width: 90%;
    }
    label {
        font-size: 12px;
    }
    .tab .tab-div-m2 i {
        font-weight: initial;
        font-size: 11px;
    }
    .tab-btns button {
        width: 80px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        margin-right: 8px;
        margin-left: 8px;
        color: white;
        font-weight: bold;
        font-size: 12px;
    }
    .tab .radios-type {
        line-height: 23px;
        width: 100%;
    }
    .contenu-form {
        width: 90%;
    }
}
/* Style du div contenant l'input numérique */
.number-input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    /* Ajustez la largeur selon vos besoins */
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Style de l'input numérique */
.number-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 18px;
    background-color: #f9f9f9;
    color: #333;
}

/* Style des boutons + et - */
.number-input-button {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* Style pour le bouton - (quand la valeur est égale au minimum) */
.minus-button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/*Nouveau css*/
.itinerary-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    /* Cacher le débordement pour l'effet de transition */
    margin-top: 20px;
}

.itinerary-card {
    width: calc(33.33% - 40px);
    margin: 20px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Ajout d'une propriété pour le contenu interne */
    background-color: #fff;
}

.itinerary-card-content {
    padding: 20px;
    /* Espace autour du contenu interne */
}

.itinerary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Styles pour la conception des cartes */
.itinerary-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.day-number {
    font-size: 24px;
}

.itinerary-description {
    margin-top: 10px;
    color: #333;
}

.activities-list {
    list-style: none;
    padding: 0;
}

/* Styles pour les parties en bas de l'image */
.bottom-section {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.bottom-section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bottom-section p {
    font-size: 16px;
    color: #333;
}

/* Styles pour la navigation */
.navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.navigation-buttons {
    display: flex;
    align-items: center;
}

.navigation-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 10px;
}

.navigation-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Ajoutez ces styles pour les séparateurs de lignes */
.itinerary-card hr.section-divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    /* Couleur de la ligne */
    margin: 10px 0;
    /* Espacement autour de la ligne */
}

/* Styles pour la version mobile */
@media (max-width: 820px) {
    .itinerary-card {
        width: 100%;
    }
}

/* Style de base pour le label du montant de devis */
.devis-label {
    font-size: 25px;
    font-weight: bold;
    color: #333;
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Style au survol */
.devis-label:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Styles pour le multiselect */
/* Styles pour le multiselect */
fieldset {
    border: 1px solid none;
    padding: 10px;
    margin: 10px;
    max-width: 300px;
}

label {
    display: block;
    font-weight: bold;
}

span {
    font-weight: bold;
    color: rgb(95, 95, 95);;
}

select,
details {
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Styles pour le détail multiselect */
details {
    /* border: 1px solid #ccc; */
    padding: 10px;

}

summary {
    cursor: pointer;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 5px;
}

/* Style pour le message d'erreur */
.error-message {
    color: red;
    display: none; /* Initialement masqué */
}

#next-button {
    background: linear-gradient(to right, #00ff62, #24bdba);
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-left: 2em;
}

#next-button:hover {
    background: linear-gradient(to right, #24bdba, #00ff62);
    transform: scale(1.1); /* Agrandit le bouton de 10% au survol */
    margin-left: 2em;
}

#next-button svg {
    margin-right: 5px; /* Ajoute une marge à droite de l'icône */
}


#prev-button {
    background: linear-gradient(to right, #00ff62, #24bdba);
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-right: 2em;
}

#prev-button:hover {
    background: linear-gradient(to right, #24bdba, #00ff62);
    transform: scale(1.1); /* Agrandit le bouton de 10% au survol */
    margin-right: 2em;
}

#prev-button svg {
    margin-right: 5px; /* Ajoute une marge à droite de l'icône */
}

/* Style de base */
.devis-container {
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    margin: 20px;
    width: 60%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@media (max-width: 820px) {
    .devis-container {
        width: 90%;
    }
}

.devis-header {
background: linear-gradient(to right, #24bdba, #00ff62);;
color: #fff;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}

.toggle-button {
background-color: transparent;
border: none;
color: #fff;
font-size: 18px;
cursor: pointer;
}

#toggle-button svg {
    font-size: 5em;
}

.devis-content {
padding: 10px;
display: none;
}

.devis-item {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}

.prix-label {
font-weight: bold;
}

.total {
margin-top: 10px;
font-weight: bold;
}

/* Style pour le bouton de toggle lorsque le contenu est ouvert */
.devis-container.active {
height: auto;
margin-bottom: 20px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.devis-container.active .devis-content {
display: block;
}

.toggle-button.active {
transform: rotate(45deg);
}

/* Style responsive */
@media screen and (max-width: 768px) {
.devis-container {
    width: calc(50% - 40px);
    margin: 10px;
}
}

@media screen and (max-width: 480px) {
.devis-container {
    width: calc(100% - 40px);
    margin: 10px;
}
}

/* Animation hover sur le bouton */

.prix-label {
font-weight: bold;
}

.total {
font-weight: bold;
font-size: 1.2em;
}

@keyframes fadeIn {
0% {
    opacity: 0;
    transform: translateY(-20px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

/* Styles pour le tableau moderne */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}

table, th, td {
border: 1px solid #ccc;
}

th, td {
padding: 10px;
text-align: left;
}

th {
background-color: #f2f2f2;
}

/* Styles pour la section de devis */
.devis-content {
font-family: Arial, sans-serif;
border: 1px solid #ccc;
margin: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
border-radius: 5px;
overflow: hidden;
animation: fadeIn 0.5s ease-in-out;
}

.devis-item {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ccc;
padding: 10px;
}

.prix-label {
font-weight: bold;
flex-basis: 30%;
}

.prix-value {
flex-basis: 35%;
}

.total {
font-weight: bold;
font-size: 1.2em;
padding: 10px;
text-align: center;
}

/* Styles pour la version responsive */
@media screen and (max-width: 768px) {
.devis-item {
    flex-direction: column;
    text-align: center;
}

.prix-label, .prix-value {
    flex-basis: 100%;
}
}

/* Animation hover sur le bouton */

@keyframes fadeIn {
0% {
    opacity: 0;
    transform: translateY(-20px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

.box {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    top: 0;
    transition: transform 0.5s ease-in-out;
}

.box.active {
transform: translateX(0%);
}

.box.hidden {
transform: translateX(-100%);
}
