*link {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Chivo", Arial, sans-serif;
  letter-spacing: 0.5px;
}

/* .grayed-out {
  position: relative;
} */

/* Centrer la carte sur la page */
.card.liste {
  margin: 0 auto;
  /* Centrer horizontalement */
  max-width: 100%;
  /* Empêcher le dépassement */
  width: 90%;
  /* Réduire la largeur sur les petits écrans */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Centrer les contenus dans la modal */
.modal-content {
  margin: 0 auto;
}

/* Gérer les espaces et tailles sur petits écrans */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    font-size: 4px;
  }

  .products-container {
    max-height: 200px;
    /* Réduire la hauteur des produits */
  }

  table {
    font-size: 12px;
    /* Ajuster la taille du texte dans les tableaux */
  }

  .table-responsive {
    overflow-x: auto;
    /* Activer le défilement horizontal si nécessaire */
  }

  .list-unstyled li {
    font-size: 14px;
    /* Réduire la taille des légendes */
  }
}

/* Centrer la table et ses contenus */
.table-responsive {
  margin: 0 auto;
}

.grayed-out {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.473);
  /* Gris transparent (ajuste l'opacité si nécessaire) */
  pointer-events: none;
  /* Permet de laisser les interactions de la ligne visibles sous l'overlay */
}

.btn-disabled {
  background-color: #7e7e7e;
  /* Gris clair */
  color: #888888;
  /* Texte en gris */
  cursor: not-allowed;
  /* Curseur en forme de "interdit" */
  pointer-events: none;
  /* Désactive les événements de clic */
}

.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0.25rem;
}

.list-group-item-action {
  width: 100%;
  color: #4d5154;
  text-align: inherit;
}
.list-group-item-action:hover,
.list-group-item-action:focus {
  z-index: 1;
  color: #4d5154;
  text-decoration: none;
  background-color: #f4f6f9;
}
.list-group-item-action:active {
  color: #8e9194;
  background-color: #eef0f3;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid #eef0f3;
}
.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.list-group-item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.list-group-item.disabled,
.list-group-item:disabled {
  color: #6d7174;
  pointer-events: none;
  background-color: #ffffff;
}
.list-group-item.active {
  z-index: 2;
  color: #ffffff;
  background-color: #1b68ff;
  border-color: #1b68ff;
}
.list-group-item + .list-group-item {
  border-top-width: 0;
}
.list-group-item + .list-group-item.active {
  margin-top: -1px;
  border-top-width: 1px;
}

.list-group-horizontal {
  flex-direction: row;
}
.list-group-horizontal > .list-group-item:first-child {
  border-bottom-left-radius: 0.25rem;
  border-top-right-radius: 0;
}
.list-group-horizontal > .list-group-item:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-left-radius: 0;
}
.list-group-horizontal > .list-group-item.active {
  margin-top: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item {
  border-top-width: 1px;
  border-left-width: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item.active {
  margin-left: -1px;
  border-left-width: 1px;
}

@media (min-width: 576px) {
  .list-group-horizontal-sm {
    flex-direction: row;
  }
  .list-group-horizontal-sm > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}

@media (min-width: 768px) {
  .list-group-horizontal-md {
    flex-direction: row;
  }
  .list-group-horizontal-md > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}

@media (min-width: 992px) {
  .list-group-horizontal-lg {
    flex-direction: row;
  }
  .list-group-horizontal-lg > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}

@media (min-width: 1200px) {
  .list-group-horizontal-xl {
    flex-direction: row;
  }
  .list-group-horizontal-xl > .list-group-item:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item {
    border-top-width: 1px;
    border-left-width: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item.active {
    margin-left: -1px;
    border-left-width: 1px;
  }
}

.list-group-flush {
  border-radius: 0;
}
.list-group-flush > .list-group-item {
  border-width: 0 0 1px;
}
.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}

.list-group-item-primary {
  color: #0e3685;
  background-color: #bfd5ff;
}
.list-group-item-primary.list-group-item-action:hover,
.list-group-item-primary.list-group-item-action:focus {
  color: #0e3685;
  background-color: #a6c4ff;
}
.list-group-item-primary.list-group-item-action.active {
  color: #ffffff;
  background-color: #0e3685;
  border-color: #0e3685;
}

.list-group-item-secondary {
  color: #0a395d;
  background-color: #bdd6ea;
}
.list-group-item-secondary.list-group-item-action:hover,
.list-group-item-secondary.list-group-item-action:focus {
  color: #0a395d;
  background-color: #aacae4;
}
.list-group-item-secondary.list-group-item-action.active {
  color: #ffffff;
  background-color: #0a395d;
  border-color: #0a395d;
}

.list-group-item-success {
  color: #107259;
  background-color: #c0f5e8;
}
.list-group-item-success.list-group-item-action:hover,
.list-group-item-success.list-group-item-action:focus {
  color: #107259;
  background-color: #aaf2e0;
}
.list-group-item-success.list-group-item-action.active {
  color: #ffffff;
  background-color: #107259;
  border-color: #107259;
}

.list-group-item-info {
  color: #005d83;
  background-color: #b8eafe;
}
.list-group-item-info.list-group-item-action:hover,
.list-group-item-info.list-group-item-action:focus {
  color: #005d83;
  background-color: #9fe3fe;
}
.list-group-item-info.list-group-item-action.active {
  color: #ffffff;
  background-color: #005d83;
  border-color: #005d83;
}

.list-group-item-warning {
  color: #855701;
  background-color: #ffe7b8;
}
.list-group-item-warning.list-group-item-action:hover,
.list-group-item-warning.list-group-item-action:focus {
  color: #855701;
  background-color: #ffde9f;
}
.list-group-item-warning.list-group-item-action.active {
  color: #ffffff;
  background-color: #855701;
  border-color: #855701;
}

.list-group-item-danger {
  color: #721c24;
  background-color: #f5c6cb;
}
.list-group-item-danger.list-group-item-action:hover,
.list-group-item-danger.list-group-item-action:focus {
  color: #721c24;
  background-color: #f1b0b7;
}
.list-group-item-danger.list-group-item-action.active {
  color: #ffffff;
  background-color: #721c24;
  border-color: #721c24;
}

.list-group-item-light {
  color: #7f8081;
  background-color: #fcfcfd;
}
.list-group-item-light.list-group-item-action:hover,
.list-group-item-light.list-group-item-action:focus {
  color: #7f8081;
  background-color: #ededf3;
}
.list-group-item-light.list-group-item-action.active {
  color: #ffffff;
  background-color: #7f8081;
  border-color: #7f8081;
}

.list-group-item-dark {
  color: #17191c;
  background-color: #c4c5c6;
}
.list-group-item-dark.list-group-item-action:hover,
.list-group-item-dark.list-group-item-action:focus {
  color: #17191c;
  background-color: #b7b8b9;
}
.list-group-item-dark.list-group-item-action.active {
  color: #ffffff;
  background-color: #17191c;
  border-color: #17191c;
}

/* Définir un style pour les petits écrans */
@media (max-width: 767px) {
  .post-details {
    padding: 1rem;
    font-size: 12px;
  }

  #conseilTitle {
    font-size: 0.8rem;
  }

  #conseilContent {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  h5 {
    font-size: 0rem;
  }

  #author {
    font-size: 1rem;
    color: #ff0000;
    color: #00ff88;
  }
}

/* Définir un style pour les écrans moyens */
@media (max-width: 1024px) {
  .post-details {
    padding: 1.5rem;
    font-size: 15px;
  }

  #conseilTitle {
    font-size: 1rem;
  }

  #conseilContent {
    font-size: 0.8rem;
  }

  h5 {
    font-size: 0.8rem;
  }
}

#notification-banner {
  position: fixed;
  top: 20px;
  /* Position en haut */
  left: 20px;
  /* Position à gauche */
  background-color: #ffffff;
  /* Couleur de fond */
  color: #333;
  /* Couleur du texte */
  padding: 15px 20px;
  /* Espacement intérieur */
  border-radius: 10px;
  /* Coins arrondis */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.705);
  /* Ombre */
  z-index: 1000;
  /* Au-dessus des autres éléments */
  display: flex;
  /* Pour aligner le texte et le bouton */
  align-items: center;
  /* Centrer verticalement */
  gap: 15px;
  /* Espacement entre le texte et le bouton */
  opacity: 0;
  /* Commence invisible */
  transform: translateY(-20px);
  /* Déplacer légèrement vers le haut */
  animation: slideIn 0.5s forwards;
  /* Animation d'apparition */
}

.notification-icon {
  width: 40px;
  /* Largeur de l'icône */
  height: 40px;
  /* Hauteur de l'icône */
}

#notification-banner button {
  background-color: #ff0000;
  /* Couleur de fond du bouton */
  color: white;
  /* Couleur du texte du bouton */
  border: none;
  /* Supprimer la bordure */
  border-radius: 5px;
  /* Coins arrondis du bouton */
  padding: 10px 15px;
  /* Espacement intérieur du bouton */
  cursor: pointer;
  /* Curseur en forme de main */
  transition: background-color 0.3s, transform 0.2s;
  /* Transition pour l'effet hover */
}

