/*-------------------------- MAIN ---------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Radio+Canada+Big:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

.playfairFont {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: bold;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: sans-serif;
  font-size: 1.1rem;
  background-color: #232427;
}

h1 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

h2 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin-top: 20px;
  margin-left: 20px;
  font-size: 1.3rem;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.preload-hidden {
  display: none;
}

.toHide {
  z-index: 2;
}

.btn {
  border-radius: 2px;
}

.bor-rad5 {
  border-radius: 5px;
}

.text-p {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.no-underline {
  text-decoration: none;
}

.text-dark-blue {
  color: #3d424e;
}

.text-grey {
  color: #929292;
}

.text-green {
  color: #198754;
}

.text-bold {
  font-weight: bold;
}

.text-red-bold {
  color: red;
  font-weight: bold;
}

.text-dark-grey-bold {
  color: #838383;
  font-weight: bold;
}

.border-grey:hover {
  border: 1px solid #b0b0b0;
}
.border-grey:focus {
  border: 1px solid #b0b0b0;
}

.justify-left {
  margin-left: 15vw;
}

.font-14px {
  font-size: 14px;
}

.cover {
  object-fit: cover;
}

.maxWidthLimit {
  max-width: 1400px;
}

.spacer {
  width: 100%;
  height: 100px;
}

.spacer50 {
  width: 100%;
  height: 50px;
}

.spacerMobile {
  display: none;
}

.scaleBigHover:hover {
  transform: scale(1.05);
}

.borderHover:hover {
  border: 1px solid white;
}

.error-message {
  color: red;
  font-size: 0.875em;
  margin-top: 0.25em;
}

.message {
  background-color: #fdfdfd;
}

.message:hover {
  background-color: #eef5fa;
}

/*  --------------------  SIDEBAR accueil_admin.php ; accueil_employes.php -----------------*/
.fa {
  position: relative;
  display: table-cell;
  width: 50px;
  height: 36px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
}

.main-menu:hover,
nav.main-menu.expanded {
  width: 265px;
  overflow: visible;
}

.main-menu {
  background: #ffffff;
  border-right: 1px solid #b7b7b7;
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  width: 81px;
  overflow: hidden;
  -webkit-transition: width 0.05s linear;
  transition: width 0.05s linear;
  -webkit-transform: translateZ(0) scale(1, 1);
  z-index: 1000;
}

.main-menu > ul {
  margin: 0 0 20px 0;
}

.main-menu li {
  position: relative;
  display: block;
  width: 265px;
}

