@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap');

body {
    background-color: #292929;
    margin: 0;
    padding: 0;
    font-family: "Inknut Antiqua", serif;
    overflow-x: hidden;
}


hr.line {
    height: 2px;
    width: 70%;
    border: none;
    background-image: linear-gradient(to right, darkred, #EC221F, darkred);
}

img {
    max-width: 100%;
}

select {
    border-radius: 25px;
    box-shadow: 2px 2px #cc0000;
    font-size: 16px;
    height: 40px;

}


input {
    border-radius: 25px;
    box-shadow: 2px 2px #cc0000;
    font-size: 1.5em;

}

.avatarDisposition {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.radio {
    margin-top: 5px;
}

#iconBurger {
    font-size: 2rem;
    color: #fff;
    float: right;
    position: relative;
    top: -70px;
    right: 27px;
    border: 1px solid #EC221F;
    border-radius: 50%;
    padding: 15px;
    display: none;
}

#iconBurger:hover {
    background: #EC221F;
    color: #fff;
    cursor: pointer;
}

.burgerMenu {
    background: #292929a9;
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
}

.burgerMenu.active {
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
}

.fermerBurger {
    position: absolute;
    font-size: 2rem;
    color: red;
    margin-top: -10px;
    cursor: pointer;
    right: 0px;
    margin-right: 30px;
}

.fermerBurger:hover {
    color: darkred;
}

.image {
    display: flex;
    width: 100%;
    justify-content: center;
}

.image>img {
    border-radius: 10px;
}

.description {
    margin-left: 160px;
    margin-top: 50px;
    margin-right: 160px;
    margin-bottom: 50px;
    font-size: 22px;
    color: #fff;
}

.recherche-produits {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    color: #fff;
}

.container_placement {
    display: flex;
    justify-content: space-around;
}

.produits {
    display: flex;
    flex-direction: column;
}

.produits2 {
    display: flex;
    flex-direction: column;
}

.placementrecherche {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.description_article {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-direction: column;
}


.header {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 250px;
}


h1 {
    color: white;
    text-shadow: 2px 2px 2px #EC221F;
    -webkit-text-stroke: 0.5px #EC221F;
    font-size: 50px;
    margin-left: 10px;
}


.search-container {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.search-container input {
    width: 406px;
    height: 30px;
    border-radius: 45px;
    padding: 5px 40px 5px 15px;
    border: 1px solid #EC221F;
    box-shadow: 2px 2px 2px #EC221F;
    font-size: 14px;
    transition: 0.3s;
    margin-left: 203px;
}

.search-container input:focus {
    outline: none;
    border-color: darkred;
    box-shadow: 2px 2px 10px darkred;
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #EC221F;
    font-size: 18px;
    cursor: pointer;
}


a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;

}

nav a,
.icons {
    background-color: transparent;
    border-radius: 10px;
    color: white;
    padding: 0px;
    margin: 0px;
    height: 60px;
    margin-right: 10px;
    border: 1px solid transparent;

}

.icons:hover {
    color: #EC221F;
}

nav a:hover {
    border: 1px solid #EC221F;
    background-color: #EC221F;
    border-radius: 10px;
    color: white;
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    margin-bottom: 20px;
}

.users {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    font-size: 1.3rem;
    gap: 20px;
}

.users p {
    color: #fff;
    font-size: 15px;
    margin-left: 10px;
    padding: 15px;
}

.users img {
    width: 70px;
    height: 70px;
}

.users a:hover {
    background-color: #EC221F;
    border-radius: 10px;
    color: white;
    height: 47px;
    width: auto;
}

nav ul li {
    list-style: none;
    display: inline-block;
    padding: 15px;
    margin: 0;
}


.card img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
    background-color: #D9D9D9;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid black;
    transition: 0.3s ease-in-out;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.card:hover {
    box-shadow: 3px 3px 10px #EC221F;
    transform: scale(1.05);
}


button {
    width: 200px;
    height: 40px;
    background-color: #EC221F;
    color: white;
    border-radius: 45px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;
}

.btn_solidaire {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: blue;
    color: white;
    margin: 0 auto;
    margin-top: 10px;
}

.btn_solidaire:hover {
    background-color: darkblue;
    color: white;
}

button:hover {
    background-color: darkred;

}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

footer p {
    color: white;
    font-weight: bold;
}

footer a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}