#notification-banner button:hover {
  background-color: #ffa600;
  /* Couleur au survol */
  transform: scale(1.05);
  /* Légère augmentation de la taille au survol */
}

/* Style pour le bouton flottant */
.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: bounce 1s infinite;
}

.floating-button i {
  color: #ffffff;
  font-size: 24px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Style pour le modal */
.message-modal {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: none;
}

.modal-content {
  padding: 20px;
}

.close-button {
  float: right;
  cursor: pointer;
  font-size: 18px;
  color: #aaa;
}

.close-button:hover {
  color: #000;
}

.open-chat-button {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.open-chat-button:hover {
  background-color: #0056b3;
}

@keyframes slideIn {
  from {
    opacity: 0;
    /* Invisible au début */
    transform: translateY(-20px);
    /* Déplacement vers le haut */
  }

  to {
    opacity: 1;
    /* Rendre visible */
    transform: translateY(0);
    /* Retour à la position normale */
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-box {
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skeleton-box::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 50%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.404),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(300%);
  }
}

.header-skeleton {
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.664),
    transparent
  );
}

.header-skeleton2 {
  float: right;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.664),
    transparent
  );
}

/* Sidebar Skeleton */
.sidebar-skeleton {
  width: 250px;
  height: 100%;
  padding: 20px;
}

/* Navigation Skeleton */
.title-skeleton1 {
  margin-left: 10px;
  width: 2%;
  height: 20px;
  margin-top: 20px;
}

.title-skeleton2 {
  margin-left: 20px;
  margin-right: 63%;
  width: 15%;
  height: 20px;
  margin-top: 20px;
}

.title-skeleton3 {
  margin-left: 40px;
  width: 2%;
  height: 25px;
  margin-top: 20px;
  border-radius: 50%;
}

.menu-item-skeleton1 {
  width: 30%;
  height: 15px;
  margin-bottom: 30px;
  border-radius: 20px;
}

.menu-item-skeleton2 {
  width: 60%;
  height: 15px;
  margin-bottom: 30px;
  border-radius: 20px;
}

.menu-item-skeleton {
  width: 90%;
  height: 15px;
  margin-bottom: 30px;
  border-radius: 20px;
}

/* Main Content Skeleton */
.content-skeleton {
  padding: 20px;
}

.title-skeleton {
  margin-left: 50%;
  width: 40%;
  height: 30px;
  margin-bottom: 20px;
}

.title-skeleton2 {
  width: 20%;
  height: 30px;
  margin-bottom: 20px;
}

.card-skeleton {
  width: 100%;
  height: 75%;
  margin-bottom: 40px;
}

.cards-skeleton {
  width: 20%;
  height: 20%;
  margin-bottom: 20px;
}

.card-footer {
  width: 100%;
  height: 10%;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* skeleton Gateway */
.skeletonG {
  background-color: #e0e0e0;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

.skeletonG-img {
  background-color: #ccc;
  border-radius: 50%;
}

.skeletonG-text {
  background-color: #ddd;
  margin-bottom: 8px;
}

.skeletonG-button {
  background-color: #bbb;
  border-radius: 4px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/* Sidebar */
/* Reset CSS */
.containerG {
  display: flex;
  /* Active le modèle flexbox */
  width: 100%;
  /* Prend toute la largeur disponible */
  height: 100vh;
  /* Prend toute la hauteur de la fenêtre */
}

#sidebar {
  width: 250px;
  height: 100%;
  background: linear-gradient(to right, #ff0000, #ff8800);
  color: #ecf0f1;
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  overflow-x: hidden;
}

#sidebar.closed {
  width: 0;
  /* overflow: hidden; */
}

.sidebar-header {
  padding: 0.9rem;

  display: flex;
  /* justify-content: space-between;
  align-items: center; */
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.705);
}

.sidebar-header .brand {
  font-size: 1.2rem;
  font-weight: bold;
}

.img-fluidSide {
  width: 50px;
  height: 10px;
  margin: auto;
}

#mainContent {
  margin: auto;
}

.toggle-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  padding: 0.8rem 1rem;
}

.sidebar-menu a {
  text-decoration: none;
  color: #ecf0f1;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.sidebar-menu a i {
  margin-right: 10px;
}

.sidebar-menu .submenu {
  display: none;
  padding-left: 1.5rem;
}

.sidebar-menu .has-submenu:hover .submenu {
  display: block;
}

.page-content-wrapper {
  margin: auto;
}

#toggleSidebar {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.profile-btn {
  background-color: #ffffff;
  padding: 0.75rem;
  border-radius: 5px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
}

/* Sidebar ouverte par défaut pour les écrans plus larges */
@media (min-width: 768px) {
  #mainContent {
    margin-left: 250px;
    flex: 1;
    background-color: #f4f4f4;
    transition: margin-left 0.3s ease;
  }

  #mainContent.expanded {
    margin-left: 0;
  }
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
  #sidebar.closed {
    width: 0;
    /* overflow: hidden; */
  }

  #mainContent {
    margin-top: 20%;
    width: 100%;
    transition: margin-left 0.3s ease;
  }

  /* #sidebar {
    width: 0;
  } */

  /* #sidebar.open {
    width: 100vw;
  }



  #mainContent.expanded {
    margin-left: 0;
  } */
}

/* Toggle Button Styles */
#toggleSidebar {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  color: #ff0000;
}

/* Sidebar */

.message {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  color: #ececec;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#prodGroupContainer {
  z-index: 1000;
}

.card.prod {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(10, 10, 10, 0.726);
}

.details_card {
  box-shadow: 0 4px 8px rgba(10, 10, 10, 0.726);
}

.card.prod:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgb(218, 0, 0);
}

.card.prod.border-primary {
  border: 2px solid #ff0000;
}

/*  */
.img-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 10px;
}

/* detailProd */
.cardPro {
  background: rgba(196, 194, 194, 0.671);
  border: none;
  border-radius: 15px;
  box-shadow: 4 8px 16px rgb(0, 0, 0);
  transition: all 0.3s ease-in-out;
}

.cardPro:hover {
  box-shadow: 4 8px 16px rgba(255, 102, 0, 0.863);
}

.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info {
  max-width: calc(100% - 100px);
}

.product-info p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.detail_produit {
  font-weight: bold;
  color: #007bff;
}

/* .roundedImg {
  border-radius: 50%;
  border-color: #000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.911);
} */

/* Optionnel : Pour rendre la carte responsive sur mobile */

#dashboardTitle {
  position: relative;
  margin-top: 1px;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
  /* Ombre sur le texte */
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); */
  /* Ombre autour de l'élément */
}

/* Assurez-vous que le menu est bien positionné */
#sidebar-menu {
  position: fixed;
  left: 0;
  top: 10%;
  width: 250px;
  /* Ajuste la largeur de ton menu */
  height: 100%;
  background-color: #ffffff00;
  /* Couleur de fond du menu */
  color: white;
  /* Couleur du texte */
  /* z-index: 999; */
  /* Assure-toi que le menu est au-dessus des autres éléments */
  display: block;
  /* Le menu doit être visible par défaut */
}

/* Masquer le menu sur les petits écrans */
@media (max-width: 768px) {
  #sidebar-menu {
    display: none;
    /* Cacher le menu sur les petits écrans */
  }

  #sidebar-menu.open {
    display: block;
    /* Afficher le menu lorsqu'il a la classe 'open' */
  }
}

/* Overlay (couche semi-transparente) */
.overlay {
  display: none;
  /* Cacher l'overlay par défaut */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0);
  /* Fond semi-transparent */
  z-index: 998;
  /* Doit être juste en dessous du menu */
}

.overlay.open {
  display: block;
  /* Afficher l'overlay lorsque le menu est ouvert */
}

@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-info {
    max-width: 100%;
    margin-top: 1rem;
  }

  .img-fluid {
    max-width: 100%;
  }
}

/*  */

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  margin-bottom: 15px;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .col-md-2,
  .col-sm-3 {
    /* Sur les petits écrans, chaque carte occupe toute la largeur */
    width: 100%;
    padding: 0 5px;
  }

  /* S'assurer que les éléments comme le tableau et les titres prennent toute la largeur */
  #card_liste {
    margin: 0;
    width: 100%;
  }

  /* Rendre le tableau réactif */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Par défaut, ajuster les padding et la taille du texte des cellules pour les petits écrans */
  /* Cibler les éléments td et les boutons à l'intérieur pour les petits écrans */
  @media (max-width: 768px) {
    /* Réduire la taille du texte dans les cellules du tableau */
    #datatables-reponsive td,
    #datatables-reponsive th {
      font-size: 10px;
      /* Réduit encore la taille du texte */
      padding: 6px 4px;
      /* Réduit l'espacement intérieur des cellules */
    }

    /* Ajuster la taille des boutons dans les cellules */
    #datatables-reponsive .btn-group .btn {
      font-size: 10px;
      /* Réduit la taille des boutons */
      padding: 5px 10px;
      /* Réduit les marges intérieures des boutons */
    }

    /* Réduire la taille des icônes à l'intérieur des boutons (si applicable) */
    #datatables-reponsive .btn-group .btn i {
      font-size: 12px;
      /* Réduit la taille des icônes à l'intérieur des boutons */
    }

    /* Assurer que les colonnes sont bien visibles sur les petits écrans */
    #datatables-reponsive {
      table-layout: auto;
      /* Assure que la table s'ajuste à la largeur de l'écran */
    }

    /* Ajouter une règle pour cacher les éléments inutiles si nécessaire */
    #datatables-reponsive .d-none {
      display: none;
      /* Cache les colonnes inutiles */
    }

    /* Ajouter un petit espacement entre les colonnes */
    #datatables-reponsive td {
      white-space: nowrap;
      /* Empêche le texte de se diviser en plusieurs lignes */
    }

    /* Optionnel : Ajouter une barre de défilement horizontale si nécessaire */
    .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  .nav-tabs {
    /* Centrer les onglets sur petits écrans */
    display: flex;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .col-md-2,
  .col-sm-3 {
    /* Sur les écrans moyens, les cartes prennent 2/12 de la largeur (équivalent à col-md-2) */
    width: 20%;
    padding: 0 15px;
  }
}