.main-menu li > a {
  position: relative;
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
  color: #000000;
  font-family: arial;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  -webkit-transform: translateZ(0) scale(1, 1);
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.main-menu .nav-icon {
  position: relative;
  display: table-cell;
  width: 60px;
  height: 36px;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
}

.main-menu .nav-text {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  width: 190px;
  font-family: "Titillium Web", sans-serif;
}

.main-menu > ul.logout {
  position: absolute;
  margin: 20px 0;
  left: 0;
  bottom: 0;
}

.no-touch .scrollable.hover {
  overflow-y: hidden;
}

.no-touch .scrollable.hover:hover {
  overflow-y: auto;
  overflow: visible;
}

a:hover,
a:focus {
  text-decoration: none;
}

nav.main-menu {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

nav.main-menu ul,
nav.main-menu li {
  outline: 0;
  margin: 0 -1px;
  padding: 0;
}
.main-menu li:hover > a,
nav.main-menu li.active > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,
.dashboard-page nav.dashboard-menu ul li.active a {
  color: #292929;
  background-color: #eaf9ff;
}

ul.sidebarUL li a {
  border-radius: 15px;
  margin: 0 7px 0 10px;
}
ul.logout li a {
  border-radius: 15px;
  margin: 0 7px 0 10px;
}

ul.logout:hover .logoutI i {
  color: rgb(28, 168, 214) !important;
}

li.home:hover .homeI i {
  color: rgb(28, 168, 214) !important;
}

li:hover svg path {
  fill: rgb(28, 168, 214) !important;
}
ul.sidebarUL li a:hover {
  color: rgb(28, 168, 214) !important;
}
ul.logout li a:hover {
  color: rgb(28, 168, 214) !important;
}

/*  --------------------  Styles modernes pour la page ManageEmployes.php -----------------*/

/* Styles modernes pour la page de gestion des employés */
.page-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.page-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.section-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.section-card:hover {
  transform: translateY(-5px);
}

.section-title {
  color: #34495e;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.employe-form input[type="email"],
.employe-form input[type="password"] {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  width: 100%;
  max-width: 350px;
  transition: all 0.3s ease;
}

.employe-form input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.employe-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.employe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Style moderne pour les toggle switches */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sliderToggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.sliderToggle:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .sliderToggle {
  background: linear-gradient(45deg, #3498db, #2980b9);
}

input:checked + .sliderToggle:before {
  transform: translateX(26px);
}

.function-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.function-label {
  font-weight: 500;
  color: #2c3e50;
  margin: 0;
}

.password-group {
  position: relative;
  max-width: 350px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #95a5a6;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #3498db;
}

/*  --------------------  CHECKBOXES ManageCars.php -----------------*/

/* Masquer la checkbox par défaut */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Créer un élément checkmark */
.custom-checkbox .checkmark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
}

/* Ajouter un effet au survol */
.custom-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* Lorsque la checkbox est cochée, changer le fond et afficher le checkmark */
.custom-checkbox input:checked ~ .checkmark {
  background-color: red;
  border-color: red;
}

/* Créer l'effet de la coche */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Afficher la coche lorsqu'elle est cochée */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style de la coche */
.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/*----------------- LIGHTBOX (DetailedCar.php) --------------------*/

#lightbox {
  position: fixed;
  top: calc(5vh + 50px) !important;
}
.img-lightbox {
  cursor: zoom-in;
}
a.lb-prev {
  opacity: 1 !important;
}
a.lb-next {
  opacity: 1 !important;
}

/*----------------- COL-MAIN --------------------*/
.colMain {
  width: 100%;
}

/*----------------- TOP-HEADER --------------------*/

.top-header {
  position: relative;
  z-index: 2;
}

.logo-proxi-cash {
  height: auto;
  max-height: 100px;
  max-width: 20vw;
  object-fit: cover;
  transition: 0.1s;
}

.logo-proxi-cash:hover {
  transform: scale(1.03);
}

.LogoTopHeader {
  display: flex;
  justify-content: flex-end;
}

.contactHeader {
  font-size: 20px;
  justify-content: center !important;
}

.logoHeader {
  font-size: 30px;
  margin-right: 20px;
}

.logoParrot {
  width: 100vw;
  height: 120px;
  max-height: 230px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
}

.tableContact {
  width: 100%;
}

.contact {
  float: right;
}

.facebook {
  height: 30px;
}

/*--------------------- HEADER ----------------------*/

.titleHeader {
  color: white;
  width: 100%;
  font-size: calc(20px + 1.2vw);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 1px 1px 15px rgba(0, 0, 0, 1);
}

.marginHeader {
  margin-top: 15px;
  margin-bottom: 15px;
}

.paddingHeader {
  padding-left: 15px;
  padding-right: 15px;
}
/*-------------------------- NAVABAR ----------------------------*/

nav {
  background-color: #fff;
  font-size: 15px;
}

.navbar {
  z-index: 1;
  height: 71px;
  width: 100vw;
  padding: 0;
  border-top: 1px solid rgb(255, 255, 255);
  border-bottom: 1px solid rgb(255, 255, 255);
  box-shadow: 0 0 10px #898989;
}

.navbar-nav {
  border-bottom: 1px solid rgb(201, 201, 201);
  text-align: center;
}

.nav-item {
  border-top: 1px solid rgb(255, 255, 255);
}

.nav-item a {
  transition: 0.1s ease-in-out;
  border-top: 1px solid rgb(255, 255, 255);
}

.nav-link {
  color: rgb(31, 31, 31);
  padding: 25px 35px 21px 35px !important;
  font-weight: bolder;
}

.nav-link:hover {
  color: rgb(255, 255, 255);
}

.nav-link-active {
  color: grey;
}

.navbar-toggler {
  margin-top: 13px;
  margin-right: 12px;
  border-radius: 2px;
}

.nav-link:focus {
  color: black;
}

.nav-link:hover {
  color: rgb(255, 255, 255);
}

.dropdown-menu {
  font-size: 1rem;
  height: 180px;
  width: 300px;
  border-radius: 0;
}

.divider {
  border: 1px solid rgb(245, 245, 245);
  height: 1px;
  width: 100%;
}

.text-li-services {
  margin-left: 10px;
  color: rgb(153, 153, 153);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1rem;
}

.pointer {
  cursor: pointer;
}

.panel-title {
  padding-top: 15px;
  font-size: 1.2rem;
  height: 50px;
  width: 96%;
  margin: 0, 0, 30px, 0;
  border: 1px solid rgb(218, 218, 218);
}

/*----------------------------- SLIDER -----------------------------------*/

.slider {
  position: relative;
  overflow: hidden;
  height: 750px;
  width: 100%;
  object-fit: cover;
}

.slide1,
.slide2,
.slide3,
.slide4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px;
  object-fit: cover;
}

.imgSlide {
  width: 100%;
  height: 750px;
  object-fit: cover;
}

.slide1 {
  animation: fade1 20s ease infinite;
}

.slide2 {
  animation: fade2 20s ease infinite;
}

.slide3 {
  animation: fade3 20s ease infinite;
}

.slide4 {
  animation: fade4 20s ease infinite;
}

@keyframes fade1 {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  /* Début de l'animation de slide2 après 5 secondes */
  100% {
    opacity: 1;
  }
}

@keyframes fade2 {
  /* Attendre 5 secondes avant de commencer */
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  /* Début de l'animation de slide3 après 5 secondes */
  100% {
    opacity: 0;
  }
}

@keyframes fade3 {
  /* Attendre 10 secondes avant de commencer */
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  /* Début de l'animation de slide4 après 5 secondes */
  100% {
    opacity: 0;
  }
}

@keyframes fade4 {
  /* Attendre 15 secondes avant de commencer */
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  /* Revenir à la première diapositive après 30 secondes */
  100% {
    opacity: 0;
  }
}

/*-------------------- introQuiSommesNous.php ----------------------------*/

.introQuiSommesNous {
  position: relative;
  background-color: #3d424e;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  border-radius: 5px;
  overflow: hidden;
}

.imgIntroQuiSommesNous {
  position: absolute;
  top: 0px;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  animation: zoomInOut 40s infinite ease-in-out;
}

.imgTopLeft {
  position: absolute;
  z-index: 2;
  width: 400px;
  top: -80px;
  left: -6vw;
}

.imgBottomRight {
  position: absolute;
  z-index: 2;
  width: 500px;
  bottom: -120px;
  right: -9vw;
}

/*-------------------- MODULE-NEUF ----------------------------*/

.card-neuf {
  width: 35vw;
  height: auto;
  background-color: #e8e8e8;
  transition: 0.2s ease-in-out;
  text-decoration: none;
}

/* .card-neuf:hover {
  background-color: #ffd814;
} */

a.anchorCards {
  position: relative;
  overflow: hidden;
  color: black;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 90%;
  transition: transform 0.2s ease-in-out;
}

a.anchorCards:hover {
  transform: scale(1.05); /* Augmente l'échelle au survol */
}
a.anchorCards:hover .animationHidden {
  left: -10vw;
  opacity: 1;
}

.animationHidden {
  position: absolute;
  top: 0;
  left: -80vw;
  height: 100%;
  width: 170%;
  margin: 0 !important;
  padding: 0 !important;
  transform: skew(-28deg);
  opacity: 0;
  transition: 0.5s ease-in-out;
}

.logoCardNeufRenault {
  width: 80px;
  height: auto;
}

.logoCardNeufDacia {
  width: 150px;
  height: auto;
}

.img-vehiculeNeuf {
  position: relative;
  top: 0;
  right: 50px;
  width: 100%;
}

/*-------------------- BUTTON BACKTOTHETOP ----------------------------*/

#backToTheTop {
  z-index: 3;
  background: transparent;
  position: fixed;
  bottom: 5%;
  right: 5%;
  border: none;
  display: none;
  font-size: 2rem;
}