footer a:hover {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #EC221F;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}

footer i {
    color: #EC221F;
    font-size: 1.5rem;
    transition: 0.3s;
}

footer i:hover {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.fond_revision {
    width: 90%;
    margin: 20px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.ensemble_revision {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

th,
td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 200px;
}

strong {
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
}

th {
    background-color: #af4c4c;
    color: white;
    font-size: 1.1rem;
}

.prix {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

ul li {
    margin-bottom: 8px;
}

td i {
    font-size: 1.2rem;
    color: green;
}

.horaires {
    margin-left: 50px;
    margin-right: 50px;
    width: 80%;
    margin-bottom: 20px;
}

.horaires tr td,
tr th {
    text-align: center;
}

.revision {
    width: 100%;
    height: 400px;
}

.button_revision {
    background-image: url("../image/revision1.png");
    width: 100%;
    height: 200px;
}

.button_revision button {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
}

.slider-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    color: white;

}

.filtres {
    display: flex;
    justify-content: center;
}

.slider {
    -webkit-appearance: none;
    width: 80%;
    height: 10px;
    background: #ff0000;
    outline: none;
    border-radius: 5px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #8b0000;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #8b0000;
    border-radius: 50%;
    cursor: pointer;
}

input#kilometrage.slider {
    width: 40%;
}

input#prix.slider {
    width: 40%;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.page-btn {
    background-color: #ff0000;
    color: white;
    border: 2px solid #8b0000;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    transition: background 0.3s;

}

#page-buttons {
    display: flex;
    width: 200px;
}

.page-btn:hover {
    background-color: #cc0000;
}

.active {
    background-color: #8b0000;
}

.page-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

div.numero-client {
    margin: auto;
    text-align: right;
    padding-right: 10px;
    background-color: #EC221F;
    border: 1px solid red;
    color: white;
    height: 60px;
    width: 85%;
    border-radius: 10px 0px 10px 0px;
}

.card_profil {
    background-color: #fff;
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    flex-shrink: 0;
    margin-left: 0;
    transform: translateX(-50px);

}

.card_profil img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.card_profil h2 {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

.card_profil span {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.card_profil .btn {
    background-color: #EC221F;
    color: white;
    padding: auto;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    width: 100px;
}

.card_profil .btn:hover {
    background-color: #b21817;
}

.garageSolidaire {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    border-radius: 15px;
}

.solidaire {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;

}

.solidaire span {
    color: #fff;
    margin-left: 15px;
    margin-right: 15px;
}

.solidaire>h1 {
    color: dodgerblue;
}

.titreOccasion {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

/* Tableau Profil */
.table-container_profil {
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    padding: 20px;
    overflow: hidden;



}

/* Style pour le conteneur d'ajout de véhicule */
div.ajout_vehicule {
    justify-self: end;
    width: 35%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 450px;


}

/* Style pour le titre du formulaire */
div.ajout_vehicule h3 {
    color: #EC221F;
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 20px;
    /* Espace entre le titre et les champs */
}

/* Style pour chaque champ du formulaire */
div.ajout_vehicule label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Style pour les champs de saisie */
div.ajout_vehicule input[type="text"],
div.ajout_vehicule input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Style pour le bouton d'ajout */
div.ajout_vehicule button {
    background-color: #EC221F;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

div.ajout_vehicule button:hover {
    background-color: #c1191a;
    /* Change la couleur au survol */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;

}

th,
td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #EC221F;
    color: white;
    font-size: 16px;

}

td {
    background-color: #f9f9f9;
    color: #333;
}

tr:nth-child(even) td {
    background-color: #f1f1f1;
}

tr:hover {
    background-color: #f1f1f1;
}

.table-container_profil .btn {
    background-color: #EC221F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
}

.table-container_profil .btn:hover {
    background-color: #b21817;
}

.container_profil {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;

}

.titre_profil {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.buttons_profil {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-left: 385px;
    /* par défaut sur grand écran */
}

.buttons_profil i {
    padding: 5px;
}

.buttons_profil button:hover {
    background-color: #b21817;
}

.tableau_profil>h3 {
    color: #fff;
}


/* Style de la clochette */
#notification-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #EC221F;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

#notification-icon:hover {
    background: #b21817;
}

/* Style du bandeau des notifications */
#notification-panel {
    position: fixed;
    bottom: 80px;
    /* Au-dessus de la clochette */
    right: 20px;
    width: 300px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    z-index: 1000;
    display: none;
    /* Caché par défaut */
}

#notification-panel h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #EC221F;
    text-align: center;
}

#notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
}

#notification-list li {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#notification-list li .close-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #EC221F;
}