/* Ajuster les marges et paddings pour éviter le décalage */
.container-fluid {
  padding-left: 1px;
  padding-right: 1px;
}

/* Pour les écrans entre 768px et 1024px */
@media (max-width: 1024px) {
  .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
  }
}

/* Pour les écrans de moins de 768px */
@media (max-width: 768px) {
  .content {
    padding-left: 0px;
  }
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.card1G {
  margin-right: -15px;
}

.col-md-2,
.col-sm-3 {
  padding-left: 5px;
  /* Ajuster le padding si nécessaire */
  padding-right: 5px;
  /* Ajuster le padding si nécessaire */
}

@media (max-width: 768px) {
  .col-md-2,
  .col-sm-3 {
    /* Sur les petits écrans, occuper toute la largeur disponible */
    width: 100%;
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
  }

  /* Centrer les éléments dans une ligne */
  .row {
    justify-content: center;
    /* text-align: center; */
  }
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  /* Couleur de fond semi-transparente */
  color: white;
  /* Couleur du texte */
  opacity: 0;
  /* Masque l'overlay par défaut */
  transition: opacity 0.3s ease;
  /* Transition douce */
}

.img-container:hover .img-overlay {
  opacity: 1;
  /* Affiche l'overlay au survol */
}

.img-overlay h3 {
  margin: 0;
  font-size: 20px;
}

/*  */

.loupe {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #333;
  /* Couleur de la loupe */
  cursor: pointer;
}

.loupe:hover {
  color: #ff0000;
  /* Couleur de la loupe au survol */
}

.img-container {
  position: relative;
  width: 100%;
  height: 350px;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Style pour le lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*  */
#commandeList .commande-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #f8f9fa; /* Couleur douce */
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#commandeList .commande-item:hover {
  background: #e9ecef; /* Hover soft */
  transform: scale(1.02);
}

#refreshOrders:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.validateOrder {
  padding: 8px 16px;
  border: none;
  background: linear-gradient(135deg, #26c764, #00ffaa);
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  transition: 0.3s ease;
}

.validateOrder:hover {
  transform: scale(1.05);
  background: #ffa600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.reason-container {
  display: none;
  /* Hidden by default */
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  background-color: #f8d7da;
  /* Light red background */
  border: 1px solid #f5c6cb;
  /* Light red border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  max-width: 600px;
  margin: 20px auto;
  /* Center the box */
}

.reason-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reason-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
  justify-content: center;
}

.reason-header i {
  font-size: 32px;
  color: #721c24;
  /* Dark red color */
  margin-right: 10px;
}

.reason-header h3 {
  font-size: 24px;
  color: #721c24;
  /* Dark red color */
  margin: 0;
}

.reason-content {
  text-align: center;
  width: 100%;
}

.reason-text {
  font-size: 18px;
  color: #721c24;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#datatables-reponsive {
  width: 100%;
  border-collapse: collapse;
  display: table;
  margin-bottom: 20px;
}

/* Style de la table sur les petits écrans (écran mobile) */
@media (max-width: 768px) {
  #datatables-reponsive {
    display: none;
    /* Masque la table sur les petits écrans */
  }

  .card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }

  .order-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .order-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  .order-card h5 {
    font-size: 18px;
    color: #333;
  }

  .order-card .badge {
    background-color: #ff0000;
    color: white;
    padding: 5px 10px;
  }

  .order-card .order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .order-card .order-details div {
    flex: 1 1 45%;
  }

  .order-card .order-details div span {
    font-weight: bold;
  }

  .order-card .btn-group {
    display: flex;
    gap: 10px;
  }

  .order-card .btn {
    background-color: #01d472;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
  }
}

/* Ajoutez ces styles à votre fichier CSS */
.d-none {
  display: none !important;
}

#searchIcon,
#closeIcon {
  transition: opacity 0.3s ease-in-out;
}

#toggleSearchButton {
  border-radius: 50%;
}

.form-check-input.custom-checkbox {
  width: 20px;
  height: 20px;
}

.form-check-label.custom-label {
  font-size: 13px;
  margin-left: 15px;
  white-space: nowrap;
}

.custom-checkbox:checked + .custom-label::before {
  background-color: rgb(255, 0, 0);
  border-color: orange;
}

#existingSymptomsSelect {
  margin-bottom: 10px;
}

.scrollable-tab {
  max-height: 400px;
  overflow-y: auto;
}

.scrollable {
  max-height: 500px;
  overflow-y: auto;
}

.scrollable-container {
  max-height: 100px;
  /* Adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
}

.scrollable2-container {
  max-height: 150px;
  /* Adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
}

.scrollable3-container {
  max-height: 50px;
  /* Adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
}

.scrollable-container .col-md-12 {
  margin-bottom: 10px;
}

.modern-id-card {
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.driver-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.driver-name h3 {
  margin: 0;
  font-size: 1.2rem;
}

.driver-name p {
  margin: 2px 0 0;
  color: #777;
  font-size: 0.9rem;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.info-row i {
  color: #555;
  min-width: 20px;
}
.card-carousel-wrapper {
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  gap: 1rem;
}

/* Carousel container */
#carousel-container {
  display: flex;
  gap: 1rem;
  padding: 10px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Each card inside the carousel */
#carousel-container .card {
  min-width: 150px;
  flex: 0 0 auto;
  border: none;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#carousel-container .card:hover {
  transform: scale(1.05);
}

.image-container {
  border-radius: 10px;
  overflow: hidden;
  height: 120px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel buttons */
.carousel-btn {
  background: white;
  border: 1px solid #ff1900;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background-color: #ff1900;
  color: #fff;
  transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #carousel-container {
    gap: 0.75rem;
  }

  #carousel-container .card {
    min-width: 120px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: system-ui;
  /* background: #3d76d9; */
}

.visuallyhidden {
  position: absolute;
  z-index: -1;
  right: 0;
  opacity: 0;
}

h1 {
  color: white;
  text-align: center;
  margin-top: 1em;
}

.container {
  overflow: hidden;
  /* background: rgba(0, 0, 0, 0.1); */
  height: 100%;
  /* S'assure que le conteneur occupe toute la hauteur */
}

.card-carousel {
  --card-width: 100%;
  --card-max-width: 200px;
  --card-height: 220px;
  --carousel-min-width: 200px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: all 0.3s ease;
  /* Pour des animations fluides */
  transform: scale(1);
}