#upArrow {
  height: 50px;
  width: 50px;
}

/*-------------------- SERVICES -----------------*/

.imgServicesAccueil {
  width: 100%;
  height: 250px;
}
.colServicesOverflow {
  transition: 0.3s ease-in-out;
  overflow: hidden;
}
.colServicesOverflow:hover {
  filter: brightness(0.7);
}
.colServices {
  transition: 0.3s ease-in-out;
  overflow: hidden;
}
.colServices:hover {
  transform: scale(0.98);
}
.colServices img {
  transition: 0.3s ease-in-out;
}
.colServices:hover img {
  transform: scale(1.05);
}

/*-------------------- SERVICES -----------------*/

.colAvis1 {
  position: relative;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
}
.colAvis2 {
  position: relative;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
}

.imgClient {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px 0 0 10px;
  transform: scale(1.01);
  animation: zoomInOut 25s infinite ease-in-out;
}

@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1.01); /* Dézoom */
  }
  50% {
    transform: scale(1.3); /* Zoom */
  }
}

.traitAvis {
  z-index: 2;
  height: 20px;
  width: 400px;
  position: absolute;
  top: 80px;
  left: -150px;
  transform: rotateZ(-45deg);
}

.traitAvis2 {
  z-index: 2;
  height: 20px;
  width: 400px;
  position: absolute;
  top: 25px;
  left: -150px;
  transform: rotateZ(-45deg);
}

.traitAvis3 {
  height: 20px;
  width: 400px;
  position: absolute;
  bottom: 115px;
  right: -175px;
  transform: rotateZ(-45deg);
}

.traitAvis4 {
  height: 20px;
  width: 400px;
  position: absolute;
  bottom: 60px;
  right: -180px;
  transform: rotateZ(-45deg);
}

/*--------------------HAORAIRES AND MAPS -----------------*/

.p-horaires {
  margin-top: 20px;
  margin-left: 20px;
  font-size: 1.1rem;
}

.trait {
  margin-left: 20px;
  border: 1px solid red;
  height: 1px;
  width: 140px;
}

.trait2 {
  margin-left: 58px;
  height: 1px;
  width: 140px;
}
.trait3 {
  margin-left: 47px;
  height: 1px;
  width: 150px;
}
.trait4 {
  margin-left: 58px;
  height: 1px;
  width: 200px;
}
.trait5 {
  margin-left: 58px;
  height: 1px;
  width: 315px;
}

/*------------------------- FOOTER -----------------------*/

.footer {
  height: 130px;
  width: 100%;
}

.footer-copyright {
  background-color: #232427;
}

.footer-copyright a:hover {
  color: #f1f1f1;
}

.bi-telephone-footer {
  color: white;
}

.logoFooter {
  height: auto;
  max-height: 100px;
  max-width: 20vw;
  object-fit: cover;
}

.p-footer {
  margin-top: 15px;
}

.row-bottom {
  height: 60px;
}

/*----- ANIMATION TEMPS DE CHARGEMENT ---------*/

.loading {
  display: none;
}

.loading-animation {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #f1f1f1;
  border-bottom: 2px solid #727272;
  border-left: 4px solid #505050;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*---------------- PAGINATION de recherche.php-------------------*/

.page-link {
  cursor: pointer;
}
.page-item {
  cursor: pointer;
}
.paginationCustom {
  justify-content: center;
}
ul.paginationCustom {
  text-decoration: none;
  display: inline-flex;
}
ul.paginationCustom li {
  text-decoration: none;
  display: inline-flex;
  margin: 0 1px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: 1px solid #dbdbdb;
  border-right: none;
}
ul.paginationCustom li:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

ul.paginationCustom li:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 1px solid #dbdbdb;
}

/*------------------BUTTONS CAROUSEL ---------------------*/

