
.hidden {
  display: none;
}

a.invisible-link {
    all: unset;
    cursor: pointer;
}

.my_btn-b5 {
  margin-bottom: 5px;
}



.my_btn:disabled{
    background-color: #606870;
}

.my_btn.right {
    margin-left: auto;
}

.input_research {
    padding: 10px;
    margin: 10px;
    max-width: 95%;
}

.my-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffd783; /* couleur quand cochée */
}

.separator {
  margin: 1px;
  color: #888;
  display: flex;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
    transform: scaleX(0);
  transform-origin: center;
  animation: grow 0.5s ease forwards;
}

.separator::before {
  margin-right: 10px;
}

.separator::after {
  margin-left: 10px;
}

/* animation */
@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

.device_research input{
    width: 95%;
}

.warning-text{
    color: darkred;
    font-size: 0.8rem; /* Taille personnalisée */
}

.warning-title{
    color: red;
    font-size: 1rem; /* Taille personnalisée */
}

/* Gestion de la classe Carte */
  .carte {
    position: relative;
    width: 100%;
    margin: 5px;
      padding: 10px;      /*a pour effet de décaler les enfants de 10px*/
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      background-color: #fff;
  }

  .carte.wizard {
    /*height: 300px;*/
    max-height: 450px;
    display: flex;
    flex-direction: column;
    border: 0;
    box-sizing: border-box;
  }

  .carte .center{
      display: flex;
      align-content: center;
      justify-content: center;
  }

  .carte .schedule{
    border: 0;
    box-sizing: border-box;
  }

  .carte .calendar-bloc{
    height: 300px;
    display: flex;
    flex-direction: column;
    border: 0;
    box-sizing: border-box;
  }