.card-carousel .card.active {
  border: 2px solid #69affa;
  /* Couleur de surbrillance */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  background-color: white;
  /* Fond blanc */
  filter: brightness(1);
  transform: scale(1.2);
  /* Agrandir légèrement */
  z-index: 1000;
  transform: scale(1.3) rotate(2deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-carousel .card.bg-soft-info {
  /* Style des cartes non actives */
  background-color: #ddd;
  /* Fond gris ou une autre couleur */
  transform: scale(0.9);
  /* Réduire leur taille */
  z-index: 0;
  /* Repassent derrière */
}

.center {
  /* Optionnel : style de la carte centrale */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Légère ombre */
}

@media screen and (max-width: 640px) {
  .card-carousel {
    margin-left: calc((100vw - var(--carousel-min-width) - 40px) / 2);
  }
}

.card-carousel.smooth-return .card {
  transition-duration: 0.6s;
}

.card-carousel .card {
  background: linear-gradient(
    to bottom,
    rgb(255, 255, 255),
    rgb(255, 255, 255)
  );
  /* Par défaut, blanc pour les cartes de fond */
  width: var(--card-width);
  max-width: var(--card-max-width);
  padding: 1em;
  min-width: 200px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
  border-radius: 1em;
  filter: brightness(0.8);
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  transform-origin: center;
}

/* .card.front {
  background: linear-gradient(to bottom, rgb(255, 253, 253), rgb(255, 255, 255));

}

.card.behind {
  z-index: 1;
  background: white;
} */

.card.highlight {
  filter: brightness(1);
}

.card-carousel .card:nth-of-type(1) {
  transform: translateX(-120%) scale(0.8);
  opacity: 0.7;
  z-index: 0;
}

.card-carousel .card:nth-of-type(2) {
  transform: translateX(-60%) scale(0.9);
  opacity: 0.8;
  z-index: 1;
}

.card-carousel .card:nth-of-type(3) {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
  /* Carte principale */
}

.card-carousel .card:nth-of-type(4) {
  transform: translateX(60%) scale(0.9);
  opacity: 0.8;
  z-index: 1;
}

.card-carousel .card:nth-of-type(3) {
  transform: translateX(120%) scale(0.8);
  opacity: 0.7;
  z-index: 0;
}

.card:nth-of-type(1) .image-container {
  background-image: url("https://i.pinimg.com/736x/db/d7/c9/dbd7c943870f252d063a8f1ecbd884b1.jpg");
}

.card:nth-of-type(2) .image-container {
  background-image: url("https://i.pinimg.com/736x/ed/db/e7/eddbe75a70f4562fc68ab443e50995c1.jpg");
}

.card:nth-of-type(3) .image-container {
  background-image: url("https://i.pinimg.com/736x/f1/24/3c/f1243cc98ce9ceb00c8dfa8321d3416c.jpg");
}

.carousel-container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.image-container {
  width: 100%;
  height: 11em;
  position: relative;
  margin-bottom: 2em;
  overflow: hidden;
  /* Assurez-vous que l'image ne dépasse pas la zone du conteneur */
  box-shadow: inset 0px 0px 17px 0px rgba(0, 0, 0, 0.3);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* L'image s'ajuste parfaitement au conteneur */
  display: block;
  /* Évite les marges indésirables autour de l'image */
}

.image-container::after {
  content: "";
  display: block;
  width: 120%;
  height: 120%;
  /* border: solid 3px rgba(0, 0, 0, .1); */
  position: absolute;
  top: calc(-10% - 3px);
  left: calc(-10% - 3px);
}

/* h2 {
  padding: 1em;
  margin-top: 1em;
  background: rgba(0, 0, 0, .3);
  text-align: center;
  color: white;
  border-radius: .2em;
  display: inline-block;
  transform: translateX(calc((100vw - 100%) / 2))
} */

.superposed-cards {
  flex: 1;
  /* 1 part sur 3 */
  position: relative;
  height: 26em;
  /* Hauteur commune des cartes */
}

/* Style des cartes superposées */
.superposed-cards .card {
  width: 100%;
  height: 12em;
  /* Taille des cartes superposées */
  display: flex;
  justify-content: center;

  /* align-items: center; */
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Carte du dessus */
.card-top {
  padding: 10px;
  background: linear-gradient(to right, #ff5100, #ff2600);
}

/* Carte du dessous */
.card-bottom {
  top: 0.05em;
  padding: 10px;
  justify-content: center;
  background: white;
}

.cardBlur {
  backdrop-filter: blur(10px);
  background: linear-gradient(to right, #ffffffcc, #ffffff3b);
  /* Transparence pour mieux voir le flou */
  border-radius: 1em;
  padding: 1em;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* Optionnel : bordure élégante */
}

/* Taleau Associate */
body {
  background: #dcdcdc;
  margin-top: 20px;
}

.widget-26 {
  color: #3c4142;
  font-weight: 400;
}

.widget-26 tr:first-child td {
  border: 0;
}

.widget-26 .widget-26-job-emp-img img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.widget-26 .widget-26-job-title {
  min-width: 200px;
}

.widget-26 .widget-26-job-title a {
  font-weight: 400;
  font-size: 0.875rem;
  color: #3c4142;
  line-height: 1.5;
}

.widget-26 .widget-26-job-title a:hover {
  color: #68cbd7;
  text-decoration: none;
}

.widget-26 .widget-26-job-title .employer-name {
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  color: #3c4142;
  font-size: 0.8125rem;
  color: #3c4142;
}

.widget-26 .widget-26-job-title .employer-name:hover {
  color: #68cbd7;
  text-decoration: none;
}

.widget-26 .widget-26-job-title .time {
  font-size: 12px;
  font-weight: 400;
}

.widget-26 .widget-26-job-info {
  min-width: 100px;
  font-weight: 400;
}

.widget-26 .widget-26-job-info p {
  line-height: 1.5;
  color: #3c4142;
  font-size: 0.8125rem;
}

.widget-26 .widget-26-job-info .location {
  color: #3c4142;
}

.widget-26 .widget-26-job-salary {
  min-width: 70px;
  font-weight: 400;
  color: #3c4142;
  font-size: 0.8125rem;
}

.widget-26 .widget-26-job-category {
  padding: 0.5rem;
  display: inline-flex;
  white-space: nowrap;
  border-radius: 15px;
}

.widget-26 .widget-26-job-category .indicator {
  width: 13px;
  height: 13px;
  margin-right: 0.5rem;
  float: left;
  border-radius: 50%;
}

.widget-26 .widget-26-job-category span {
  font-size: 0.8125rem;
  color: #3c4142;
  font-weight: 600;
}

.widget-26 .widget-26-job-starred svg {
  width: 20px;
  height: 20px;
  color: #fd8b2c;
}

.widget-26 .widget-26-job-starred svg.starred {
  fill: #fd8b2c;
}

.bg-soft-base {
  background-color: #e1f5f7;
}

.bg-soft-warning {
  background-color: #fff4e1;
}

.bg-soft-success {
  background-color: #d1f6f2;
}

.bg-soft-danger {
  background-color: #fedce0;
}

.bg-soft-info {
  background-color: #d7efff;
}

.search-form {
  width: 80%;
  margin: 0 auto;
  margin-top: 1rem;
}

.search-form input {
  height: 100%;
  background: transparent;
  border: 0;
  display: block;
  width: 100%;
  padding: 1rem;
  height: 100%;
  font-size: 1rem;
}

.search-form select {
  background: transparent;
  border: 0;
  padding: 1rem;
  height: 100%;
  font-size: 1rem;
}

.search-form select:focus {
  border: 0;
}

.search-form button {
  height: 100%;
  width: 100%;
  font-size: 1rem;
}

.search-form button svg {
  width: 24px;
  height: 24px;
}

.search-body {
  margin-bottom: 1.5rem;
}

.search-body .search-filters .filter-list {
  margin-bottom: 1.3rem;
}

.search-body .search-filters .filter-list .title {
  color: #3c4142;
  margin-bottom: 1rem;
}

.search-body .search-filters .filter-list .filter-text {
  color: #727686;
}

.search-body .search-result .result-header {
  margin-bottom: 2rem;
}

.search-body .search-result .result-header .records {
  color: #3c4142;
}

.search-body .search-result .result-header .result-actions {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-body .search-result .result-header .result-actions .result-sorting {
  display: flex;
  align-items: center;
}

.search-body
  .search-result
  .result-header
  .result-actions
  .result-sorting
  span {
  flex-shrink: 0;
  font-size: 0.8125rem;
}

.search-body
  .search-result
  .result-header
  .result-actions
  .result-sorting
  select {
  color: #68cbd7;
}

.search-body
  .search-result
  .result-header
  .result-actions
  .result-sorting
  select
  option {
  color: #3c4142;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .search-body .search-filters {
    display: flex;
  }

  .search-body .search-filters .filter-list {
    margin-right: 1rem;
  }
}

.card-margin {
  margin-bottom: 1.875rem;
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
}

.card-margin {
  margin-bottom: 1.875rem;
}

.card {
  border: 0;
  box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -ms-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid #e6e4e9;
  border-radius: 8px;
}

.indicator-wrap {
  display: flex;
  align-items: center;
}

.dashboard-indicator {
  display: flex;
  align-items: center;
  gap: 1em;
}

.circle2 {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #aaa;
  /* Par défaut */
  background: #2c2c2c;
  /* Fond noir */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease;
}

.circle2[data-active="true"] {
  border-color: green;
  /* Bordure verte si actif */
}

.circle2[data-active="false"] {
  border-color: red;
  /* Bordure rouge si inactif */
}

.icon {
  color: yellow;
  font-size: 1.5em;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
}

.percentage {
  position: absolute;
  bottom: 10%;
  font-size: 1.2em;
  color: #fff;
  text-decoration: solid;
}

.status-text {
  font-size: 1em;
  color: #333;
}

/* Style général pour le conteneur */
.week-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 200px;
  padding: 10px;
  border-radius: 10px;
}

/* Conteneur pour l'indicateur de statut */
.status-box {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Carré rouge pour l'indicateur */
.status-indicator {
  width: 25px;
  height: 20px;
  background-color: red;
  border-radius: 20%;
  margin-right: 8px;
}

/* Texte de la semaine */
.status-box span {
  font-weight: bold;
  font-size: 14px;
}

/* Affichage du montant */
.amount {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Conteneur de la barre de progression */
.progress-bar-container {
  width: 100%;
  height: 5px;
  background-color: #e0e0e0;
  border-radius: 5px;
}

/* Barre de progression */
.progress-bar {
  height: 100%;
  width: 0%;
  /* Initialement vide */
  background-color: rgb(255, 1, 1);
  /* Couleur de la barre de progression */
  border-radius: 5px;
  transition: width 0.3s ease;
  /* Transition fluide lors de l'augmentation de la largeur */
}

.btn-rupture {
  background-color: #ff0000;
}

.btn-remettre-dispo {
  background-color: #00ff80;
}

#cardGraph {
  background: linear-gradient(to right, #f80000, #ff5100);
  height: 100%;
  border-radius: 2%;
}

.chart-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.chart-row {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.chart-label {
  width: 50px;
  text-align: right;
  margin-right: 10px;
  font-size: 14px;
  color: #ffffff;
}

.chart-bar {
  flex: 1;
  height: 20px;
  background-color: #ffffff11;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.chart-bar:hover {
  background-color: #ffffffbe;
}

/* Graph */
.area-chart {
  /* Reset */
  margin: 0;
  padding: 0;
  border: 0;

  /* Dimensions */
  width: 100%;
  max-width: var(--chart-width, 600px);
  height: var(--chart-height, 300px);
}

.area-chart tbody {
  width: 100%;
  height: var(--chart-height, 300px);

  /* Layout */
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  flex-direction: row;
}

.area-chart tr {
  position: relative;

  /* Even size items */
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.area-chart td {
  height: 100px;
  background: linear-gradient(to top, orange var(--start), blue var(--end));
  color: white;
  text-align: center;
  vertical-align: bottom;

  /* Color */
  background: var(--color, rgba(240, 50, 50, 0.75));
  clip-path: polygon(
    0% calc(100% * (1 - var(--start))),
    100% calc(100% * (1 - var(--end))),
    100% 100%,
    0% 100%
  );
}

.area-chart td:nth-of-type(1) {
  --color: rgba(255, 255, 255, 0.425);
}

.area-chart td:nth-of-type(2) {
  --color: rgba(255, 255, 255, 0.733);
}

.area-chart td:nth-of-type(3) {
  --color: rgba(255, 255, 255, 0.219);
}

/* Graph */

:root {
  --bar-width: 5px;
  --max-height: 200px;
  --worst-case: #ffffff;
  /* Couleur pour le cas le plus défavorable */
  --best-case: #ffffff;
  --chart-bg: linear-gradient(to right, #f80000, #ff5100);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 35px;
  background: var(--chart-bg);
  width: 100%;
  height: var(--max-height);
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
}

.bar {
  width: var(--bar-width);
  height: 0;
  background-color: var(--worst-case);
  border-radius: 5px;
  transition: background-color 0.3s ease, height 0.3s ease;
}

.bar.over {
  background-color: var(--best-case);

  /* Cas favorable */
}

.bar:hover {
  transform: scale(1.1);
}

/* Tableau Associated */
h2 a {
  color: #f5b916;
}

.filters {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.filter-button {
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-button.active {
  background-color: #ff0000;
  color: white;
  border-color: #ff0000;
}

.circle-container {
  position: relative;
  width: 200px;
  height: 100px;
  margin: 10px auto;
}

.circle {
  transform: rotate(-90deg);
  /* Faire en sorte que la progression commence à partir du haut */
}

.circle-background {
  stroke: #686868;
}

.circle-progress {
  stroke: #ffffff;
  transition: stroke-dashoffset 1s ease;
}

.emoji-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
}

.card-amount {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  width: 200px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 10px 10px;
  /* Donner l'impression de demi-cercle */
  font-size: 18px;
  font-weight: bold;
}

.card-amount p {
  margin: 0;
  padding: 0;
}

.graffiti .particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #ff00ff;
  /* Couleur des éclaboussures */
  border-radius: 50%;
  opacity: 0;
  animation: graffitiEffect 1s ease-out forwards;
}

@keyframes graffitiEffect {
  0% {
    transform: scale(0) rotate(0);
    opacity: 1;
  }

  100% {
    transform: scale(1.5) translateX(50px) translateY(50px) rotate(720deg);
    opacity: 0;
  }
}

/* CSS pour aligner les éléments <p> sur la même ligne */
.row .col-sm-6 {
  display: flex;
  align-items: center;
}

.row .col-sm-6 .d-flex {
  display: flex;
  align-items: center;
  width: 100%;
}

.row .col-sm-6 .d-flex span {
  margin-left: 10px;
  /* Espacement entre l'icône et le texte */
}

#center-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}

.etoile-pleine {
  color: gold;
  /* Couleur des étoiles pleines */
}

.etoile-vide {
  color: lightgrey;
  /* Couleur des étoiles vides */
}

.symptom-row {
  margin-bottom: 10px;
}

.position-absolute.d-none {
  display: none;
}

.position-absolute.d-block {
  display: block;
}

#imagePreview {
  width: 100%;
  max-width: 500px;
  height: 400px;
}

#imageUpload {
  width: 100%;
  max-width: 500px;
}

.btn-disabled {
  background-color: #cccccc;
  border-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

#productDisplay {
  max-height: 350px;
  max-width: 500px;
  overflow-y: auto;
}

.selected {
  background-color: #e7e7e7;
  /* Couleur de fond lorsque la carte est sélectionnée */
}

.ordonnance-container {
  background-color: white;
  border: 2px solid rgba(0, 0, 0, 0.089);
  padding: 10px;
  width: 60%;
  height: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centrer verticalement les éléments */
  align-items: center;
  margin-bottom: 10px;
}

.body-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* Les éléments vont passer à la ligne lorsqu'ils ne peuvent pas tous tenir sur une seule ligne */
  justify-content: space-between;
  /* Espacement égal entre les éléments */
  width: 400px;
  margin-left: 5px;
}

/* popup */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup img {
  max-width: 100%;
  max-height: 80vh;
}

.popup .close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/*  */
.current-date {
  margin-left: auto;
  font-size: 22px;
  font-weight: bold;
}

.right-aligned-text {
  text-align: right;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

.header-container {
  display: flex;
  flex-direction: row;
}

.ordonnance-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.ordonnance-item {
  margin-bottom: 10px;
  box-shadow: #00000033;
}

.ordonnance-item label {
  font-weight: bold;
}

.ordonnance-item p {
  margin: 0;
}

.product-cards-container {
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: auto;
  border: 1px solid #00000075 !important;
  margin-left: 5%;
}

.product-cards-container .col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-cards-container .col-md-4 {
  flex: 0 0 50%;

  max-width: 100%;
}

/* .footer {
  display: flex;
} */

.custom-footer-container {
  width: 100%;
  max-height: 100px;
}

.total-price-card {
  /* width: 100%; */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
  padding: 20px;
  display: flex;
  margin-top: 20px;
  margin-left: auto;
  background-color: #ffbb00;
  align-items: center;
  justify-content: center;
}

.total-price-label {
  font-size: 20px;
  color: rgb(0, 0, 0);
  margin-bottom: 10px;
}

.total-price-amount {
  font-size: 20px;
  font-weight: bold;
  color: rgb(0, 0, 0);
}

.highlight {
  color: red;
  /* Couleur rouge pour le texte "NB : " */
}

.not-found-products {
  color: black;
  /* Couleur noire pour le reste du texte */
}

.not-found-products {
  /* color: red; */
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
}

/* Ajouter des styles personnalisés pour l'effet d'alerte */
.btn .btn-danger {
  background-color: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 10px rgba(65, 1, 1, 0.959);
  transition: box-shadow 0.9s;
  animation: pulse 0.5s infinite alternate;
}
.btn .btn-success {
  background-color: #00d150;
  border-color: #00d150;
  box-shadow: 0 0 10px rgba(0, 255, 128, 0.959);
  transition: box-shadow 0.9s;
  animation: pulse 0.5s infinite alternate;
}

.btn-danger:hover {
  box-shadow: 0 0 15px rgb(252, 134, 0);
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-5px);
  }
}

#generatedImage {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* Image ordonnance */

#tableau3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-container {
  width: 100%;
  max-width: 300px;
  /* Limite la largeur maximale de l'image */
  margin-bottom: 20px;
  /* Espacement entre les images */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  /* Ombre autour du conteneur */
  border-radius: 10px;
  /* Coins arrondis */
  overflow: hidden;
  /* Pour que les coins arrondis coupent l'image */
}

.img-container img {
  width: 100%;
  height: 100%;
  /* Maintient le ratio d'aspect de l'image */
  object-fit: contain;
}

/* numéros de pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #ff0000 !important;
  /* Remplacez par la couleur souhaitée */
  background-color: #f8f9fa !important;
  /* Remplacez par la couleur de fond souhaitée */
}

.requiresPrescription {
  width: 30px;
  height: 30px;
  transform: scale(1.5);
  transform-origin: center;
}

/* Style pour le conteneur des couleurs */
.scrollable-color-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* Espacement entre les éléments */
  max-height: 110px;
  /* Hauteur maximale avec défilement */
  overflow-y: auto;
  /* Activer le défilement vertical */
}

.uniform-input {
  width: 100%;

  box-sizing: border-box;
}

/* Style pour chaque élément de couleur */
.color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Espacement entre le cercle et le texte */
  padding: 5px;
  border-radius: 5px;
  /* Coins arrondis */
  cursor: pointer;
}

/* Style pour le cercle de couleur */
.color-circle {
  width: 30px;
  /* Largeur du cercle */
  height: 30px;
  /* Hauteur du cercle */
  border-radius: 50%;
  /* Cercle parfait */
  background-color: transparent;
  /* Couleur de fond du cercle */
  box-shadow: 0 4px 8px rgba(10, 10, 10, 0.726);
}

/* Style pour la barre de recherche */
.search-container {
  margin-bottom: 10px;
}

/* numéros de pagination actifs */
.dataTables_wrapper .dataTables_paginate .paginate_button.current .page-item {
  color: #fff !important;
  background-color: #ff0000 !important;
}

/*  numéros de pagination au hover */
.dataTables_wrapper .dataTables_paginate .paginate_button .page-item :hover {
  color: #fff !important;
  background-color: #ff9900 !important;
}

.circle-text {
  display: inline-block;
  width: 100px;
  /* Ajustez la taille du cercle selon vos préférences */
  height: 100px;
  /* Ajustez la taille du cercle selon vos préférences */
  border-radius: 50%;
  /* Pour créer un cercle */
  background-color: #ff0000;
  /* Couleur de fond */
  color: #fff;
  /* Couleur du texte */
  text-align: center;
  line-height: 100px;
  /* Pour centrer le texte verticalement */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  /* Ombre */
  font-size: 24px;
  /* Taille de la police */
}

.circle-text2 {
  display: inline-block;
  width: 100px;
  /* Ajustez la taille du cercle selon vos préférences */
  height: 100px;
  /* Ajustez la taille du cercle selon vos préférences */
  border-radius: 50%;
  /* Pour créer un cercle */
  background-color: #00aeff;
  /* Couleur de fond */
  color: #fff;
  /* Couleur du texte */
  text-align: center;
  line-height: 100px;
  /* Pour centrer le texte verticalement */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  /* Ombre */
  font-size: 24px;
  /* Taille de la police */
}

.trapezoid {
  width: 100px;
  /* Largeur de la base du trapèze */
  height: 0;
  border-bottom: 50px solid #3498db;
  /* Hauteur du trapèze */
  border-left: 25px solid transparent;
  /* Largeur de la partie inclinée du trapèze */
  border-right: 25px solid transparent;
  /* Largeur de la partie inclinée du trapèze */
}

/* style modal paiement */

/* Styles pour la mise en forme des boutons radio et des images */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-check {
  width: 48%;
  /* Ajustez selon vos besoins pour avoir deux éléments côte à côte */
  margin-bottom: 10px;
}

.payment-option {
  text-align: center;
}

.payment-option img {
  border-radius: 50%;
  width: 60px;
  /* Ajustez la taille selon vos besoins */
  height: 60px;
  /* Ajustez la taille selon vos besoins */
}

/* Styles pour le badge des messages non lus */
.noti-badge-custom {
  color: white;
  background-color: #ff0000;
}

.btn.btn-primary {
  background: linear-gradient(to right, #ffac00, #fa2000) !important;
  border: 1px solid #ffac00 !important;
  color: #fff !important;
}

.btn.btn-secondary {
  background-color: grey;
  border: 1px solid grey !important;
  color: #ffffff !important;
}

/* Styles de base pour le bouton radio (non coché) */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid orange;
  /* Bordure rouge */
  border-radius: 50%;
  /* Forme circulaire */
  width: 16px;
  /* Largeur du bouton radio */
  height: 16px;
  /* Hauteur du bouton radio */
  outline: none;
  /* Supprimer la mise en surbrillance par défaut */
  transition: 0.3s;
  /* Transition pour les animations */
}

.product-icon {
  font-size: 18px;
  margin-right: 5px;
}

.ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: gold;
  color: #333;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 5px;
}