.img-vehicule {
  position: relative;
  top: 0;
  right: 50px;
  width: 100%;
}

.carousel-item {
  width: 100% !important;
}

.imgCarousel {
  width: 100%;
  height: 30vw;
  object-fit: cover;
  object-position: center;
}

.titleCarousel {
  position: absolute;
  top: 20%;
  left: 5%;
  z-index: 1;
  color: white;
  font-size: 2.2vw;
  width: 15vw;
}

#previous,
#next {
  width: auto;
  background-color: #85858544;
}

.catalogue {
  width: 70%;
  height: 65px;
  transition: 0.4s ease-in-out;
}

/*------ catalogue.php ; detailedCar.php ; vehicleList.php ; recherche.php ------*/

#marque,
#modele,
#prix,
#kilometres,
#annee,
#carburant,
#boite_de_vitesse,
#tri :hover {
  cursor: pointer;
}

.colRechercher {
  justify-content: end;
}

.colFiltrer {
  justify-content: start;
}

.pageCatalogue-section {
  background-color: #fafafa;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pageCar-section {
  background-color: #fafafa;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.filters-section {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-template-rows: auto auto 1fr;
}

.filters-grid > div:nth-child(9) {
  grid-column: span 1; /* Ces éléments occuperont une colonne */
  justify-self: end; /* Centrer les deux derniers éléments */
}
.filters-grid > div:nth-child(10) {
  grid-column: span 1; /* Ces éléments occuperont une colonne */
  justify-self: start; /* Centrer les deux derniers éléments */
}

/* Ce qui suit aligne les 2 derniers éléments au centre horizontalement sur la 3ème ligne */
.filters-grid > div:nth-child(9) {
  grid-column: 2 / 3; /* Positionne le 9ème élément dans la 2ème colonne de la troisième ligne */
}

.filters-grid > div:nth-child(10) {
  grid-column: 3 / 4; /* Positionne le 10ème élément dans la 3ème colonne de la troisième ligne */
}

.filter-item {
  position: relative;
}

.filter-select {
  width: 100%;
  padding: 0.8rem 1rem;
  padding-right: 2.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  appearance: none;
  font-size: 0.95rem;
  color: #2c3e50;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.filter-select:hover {
  border-color: #3498db;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
  pointer-events: none;
  transition: all 0.3s ease;
}

.filter-select:hover + .select-icon,
.filter-select:focus + .select-icon {
  color: #3498db;
}

.filter-select option {
  padding: 10px;
  background: white;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .filters-section {
    padding: 1rem;
  }

  .filters-grid {
    display: grid;
    grid-template-columns: 1fr !important; /* Une seule colonne, avec !important pour forcer la règle */
    width: 100%; /* S'assurer que la grille occupe toute la largeur */
    gap: 0.5rem;
  }

  .filters-grid > div {
    grid-column: span 1 !important; /* Chaque élément occupe une seule colonne, avec !important */
    width: 100%; /* S'assurer que chaque élément prend toute la largeur disponible */
  }

  .filter-select {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filters-section {
  animation: fadeInUp 0.5s ease;
}

.logoInfoCar {
  height: 25px;
  margin-right: 10px;
}

.bgGrey {
  background-color: #e5e5e5;
  border: 1px solid rgb(224, 224, 224);
}

.filtres,
.vehicules,
.connect {
  background-color: #fafafa;
  border: 1px solid rgb(224, 224, 224);
}

.containerCars {
  display: inline-block;
  max-width: 410px;
  border-radius: 15px;
  padding: 10px;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.shadow {
  box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.1) !important;
}

.min-h60 {
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#rechercher {
  border-radius: 50px;
  height: 62px;
  width: 190px;
}

#trier {
  width: 130px;
}

#reinitialiserLesFiltres {
  width: 190px;
  border-radius: 50px;
}

#img-car {
  transition: filter 0.3s;
}

#text-car {
  background-color: #ffffff;
  transition: 0.2s ease-in-out;
}
#text-car:hover {
  transform: translateY(-5px);
}
#text-car:hover .detailsCar {
  background-color: #fbfeff; /* Bleu clair */
  transition: background-color 0.3s ease; /* Pour une transition douce */
}

/*------------------ cashback.php ---------------------*/

.logo-cashback {
  height: 150px;
}

/*----------------- carRegistration.php -------------------*/

.certificate {
  margin-top: 50px;
  background-color: #f1f1f1;
  border: 1px solid rgb(231, 231, 231);
  max-width: 400px;
}

/*------------ detailedCar.php ; contact.php -------------*/

.detailsCar {
  background-color: #fff;
  color: #5e5e5e;
  font-weight: bold;
  border: 1px solid rgb(197, 197, 197);
}

.imgDetailedCar {
  width: 100%;
}
.share-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9;
  width: 50px;
  height: 50px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  opacity: 0.7;
}

.share-button img {
  width: 25px;
  height: 25px;
  margin-right: 5px;
}

.share-button:hover {
  opacity: 1;
}

input.form-control {
  background-color: #f9f9f9;
}

textarea.form-control {
  background-color: #f9f9f9;
}

/*------------------- index.php ; addComment.php --------------------*/

.comment {
  text-decoration: none;
  color: #fafafa;
  height: 40px;
  width: 230px;
  border-radius: 2px;
  transition: 300ms;
}
.commentBig {
  text-decoration: none;
  color: #fafafa;
  height: 40px;
  width: 280px;
  border-radius: 2px;
  transition: 300ms;
}