.modifMdp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.modifMdp label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
    text-align: left;
}

.toogleMdpProfil {
    position: relative;
    top: 90%;
    left: 857px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}

.toogleNouveauMdpProfil {
    position: absolute;
    top: 182%;
    left: 857px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}

.toogleConfirmeMdpProfil {
    position: absolute;
    top: 202%;
    left: 857px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}

.toggle-password_modifMdp {
    position: absolute;
    top: 50%;
    right: 142px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}

form label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-sizing: border-box;
}

.modal-content .search {
    display: none;
}



#label {
    color: #fff;
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    z-index: 1000;
}

#modal>div {
    width: 750px;
    background-color: white;
    padding: 50px;
    box-sizing: border-box;
}

#backModal {
    position: absolute;
    left: -100px;
}

#displayModal {
    font-family: "Inknut Antiqua", serif;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    gap: 20px;
    color: #fff;
}

.icons button>i {
    padding-right: 10px;
}



#displayModal:hover {
    color: #EC221F;


}

#closeModal {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 2.2rem;
    gap: 20px;
    color: red;
    margin-left: 298px;
}

#closeModal:hover {
    color: red;
    transform: rotate3d(0, 0, 1, 360deg);
}

div.message {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

/* Positionne la modale à droite */
.modal-criteria {
    display: none;
    position: fixed;
    top: 100px;
    right: 30px;
    width: 300px;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    animation: slideInRight 0.3s ease-in-out;
    height: 500px;
}

/* Animation d’apparition */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.modal.password-criteria .close-btn {
    float: right;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
}

.modal.password-criteria ul {
    padding-left: 20px;
    list-style-type: none;
}

.modal.password-criteria li {
    margin-bottom: 8px;
}

.form-container-mdp {
    max-width: 530px;
    margin: auto;
    margin-top: 200px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container-mdp p {
    text-align: center;
    color: #fff;
}

.form-container-mdp label {
    color: #fff;
}

.form-container-mdp h2 {
    text-align: center;
    color: #fff;
}

.form-container-mdp input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    padding-right: 30px;
}

.form-container-mdp button {
    width: 50%;
    padding: 8px;
    margin-left: 142px;
    box-sizing: border-box;

}

.form-container {
    max-width: 530px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container h2 {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}


.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    padding-right: 30px;
}

/* .form-group span.toogleInscription {
    position: absolute;
    right: 568px;
    transform: translateY(-50%);
    cursor: pointer;
    margin-top: -26px;
    color: black;
}

.form-group span.toogleConfirmInscription {
    position: absolute;
    margin-top: 23px;
    right: 568px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
} */

span #toggleConfirmPassword {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}

.form-group input#btn:hover {
    background-color: #EC221F;
    color: #fff;
    font-size: 1.3rem;
}

.form-group button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #45a049;
}

input:focus {
    outline: none;
    border-color: #b5b4b4;
    background-color: #ccc;
}

.required {
    color: red;
}

.error {
    color: red
}

.error input,
.error textarea {
    border-color: red;
    box-shadow: 2px 2px 2px red;
}

.error label {
    color: black;
}