.card .face {
  width: 100%;
  height: 100%;
  transition: 0.5s;
}

.card .face.face1 {
  position: relative;
  background: #f57600;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
  border-radius: 10px;
}

.card:hover .face.face1 {
  background: #ff0000;
  transform: translateY(0);
}

.card .face.face1 .content {
  opacity: 1;
  transition: 0.5s;
}

.card:hover .face.face1 .content {
  opacity: 1;
}

.card .face.face1 .content img {
  max-width: 100px;
  border-radius: 5px;
}

.card .face.face1 .content h3 {
  margin: 5px 0 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.2em;
}

.card .face.face2 {
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-100px);
  border-radius: 10px;
}

.card:hover .face.face2 {
  transform: translateY(0);
}

.card .face.face2 .content p {
  margin: 0;
  padding: 5px 0;
  text-align: center;
}

.card .face.face2 .content a {
  margin: 10px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
  border-radius: 5px;
  text-align: center;
}

.card .face.face2 .content a:hover {
  background: #333;
  color: #fff;
}

#filterButtons .btn {
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  /* Bleu Bootstrap */
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

#filterButtons .btn {
  background-color: orange;
  color: white;
  /* Couleur du texte */
  border-color: orange;
  /* Couleur de la bordure */
  display: flex;
  padding: 10px 15px;

  flex-wrap: wrap;
  gap: 10px;
  /* Espace entre les boutons */
  justify-content: center;
  /* Centrer les boutons */
  padding: 10px;
}