/* Téléphones */
@media (max-width: 768px) {
    .carte.wizard {
        height: 500px;
        padding: 0;
        margin: 0;
    }
}
  .carte.wizard .wz-calendar{

      border: 1px solid #e5e5e5;
      display: flex;
      flex-direction: column;
      border-radius: 10px;
      max-height: 90%;
      min-height: 0; /* IMPORTANT */
      overflow-y: auto;
      margin-top: 10px;
  }

  .carte.wizard .wz-calendar.disabled{
      background-color: #e5e5e5;
      overflow-y: hidden;
  }


  .carte.dark {
      background-color: #313b50;
  }

  .carte hr{
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .carte.inv {
      background-color: transparent;
      border: 0px;
  }

  .carte.inv.border{
    border: 1px solid #e5e5e5;
  }

  .carte.inner {
    text-align: center;
  }

  .carte.action {
      background-color: #ffd783;
  }

  .carte-header {
    position: relative;
    margin-left: 0px;
    margin-bottom: 0px;
      padding: 10px 10px 10px 10px ;      //a pour effet de décaler les enfants de 10px
      border: 1px solid #e5e5e5;
      border-radius: 10px 10px 0px 0px;
      background-color: #fff;
    width: 100%;             /* prend toute la largeur du parent */
    height: 100%;
  }

  .carte-icon {
        display: block;
        font-size: 2rem; /* Taille personnalisée */
        color: #4DB347;  /* Couleur personnalisée */
        margin-bottom: 1rem;
    }

  .blur {
    filter: blur(2px);
    }

  .carte-overlay {
      position: absolute;
      top: 40%;
      right: 20%;
      z-index: 10;
      width: 60%;
      height: 20%;
    pointer-events: auto;
  }

  .carte.deactivated:after {
  content: "FILIGRANE";
  position: absolute;
  background-color: antiquewhite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);

  font-size: 7rem;
  color: #4DB347;

  pointer-events: none;
  z-index: 2; /* AU-DESSUS du texte */
}

  .action a{
    display: block;
    text-align: center;
  }

  .carte .carte-title{
      letter-spacing: 0.03rem;
      color: #212529;
  }

  .carte.dark .carte-title{
      letter-spacing: 0.03rem;
      color: #fff;
  }

  .user-profil .carte .carte-title{
      letter-spacing: 0.03rem;
      color: #fff;
  }

  .carte .text{
      color: #6c757d;
  }
  .carte.dark p{
    color: #fff;
  }

  .carte .surtitle{
      color: #6c757d;
  }

  .carte.cachee {

    transform: translateY(200px);
    transition: transform 0.8s ease;
}

  .carte.visible {
    transform: translateY(0);
}


  .my-form-input-inline{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
  }
  .my-form-input-inline .label-input{
      min-width: 150px;
      color: #777;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0;
      line-height: 1;
}


  .address_input {
    margin-bottom: 0px !important;
}

  .carte .select-inner {
    width: calc(100% - 20px);
    height: 45px;
    padding: 0;
    margin-bottom: 27px;
    margin-top: 5px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    border-radius: 15px;
}

  .carte form select{
  width: calc(100% - 20px);
  padding: 0 15px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0 !important;
  background: #fff;
  background-image: none;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #777;
  cursor: pointer;
  border-radius: 15px;
}

  .carte form .select-inner::after {
  content: "\ea4e";
  height: 45px;
  padding: 0 10px;
  position: absolute;
  font-family: "remixicon";
  top: 0;
  right: 0;
  cursor: pointer;
  pointer-events: none;
  font-size: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #777;
}

  .carte form textarea{
    width: calc(100% - 20px);
    margin-bottom: 16px;
    background-color: transparent;
    border: 1px solid #e5e5e5;
    color: #313b50;
    font-size: 14px;
    outline: none;
    border-radius: 15px;
  }

  .carte form .container {
    margin-top: 10px;
  }
  .carte .badge {

    display: inline-flex;         /* flex en ligne pour aligner les spans horizontalement */
    flex-wrap: wrap;              /* permet de revenir à la ligne si nécessaire */
    gap: 5px;                     /* espace horizontal et vertical entre les spans */

    margin: 2px 2px 3px 0px;    /* marge autour du bloc */
    padding: 5px 5px;             /* padding interne */

    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02rem;
    text-transform: capitalize;

    color: #313b50;            /* texte du bloc (sera héritée par les spans) */
    background-color: transparent; /* bloc principal transparent */
    border-radius: 5px;
  }

  .carte .badge.request{
    background-color: rgba(255,193,7, 1);
    color: #000;
  }

  .carte .badge.request.denied{
      text-decoration: line-through;
  }

  .carte .badge.request-sent{
    background-color: rgba(25, 135, 84, 1);
    color: #fff;
  }

  .carte .badge.request-sent.denied{
      text-decoration: line-through;
  }

  .carte .badge.search{
    background-color: rgba(25, 135, 84, 1); /* vert de bootstrap */
    color: #fff;
  }

  .carte .badge.search-denied{
    background-color: darkred; /* vert de bootstrap */
    color:  #fff;
  }

  .carte .badge span {
    padding: 3px 6px;
    background-color: #e0dfe4;
    border-radius: 8px;
    display: inline-block;
  }

  .carte .badge a:hover {
    background-color: #ffd783;
    border: 1px solid #ffd783;
  }

  .carte .input-wrap .input{
    background-color: #ffd783;
    color: #313b50;
  }

  .carte .switch-container{
      display: flex;
      align-items: center;
  }

  .carte .switch-container label{
    margin: 0;
  }

  .carte .switch-container .switch-text{
      color: white;
      margin-left: 5px;
  }

    .carte .switch-container .switch-text.dark{
      color: #313b50;
      margin-left: 5px;
  }

  /* le switch visible */
  .carte .switch-container .switch-label {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 25px;
    background-color: #ccc;  /* couleur du switch éteint */
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .carte .switch-container.elegant .switch-label{
    width: 50px;
    height: 25px;
  }

.carte .switch-container .btn-right{
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 35px;
  min-width: 150px;
  background-color: #ffd783;
  width: auto;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 1px;
  border-radius: 5px;
  text-align: center;
  margin-left: auto;
}



 .user-profil .carte .switch-container.elegant .switch-label{
    width: 50px;
    height: 25px;
    margin-bottom: 10px;
  }

  .carte .switch-container.switch-container-dark .switch-label {
    background-color: #333;  /* nouvelle couleur pour le mode sombre */
  }

/* Bloc radio pour account.html */

  .carte .radio-container{
    padding: 5px;
  }
  .carte .radio-container .radio-label{
    margin: 0;
  }

  .carte .radio-container .radio-label{
      color: white;
  }

.radio-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 25px;
    height: 25px;
    border: 0px solid #999;
    border-radius: 4px; /* 👈 carré avec coins légèrement arrondis */
    background: white;
    transition: all 0.2s ease;
}