.modal {
    display: none;
    /* La modale est cachée par défaut */
    position: fixed;
    z-index: 1;
    /* Assurer que la modale est au-dessus de tout */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.modal-content-occasion {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.close-btn {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.show-modal {
    display: block !important;
}


.question-mark {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    background-color: #EC221F;
    color: white;
}

/* Tooltip */
.question-mark::after {
    content: "Info sur le mot de passe";
    visibility: hidden;
    opacity: 0;
    width: 150px;
    background-color: #EC221F;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;

    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-in-out;

    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.question-mark:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Planning interractif */

.calendar {
    width: 80%;
    margin: auto;
    border: 1px solid #ccc;
    padding: 20px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.schedule {
    display: flex;
    flex-direction: column;
}

.day-schedule {
    margin-bottom: 20px;
}

.day-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.hours {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hour {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    width: calc(20% - 10px);
    cursor: pointer;
    color: #fff;
}

.hour:hover {
    background-color: #f0f0f0;
    color: #EC221F;
}

#currentWeek {
    color: #fff;
}


#currentWeekSolidaire {
    color: #fff;
}

.rdv {
    text-align: center;
    margin: 0 auto;
}

.rdv p {
    color: #fff;
}

.rdv_solidaire>h1 {
    color: dodgerblue;
    text-align: center;
    margin: 0 auto;
}

.rdv_solidaire p {
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

button.rdv {
    width: 200px;
    height: 40px;
    background-color: #EC221F;
    color: white;
    border-radius: 45px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;
}

button.rdv:hover {
    background-color: darkred;
    color: white;
}

button.rdv_solidaire {
    width: 200px;
    height: 40px;
    background-color: dodgerblue;
    color: white;
    border-radius: 45px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;
}

button.rdv_solidaire:hover {
    background-color: darkblue;
    color: white;
}

#prevWeekSolidaire {
    width: 200px;
    height: 40px;
    background-color: dodgerblue;
    color: white;
    border-radius: 45px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;


}

#nextWeekSolidaire {
    width: 200px;
    height: 40px;
    background-color: dodgerblue;
    color: white;
    border-radius: 45px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;

}

.hoursSolidaire {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hourSolidaire {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    width: calc(20% - 10px);
    cursor: pointer;
    color: #fff;
}

.hourSolidaire:hover {
    background-color: #f0f0f0;
    color: dodgerblue;
}

/* inscription */

.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    /* Inclut le padding dans la taille totale */
}

.form-wrapper h1 {
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 2px #EC221F;
    -webkit-text-stroke: 0.5px #EC221F;
    font-size: 50px;
    margin-left: 10px;
}

.container {
    padding: 37px;
    border-radius: 8px;
    background-color: #fff;
    width: 400px;
}

.entete {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.container form {
    display: flex;
    flex-direction: column;
}

.container label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.container input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}


.container button {
    padding: 10px;
    background-color: #e63b2e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    /* Assurez que le bouton prend toute la largeur disponible */
}

button:hover {
    background-color: darkred;
}

.checkboxSolidaire {
    display: flex;
    align-items: center;
    gap: 8px;
    /* espace entre la case et le texte */
}

.checkboxSolidaire label {
    margin: 0;
    /* évite les marges par défaut */
}

.checkbox-container {
    text-align: left;
    margin-bottom: 10px;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.button-container button {
    width: 20%;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #e63b2e;
    color: white;
}

.button-container button:hover {
    background-color: darkred;
}

.validationEntete {
    color: white;
    text-shadow: 2px 2px 2px #EC221F;
    -webkit-text-stroke: 0.5px #EC221F;
    font-size: 50px;
    text-align: center;
}

.validationContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    border: 2px solid #EC221F;
    /* Inclut le padding dans la taille totale */
}

/* Style de la modale */

#openLoginModal {
    font-family: "Inknut Antiqua", serif;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    gap: 20px;
    color: #fff;
}

#openLoginModal:hover {
    color: #EC221F;
}

#loginModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    z-index: 1000;
}

#closeLoginModal {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 2.2rem;
    gap: 20px;
    color: red;
    margin-left: 298px;
}

#closeLoginModal:hover {
    color: red;
    transform: rotate3d(0, 0, 1, 360deg);
}

#motPassOublier a {
    text-align: center;
    margin-top: 20px;
    color: black;
    font-size: 15px;
    font-weight: bold;
}

#motPassOublier a:hover {
    color: #EC221F;
}

#loginForm input,
#loginForm input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    font-size: 1em;
}

.modal-content p {
    margin-top: 10px;
    font-size: 14px;
}

.modal_connexion {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}



/* Style du champ mot de passe avec icône */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
}

#btnLogin {
    background-color: #EC221F;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.3rem;
    padding: 10px 20px;
}

#btnLogin:hover {
    background-color: darkred;
}



.containerModification {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 20px;

}