#filterButtons {
  display: flex;
  flex-wrap: wrap;
  /* Permet le retour à la ligne sur petits écrans */
  gap: 10px;
  /* Espace entre les boutons */
  justify-content: center;
  /* Centrer les boutons */
  padding: 10px;
  /* Ajouter un peu d'espace autour */
}

@media screen and (max-width: 768px) {
  #filterButtons {
    flex-direction: column;
    /* Empiler les boutons sur mobile */
    align-items: center;
  }

  #filterButtons .btn {
    width: 100%;
    /* Largeur complète pour bien s'adapter */
    text-align: center;
  }
}

#filterButtons .btn:hover {
  background-color: #ff0000;
  border-color: #ff0000;
}

#filterButtons .btn.active {
  background-color: #ff0000;
  border-color: #ff0000;
}

/* Styles pour le bouton radio lorsqu'il est coché */
input[type="radio"]:checked {
  background-color: orange;
  /* Fond rouge */
  border-color: orange;
  /* Bordure rouge */
}

.detail_produit {
  color: rgb(0, 20, 46);
  font-weight: bold;
}

.custom-layout {
  display: flex;
}

.left-content {
  flex: 1;
  /* La colonne de gauche prend tout l'espace disponible */
}

.right-content {
  width: 50%;
  /* La colonne de droite occupe 50% de la largeur */
}

/* image clickable */
@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.zoom-effect {
  animation: bounce 0.9s infinite;
}

img.clickable {
  cursor: pointer;
}

/*  */
.custom-card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.card-text {
  font-size: 13px;
  color: #333333b9;
  margin-bottom: 5px;
}

.card-text1 {
  font-size: 23px;
  color: #333333;
  margin-bottom: 5px;
}

.btn-shadow {
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.btn-shadow:hover {
  transform: scale(1.05);
}

.navigations {
  display: flex;
  margin: auto;
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#chatContain {
  position: relative;
  width: 100%;
}

.card-containerChat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  height: 100%;
  /* margin: 20px 20px 20px 20px; */
}

.cardChat {
  background-color: #fff;
  /* Couleur de fond de la carte */
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  width: 50%;
  height: 50%;
}

.profile-img {
  border-radius: 50%;
  font-size: 10px;
  object-fit: cover;
  margin-bottom: 1rem;
  width: 100px;
  height: 100px;
}

.social-icons {
  display: flex;
  justify-content: center;
  /* Centrer les icônes horizontalement */
  gap: 1rem;
  /* Espacement entre les icônes */
}

.social-icon {
  text-decoration: none;
  /* Retirer la décoration des liens */
  color: #333;
  /* Couleur des icônes */
  font-size: 1.5rem;
  /* Taille des icônes */
}

.social-icon:hover {
  color: #007bff;
  /* Couleur des icônes au survol */
}

.btn-primary {
  background-color: #007bff;
  /* Ajuster la couleur du bouton */
  border: none;
}

/* chat */

/* profil */
/* Conteneur principal */
.profile-container {
  position: relative;
  padding-top: 50px;
  /* Espacement pour ne pas chevaucher le contenu */
}

/* Photo de couverture */
#banner {
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Bouton de modification de la photo de couverture */
.banner-edit-form {
  position: absolute;
  bottom: 10px;
  /* Déplacer le bouton de modification 10px du bas de la bannière */
  right: 10px;
  /* Déplacer le bouton tout à droite */
  z-index: 2;
}