#nomAddComment,
#emailAddComment {
  max-width: 400px;
}

#noteAddComment {
  width: 250px;
}

#commentaireAddComment {
  height: 200px;
}

#G-mapsIndex {
  width: 100%;
  height: 500px;
}

#G-maps {
  width: 100%;
  height: 500px;
}

/*-------- allServices.php ; accueil_admin.php ----------*/

#textEquipements {
  width: 100%;
}
.garageHeader {
  display: flex;
  justify-content: center;
}
.titleGarage {
  font-family: "Roboto";
  font-size: calc(28px + 1.2vw);
}

.allServices-p {
  max-width: 300px;
  margin: auto;
  padding-bottom: 20px;
}

.containerAllServices {
  background-color: #f1f1f1;
}

.imgServices {
  width: 100%;
  height: 300px;
}

.colAdmin {
  min-height: 250px;
}

.colAdminGestion {
  overflow: hidden;
  height: 300px;
  transition: 0.2s ease-in-out;
}
.colAdminGestion:hover .imgGestion {
  transform: scale(1.1);
}

.imgGestion {
  height: auto;
  min-height: 100%;
  width: 100%;
  min-width: 35vw;
  object-fit: cover;
  filter: brightness(0.6);
  transition: 0.2s ease-in-out;
}

.titleGestion {
  position: absolute;
  top: 120px;
  margin-left: 0 !important;
}

.telColumn {
  height: 311px;
}

#address,
#paragraphe {
  width: 100%;
}

#phone,
#titre {
  width: 400px;
}

/*------------------- ACCUEIL_ADMIN.php ---------------------*/