/* 2. structure du label */
.radio-label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
}

.form-check-input:checked + .radio-label::before {
    background-color: #ffd783;
    border-color: #ffd783;
}

/* petit check (optionnel) */
.form-check-input:checked + .radio-label::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 10px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* ... existing code ... */

  .btn-long {
    width: 100%;
    display: block;
  }
  .btn-etiquette {
    background-color: #ffd783;
    border-radius: 0px 0px 10px 10px;
    border: 0px solid;
    display: block;
    margin: 0 auto;
    transform: translateY(-11px);
    text-align: center;
    transition: none; /* pas d'animation */
  }

  .btn-etiquette.long {
      width: 100%;
  }

  .btn-register.left {
    border-radius: 10px 0px 0px 10px;
  }
  .btn-register.right {
    border-radius: 0px 10px 10px 0px;
  }

/* Ne rien changer au clic */
.btn-etiquette:active,
.btn-etiquette:focus,
.btn-etiquette:hover,
.btn-etiquette:focus-visible {
  transform: translateY(-11px) !important;
  background-color: #ffd783 !important; /* même que normal */
  outline: none !important;
  color: #212529;
}

.btn-colles {
  display: inline-block;
}
 .btn-register {
    background-color: #fff;
    border-radius: 10px 10px 10px 10px;
    border: 2px solid #ffd783;
    margin: 0 auto;
    text-align: center;
    transition: none; /* pas d'animation */
  }
   .btn-register.left {
    border-radius: 10px 0px 0px 10px;
    border-right: 1px solid #ffd783;;
  }
  .btn-register.right {
    border-radius: 0px 10px 10px 0px;
    border-left: 1px solid #ffd783;;
  }

  .btn-register:active,
  .btn-register.active{
    background-color: #ffd783 !important; /* même que normal */
    border: 2px solid #ffd783;
    outline: none !important;
    color: #212529;
  }

.btn-register:focus,
.btn-register:hover,
.btn-register:focus-visible {
  background-color: #ffd783 !important; /* même que normal */
  outline: none !important;
  color: #212529;
}

.semi-button-left{
    border-radius: 10px 0px 0px 10px;
}

.semi-button-right{
    border-radius: 0px 10px 10px 0px;
}

  .badge-small {
  font-size: 0.75rem;   /* texte plus petit */
  font-weight: 400;     /* texte normal (pas gras) */
}

  /* le "bouton" à l’intérieur */
  .switch-label::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 31px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.3s;
  }

  span.check-group {
  border: 1px solid #ff9900;
  padding: 2px 4px;   /* OK même sur inline, mais vertical limité */
  border-radius: 4px;
}

  .switch-label.elegant::before {
    height: 21px;
  }

  /* état checked */
  .form-check-input:checked + .switch-label {
    background-color: #ffd783; /* couleur du switch allumé */
  }

  .form-check-input:checked + .switch-label.freezed {
    background-color: rgba(255, 215, 131, 0.63); /* couleur du switch allumé */
  }


  .form-check-input:checked + .switch-label::before {
    transform: translateX(25px); /* déplace le bouton vers la droite */
  }

    .qr_code {
    width: 400px;      /* largeur fixe */
    height: 400px;     /* hauteur fixe */
    max-width: 100%;   /* ne dépasse jamais le conteneur */
    display: block;    /* pour centrer facilement */
    margin: 0 auto;    /* centre horizontalement */
  }
  .my-btn-qrcode {
    width: 100%;        /* prend toute la largeur du parent */
    max-width: 200px;   /* mais ne dépasse pas 200px */
    padding: 10px 20px;
    font-size: 16px;
    margin: 10px 0 20px 0;
  }

  /* boutons */