.banner-edit-btn {
  /* Fond semi-transparent */
  border-radius: 60%;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.banner-edit-btn i:hover {
  text-shadow: 2px 2px 5px rgb(173, 173, 173);
  /* Change couleur au survol */
}

/* Icône de l'édition */
.banner-edit-btn i {
  padding-top: 10px;
  font-size: 25px;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

/* Logo */
.logo-container {
  position: absolute;
  bottom: -40px;
  /* Déplacer le logo un peu en bas */
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  padding: 5px;
  border-radius: 50%;
  background-color: #fff;
}

.logo-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

/* Bouton de modification du logo */
.logo-edit-form {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.logo-edit-btn {
  /* Fond semi-transparent */
  border-radius: 60%;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logo-edit-btn i {
  padding-top: 10px;
  font-size: 25px;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.logo-edit-btn i:hover {
  text-shadow: 2px 2px 5px rgb(173, 173, 173);
  /* Change couleur au survol */
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
  #banner {
    height: 150px;
  }

  .logo-img {
    width: 80px;
    height: 80px;
  }

  .logo-container {
    bottom: -40px;
  }

  .logo-edit-btn {
    padding: 2px;
  }

  .banner-edit-btn {
    padding: 12px;
  }
}

/* Pour les très petits écrans */
@media (max-width: 576px) {
  #banner {
    height: 120px;
  }

  .logo-img {
    width: 70px;
    height: 70px;
  }

  .logo-container {
    bottom: -50px;
  }

  .banner-edit-btn {
    padding: 10px;
  }

  .logo-edit-btn {
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .card-body {
    padding: 1rem;
    /* Réduit l'espace interne pour les petits écrans */
  }

  .table {
    font-size: 0.9rem;
    /* Réduit la taille du texte dans le tableau */
  }

  .col-md-2 {
    text-align: center;
  }

  .img-fluid {
    width: 100%;
    /* L'image occupe toute la largeur sur les petits écrans */
    height: auto;
    /* Maintient les proportions de l'image */
  }
}

/* Base styles navbar */
.card-body {
  /* padding: 30px; */
  /* background-color: #f4f7fb; */
  border-radius: 8px;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

/* Narvbar */

/* Title styling */
/* Style pour le titre avec dégradé et contour */
.header-title {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ffbf47, #ff0000);
  /* Dégradé coloré */
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  position: relative;
  /* padding-left: 30px; */
  text-transform: uppercase;
  margin-bottom: 50px;
}

/* Icône */
.header-title i {
  color: #ff6347;
  font-size: 1.6rem;
  /* margin-right: 10px; */
}

/* Effet de survol pour souligner le texte */
.header-title:before {
  content: "";
  position: absolute;
  /* bottom: -5px; */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fa2904;
  /* Bordure dynamique en bas */
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.headerDiv {
  margin-top: 10%;
}

.header-title:hover:before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.header-title:hover {
  color: #ff6347;
  /* Changer la couleur du texte au survol */
}

/* Cards styling */
.info-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 180px;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 30px;
  color: #ff8800;
  margin-bottom: 15px;
}

.info-text {
  font-size: 1rem;
  color: #333;
}

.info-text .label {
  font-weight: 600;
  color: #ff8800;
}

.info-text dt {
  font-size: 1rem;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Responsive layout */
@media (max-width: 768px) {
  .info-card {
    height: auto;
  }
}

@media (max-width: 576px) {
  .header-title {
    font-size: 0.8rem;
  }

  .headerDiv {
    margin-top: 30%;
  }

  .info-text {
    font-size: 0.8rem;
  }
}

/* profil */
/* promo */

.card-product {
  width: 16rem;
  margin-bottom: 1rem;
  height: 300px;
}

.card-product img {
  height: 200px;
  object-fit: cover;
}

.checkbox-container {
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
}

/* Appliquer une échelle à l'élément */
input[type="checkbox"] {
  width: 30px;
  height: 30px;
  transform: scale(1.5);
  transform-origin: 0 0;
  margin: 5px;
}

.btn-outline-warning.shadow {
  width: 400px;
  max-width: 100%;
  padding: 10px 15px;
  white-space: nowrap;
}

.btn-large-custom {
  padding: 3rem 4rem;
  font-size: 2.8rem;
  line-height: 1.8;
  width: 400px;
}

/* promo */

/* carroussel */
.carousel-inner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* Ajustez la hauteur selon vos besoins */
}

.carousel-indicators {
  bottom: -20px;
  /* Ajustez la position des indicateurs */
}

.carousel-indicators button {
  background-color: #ff9900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.952);
}

.carousel-indicators .active {
  background-color: #ff0000;
  /* Couleur des indicateurs actifs */
}

.carousel-btn {
  background-color: rgba(0, 0, 0, 0.26);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* carroussel */

/* style modal commission */
/* Style du corps du modal */
.modal-body {
  background-color: #f5f5f5;
  /* Couleur de fond */
  padding: 20px;
}

/* Style des éléments de données (nombre de commandes, commission, nombre de produits) */
p {
  margin: 0;
  padding: 5px 0;
  /* font-weight: bold; */
}

/* Style des valeurs des données */

.modal-body span {
  color: #ff0000;
}

/* Style du bouton de fermeture */
.modal-footer button {
  background-color: #ff0000;
  /* Couleur du bouton de fermeture */
  color: #fff;
  /* Couleur du texte du bouton de fermeture */
}

/* Style de la bordure du modal */
.modal-content {
  border-radius: 10px;
  /* Coins arrondis */
}

/* Style pour la section de calendrier */
#calendarSection {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style pour la date du calendrier */
#datePicker {
  font-size: 18px;
  font-weight: bold;
}

.gateway {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Style pour les tables de calendrier */
.table {
  background-color: white;
  margin-top: 20px;
  border-radius: 5px;
  justify-content: center;
  width: auto;
}

/* Style pour les en-têtes de table */
thead {
  background-color: #ffdd57;
}

/* Style pour le message en rouge */

/* Style pour les boutons de table */
.table tbody tr:hover {
  background-color: #e5e5e5;
}

.requiresPrescriptionCase {
  width: 40px;
  height: 50px;
  background-color: #000;
}

/* Styles pour un champ de saisie désactivé */
#endDate:disabled {
  background-color: #fafafa;
  /* Couleur de fond grise */
  color: #555;
  /* Couleur du texte grise */
}

/* Styles pour le titre "Messages non lus" */
#chat_indic {
  font-weight: bold;
  padding: 10px 15px;
  color: #ff0000;
}

/* Styles pour les items de message non lu */
.notify-item {
  display: flex;
  align-items: center;
  width: 300px;
}

/* Styles pour le lien "Tout voir" */
.notify-all {
  text-align: center;
  padding: 10px;
  text-decoration: underline;
}

body {
  background: #f5f5f5;
}

.clicked :hover {
  color: #ff0000;
  /* Changez la couleur en fonction de vos préférences */
  /* color: #ffffff; Couleur du texte */
}

/* Style pour les labels lorsque les cases sont cochées */
.toggle-button input[type="checkbox"]:checked + label {
  color: green;
  /* Changer la couleur du texte en vert */
}

/* Style pour les labels lorsque les cases sont décochées */
.toggle-button input[type="checkbox"] + label {
  color: red;
  /* Changer la couleur du texte en rouge */
}

.toggle-buttons {
  display: flex;
  flex-wrap: wrap;
}

.toggle-button {
  display: inline-block;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.toggle-button input[type="checkbox"] {
  display: none;
}

.toggle-button.active {
  background-color: #ff0000;
  color: white;
  border-color: #ff0000;
}

.toggle-button.active:hover {
  background-color: orangered;
  border-color: orangered;
}

/* Styles pour le menu principal */
.menu {
  list-style: none;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
}

/* Styles pour les sous-menus */
.submenu {
  display: none;
  padding-left: 20px;
}

.has-submenu:hover .submenu {
  display: block;
}

/* Styles pour les liens du menu */
.menu-link {
  text-decoration: none;
  color: #333;
}

.menu-link:hover {
  color: #007bff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.custom-button-class {
  background-color: orange;
  color: white;
  border: 2px solid orange;
}

#acceptOrder {
  background-color: #00c753;
  color: white;
}

#rejectOrder {
  background-color: #ff0000;
  color: white;
}

@media print {
  body {
    margin: 0;
    padding: 0;
  }

  .btn,
  .modal-header button {
    display: none;
  }

  .modal-body {
    padding: 0;
  }
}

.btn-orange-border {
  background-color: #ffffff;
  color: orange;
  border: 2px solid #ff0000;
}

.btn-orange-border:hover {
  background-color: #ffffff;
  color: #ff0000;
  border: 2px solid orange;
}

.custom-icon {
  font-size: 20px;
  color: white;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 5px 10px;
  border-radius: 50%;
  transition: border-color 0.1s, background-color 0.1s;
  /* Animation de transition */
}

/* Style au survol de l'icône */
.custom-icon:active {
  border-radius: 50%;
  color: white;
  background-color: #f5c381be;
  /* Couleur de fond au survol */
}

input.form-control:focus {
  outline: none;
  border-color: orange;
  box-shadow: none;
}

a {
  text-decoration: none;
}

#btn-floating:hover {
  animation-name: pulse;
  /* Nom de l'animation "pulse" de Animate.css */
  animation-duration: 1s;
}

.dash_lien:hover {
  border-color: orange;
  box-shadow: none;
  text-decoration: none;
}

.floating-button {
  position: fixed;
  top: 120px;
  right: 10px;
  z-index: 1000;
  border-radius: 50%;
  height: 10%;
  background-color: #ff0000;
  box-shadow: 30px 30px 30px rgb(0, 0, 0);
}

.btn-orange-border {
  border-color: orange;
  color: orange;
  transition: all 0.3s;
}

.btn-orange-border:hover {
  border-color: #ff0000;
  color: #ff0000;
}

#card_body:hover {
  animation-name: pulse;
  /* Nom de l'animation "pulse" de Animate.css */
  animation-duration: 1s;
  /* Durée de l'animation */
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    /* État initial et final de l'animation */
  }

  50% {
    transform: scale(1.05);
    /* État au milieu de l'animation */
  }
}