/* Styles pour la page d'administration */
.admin-header {
  background: linear-gradient(45deg, #2c3e50, #3498db);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-title {
  color: white;
  margin: 0;
  font-weight: 600;
}

.admin-header h2 {
  color: white;
  margin: 0;
  font-weight: 600;
}

.admin-header .btn-logout {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admin-header .btn-logout:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.admin-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 300px;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.admin-card:hover img {
  transform: scale(1.1);
}

.admin-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.admin-card:hover .card-overlay {
  padding-bottom: 2.5rem;
}

.admin-card .card-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.admin-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem;
}

/* Version mobile */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-title {
    margin-bottom: 1rem;
  }

  .logout-form {
    width: 100%;
  }

  .btn-logout {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animation de transition */
.admin-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Délai d'animation pour chaque carte */
.admin-card:nth-child(1) {
  animation-delay: 0.1s;
}
.admin-card:nth-child(2) {
  animation-delay: 0.2s;
}
.admin-card:nth-child(3) {
  animation-delay: 0.3s;
}
.admin-card:nth-child(4) {
  animation-delay: 0.4s;
}
.admin-card:nth-child(5) {
  animation-delay: 0.5s;
}
.admin-card:nth-child(6) {
  animation-delay: 0.6s;
}
.admin-card:nth-child(7) {
  animation-delay: 0.7s;
}
.admin-card:nth-child(8) {
  animation-delay: 0.8s;
}

/*------------------- ACCUEIL_EMPLOYE.php ---------------------*/

/* Styles pour la page employé */
.employe-header {
  background: linear-gradient(45deg, #2c3e50, #3498db);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-title {
  color: white;
  margin: 0;
  font-weight: 600;
}

.employe-header h2 {
  color: white;
  margin: 0;
  font-weight: 600;
}

.employe-header .btn-logout {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.employe-header .btn-logout:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.employeFunction-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.employeFunction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.employeFunction-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.employeFunction-card:hover img {
  transform: scale(1.1);
}

.employeFunction-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transition: all 0.3s ease;
}

.employeFunction-card:hover .card-overlay {
  padding-bottom: 2.5rem;
}

.employeFunction-card .card-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.employe-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem;
}

/* Version mobile */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-title {
    margin-bottom: 1rem;
  }

  .logout-form {
    width: 100%;
  }

  .btn-logout {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .employe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .employe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delay for each card */
.employeFunction-card:nth-child(1) {
  animation-delay: 0.1s;
}
.employeFunction-card:nth-child(2) {
  animation-delay: 0.2s;
}
.employeFunction-card:nth-child(3) {
  animation-delay: 0.3s;
}
.ememployeFunctionploye-card:nth-child(4) {
  animation-delay: 0.4s;
}
.employeFunction-card:nth-child(5) {
  animation-delay: 0.5s;
}
.employeFunction-card:nth-child(6) {
  animation-delay: 0.6s;
}
.employeFunction-card:nth-child(7) {
  animation-delay: 0.7s;
}

/*------------------- MANAGEIDENTITY.php ---------------------*/

/* Styles pour la page de gestion d'identité */
.page-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.page-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.form-control-modern {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background: white;
}

.form-label-modern {
  font-weight: 500;
  color: #34495e;
  margin-bottom: 0.5rem;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.btn-modern.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-modern.btn-secondary {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  border: none;
}

.btn-modern.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127, 140, 141, 0.3);
}

.identity-form {
  max-width: 500px;
  margin: 0 auto;
}

textarea.form-control-modern {
  min-height: 120px;
}

.return-button {
  position: relative;
}

/* Animation d'entrée */
.page-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.page-section:nth-child(1) {
  animation-delay: 0.1s;
}
.page-section:nth-child(2) {
  animation-delay: 0.2s;
}
.page-section:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*------------------- MANAGEWEBSITE.php ---------------------*/

/* Styles pour la page de design */
.design-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.design-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.color-picker-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.color-picker-group label {
  font-weight: 500;
  color: #34495e;
}

.color-picker-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}

input[type="color"] {
  width: 150px;
  height: 150px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  padding: 0;
  background: none;
  box-shadow: 1px 1px 10px lightgrey;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-upload {
  border: 2px dashed #3498db;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.logo-upload:hover {
  border-color: #2980b9;
  background: rgba(52, 152, 219, 0.05);
}

.preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btnManageWebsite {
  max-width: 180px;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Animation d'entrée */
.design-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delay pour chaque section */
.design-section:nth-child(1) {
  animation-delay: 0.1s;
}
.design-section:nth-child(2) {
  animation-delay: 0.2s;
}
.design-section:nth-child(3) {
  animation-delay: 0.3s;
}
.design-section:nth-child(4) {
  animation-delay: 0.4s;
}

/*------------------- MANAGEWELCOMEPAGE.php ---------------------*/

/* Styles pour la page de gestion des images */
.image-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.image-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-title {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.warning-message {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.upload-zone {
  border: 2px dashed #3498db;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  background: rgba(52, 152, 219, 0.05);
}

.upload-zone:hover {
  background: rgba(52, 152, 219, 0.1);
  border-color: #2980b9;
}

.preview-container {
  margin: 1.5rem 0;
}

.preview-container img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.btn-modern.btn-secondary {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.subtitle {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Animation d'entrée */
.image-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delay pour chaque section */
.image-section:nth-child(1) {
  animation-delay: 0.1s;
}
.image-section:nth-child(2) {
  animation-delay: 0.2s;
}
.image-section:nth-child(3) {
  animation-delay: 0.3s;
}

.file-input-wrapper {
  position: relative;
  display: inline-block;
  margin: 1rem 0;
}

.file-input-wrapper input[type="file"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-label {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/*------------------- MANAGESERVICESPAGE.php ---------------------*/

/* Styles pour la page de gestion des services */
.services-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.service-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-control-modern {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-description {
  color: #7f8c8d;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.char-counter {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: right;
}

.image-preview-container {
  margin: 1rem 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.image-preview {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.section-title {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

/* Animation des services */
.service-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

/*------------------- MODIFIER_SERVICE.php ---------------------*/

/* Styles pour la page de modification de service */
.edit-form-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  transition: all 0.3s ease;
}

.edit-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.page-title {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-control-modern {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #34495e;
  font-weight: 500;
}

.char-counter {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-align: right;
  margin-top: 0.5rem;
}

.image-upload-zone {
  border: 2px dashed #3498db;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-upload-zone:hover {
  background: rgba(52, 152, 219, 0.05);
  border-color: #2980b9;
}

.image-preview {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-secondary {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

textarea.form-control-modern {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

/*------------------- MESSAGESPLACEADMIN.php ---------------------*/

/* Styles pour la page de messages */
.messages-container {
  padding: 10px;
  min-height: 60vh;
}

.message-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.message-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.message-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.message-email {
  color: #3498db;
}

.message-phone {
  color: #7f8c8d;
}

.message-subject {
  font-weight: 500;
  color: #336394;
  margin-bottom: 1rem;
}

.message-value {
  color: #2c3e50;
}

.message-content {
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.message-date {
  color: #95a5a6;
  font-size: 0.9rem;
  text-align: right;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern.btn-secondary {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-title {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.no-messages {
  text-align: center;
  padding: 3rem;
  color: #7f8c8d;
  background: rgba(236, 240, 241, 0.5);
  border-radius: 15px;
  margin-top: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-card:nth-child(1) {
  animation-delay: 0.1s;
}
.message-card:nth-child(2) {
  animation-delay: 0.2s;
}
.message-card:nth-child(3) {
  animation-delay: 0.3s;
}

/*------------------- MANAGEREVIEWS.php ---------------------*/

/* Styles pour la page de gestion des témoignages */
.reviews-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.reviews-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.review-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
  border-bottom: 2px solid #eee;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.review-content {
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-rating {
  color: #f1c40f;
  font-size: 1.2rem;
  margin: 1rem 0;
}

.review-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  border: none;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-control-modern {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.rating-select {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  width: 200px;
  margin: 0 auto;
}

.info-label {
  font-weight: 600;
  color: #34495e;
  margin-right: 0.5rem;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.review-card:nth-child(1) {
  animation-delay: 0.1s;
}
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}
.review-card:nth-child(3) {
  animation-delay: 0.3s;
}

/*------------------- MANAGECARS.php ---------------------*/

/* Styles pour la gestion des véhicules */
.vehicle-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.vehicle-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.vehicle-form {
  max-width: 1200px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: #34495e;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control-modern {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.vehicle-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.vehicle-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vehicle-image {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.vehicle-info {
  padding: 1rem;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.vehicle-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.vehicle-table th {
  background: #f8f9fa;
  padding: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.vehicle-table td {
  padding: 1rem;
  background: white;
  vertical-align: middle;
}

.vehicle-table tr:hover td {
  background: #f8f9fa;
}

.custom-checkbox {
  position: relative;
  cursor: pointer;
  padding-left: 35px;
  margin-bottom: 0;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #ff2121;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.image-preview img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-preview img:hover {
  transform: scale(1.05);
}

/* Version mobile */
@media (max-width: 768px) {
  .custom-checkbox {
    padding: 20px 0;
  }
}

/*------------------- MODIFYONECAR.php ---------------------*/

/* Styles pour la page de modification de véhicule */
.edit-car-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 500;
  color: #34495e;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control-modern {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.image-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-actions {
  padding: 1rem;
  text-align: center;
}

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-modern.btn-primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
}

.btn-modern.btn-danger {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.upload-zone {
  border: 2px dashed #3498db;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  background: rgba(52, 152, 219, 0.05);
  border-color: #2980b9;
}

.preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.preview-container img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/*------------------- DETAILED_CAR.php ---------------------*/

/* Styles pour la page détaillée du véhicule */

.pageSlide-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.car-detail-section {
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Carousel */
.car-carousel {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.car-carousel .carousel-item img {
  height: 540px;
  object-fit: cover;
  width: 100%;
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Informations véhicule */
.car-info-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 540px;
  transition: all 0.3s ease;
}

.car-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spec-label {
  color: #7f8c8d;
  width: 150px;
  font-weight: 500;
}

.spec-value {
  color: #2c3e50;
  font-weight: 600;
}

.car-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2ecc71;
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Équipements */
.equipment-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem 1rem;
}

.equipment-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.equipment-list {
  line-height: 1.8;
}

/* Formulaire de contact */
.contact-form-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 1rem;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.form-control-modern {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-label {
  font-weight: 500;
  color: #34495e;
  margin-bottom: 0.5rem;
}

/* Share button */
.share-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.share-button:hover {
  transform: scale(1.1);
  background: white;
}

.car-details-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transition: all 0.3s ease;
}

.car-details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.car-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #2c3e50;
  padding-bottom: 10px;
}

.car-year {
  font-weight: 300;
  color: #7f8c8d;
  margin-left: 0.5rem;
}

.specs-grid {
  display: grid;
  gap: 9px;
}

.spec-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.spec-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.spec-icon {
  color: #3498db;
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 24px;
}

.spec-content {
  display: flex;
}

.spec-label {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.spec-value {
  color: #2c3e50;
  font-weight: 600;
}

.price-section {
  padding-top: 10px;
}

.price-content {
  text-align: center;
}

.price-label {
  color: #7f8c8d;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.price-value {
  font-size: 1.7rem;
  font-weight: 700;
  color: #27ae60;
}

@media (max-width: 768px) {
  .car-details-card {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .spec-item:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .car-carousel .carousel-item img {
    height: 300px;
  }

  .equipment-list {
    columns: 1;
  }
}

/*------------------- Qui Sommes-Nous.php ---------------------*/

.quiSommesNous {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.marginLogoGarage {
  margin-left: 45px;
  margin-right: 45px;
}

/* ------------------ MEDIA QUERIES ------------------ */
/*--------------------- MAX WIDTH ------------------*/

@media screen and (max-width: 1600px) {
  .maxWidthLimit {
    background-color: rgba(0, 0, 0, 0) !important;
  }

  .imgTopLeft {
    position: absolute;
    z-index: 3;
    width: 400px;
    top: -80px;
    left: 0vw;
  }

  .imgBottomRight {
    position: absolute;
    z-index: 3;
    width: 500px;
    bottom: -120px;
    right: -4vw;
  }
}

@media screen and (max-width: 1400px) {
  .logoMarque {
    display: none;
  }
  .carousel-item {
    width: 100% !important;
  }
  .colInfoExt {
    min-height: 409px !important;
  }
  .colInfoInt {
    min-height: 380px !important;
  }
  .imgTopLeft {
    position: absolute;
    z-index: 3;
    width: 300px;
    top: -80px;
    left: 0vw;
  }

  .imgBottomRight {
    position: absolute;
    z-index: 3;
    width: 375px;
    bottom: -120px;
    right: -4vw;
  }
}

@media screen and (max-width: 1199px) {
  .toHide {
    display: none;
  }
  .navbar-toggler {
    height: 40px;
    transform: translate(-5px, -8px);
  }
  .navbar-toggler:focus {
    background-color: #fff;
  }
  .navbar-collapse {
    z-index: 2 !important;
    background-color: #ffffff;
    position: relative;
    top: -6px;
  }
  .nav-link {
    padding: 22px !important;
  }
  .carousel-item {
    width: 100% !important;
  }
  .imgCarousel {
    width: 100%;
    height: 400px;
  }
  .imgDetailedCar {
    width: 97%;
  }
}

@media screen and (max-width: 991px) {
  #sidebar {
    display: none;
  }
  .top-header {
    display: block;
    justify-content: center;
    margin-top: -16px;
    padding: 10px 0;
  }
  .LogoTopHeader {
    justify-content: center;
  }
  .contactHeader {
    justify-content: center !important;
  }
  .navbar {
    height: 50px;
  }
  .nav-link {
    margin-right: 0;
    padding: 10px !important;
  }
  .row-bottom {
    display: none;
  }
  #introCarousel {
    display: block;
  }
  .titleCarousel {
    top: -5%;
    left: 3%;
    font-size: 5vw;
    width: 70vw;
  }

  .navbar {
    margin-bottom: 0;
  }
  .marginHeader {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .paddingHeader {
    padding-left: 0;
    padding-right: 0;
  }
  .carousel-item {
    width: 105% !important;
  }
}

@media screen and (max-width: 767px) {
  .hideMobile {
    display: none;
  }

  #backToTheTop i {
    font-size: 1.3rem;
  }

  #lightbox {
    position: fixed;
    top: 33vh !important;
  }

  .page-section {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .page-section:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  /* Désactiver les transformations qui peuvent causer des problèmes */
  .btn-modern:hover {
    transform: none;
  }

  /* Correction du rendu des textes */
  .form-control-modern {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .introQuiSommesNous {
    background-color: rgba(0, 0, 0, 0) !important;
    color: #000000;
    margin: 50px 0 !important;
    padding: 35px !important;
    border-radius: 0px;
  }

  .imgIntroQuiSommesNous {
    display: none;
  }

  .imgTopLeft {
    display: none;
  }

  .imgBottomRight {
    display: none;
  }

  .colAvis1 {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none !important;
  }
  .colAvis2 {
    position: relative;
    overflow: hidden;
    background-color: rgb(72 75 79);
    border-radius: 0;
    border: none !important;
  }
  .imgClient {
    border-radius: 0;
  }
  .colServicesOverflow {
    padding: 0 40px !important;
  }
  .logoParrot {
    height: 80px;
  }
  .titleOccasion {
    transform: translateX(-20px);
  }
  .spacer {
    display: none;
  }

  .spacer50 {
    display: none;
  }

  .spacerMobile {
    display: block;
    width: 100%;
    height: 50px;
  }

  .topHeaderContactAndTel {
    display: flex;
  }

  .topHeaderNousContacter {
    display: none;
  }

  .titleGarage {
    font-size: 30px;
  }
  .logo-proxi-cash {
    height: auto;
    max-width: 50vw;
    object-fit: cover;
    margin-left: 0 !important;
    margin-bottom: -10px;
  }

  .logoFooter {
    height: auto;
    max-height: 100px;
    max-width: 35vw;
    object-fit: cover;
  }

  .garageHeader {
    justify-content: center;
    display: flex;
  }

  .slider {
    height: 55vw;
  }

  .slide1,
  .slide2,
  .slide3,
  .slide4 {
    height: 55vw;
  }

  .imgSlide {
    height: 55vw;
  }

  .card-neuf {
    width: 90vw;
  }

  .img-vehiculeNeuf {
    right: -20px;
    width: 90%;
  }

  a.anchorCards:hover .animationHidden {
    left: -20vw;
  }

  .animationHidden {
    position: absolute;
    top: 0;
    left: -155vw;
    height: 100%;
    width: 170%;
    margin: 0 !important;
    padding: 0 !important;
    transform: skew(-28deg);
    transition: 0.5s ease-in-out;
  }

  .catalogue {
    width: 90%;
  }

  .colRechercher {
    justify-content: center;
    margin: 0 !important;
  }

  .colFiltrer {
    justify-content: center;
    margin-top: 20px !important;
  }

  .colButtons {
    display: block !important;
  }

  #upArrow {
    height: 35px;
    width: 35px;
  }

  .containerCars {
    max-width: 350px;
    margin: 10px;
  }
  .footer {
    height: auto;
  }
  #G-mapsIndex {
    width: 100%;
    height: 340px;
  }
  #G-maps {
    width: 100%;
    height: 340px;
  }
  .findUs {
    transform: translateX(17px);
  }
  i.bi-telephone {
    transform: translateX(5px);
  }
  .imgCarousel {
    width: 100vw;
    height: 230px;
  }
  .imgDetailedCar {
    width: 95%;
  }
  .colAdminGestion {
    height: 200px;
  }
  .titleGestion {
    top: 70px;
  }
  .telColumn {
    height: auto;
  }
  #phone,
  #titre {
    width: 100%;
  }
  .equipements {
    padding: 10px !important;
  }
}

@media screen and (max-width: 698px) {
  .marginLogoGarage {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 647px) {
  .catalogue {
    height: auto;
  }
}

@media screen and (max-width: 570px) {
  .carousel-item {
    width: 95vw !important;
  }
  .imgCarousel {
    width: 95vw;
    height: 400px;
  }
}

@media screen and (max-width: 460px) {
  .marginLogoGarage {
    margin-left: auto;
    margin-right: auto;
  }
  .imgDetailedCar {
    width: 92%;
  }
}

@media screen and (max-width: 440px) {
  .containerCars {
    margin: 0;
    margin-top: 10px;
  }
  #G-mapsIndex {
    width: 100%;
    height: 340px;
  }
}
@media screen and (max-width: 423px) {
  .panelCustomHeight {
    height: 80px;
  }
}
@media screen and (max-width: 400px) {
  ul.paginationCustom li {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 377px) {
  .imgServices {
    height: 200px;
  }
}

@media screen and (max-width: 359px) {
  .panelCustomHeightBosch {
    height: 80px;
  }
  @media screen and (max-width: 340px) {
    ul.paginationCustom li {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      padding-top: 0.4rem;
      padding-bottom: 0.4rem;
      font-size: 0.8rem;
    }
  }
}
@media screen and (max-width: 335px) {
  .trait2 {
    width: 120px;
  }
  .imgServices {
    height: 150px;
  }
}

/*---------------  MIN WIDTH  ---------------*/

@media screen and (min-width: 1200px) {
  .lb-image {
    width: max-content !important;
    height: 80vh !important;
  }
}
@media screen and (min-width: 991px) {
  .navbar-nav {
    border: none;
  }
}