div.form-section {
    width: 48%;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    background-color: #f6f0f0;
}

.form-section input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    font-size: 1em;
}

.form-section select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    font-size: 1em;
}

.btnModification {
    display: flex;
    justify-content: center;
    background-color: #EC221F;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.3rem;
    padding: 10px 20px;
    cursor: pointer;
    align-items: center;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.titreModification {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: white;
    text-shadow: 2px 2px 2px #EC221F;
    -webkit-text-stroke: 0.5px #EC221F;
    font-size: 40px;
    margin-left: 10px;
}

.btnModification:hover {
    background-color: darkred;
}

.btns-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.modalMesRdv,
.modalHistorique {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-mesrdv,
.modal-content-historique {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

div.usersMobile {
    display: none;
}

.modalVehicule-occasion {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modalVehicule {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content-vehicule {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.modal-content-vehicule img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.closeVehicule {
    color: #EC221F;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}

/* Conteneur d'image avec les flèches de navigation */
.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image-container button {
    background: transparent;
    border: none;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.modal-image-container .prev {
    left: 10px;
}

.modal-image-container .next {
    right: 10px;
}

.modal-image-container img {
    width: 80%;
    max-width: 600px;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.modal {
    display: none;
    /* cachée par défaut */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* fond assombri */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
    margin-bottom: 100px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.closebtncross {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: red;
}

.close:hover {
    color: darkred;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 1400px) {
    .form-group span.toogleInscription {
        position: absolute;
        right: 768px;
        transform: translateY(-50%);
        cursor: pointer;
        margin-top: -26px;
        color: black;
    }

    .form-group span.toogleConfirmInscription {
        position: absolute;
        right: 768px;
        margin-top: 23px;
        transform: translateY(-50%);
        cursor: pointer;
        color: black;
    }
}

@media (max-width: 999px) and (min-width: 981px) {
    .form-group span.toogleInscription {
        position: absolute;
        right: 688px;
        /* Tu peux ajuster cette valeur selon ce que tu souhaites */
        transform: translateY(-50%);
        cursor: pointer;
        margin-top: -26px;
        color: black;
    }

    .form-group span.toogleConfirmInscription {
        position: absolute;
        right: 688px;
        margin-top: 23px;
        transform: translateY(-50%);
        cursor: pointer;
        color: black;
    }
}

@media (max-width: 980px) {
    .form-group span.toogleInscription {
        position: absolute;
        right: 568px;
        transform: translateY(-50%);
        cursor: pointer;
        margin-top: -26px;
        color: black;
    }

    .form-group span.toogleConfirmInscription {
        position: absolute;
        right: 568px;
        margin-top: 23px;
        transform: translateY(-50%);
        cursor: pointer;
        color: black;
    }

    th,
    td {
        padding: 10px;
        font-size: 0.8rem;
    }

    .ensemble_revision {
        padding: 15px;
    }

    .prix {
        font-size: 1rem;
    }

    input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }


    .navBurger ul {
        display: flex;
        clear: both;
        flex-direction: column;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .nav_link ul {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        overflow-y: auto;
    }

    .recherche-produits {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        color: #fff;
    }

    .header {
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }

    .search-container {
        display: none;
    }

    .users {
        display: none;
    }

    /* div.usersMobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #333;
        padding: 10px 20px;
        border-radius: 10px;
        width: fit-content;
        margin: 0 auto;
    } */

    div.user-info {
        display: flex;
        align-items: center;
    }

    div.user-info img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        /* Avatar rond */
        margin-right: 10px;
    }

    div.user-info p {
        color: #fff;
        font-size: 1rem;
        margin: 0;
    }

    div.usersMobile .logout-icon {
        color: #fff;
        font-size: 1.5rem;
        text-decoration: none;
        margin-left: 15px;
    }

    div.usersMobile .logout-icon:hover {
        color: #f00;
        /* Changement de couleur au survol */
    }

    .nav_link {
        display: none;
    }


    #iconBurger {
        font-size: 2rem;
        color: #fff;
        float: right;
        position: relative;
        top: -70px;
        right: 27px;
        border: 1px solid #EC221F;
        border-radius: 50%;
        padding: 15px;
        display: block;
    }

    .cards-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        background-color: #D9D9D9;
        border-radius: 10px;
        padding: 10px;
        border: 1px solid black;
        transition: 0.3s ease-in-out;
        margin: 0 auto;
    }

    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        flex-direction: column;
        width: 100%;

    }

    .description_article>h2 {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        color: #fff;
        flex-direction: row;
        font-size: 1.2rem;
    }


    .search input[type="text"] {
        width: 200px;
        height: 30px;
        border-radius: 45px;
        padding: 5px 40px 5px 15px;
        border: 1px solid #EC221F;
        box-shadow: 2px 2px 2px #EC221F;
        font-size: 14px;
        transition: 0.3s;
        margin-left: 40px;
        position: relative;
        top: -50px;
    }

    .search i {
        position: absolute;
        right: 308px;
        margin-top: -37px;
        color: #EC221F;
        font-size: 18px;
        cursor: pointer;
    }

    .ensemble_revision {
        width: 90%;
        margin: 20px;
        padding: 20px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        flex-direction: column;
    }

    .ensemble_revision tr td ul li {
        display: flex;
        flex-direction: column;
        width: 100%;

        table {
            font-size: 0.9rem;
        }

        th,
        td {
            padding: 8px;
            font-size: 1rem;
        }

        .prix {
            font-size: 1rem;
        }
    }

    .button_revision button {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
    }

    .button_revision {
        background-image: url("../image/revision1.png");
        width: auto;
        height: 200px;
    }

    .container_profil {
        flex-direction: column;
        align-items: center;
    }

    .card_profil,
    .table-container_profil {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    #modal>div {
        width: 90%;
    }

    #displayModal {
        font-size: 1.2rem;
    }

    #closeModal:hover {
        font-size: 1.5rem;

    }


    .icons {
        display: none;
        background-color: transparent;
        border-radius: 10px;
        color: white;
        padding: 0px;
        margin: 0px;
        height: 60px;
        margin-right: 10px;
        border: 1px solid transparent;
        line-height: 60px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .icons:hover {
        display: none;
        border: 1px solid #EC221F;
        background-color: #EC221F;
        border-radius: 10px;
        color: white;
        height: 60px;
        line-height: 60px;
        width: 200px;
        padding-left: 50px;
        padding-right: 50px;

    }
}


.badge-vendu {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

.card {
    position: relative;
}

.carousel-container {
    max-width: 80%;
    margin: 50px auto 50px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
}

.carousel-slide {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    width: 80%;
}

.carousel-caption h3 {
    margin: 0 0 10px;
    font-size: 26px;
}

.carousel-caption p {
    margin: 5px 0;
    font-size: 16px;
}

.carousel-caption strong {
    color: #ffdd57;
    font-size: 30px;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-buttons button {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.carousel-buttons button:hover {
    background: none;
    color: white;
}

@media (max-width: 600px) {
    .btnModification {
        width: 100%;
        /* bouton plein largeur sur petit écran */
        font-size: 1.1rem;
        /* un peu plus petit */
        padding: 8px 15px;
        position: relative;
        color: transparent;
        /* cache le texte original */
    }

    /* Affiche le texte court via ::after */
    .btnModification::after {
        content: attr(data-short);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        white-space: nowrap;
    }

    .card_profil {
        width: 200px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        padding: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 200px;
        transform: translateX(-50px);
    }

    .buttons_profil {
        justify-content: center;
        margin: 0 auto;
        margin-top: 20px;
        margin-left: 0;
    }
}

.carousel-container {
    margin: 50px 60px;
}

.carousel-buttons button {
    background: none;
    border: none;
    color: white;
    font-size: 34px;
    cursor: pointer;
    padding: 18px;
    line-height: 0;
}

.carousel-caption {
    padding: 10px 15px;
    font-size: 10px;
}

.carousel-caption h3 {
    font-size: 20px;
}

.carousel-caption strong {
    font-size: 16px;
}

.carousel-item img {
    height: 300px;
}

.description {
    margin: 50px 15px;
    font-size: 20px;
}



@media (max-width: 450px) {
    .description {
        margin: 50px 15px;
        font-size: 20px;
    }

    .ensemble_revision {
        width: 90%;
        margin: 20px;
        padding: 20px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        flex-direction: column;
    }

    .ensemble_revision.details th,
    ul {
        display: none;
    }
}