.spinner {
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-top: 3px solid #95c8ff;
  /* Couleur bleue pour la partie supérieure du spinner */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

.ftco-section {
  margin-top: 5rem;
}

.heading-section {
  font-size: 28px;
  color: #000;
}

.img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.wrap {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
}

.img,
.login-wrap {
  width: 50%;
}

@media (max-width: 991.98px) {
  .img,
  .login-wrap {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .wrap .img {
    height: 250px;
  }
}

/* css publicité */
.publication {
  display: flex;
  flex-direction: row;
}

.col-md-5 {
  width: 50%;
  /* Divise l'espace en deux colonnes */
}

/*  */
.message-options {
  display: flex;
  align-items: center;
}

.read-indicator {
  width: 8px;
  height: 8px;
  background-color: #007bff;
  /* Couleur bleue pour l'indicateur de lecture */
  border-radius: 50%;
  margin-right: 5px;
}

.send-indicator {
  width: 8px;
  height: 8px;
  background-color: #b41f1f;
  /* Couleur bleue pour l'indicateur d'envoi */
  border-radius: 50%;
  margin-right: 5px;
}

.login-wrap {
  position: relative;
  /* background: #CCC; */
  font-weight: 300;
}

.login-wrap {
  font-weight: 700;
}

.form-group {
  position: relative;
}

.form-group .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  font-weight: 700;
}

.form-group a {
  color: black;
  font-weight: 700;
}

.form-control {
  height: 48px;
  background: #fff;
  color: #000;
  font-size: 16px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: rgba(0, 0, 0, 0.2) !important;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: rgba(0, 0, 0, 0.2) !important;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: rgba(0, 0, 0, 0.2) !important;
}

.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: rgba(0, 0, 0, 0.2) !important;
}

.form-control:focus,
.form-control:active {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #ffac00;
}

.social-media {
  position: relative;
  width: 100%;
}

.social-media .social-icon {
  display: block;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 16px;
  margin-right: 5px;
  border-radius: 50%;
}

.social-media .social-icon span {
  color: #999999;
}

.social-media .social-icon:hover,
.social-media .social-icon:focus {
  background: linear-gradient(to right, #ffac00, #fa2000);
}

.social-media .social-icon:hover span,
.social-media .social-icon:focus span {
  color: #fff;
}

.checkbox-wrap {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-wrap input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "\f0c8";
  font-family: "FontAwesome";
  position: absolute;
  color: rgba(0, 0, 0, 0.1);
  font-size: 20px;
  margin-top: -4px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .checkmark:after {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

/* Show the checkmark when checked */
.checkbox-wrap input:checked ~ .checkmark:after {
  display: block;
  content: "\f14a";
  font-family: "FontAwesome";
  color: rgba(0, 0, 0, 0.2);
}

.close-menu-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.close-menu-btn i {
  color: #070101b7;
}

/* Styles de base */
/* #sideMenu {
  margin: 0;
  padding: 0;
  left: 0;
  width: 250px;
  transition: width 0.3s ease;
}

#contentPage {
  margin-left: 250px;
  transition: margin-left 0.3s ease;
  width: calc(100% - 250px);
}

/* Fermeture de la barre de menu */
#sideMenu.collapsed {
  width: 0;
  overflow: hidden;
}

/* Ajuster le contenu lorsque le menu est fermé */
#contentPage.collapsed {
  margin-left: 0;
  width: 100%;
}

/* Pour les écrans moyens (tablettes et petits ordinateurs) */
@media (max-width: 1024px) {
  #sideMenu {
    width: 200px;
  }

  #contentPage {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
}

/* Pour les petits écrans (mobiles) */
@media (max-width: 768px) {
  #sideMenu {
    width: 180px;
  }

  #contentPage {
    margin-left: 180px;
    width: calc(100% - 180px);
  }
}

/* Pour les très petits écrans (mobiles compacts) */
@media (max-width: 576px) {
  #sideMenu {
    width: 0;
    overflow: hidden;
    /* Masquer complètement le menu */
  }

  #contentPage {
    margin-left: 0;
    width: 100%;
    /* Le contenu prend toute la largeur */
  }
}

*/ #notifCadre {
  font-size: 16px;
  font-weight: bold;
  color: #000000d8;
  white-space: normal;
  word-wrap: break-word;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* #notificationDateTime {
  font-size: 12px;
  color: #999;
} */

.notification-container {
  position: relative;
  display: inline-block;
}

.notification-icon {
  position: relative;
  cursor: pointer;
}

.icon {
  width: 24px;
  /* Taille de l'icône */
  height: 24px;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}

.notification-dropdown {
  display: none;
  /* Caché par défaut */
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  width: 300px;
  /* Ajuster la largeur selon vos besoins */
}

.notification-container:hover .notification-dropdown {
  display: block;
  /* Afficher lors du survol */
}

.notification-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #333;
}

.notification-item:hover {
  background-color: #f5f5f5;
}

.notify-icon img {
  width: 80px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 10px;
  padding: 2px;
  margin-bottom: 20px;
  border: 2px solid #49494925;
}

/* Style pour le modal */
.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

.modal-content {
  border-radius: 12px;
  background-color: #fefefe;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Styles pour le conteneur de la notification */
#missedOrdersNotification {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #ff4d4d;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
}

#missedOrdersNotification:hover {
  background: #e63946;
}

/* Style de l'icône */
#missedOrdersNotification i {
  font-size: 16px;
}

/* Badge du nombre de commandes */
#missedOrdersCount {
  background: white;
  color: #ff4d4d;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Style du modal façon liste de notifications */
#missedOrdersModal {
  position: fixed;
  top: 60px;
  right: 15px;
  width: 320px;
  max-height: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  display: none;
  flex-direction: column;
}

.modal-content {
  padding: 10px;
}

/* Style du bouton de fermeture */
.modal-content .close {
  font-size: 18px;
  color: #999;
  float: right;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content .close:hover {
  color: black;
}

/* Liste des commandes */
#missedOrdersList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#missedOrdersList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

#missedOrdersList li:last-child {
  border-bottom: none;
}

/* Style du bouton valider */
.btn-validate {
  background: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
}

.btn-validate:hover {
  background: #0056b3;
}

/* Style du bouton reset */
.btn-reset {
  background: #ddd;
  color: black;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 10px;
}

.btn-reset:hover {
  background: #bbb;
}

/* Images dans des cartes */
.cardM {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardM:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cardM-img-top {
  height: 150px;
  object-fit: cover;
}

/* Liste des produits */
.list-group-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.list-group-item strong {
  color: #333;
}

.list-group-item small.text-muted {
  font-style: italic;
}

/* Boutons */
.btn {
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.notify-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.text-muted {
  font-size: 14px;
  color: #888;
}

.text-muted2 {
  font-size: 14px;
  color: #888;
  display: block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Assurez-vous d'avoir les icônes nécessaires, comme Font Awesome ou un autre ensemble d'icônes */
.icon-eye {
  font-family: "Font Awesome 5 Free";
  /* Si vous utilisez Font Awesome */
  font-weight: 900;
  content: "\f06e";
  /* Code de l'icône d'œil, vérifiez le code exact dans la documentation de votre bibliothèque d'icônes */
  margin-right: 8px;
  /* Espacement entre l'icône et le texte */
}

.notify-all {
  color: rgba(255, 0, 0, 0.788);
  text-decoration: none;
}

.notify-all:hover {
  color: #ff000052;
  text-decoration: none;
}

.notify-all:active {
  color: rgba(255, 0, 0, 0.521);
}

.modal-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.notify-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-orange {
  background-color: orange;
}

.notifications-container {
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-menu-large {
  width: 700px;
}

/* .dropdown-menu-xl {
  width: 900px;
} */

#chat_indicator {
  background-color: #ffac00;
}

/* Style the checkmark/indicator */
.checkbox-primary {
  color: linear-gradient(to right, #ffac00, #fa2000);
}

.checkbox-primary input:checked ~ .checkmark:after {
  color: linear-gradient(to right, #ffac00, #fa2000);
}

.btn {
  cursor: pointer;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-size: 15px;
  padding: 10px 20px;
}

.btn:hover,
.btn:active,
.btn:focus {
  outline: none;
}

.btn.btn-primary {
  background: linear-gradient(to right, #ffac00, #fa2000) !important;
  border: 1px solid #ffac00 !important;
  color: #fff !important;
}

.btn.btn-primary:hover {
  border: 1px solid #ffac00;
  background: transparent;
  color: linear-gradient(to right, #ffac00, #fa2000);
}

.btn.btn-primary.btn-outline-primary {
  border: 1px solid #ffac00;
  background: transparent;
  color: linear-gradient(to right, #ffac00, #fa2000);
}

.btn.btn-primary.btn-outline-primary:hover {
  border: 1px solid transparent;
  background: linear-gradient(to right, #ffac00, #fa2000);
  color: #fff;
}

.ride-card {
  text-decoration: none !important;
  transition: transform 0.2s linear;
}

.ride-card:hover {
  transform: scale(103%);
}

.ride__status--error .card {
  transition: box-shadow 0.2s linear;
  box-shadow: 0 0 5px 2px #fa2000;
}

.ride__profil {
  height: 80px;
  width: 80px;
}

.ride__profil img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes spinning {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.ride__spin {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-top-color: #ccc;
  border-radius: 50%;
  animation: spinning 1s linear infinite;
}

.ride__spin--small {
  width: 15px;
  height: 15px;
}