.mn-btn-submit {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 7px 12px;
  background-color: #ffd783;
  color: #333;
  border-radius: 10px;
  border: 0;
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  overflow: hidden;
}
.mn-btn-submit span {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  z-index: 2;
}
.mn-btn-submit:after {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  content: "";
  width: 200px;
  height: 200px;
  background-color: #ffd783;
  position: absolute;
  left: -240px;
  top: -75px;
  -webkit-transform: rotate(145deg);
          transform: rotate(145deg);
}
.mn-btn-submit:hover {
  color: #313b50;
  background-color: #ffd783;
}
.mn-btn-submit:hover:active {
  color: #313b50;
}
.mn-btn-submit:hover:after {
  left: -25px;
  top: -75px;
}
.mn-btn-submit:focus {
  outline: none;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.text-bg-success-light {
    background-color: purple;
    color: white;
}

/** account **/
.mn-accordion.style-app .mn-accordion-item {
  border: 2px solid;
  border-color: #f0f5f0;
  overflow: hidden;
}

.mn-accordion.style-app .mn-accordion-item:is(:only-child) {
  border-radius: 15px 15px 15px 15px;
  margin-bottom: 10px;
}

.mn-accordion.style-app
.mn-accordion-item:first-child:not(:only-child) {
  border-radius: 15px 15px 0px 0px;
  border-bottom: 0;

}

.mn-accordion.style-app
  .mn-accordion-item:last-child:not(:only-child) {
  border-radius: 0px 0px 15px 15px;
  margin-bottom: 10px;
}

.mn-accordion.style-app .mn-accordion-item:not(:last-child) {
  margin-bottom: 0 px;
  border-bottom: 0;
}



.mn-accordion.style-app .mn-accordion-item .mn-accordion-header {
  margin: 0;
  padding: 12px 35px 12px 15px;
  background-color: #fff;/*#e1e5e9;*/
  color: #313b50;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  position: relative;
  font-family: "Poppins, sans-serif";

}

.mn-accordion.style-app .mn-accordion-item .mn-accordion-header:after {
  content: "\EA6E";  //"\ea4e" -> bas, "\EA78" -> fleche vers le haut   "\EA6E"-> fleche vers la droite
  width: 15px;
  height: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: "remixicon";
  cursor: pointer;
  font-size: 24px;
  color: #313b50;
  font-weight: 400;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mn-accordion.style-app .mn-accordion-item.warning .mn-accordion-header:after {
  font-family: "remixicon";
  content: "\eca1";
}

.mn-accordion.style-app .mn-accordion-item.consummables .mn-accordion-header:after {
  font-family: "remixicon";
  content: "\EFAE";
}

.mn-accordion.style-app .mn-accordion-item.down .mn-accordion-header:after {
  font-family: "remixicon";
  content: "\ea4e";  // fleche vers le bas quand ce n'est pas déployé
}
.mn-accordion.style-app .mn-accordion-item.up .mn-accordion-header:after {
  content: "\ea78"; /* flèche vers le haut */
}


.mn-accordion.style-app .mn-accordion-body {
  padding: 15px;
  font-size: 14px;
  color: #777;
  display: none;
  line-height: 24px;
  background-color: rgba(119, 119, 119, 0.09);
}

.mn-accordion.style-app .mn-accordion-body code {
  font-weight: 600;
  font-size: 14px;
  color: #ffd783;
}

.mn-accordion.style-app .mn-accordion-body.show {
  display: block;
}

/* Variante "fixe fermée" : pas d'icône, pas de body, pas d'effet cliquable */
.mn-accordion.style-app .mn-accordion-item.fixed-closed .mn-accordion-header {
  cursor: default;
  padding-right: 15px; /* supprime l'espace réservé à l'icône */
}

.mn-accordion.style-app .mn-accordion-item.fixed-closed .mn-accordion-header:after {
  content: none !important;
  display: none !important;
}

.mn-accordion.style-app .mn-accordion-item.fixed-closed .mn-accordion-body {
  display: none !important;
}

/* Si par erreur la classe "down" est présente, on force aussi l'absence d'icône */
.mn-accordion.style-app .mn-accordion-item.fixed-closed.down .mn-accordion-header:after {
  content: none !important;
  display: none !important;
}

.borrow-pro-content .mn-product-box{
  margin-bottom: 10px;
  padding-right: 5px;
  padding-left: 5px;

}

.file-upload-container {
  display: inline-block;
  position: relative;
  font-family: sans-serif;
}

.file-upload-container input[type="file"] {
  display: none; /* on cache le vrai input */
}

.file-upload-container label {
  display: inline-block;
  background-color: #ffd783;
  color: #333;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.file-upload-container input[type="file"]:disabled + label {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.file-upload-container label:hover {
  background-color: #ffd783;
}

.file-upload-container .file-name {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #555;
}

.title {
  margin-top: 5px;
  font-size: 1.5rem;
  font-weight: normal;
  display: inline-flex; /* permet d’aligner texte + icône */
  align-items: center;   /* centre verticalement */
  gap: 8px;              /* espace entre texte et icône */

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: visible;  /*overflow: hidden; c'était la pour eviter que les titres ne sortent des cases*/
}

.dark .title {
    color: #fff;
}

.mdp_failed {
  color: darkred;
  font-size: 0.8rem;
  font-weight: normal;
  display: inline-block; /* permet d’aligner texte + icône */
}

.mdp_failed.hidden {
  display: none !important;
}

.title .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    background-color: lightgrey;
    border-radius: 50%;

    color: white;
    font-size: 1rem;

    position: relative;
    top: -8px;

    cursor: pointer;
}

.title .icon-badge {
  display: inline-flex;         /* pour centrer l'icône dans le cercle */
  align-items: center;
  justify-content: center;
  width: 28px;                  /* taille du cercle */
  height: 28px;
  background-color: #4DB347;       /* gris clair */
  border-radius: 50%;           /* cercle parfait */
  color: #fff;                  /* icône blanche */
  font-size: 1rem;              /* icône légèrement plus petite que texte */
  cursor: pointer;
  transform: translateY(0px);  /* remonte l'icône par rapport à la ligne */
  transition: background-color 0.2s;
}

.req_date {
  color: #999;
  font-size: 10px;
}


.req_warning {
  color: darkred;
  font-size: 18px;
}

.req_pending {
  color: #9e812a;
  font-size: 15px;
}
.req_accepted{
    color: #198754;
  font-size: 15px;
}

.req_comm {
  color: #999;
  font-size: 10px;
}

/**** modal ****/

.modal-content-center {
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
}
.modal-content-center-sm{
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
  color: grey;
  font-size: 0.9rem;
}

.mn-pro-variations ul li.active, .mn-pro-variation ul li.active {
  background-color: #ffd783 !important;
  color: #000 !important;
  border-color: #ffd783 !important;
}
.mn-pro-variations ul li.active a, .mn-pro-variation ul li.active a {
  color: #fff;
}

/**** CHAT  ***/
  .chat-container {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .messages {
      flex: 1;
      overflow-y: auto;
      margin-top: 0px;
      padding: 1rem;
      background-color: transparent;
    }
    .message {
      max-width: 70%;
      padding: 0.5rem 1rem;
      margin-bottom: 0.5rem;
      border-radius: 15px;
      word-wrap: break-word;
    }
    .message.user {
      background-color: #0d6efd;
      color: white;
      align-self: flex-end;
    }
    .message.other {
      background-color: #e9ecef;
      color: black;
      align-self: flex-start;
    }
    .timestamp {
      font-size: 0.75rem;
      color: #6c757d;
      margin-top: 2px;
    }
    .timestamp.user {
      text-align: right;
    }
    .timestamp.other {
      text-align: left;
    }
    .input-group {
      padding: 10px;
      background-color: #f0f5f0;
      border-top: 0px solid #dee2e6;
    }

    .input-group.right {
      display: flex;
      justify-content: flex-end; /* Aligne le contenu à droite */
      width: 100%; /* Prend toute la largeur disponible */
      padding: 0 10px; /* Optionnel : espace latéral */
    }

    .quantity-selector{
        display: flex;
        align-items: center;

    }

    .quantity-selector .btn{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 30px;
        border-radius: 0;
        border: 1px solid #4DB347;
        vertical-align: middle;
        background: #4DB347;
        color: #fff;
        width: 30px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;

    }

    .quantity-selector .btn.right{
        border-radius: 0 10px 10px 0;
    }

    .quantity-selector .btn.left{
        border-radius: 10px 0px 0px 10px;
    }

    .quantity-selector input{
        width: 50px;
        height: 30px;
        text-align: center;
        border: 1px solid #4DB347;;
        border-radius: 0;
        margin: 0;
    }

        /* Partie input toujours visible en haut */
    .chat-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background-color: #f0f5f0;
      color: white;
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: 1px solid #dee2e6;
    }


    .input-container {

      margin-bottom: 10px;
      background-color: #f0f5f0;
      padding: 10px;
      border-top: 0 px solid #eee;
      z-index: 10;
      border-radius: 15px;
  }

    .chat-header button {
      background: none;
      border: none;
      color: white;
      font-size: 1.25rem;
      cursor: pointer;
    }

    .title-chat {
        letter-spacing: 0.03rem;
        color: #4DB347;
    }

    .chat-footer {
      width: 100%;
      height: 50px;
      padding: 10px 10px 00px 10px;
      position: fixed;  /* fixe par rapport à la fenêtre */
      left: 0;
      bottom: 80px;           /* collé en haut */
      background-color: #f0f5f0;
      display: flex;
      align-items: center;
      border-bottom: 0px solid #293343;
      z-index: 16;      /* au-dessus des messages */
    }

/*** liste deroulante pour les catégories***/
/* Style de base pour le conteneur du select */
.mn-bl-select-inner {
    position: relative;
    display: inline-block;
    width: 100%;
}

.mn-check-login-form .mn-bl-select-inner select.main-select {
    /* tes styles */
   color: #313b50;
}

select option {
    color: red;
}

.main-select option {
    color: red;
}

/* Style du select */
.mn-bill-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    appearance: none; /* Supprime le style par défaut du select */
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/**** infos bulle warning ** /

 */
.tooltip-warning .tooltip-inner {
    background-color: #ffd783; /* Jaune */
    color: #000; /* Texte en noir pour un bon contraste */
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
}

/* Flèche de l'infobulle */
.tooltip-warning .tooltip-arrow::before {
    border-top-color: #ffd783; /* Couleur de la flèche pour une infobulle en haut */
    border-bottom-color: #ffd783; /* Couleur de la flèche pour une infobulle en bas */
}


/* ****  formulaires ***/
.mn-form {
  padding: 0px;
}

.mn-form .block {
  padding: 0px;
}

.mn-form .block label {
  margin-top: 10px;
  margin-bottom: 5px;
}

.mn-form .block input {
  margin-left: 0px;
  margin-bottom: 5px;
  border: 1px solid #ced4da;
}

.mn-form .block select {
  width: 100%;
  padding: 8px 12px;
  margin-top: 10px;
  margin-left: 0px;
  margin-bottom: 5px;
  border-radius: 15px;
  border: 1px solid #ced4da;
  background-color: white;
  font-size: 14px;
}

.my-form-int-input{
    display: flex;
    align-items: center; /* aligne verticalement */
    gap: 8px; /* espace entre input et texte */
    margin-right: 10px;
    color: #777;
}
.my-form-int-input input{
    max-width: 100px;
}

.community-official-detail {
    display: block;          /* Affiche le texte en bloc (une ligne par élément) */
    font-style: italic;       /* Texte en italique */
    color: #6c757d;          /* Couleur grise (Bootstrap's "text-secondary") */
    font-size: 0.8rem;     /* Taille de police réduite (14px par défaut) */
    margin-bottom: 0.5rem;   /* Espace en bas pour séparer les éléments */
    line-height: 1.5;        /* Hauteur de ligne pour une meilleure lisibilité */
}

  .official-shield {
        color: #0d6efd;  /* Couleur personnalisée */
    }

.community-detail {
    display: block;          /* Affiche le texte en bloc (une ligne par élément) */
    color: #6c757d;          /* Couleur grise (Bootstrap's "text-secondary") */
    font-size: 0.875rem;     /* Taille de police réduite (14px par défaut) */
    margin-bottom: 0.5rem;   /* Espace en bas pour séparer les éléments */
    line-height: 1.5;        /* Hauteur de ligne pour une meilleure lisibilité */
}

.paragraphe {
  display: block;
  text-align: justify;
  width: 100%;
}

.backButton {
    display: none; /* Masqué par défaut */
    position: fixed;
    bottom: 3rem !important; /* Équivalent à bottom-0 + m-3 */
    left: 1rem;  /* Équivalent à start-0 + m-3 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Ombre légère */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; /* Taille de la flèche */
    font-weight: bold; /* Flèche en gras */
    width: 50px;
    height: 50px;
    z-index: 1000;
  }

/* Afficher uniquement sur les écrans < 768px (smartphones) */
  @media (max-width: 767.98px) {
    .backButton {
      display: flex !important; /* Affiche le bouton */
    }
  }

/* Tags block */
.mn-tag-block {
  margin: 5px 0 -3px 0;
}

.mn-tag-block.locker {
    margin: 5px;
}
.mn-tag-block a {
  /*margin: 2px 0 3px 0;
  padding: 3px 8px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  text-transform: capitalize;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02rem;
  border: 1px solid #e5e5e5;
  color: #313b50;
  border-radius: 10px;
  background-color: #f1f0f4;*/
}

.mn-tag-block.green{
  background-color: green;
}
.mn-tag-block a:hover {
  background-color: transparent;
}

.locker-calendar-block {
    max-height: 300px;
    overflow: auto;

}

/* ******************* calendrier  */

.calendar-header {
    width: 100%; /* 7 colonnes visibles * 100px */
    border: 0px solid #ccc;
    position: relative;
    margin-top: 15px;
}

.calendar-footer {
    flex-shrink: 0;
    padding-top: 10px;
}
.calendar-container {
    width: 100%; /* 7 colonnes visibles * 100px */
    flex: 1;
    overflow-y: auto;      /* scroll vertical pour lignes */
    overflow-x: hidden;
    border: 0px solid #ccc;
    position: relative;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;

    /*grid-auto-flow: column;                    remplit les colonnes horizontalement */
}

.calendar-month{
  grid-column: 1 / 8; /* commence à la colonne 1, finit avant la colonne 4 */
  color: black;
  display: flex;
  font-size: 1.2rem;
  justify-content: center;
  align-items: center;
}

.calendar-day {

    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    border-style: solid;
    border-color: gray;
    border-width: 0px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.calendar-day.unavailable {
    text-decoration: line-through;
    border-radius: 5px;
    background-color: rgba(255, 215, 131, 0.3);
    color: gainsboro;
}

.calendar-day.closed {
    text-decoration: line-through;
    border-radius: 5px;
    background-color: rgba(220, 220, 220, 0.3);
    color: gainsboro;
}

.calendar-day.over {
  text-decoration: line-through;
  color: gainsboro;
  pointer-events: none;
  cursor: default;
}

.calendar-day.today {
  font-weight: bold;
}

.calendar-day.disabled {
    pointer-events: none;   /* bloque clic + hover */
           /* visuel désactivé */
    cursor: default;
}

.calendar-day:hover {
    /*background-color: #ffd783;*/
    background-color: #ffd783
}
/* Désactive le hover pour les div avec la classe .no-hover */
.calendar-day.no-hover:hover {
    background-color: rgba(220, 220, 220, 0.3);
}

.calendar-in-range-start {
    background-color: #ffd783;
    color: white;
    border-radius: 40px 0px 0px 40px;
}

.calendar-in-range-end {
    background-color: #ffd783;
    color: white;
    border-radius: 0px 40px 40px 0px;
}

.calendar-in-range-middle {
    background-color: #ffd783;
    border-radius: 0px;
}
.calendar-one-day-range{
    background-color: #ffd783;
    color: white;
    border-radius: 40px 40px 40px 40px;
}

.calendar-day-header {
    text-align: center;
    padding-bottom: 8px;
    font-weight: bold;
}

/* formulaires */

.check-login-form input{
  width: 100%;
  margin-bottom: 16px;
  background-color: transparent;
  border: 1px solid #e5e5e5;
  color: #313b50;
  font-size: 14px;
  outline: none;
  border-radius: 15px;
}

.my-form-group label{
    margin-bottom: 5px;
}

.my-form-group .mn-bl-select-inner{
    margin-top: 10px;
}

/***** scheduler  ****/
.schedule-week {
    margin: 0.1rem;
    padding: 0.05rem;
    overflow-y: auto;
}

.schedule-week-day {
  font-size: 0.75rem;   /* texte plus petit */
  font-weight: 400;     /* texte normal (pas gras) */
  background-color: #ffd783;
  padding: 3px 5px 5px 3px;
  margin: 5px;
  border-radius: 10px;
  max-width: 95%;
}

.schedule-week-day.off {
  font-size: 0.75rem;   /* texte plus petit */
  font-weight: 400;     /* texte normal (pas gras) */
  background-color: rgb(255 215 131 / 0.5);
  padding: 3px 5px;
  border-radius: 10px;
}

.schedule-morning-time{
  background-color: #fff2d6;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px
}

.schedule-morning-time .off{
    background-color: #7e1b38;
}

.schedule {
    display: grid;
    grid-template-columns: auto 100px auto auto auto auto auto auto 1fr;
    gap: 5px;
    align-items: center;
    padding: 0.2rem;
     width: 100%;

}

.timepicker {
    background-color: #fff ;
    width: 7ch;
    text-align: center;
}

.timepicker:disabled {
    background-color: #e9ecef ;
    color: #606870;
    cursor: not-allowed;
    opacity: 1; /* évite un effet trop fade */
}

.timepicker.freezed:disabled {
  background-color: #fff; !important
  opacity: 1; /* override du disabled classique */
}

.separator {
    text-align: center;
}

.day {
    font-weight: bold;
    min-width: 70px;
    padding-left: 5px;
}

.schedule input {
    padding-bottom: 6px;
    padding-top: 6px;
    padding-left: 1px;
    padding-right: 1px;
    margin: 0px;

}

.time-box {
    padding: 10px;
    border-radius: 10px;
    background: #eef2ff;
    text-align: center;
    cursor: pointer;
}


/*****/

.check-login-form input:disabled{
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.mn-checkout-content .mn-check-order-btn {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

.mn-checkout-content .mn-check-order-btn submit{
  color: #ff3e1d;
}

.my_map {
    height: 200px;
    width: 100%;
    border: 0px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
}

.suggestions {
    list-style: none;
    padding: 0;
    background-color: #f0f0f0;
    margin-left: 25px;
    border: 0px solid #ccc;
    border-top: 0;
    border-radius: 0px 0px 10px 10px;
    max-width: 300px;
    margin-bottom: 16px;
}

.suggestions li {
    padding: 8px;
    cursor: pointer;

}

.suggestions li:hover {
    background: #f0f0f0;
}


.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto;
}

.label {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.line {
    flex: 1;
    height: 3px;
    background-color: #dee2e6;
    border-radius: 5px;
    margin: 0 10px;
    width: 90%;
}

.line.active {
background-color: #4DB347;
}

/* état actif */
.step.active .circle {
    background-color: #0d6efd;
    color: white;
}

.step.active .label {
    color: #0d6efd;
}

/* étapes complétées (optionnel) */
.step.completed .circle {
    background-color: #198754;
    color: white;
}

.step.completed + .line {
    background-color: #198754;
}

#calendar-warning-modal {
  background: rgba(0, 0, 0, 0.5);
}

#calendar-warning-modal.show ~ .modal-backdrop.show:first-of-type {
  opacity: 0 !important;
}

/*  Tableaux */
/* Style pour les lignes cliquables */
.accordion-toggle {
  cursor: pointer;
}

/* Animation pour le collapse */
.collapse {
    display: block;
    width: 100%;
}

/* Style pour les détails */
.collapse.show {
  display: block;
}

.community-row-detail{
    padding: 10px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.locker-row-detail{
    padding: 10px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.my-table-wrapper {
        flex: 1;

    display: block;
    overflow-x: auto
}

.my-table{
    width: 100%;
    min-width: 700px;
    text-align: center;
}

.my-table .large{
    min-width: 250px;
}

/*caroussel*/
.categories-carousel-container {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.categories-carousel {
    display: flex;
    gap: 0px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
}

.categories-carousel::-webkit-scrollbar {
    height: 8px;
}

.categories-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.categories-carousel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.categories-carousel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 100px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-align: center;
    color: #4DB347;
}

.carousel-item:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.carousel-item svg {
    width: 60px;
    height: 60px;
    color: #4DB347;
    stroke: #4DB347
}

.carousel-item p {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}
