    :root {
  --primary-bg-color: #3d348b; /* Couleur foncée du bouton Quittances */
  --primary-bg-second-color: #E9E8F6; /* Couleur du texte actif à droite */
  /*etiquette sous onglet color*/
  --retard-bg-color: #FFE1E0;  /*couleur background retard */
  --retard-txt-color: #A32F30;  /*couleur retard    */
  --attente-bg-color: #FFF4D6;  /*couleur background attente */
  --attente-txt-color: #854D0F;  /*couleur attente   */
  --payé-bg-color: #D2F6EB;  /*couleur background paye  */
  --paye-txt-color: #377E55;   /*couleur paye   */ 
  --libre-txt-color: #FFFFFF;/*couleur texte    */
  --preavis-bg-color: #E9E8F6;/*couleur background preavis */
}



#etl-loader {
  display: none;
  text-align: center;
  font-size: 26px;
  color: white;
}

#etl-loader::after {
  content: "";
  display: block;
  margin: 10px auto;
  width: 30px;
  height: 10px;
  border: 0px solid #f3f3f3;
  border-radius: 0%;
  border-top: 0px solid #3498db;
  animation: spin 1s linear infinite;
  color: red;
}

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

  100% {
    transform: rotate(360deg);
  }
}

#top-line-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Ensure loader takes full width */
  height: 4px;
  background-color: #29d;
  z-index: 9999;
  transition: width 0.4s ease;
}

/* CSS formulaire One shooot v2 pour masquer les autres blocs et faire le changement d'etat dans biens.js*/
#bloc2_title {
  display: none;
}

#bloc2_text_1 {
  display: none;
}

#bloc2_text_2 {
  display: none;
}

#bloc3_title {
  display: none;
}
#bloc3_text_1 {
  display: none;
}

#bloc3_text_2 {
  display: none;
}

/* CSS pour le formulaire de connexion */
.custom-login-wrapper {
  max-width: 320px;
  margin: 20px auto;
  padding: 25px 20px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  border-radius: 8px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Message si déjà connecté */
.custom-login-message {
  max-width: 320px;
  margin: 20px auto;
  padding: 15px 20px;
  background-color: #e6f7ff;
  border-left: 5px solid #1890ff;
  color: #333;
  font-size: 1rem;
  border-radius: 6px;
  text-align: center;
}

/* Champs du formulaire */
#loginform-custom {
  display: flex;
  flex-direction: column;
}

#loginform-custom p {
  margin-bottom: 15px;
}

/* Labels */
#loginform-custom label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

/* Inputs */
#loginform-custom input[type="text"],
#loginform-custom input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

#loginform-custom input[type="text"]:focus,
#loginform-custom input[type="password"]:focus {
  border-color: #1890ff;
  outline: none;
}

/* Checkbox "Se souvenir de moi" */
#loginform-custom p .forgetmenot {
  display: flex;
  align-items: center;
}

#loginform-custom p .forgetmenot input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}

/* Bouton connexion */
#loginform-custom input[type="submit"] {
  background-color: #1890ff;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#loginform-custom input[type="submit"]:hover {
  background-color: #005bb5;
}

a.btn[href*="wp-login.php"],
a.btn[href*="sign-up"] {
  visibility: hidden;
}

/* CSS pour le message de quota */
.alert-quota {
  padding: 15px;
  margin: 20px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  text-align: center;
}

.btn-upgrade {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1890ff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.btn-upgrade:hover {
  background-color: #005bb5;
}

/* CSS Onglet de navigation Dashboard principal*/

/*

#btnsection>.elementor-widget-container {
    padding: 8px 25px;
    background: #ffffff;
    border: 1px solid black;
    border-radius: 40px;
    cursor: pointer;
}

#btnsection>.elementor-widget-container:active {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    background: #FFFFFF;
}
#btnsection>.elementor-widget-container:active .btn>span,
#btnsection>.elementor-widget-container:active .btn>i
{
    color: #0005F7;
}
#btnsection>.elementor-widget-container>.btn>span {
    font-size: 14px;
}

[class^="btn-outline-"],
[class*=" btn-outline-"] {
    color: #54595f !important;
    border: none !important;
}

.elementor-18746 .elementor-element.elementor-element-dca6813>.elementor-container>.elementor-column>.elementor-widget-wrap {
    align-content: flex-start;
    align-items: center !important;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

[class^="btn-outline-"]:hover,
[class*=" btn-outline-"]:hover {
    background-color: unset !important;
    border-color: unset !important;
    border: none !important;
    color: initial !important;
}

[class^="btn-outline-"]:focus,
[class^="btn-outline-"].focus,
[class*=" btn-outline-"]:focus,
[class*=" btn-outline-"].focus {
    box-shadow: none !important;
}
    
*/

/* ====================================================
   LOGEMENT  Easybail (DataTables)  
   ==================================================== */

/* --- La Base : Colonnes et Structure des Cartes --- */
/* Cacher les <thead> et <tfoot> du tableau pour ne garder que le corps */

table.dataTable.display > tbody > tr.odd > * { box-shadow: none !important; } 
table.dataTable.display > tbody > tr:hover > * { box-shadow: none !important; } 


#DataTables_Table_0 thead,
#DataTables_Table_0 tfoot {
  display: none;
}

/* Le <tbody> devient une grille */
#DataTables_Table_0 tbody {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes desktop */
  gap: 20px; /* Espace entre les cartes */
  padding: 0; /* Assurez-vous qu'il n'y ait pas de padding excessif */
}

/* Chaque <tr> devient une carte */
#DataTables_Table_0 tbody tr {
  display: flex !important; /* Utilise flexbox pour empiler le contenu */
  flex-direction: column; /* Empile les TDs (cellules) verticalement */
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff; /* Fond blanc comme sur l'image */
  overflow: hidden; /* Important pour que l'image dépasse le bord haut */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08); /* Ajoute un peu d'ombre pour l'effet carte */
  margin: 0; /* Retire toute marge par défaut */
  transition: transform 0.2s; /* Effet sympa au survol (optionnel) */
}
#DataTables_Table_0 tbody tr:hover {
  transform: translateY(-2px);
}

/* --- Responsive pour Tablettes et Mobile --- */
@media (max-width: 1024px) {
  #DataTables_Table_0 tbody {
    grid-template-columns: repeat(2, 1fr); /* tablette */
  }
}

@media (max-width: 768px) {
  #DataTables_Table_0 tbody {
    grid-template-columns: 1fr; /* mobile : une seule colonne */
  }
}

/* --- Stylisation des TDs (Cellules) --- */

/* La première cellule (td) qui contient la carte de profil/bien (Bien) */
#DataTables_Table_0 tbody td:nth-child(1) {
  /* Cette cellule contient tout le profil/bien. On supprime le padding de base */
  padding: 0 !important;
  border: none;
  order: 1; /* S'assure qu'elle vient en premier (haut de la carte) */
}

/* Les autres cellules (Situation, Etat, Etat du logement) */
#DataTables_Table_0 tbody td:not(:nth-child(1)) {
  /* Affichez les informations des autres cellules sous forme de lignes claires */
  padding: 10px 15px 5px 15px !important;
  font-size: 0.9em;
  color: #555;
  border-top: none !important;
  margin-top: -1px; /* Pour que la bordure touche le td précédent */
  order: 3; /* Ces infos viennent après le contenu principal */
}

/* Cacher le dernier td si souvent vide pour éviter la bordure inutile */
/* Vous pouvez ajuster ce sélecteur si ce n'est pas le dernier td qui est vide */
#DataTables_Table_0 tbody td:last-child {
  border-top: none !important;
}

/* CSS Pour les Gravity View Loge ment*/

.location-type-vide::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("https://easybail.fr/wp-content/uploads/2025/05/Capture-décran-2025-05-08-à-20.16.29-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 5px;
  /* évite que l’image dépasse */
}

.location-type-meuble::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("https://easybail.fr/wp-content/uploads/2025/05/Capture-décran-2025-05-09-à-00.30.08.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

.location-type-saisonniere::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("https://easybail.fr/wp-content/uploads/2025/06/Capture-decran-2025-06-10-a-22.58.50.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

.location-type-garage::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("https://easybail.fr/wp-content/uploads/2025/05/Capture-décran-2025-05-08-à-20.27.05.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

.gv-container img {
  width: 70px; /* largeur fixe */
  height: 70px; /* hauteur fixe */
  object-fit: cover; /* recadre l’image sans la déformer */
}

.bien-name::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("https://easybail.fr/wp-content/uploads/2025/09/home-button.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

.status {
  display: inline-block;
  padding: 3px 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px; /* arrondi style étiquette */
  color: #fff; /* texte blanc */
}

.status-lou\00e9 {
  background-color: #a7ebd9; /* vert */
}

.status-vide {
  background-color: #ff6c5f; /* rouge */
}

/* ✅ Sur mobile : seules les colonnes .none sont masquées */
@media (max-width: 767px) {
  table.dataTable td.none,
  table.dataTable th.none {
    display: none !important;
  }
}

/* ✅ Sur desktop : tout s'affiche normalement */
@media (min-width: 768px) {
  table.dataTable td.none,
  table.dataTable th.none {
    display: table-cell !important;
  }
}
.gv-datatables-container table.dataTable {
  width: 100% !important;
  table-layout: auto !important;
}

/* Conteneur principal: utilise Flexbox pour l'alignement horizontal (photo vs info) pour locataire*/
.locataire-profil-card {
  display: flex;
  align-items: center; /* Centre verticalement la photo et le texte */
  gap: 15px; /* Espace entre la photo et les informations */
  padding: 10px;
  width: fit-content; /* Le conteneur ne prend que l'espace nécessaire */
  margin-bottom: 5px;
}

/* 1. Colonne de la photo/Initiales */
.profil-photo-colonne {
  flex-shrink: 0;
}

/* 2. Colonne des informations */
.profil-info-colonne {
  display: flex; /* Utilise Flexbox pour aligner nom et email verticalement */
  flex-direction: column;
  justify-content: center;
}

/* Style du Nom/Prénom (ligne du haut, en gras) */
.profil-nom-complet {
  font-weight: 600; /* Moins gras que bold, plus élégant */
  font-size: 16px;
  color: #682ad5;
  line-height: 1.2;
  margin-bottom: 5px;
}

/* Style de l'Email (ligne du bas, en gris) */
.profil-email {
  font-size: 0.85em;
  color: #666;
  line-height: 1.2;
}

/* 2. NEUTRALISE LES OMBRES INTERNES DataTables (Supprime l'effet de bande colorée) */

#DataTables_Table_0 tbody td {
  background-color: #ffffff !important;
}

/* 3. NEUTRALISE LES OMBRES INTERNES DataTables (Supprime l'effet de bande colorée) */
/* Cible l'arrière-plan des lignes impaires */
table.dataTable.stripe > tbody > tr.odd > *,
table.dataTable.display > tbody > tr.odd > *,
table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_1,
table.dataTable.display > tbody > tr.odd > .sorting_1,
table.dataTable.display > tbody > tr.even > .sorting_1,
table.dataTable.order-column.stripe > tbody > tr.even > .sorting_1 {
  box-shadow: none !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  top: 50%;
  left: 5px;
  height: 1em;
  width: 1em;
  margin-top: -9px;
  display: block;
  position: absolute;
  background: url("https://easybail.fr/wp-content/uploads/2025/10/plus-liste-responsive.png")
    no-repeat center center;
  background-size: contain;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1em;
  content: "";
}
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control:before {
  content: "";
  background: url("https://easybail.fr/wp-content/uploads/2025/10/moins-liste-responsive.png")
    no-repeat center center;
  background-size: contain;
}

/* ====================================================
   LOGEMENT  Easybail (DataTables)  
   ==================================================== */

.logement-profil-card-grille {
  gap: 15px;
}

a.bien-nom {
  text-decoration: none;
  color: #000000;
}

.logement-photo-colonne-grille {
  flex-shrink: 0;
}

.logement-info-colonne-grille {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

/* Style du Nom/Prénom (ligne du haut, en gras) */
.logement-nom-complet-grille {
  font-weight: 700;
  font-size: 25px;
  color: #000000 !important;
  line-height: 1.2;
  margin-bottom: 5px;
}

/* Conteneur principal: utilise Flexbox pour l'alignement horizontal (photo vs info) pour logement liste*/
.logement-profil-card-liste {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  width: fit-content;
  margin-bottom: 5px;
}

/* --- Bloc de Détails de Contact (Identité, Email, Téléphone) --- */

.locataire-contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}

.contact-item {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.easybail-photo-initiales {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: var(--primary-bg-second-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: bold;
  color: #fff;
}

.easybail-photo-initiales-background {
  width: 100%;
  height: 200px;
  background: #f5f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.easybail-loyer-statut-etiquette {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  padding: 0px 6px 0px 6px;
  border-radius: 6px;
}
.easybail-loyer-statut-etiquette2 {
  position: absolute;
  top: 35px;
  right: 8px;
  font-size: 12px;
  padding: 0px 6px 0px 6px;
  border-radius: 6px;
}

/* Nom/Identité du locataire (souvent déjà stylisé par d'autres classes, mais au cas où) */
.contact-name {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
}

/* S'assurer que le contenu des shortcodes est affiché inline */
.contact-item a {
  color: inherit;
  text-decoration: none;
}

/* --- Styles de base pour les icônes injectées (communs aux trois) --- */
.contact-item::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* --- 1. Icône NOM / IDENTITÉ (Noir) --- */
.contact-name::before {
  /* SVG Personne : stroke='#000000' (Noir) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2' /%3E%3Ccircle cx='12' cy='7' r='4' /%3E%3C/svg%3E");
}

/* --- 2. Icône E-MAIL (Noir) --- */
.contact-email::before {
  /* SVG Email : stroke='#000000' (Noir) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z' /%3E%3Cpolyline points='22,6 12,13 2,6' /%3E%3C/svg%3E");
}

/* --- 3. Icône TÉLÉPHONE (Noir) --- */
.contact-phone::before {
  /* SVG Téléphone : stroke='#000000' (Noir) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z' /%3E%3C/svg%3E");
}

 .loyer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
}

.loyer-label {
  font-size: 14px;
  color: #555;
  font-weight: 400;
}

.loyer-amount {
  font-size: 25px;
  font-weight: 900;
  color: var(--primary-bg-color);
}

/* ====================================================
   Filtres Easybail (DataTables) dans le dashboard
   ==================================================== */

/* Conteneur des boutons */
.etat-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

 /* 🟢 Bouton "Loyer payé" → normal comme les autres, vert au hover et actif */
.filter-button[data-filter="a-jour"]
.filter-button[data-filter="loyer-paye"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-filter="a-jour"]:not(.active):hover,
.filter-button[data-filter="loyer-paye"]:not(.active):hover {
  background-color: var(--payé-bg-color);
  color: var(--paye-txt-color);
  border-color: var(--payé-bg-color);
  opacity: 1;
}

.filter-button[data-filter="a-jour"].active,
.filter-button[data-filter="loyer-paye"].active {
  background-color: var(--payé-bg-color);
  color: var(--paye-txt-color);
  border-color: var(--payé-bg-color);
  opacity: 1;
}

.filter-button[data-filter="a-jour"].active .count,
.filter-button[data-filter="loyer-paye"].active .count {
  color: var(--paye-txt-color);
}

/* 🔴 Bouton "Retard" → normal comme les autres, rouge au hover et actif */
.filter-button[data-filter="retard"],
.filter-button[data-filter="loyer-en-retard"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-filter="retard"]:not(.active):hover,
.filter-button[data-filter="loyer-en-retard"]:not(.active):hover {
  background-color: var(--retard-bg-color);
  color: var(--retard-txt-color);
  border-color: var(--retard-bg-color);
  opacity: 1;
}

.filter-button[data-filter="retard"].active,
.filter-button[data-filter="loyer-en-retard"].active {
  background-color: var(--retard-bg-color);
  color: var(--retard-txt-color);
  border-color: var(--retard-bg-color);
  opacity: 1;
}

.filter-button[data-filter="retard"].active .count,
.filter-button[data-filter="loyer-en-retard"].active .count {
  color: var(--retard-txt-color);
}


/* 🟡 Bouton "Loyer en attente" → normal comme les autres, jaune au hover et actif */
.filter-button[data-filter="loyer-en-attente"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-filter="loyer-en-attente"]:not(.active):hover {
  background-color: var(--attente-bg-color);
  color: var(--attente-txt-color);
  border-color: var(--attente-bg-color);
  opacity: 1;
}

.filter-button[data-filter="loyer-en-attente"].active {
  background-color: var(--attente-bg-color);
  color: var(--attente-txt-color);
  border-color: var(--attente-bg-color);
  opacity: 1;
}

.filter-button[data-filter="loyer-en-attente"].active .count {
  color: var(--attente-txt-color);
}


/* Bouton "Libre" → normal comme les autres, vert au hover et actif */
.filter-button[data-filter="libre"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-filter="libre"]:not(.active):hover {
  background-color: var(--primary-bg-color);
  color: var(--libre-txt-color);
  border-color: var(--primary-bg-color);
  opacity: 1;
}

.filter-button[data-filter="libre"].active {
  background-color: var(--primary-bg-color);
  color: var(--libre-txt-color);
  border-color: var(--primary-bg-color);
  opacity: 1;
}

.filter-button[data-filter="libre"].active .count {
  color: var(--libre-txt-color);
}



/* Bouton "Preavis" → normal comme les autres, vert au hover et actif */
.filter-button[data-filter="preavis"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-filter="preavis"]:not(.active):hover {
  background-color: var(--preavis-bg-color);
  color: var(--primary-bg-color);
  border-color: var(--primary-bg-color);
  opacity: 1;
}

.filter-button[data-filter="preavis"].active {
  background-color: var(--preavis-bg-color);
  color: var(--primary-bg-color);
  border-color: var(--preavis-bg-color);
  opacity: 1;
}

.filter-button[data-filter="preavis"].active .count {
  color: var(--primary-bg-color);
}



/* ============================================================
    GESTIONS SOUS MENU GESTION
   ============================================================ */  

 /* 🟢 Bouton "Suivi locataire" → normal comme les autres, vert au hover et actif */
.filter-button[data-target="section-suivi"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-target="section-suivi"]:not(.active):hover {
  background-color: #e9e8f6;
  color: #3d348b;
  border-color: #e9e8f6;
  opacity: 1;
}

.filter-button[data-target="section-suivi"].active {
  background-color: #e9e8f6;
  color: #3d348b;
  border-color: #e9e8f6;
  opacity: 1;
}


/* 🟢 Bouton "Paiement du loyer" → normal comme les autres, rouge au hover et actif */
.filter-button[data-target="section-loyer"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-target="section-loyer"]:not(.active):hover {
  background-color: #D2F6EB;
  color: #4ed199;
  border-color: #D2F6EB;
  opacity: 1;
}

.filter-button[data-target="section-loyer"].active {
  background-color: #D2F6EB;
  color: #4ed199;
  border-color: #D2F6EB;
  opacity: 1;
}


/* 🟡 Bouton "Travaux gestion" → normal comme les autres, jaune au hover et actif */
.filter-button[data-target="section-travaux"] {
  border-color: var(--primary-bg-color);
  background-color: transparent;
  color: var(--primary-bg-color);
  opacity: 0.7;
}

.filter-button[data-target="section-travaux"]:not(.active):hover {
  background-color: #fef9e7;
  color: #f5a623;
  border-color: #fef9e7;
  opacity: 1;
}

.filter-button[data-target="section-travaux"].active {
  background-color: #FFF4D6;
  color: #FFB954;
  border-color: #FFF4D6;
  opacity: 1;
}


/* Boutons inactifs */
.filter-button {
  appearance: none;
  border: 1px solid var(--primary-bg-color);
  background: transparent;
  color: var(--primary-bg-color);
  border-radius: 40px;
  padding: 4px 20px;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* ✅ Hover sur les boutons inactifs */
.filter-button:not(.active):hover {
  background-color: var(--primary-bg-second-color);
  color: var(--primary-bg-color);
  border-color: var(--primary-bg-color);
  opacity: 1;
}

/* Bouton actif */
.filter-button.active {
  background-color: var(--primary-bg-color);
  color: #ffffff;
  font-weight: 700;
  border-color: var(--primary-bg-color);
  opacity: 1;
}

/* Focus (accessibilité) */
.filter-button:focus {
  outline: none;
}

/* Nombre entre parenthèses */
.filter-button .count {
  font-weight: bold;
  margin-left: 5px;
}

.filter-button.active .count {
  color: #fff;
}

/* Style spécial bailleur */
.filter-button.btn-bailleur {
  background-color: #c9c8de; /* noir */
  color: #682ad5; /* blanc */
  border-color: #c9c8de; /* bordure */
  opacity: 1;
}

/* Hover (si tu veux un effet) */
.filter-button.btn-bailleur:hover {
  background-color: var(--primary-bg-color);
  color: #fff;
}

/* Actif (si tu veux un état actif différent du standard) */
.filter-button.btn-bailleur.active {
  background-color: var(--primary-bg-color);
  color: #ffffff;
  border-color: var(--primary-bg-color);
}

/* ====================================================
   📱 Scroll horizontal filtres – Vue mobile
   ==================================================== */

@media (max-width: 768px) {
  .etat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .etat-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 calc(33.333% - 8px);
    text-align: center;
  }
}

/* ====================================================
    Mobile : onglet actif = texte complet
    Onglet inactif = premier mot seulement
   ==================================================== */

@media (max-width: 768px) {
  .locataire-gestion-nav .full-label {
    display: inline;
  }

  .locataire-gestion-nav .filter-button.active .full-label {
    display: inline;
  }
}

/* ====================================================
    Mobile : onglet actif = texte complet
    Onglet inactif = premier mot seulement
   ==================================================== */

@media (max-width: 768px) {
  .easybail-nav .full-label {
    display: none;
  }

  .easybail-nav .short-label {
    display: inline;
  }

  .easybail-nav .filter-button.active .full-label {
    display: inline;
  }

  .easybail-nav .filter-button.active .short-label {
    display: none;
  }
}

/* ====================================================
   recherche Easybail (DataTables) dans le dashboard
   ==================================================== */

/* Conteneur amélioré avec icônes */
.search-with-icons {
  position: relative;
}

.search-with-icons .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.5;
  pointer-events: none;
}

.search-with-icons .clear-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
}

.search-with-icons .clear-icon:hover {
  opacity: 1;
}

/* Ajustement du padding du champ */
.search-with-icons input {
  padding-left: 35px !important;
  padding-right: 35px !important;
}

/* --- Conteneur général style ShowroomAfrica --- */
.s130 {
  width: 100%;
  max-width: 750px;
}

.inner-form {
  width: 100%;
  display: flex;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--primary-bg-color);
}

.input-field {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.input-field input {
  width: 100%;
  height: 35px;
  border: none;
  outline: none;
  padding: 0 40px 0 55px;
  font-size: 17px;
  color: #333;
  background: transparent;
}

/* Icône loupe */
.svg-wrapper {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  fill: #777;
}

/* Bouton clear (croix) */
.clear-icon {
  position: absolute;
  right: 15px;
  cursor: pointer;
  color: #999;
  font-size: 18px;
}

.clear-icon:hover {
  color: #333;
}

/* ====================================================
 Popup Easybail
   ==================================================== */

.easybail-popup-overlay {
  display: none;
  /* Assure que l'overlay couvre TOUTE la fenêtre */
  position: fixed; /* CORRECTION CLÉ : DOIT ÊTRE 'fixed' */
  inset: 0;
  width: 100vw;
  height: 100vh;

  /* Assure que rien n'est au-dessus de l'overlay */
  z-index: 999999999;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}

.easybail-popup-box {
  /* CORRECTION: Supprimez 'margin: 120px auto;' et utilisez une position plus centrée */

  z-index: 1000000000; /* Peut être un peu plus élevé que l'overlay */

  width: 90%; /* responsive sur mobile */
  max-width: 420px; /* taille fixe max */
  min-height: 250px; /* évite le rétrécissement */
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pour que les boutons restent en bas */
}

/* ==== CONTENU ==== */
.easybail-popup-content p {
  font-size: 16px;
  margin: 15px 0;
}

/* ==== BOUTONS ==== */
.easybail-popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* -------------------------------------
   Styles des boutons selon le type
------------------------------------- */

/* INFORMATION (violet) */
.easybail-style-info .easybail-popup-ok {
  background-color: #682bd5;
  color: #fff;
}
.easybail-style-info .easybail-popup-close {
  background-color: #fff;
  color: #682bd5;
  border: 1px solid #682bd5;
}

/* WARNING (rouge) */
.easybail-style-warning .easybail-popup-ok {
  background-color: #f35040;
  color: #fff;
}
.easybail-style-warning .easybail-popup-close {
  background-color: #fff;
  color: #f35040;
  border: 1px solid #f35040;
}

/* QUESTION (bleu) */
.easybail-style-question .easybail-popup-ok {
  background-color: #2980b9;
  color: #fff;
}
.easybail-style-question .easybail-popup-close {
  background-color: #fff;
  color: #2980b9;
  border: 1px solid #2980b9;
}

.easybail-popup-buttons button {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Background color */
.easybail-bg-violet-dark {
  background: #3a1c5a;
  color: #fff;
}
.easybail-bg-violet-light {
  background: #e4d6ff;
  color: #2b1c3d;
}
.easybail-bg-green {
  background: #f2ecfb;
  color: #682bd5;
}
.easybail-bg-red {
  background: #fcd3d0;
  color: #f35040;
}

.easybail-popup-icon {
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre icône et texte */
  justify-content: flex-start;
  margin-bottom: 15px;
}

/* Icon color dynamique selon le type de icone */
:root {
  --easybail-info-color: #682bd5;
  --easybail-warning-color: #f35040;
  --easybail-question-color: #682bd5;
}

/* Taille des icônes */
.easybail-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
}

.easybail-icon-info {
  background-color: var(--easybail-info-color);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='8'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.easybail-icon-warning {
  background-color: var(--easybail-warning-color);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v4m0 4h.01M10.29 3.86L1.82 18a1 1 0 0 0 .86 1.5h18.64a1 1 0 0 0 .86-1.5L13.71 3.86a1 1 0 0 0-1.72 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.easybail-icon-question {
  background-color: var(--easybail-question-color);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8a4 4 0 1 1 4 4h-.01v1m0 4h.01M12 8a4 4 0 1 0-4 4h.01v1m0 4h-.01'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* ✅ Style pour forcer les couleurs des onglets */
.easybail-tab {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 5px 5px 0 0;
  transition: all 0.3s ease;
}

/* Onglet inactif - fond gris clair */
.easybail-tab {
  background: #ece9e9 !important;
  color: #7b4fe0 !important;
}

/* Onglet actif - fond violet */
.easybail-tab.active {
  background: #7b4fe0 !important;
  color: white !important;
}

/* Effet hover */
.easybail-tab:hover {
  opacity: 0.9;
}

.easybail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.easybail-btn-relance {
  background: linear-gradient(135deg, #7b4fe0, #6a3fd3);
  color: #ffffff;
}

.easybail-btn-creer-bail {
  background: var(--primary-bg-color);
  color: #ffffff;
}

.easybail-btn-valider {
  background: linear-gradient(135deg, #a7ebd9, #a7ebd9);
  color: #7b4fe0;
}

 

.easybail-btn-fiche {
  background: #fff;
  color: var(--primary-bg-color);
  border: 2px solid var(--primary-bg-color);
  box-shadow: 0 4px 12px rgba(104, 42, 213, 0.15);
}

.easybail-btn-icon,
.easybail-btn-text,
.easybail-btn svg,
.easybail-btn svg path {
  pointer-events: none;
}

.easybail-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.easybail-btn svg {
  display: block;
}

.easybail-btn-text {
  line-height: 1;
}

.easybail-boutons-locataire {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .easybail-btn {
    max-width: 100%;
    font-size: 15px;
    padding: 14px 20px;
    gap: 8px;
  }

  .easybail-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .easybail-btn {
    font-size: 14px;
    padding: 14px 16px;
    gap: 6px;
  }

  .easybail-btn svg {
    width: 20px;
    height: 20px;
  }

  .easybail-boutons-locataire {
    margin: 15px 0;
  }
}

/* ---------------------------------------------------------------
   Styles des view documents quittance et bial selon le type
--------------------------------------------------------------- */

.easybail-document_quittance-card {
  width: 100%;
  height: 125px;
  padding: 0px 12px;
  background: #f5f5ff;
  display: flex;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Ajouter ici */
}

.easybail-document_bail-card {
  width: 100%;
  height: 125px;
  padding: 0px 12px;
  margin-bottom: 3px;
  background: var(--primary-bg-second-color);
  display: flex;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Ajouter ici */
}

.easybail-document_quittance_cercle svg,
.easybail-document_quittance_cercle .pixfort-icon {
    width: 35px !important;
    height: 35px !important;
}

.easybail-document_quittance_cercle {
  width: 56px;
  height: 56px;
  /* background retiré ici → géré dynamiquement via style inline */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.easybail-document_bail_cercle {
  width: 56px;
  height: 56px;
  background: var(--primary-bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.easybail-document_quittance_text {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
  line-height: 1.3;
}

.easybail-document_quittance_logement_text {
  font-size: 16px;
  color: #636976;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loyer-card-summary_documents {
  padding: 15px 20px;

  display: flex;
  align-items: center;
}

.loyer-amount-wrapper_documents {
  display: flex;
  align-items: baseline;
  color: #000000;
  font-weight: bold;
}

.loyer-value_documents {
  font-size: 1.6em;
  line-height: 1;
}

.loyer-period_documents {
  font-size: 1.1em;
  margin-left: 3px;
  opacity: 0.8;
}

.loyer-charge_documents {
  font-size: 1.1em;
  opacity: 0.8;
}

@media (max-width: 375px) {
  .loyer-value_documents {
    font-size: 1.1em;
    line-height: 1;
  }
  .loyer-period_documents {
    font-size: 1.1em;
    margin-left: 3px;
    opacity: 0.8;
  }

  .loyer-charge_documents {
    font-size: 1.1em;
    opacity: 0.8;
  }
}

.locataire_name_documents {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

/* ==========================================================================
       NAVIGATION HORIZONTALE ELEMENTOR
 ========================================================================== */
.el-nav-wrapper {
  width: 100%;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.el-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
.el-nav-menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.el-nav-menu li,
.el-nav-menu li::marker,
.el-nav-menu li::before,
.el-nav-menu li::after {
  list-style: none !important;
  content: none !important;
}
.el-nav-item {
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 5%;
  background: var(--primary-bg-second-color);
  transition: all 0.25s ease;
}

/* 🔹 bouton actif : texte blanc et légèrement gras */
.el-nav-item.is-active {
  background: var(--primary-bg-color);
  color: #fff !important;
  font-weight: 600; /* légèrement plus gras */
}

/* Style par défaut du lien */
.el-nav-link {
  color: #333;
  text-decoration: none;
  display: block;
}

/* 🔹 Lien actif = blanc */
.el-nav-item.is-active .el-nav-link {
  color: #fff !important;
  font-weight: 600;
}

/* 🔹 Lien non actif */
.el-nav-item:not(.is-active) .el-nav-link {
  color: var(--primary-bg-color);
}

/* Hover non actif */
.el-nav-item:not(.is-active):hover .el-nav-link {
  color: #f9f9f9;
}

.el-nav-item:hover {
  background: var(--primary-bg-color);
}

@media (max-width: 768px) {
  .el-nav-inner {
    max-width: none; /* permet au menu de s'étendre */
    padding: 10px 8px;
  }

  .el-nav-menu {
    display: flex;
    justify-content: flex-start; /* commence depuis le bord gauche */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 12px; /* espace entre les boutons */
  }

  .el-nav-menu::-webkit-scrollbar {
    display: none;
  }

  .el-nav-item {
    flex: 0 0 auto; /* largeur automatique selon le texte */
    min-width: 100px; /* ou ajustable */
    text-align: center;
  }
}

/* ====================================================
   Mobile : onglet actif = texte complet
   Onglet inactif = premier mot seulement
   ==================================================== */

@media (max-width: 768px) {
  .easybail-nav .full-label {
    display: none;
  }

  .easybail-nav .short-label {
    display: inline;
  }

  .easybail-nav .filter-button.active .full-label {
    display: inline;
  }

  .easybail-nav .filter-button.active .short-label {
    display: none;
  }
}

/* ====================================================
  BAILLEUR LISTE CSS  
   ==================================================== */

.bailleur-nom-complet {
  font-weight: 700;
  font-size: 25px;
  color: #000000 !important;
  line-height: 1.2;
}




/* ====================================================
  valider paiement et relancer CSS  
   ==================================================== */

.easybail-badge-btn { 
     display: inline-flex; 
    justify-content: center;
    gap: 8px;
       padding: 0px 6px 0px 6px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
 
}

/* ✅ IMPORTANT : Permettre les clics sur tous les enfants */
.easybail-badge-btn * {
  pointer-events: none;
}

.easybail-badge-btn-retard {
  background: #ff6c5f;
  color: #fff;
}

.easybail-badge-btn-retard:hover {
  background: #ff5545;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 108, 95, 0.3);
}

.easybail-badge-btn-valider {
  background: #4caf50;
  color: #fff;
}

.easybail-badge-btn-valider:hover {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.easybail-badge-btn svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .easybail-badge-btn {
    font-size: 13px;
    padding: 8px 16px;
    gap: 6px;
  }

  .easybail-badge-btn svg {
    width: 16px;
    height: 16px;
  }
}





/* ====================================================
 BOUTON VALIDER PAIEMENT LOYER EN RETARD CSS  
   ==================================================== */



 .easybail-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
}

/* Chaque côté garde son espace */
.easybail-actions-row > div {
    flex: 1;
    min-height: 40px; /* évite que ça disparaisse si vide */
    display: flex;
    align-items: center;
}

/* Gauche */
.easybail-action {
    justify-content: flex-start;
     padding-left: 10px; /* ajuste ici */
}

/* Droite */
.easybail-etat {
    justify-content: flex-end;
    padding-right: 10px; /* ajuste ici */
}

/* IMPORTANT : on force la ligne même en mobile */
@media (max-width: 768px) {
    .easybail-actions-row {
        flex-direction: row !important;
    }
}




/* ── Dropdown menu ───────────────────────────── */
.eb-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: white;
    border-radius: 14px;
    min-width: 210px;
    z-index: 9999;
    overflow: hidden; 
    border: none;
    outline: none;

    /* Ombre réaliste type "flottant au-dessus de l'image" */
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.08),   /* Ombre douce principale */
        0 8px 30px rgba(0, 0, 0, 0.12);   /* Ombre plus diffuse et profonde */
    
    /* Optionnel: légère transformation pour accentuer l'effet flottant */
    transform: translateY(0);
    transition: all 0.2s ease;
}

.eb-dropdown-menu.eb-open {
    display: block !important;
    animation: ebFadeIn 0.15s ease;
    
    /* Petite translation et légère élévation pour l'ouverture */
    transform: translateY(-2px);
}

@keyframes ebFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Items ───────────────────────────────────── */
.eb-menu-item { 
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 14px;
    color: #111827;
    background: transparent;
    border: none;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* ✅ Supprime le focus natif du navigateur */
.eb-menu-item:focus,
.eb-menu-item:focus-visible,
.eb-menu-item:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.eb-menu-item-relance:hover {
    background: var(--retard-bg-color);
    color: var(--retard-txt-color);
}
 

.eb-menu-item-valider:hover {
    background: var(--payé-bg-color);
    color: var(--paye-txt-color);
}

.eb-menu-item-creer:hover {
    background: var(--preavis-bg-color);
    color: var(--primary-bg-color);
}



 

/* ── Icônes ──────────────────────────────────── */
.eb-menu-icon {
    font-size: 16px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.eb-icon-relance { color: var(--retard-txt-color); }
.eb-icon-valider { color: var(--paye-txt-color); }
.eb-icon-creer { color: var(--primary-bg-color); }

/* ── Séparateur ──────────────────────────────── */
.eb-menu-separator {
    height: 1px;
    background: #f3f4f6;
    margin: 4px 12px;
}

.eb-actions-button:focus {
    outline: none;
}


/* ====================================================
   BOUTON quittances / baux
   ==================================================== */

.segmented-control-docs{
display:flex;
border:1px solid var(--primary-bg-color);
border-radius:8px;
overflow:hidden;
flex:0 0 auto;
}

.segmented-control-docs a{
text-decoration:none;
padding:8px 20px;
font-weight:600;
cursor:pointer;
background:var(--primary-bg-second-color);
color:var(--primary-bg-color);
border-radius:0;
white-space:nowrap;
}

.segmented-control-docs a.active{
background:var(--primary-bg-color);
color:white;
}

/* garde le scroll horizontal */
.segmented-control-docs,
.filter-button{
flex:0 0 auto;
}


/* ==========================================================================
       NAVIGATION HORIZONTALE ELEMENTOR
 ========================================================================== */
.el-nav-wrapper2 {
  width: 100%;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.el-nav-inner2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
.el-nav-menu2 {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.el-nav-menu2 li,
.el-nav-menu2 li::marker,
.el-nav-menu2 li::before,
.el-nav-menu2 li::after {
  list-style: none !important;
  content: none !important;
}
/* 🔹 Bouton inactif — gris désactivé */
.el-nav-item2 {
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 5%;
  background: #e8e8e8;
  font-weight: 700;
  transition: all 0.25s ease;
  opacity: 0.6;
  pointer-events: none;
}
/* 🔹 Bouton actif */
.el-nav-item2.is-active2 {
  background: var(--primary-bg-color);
  color: #fff !important;
  font-weight: 600;
  opacity: 1;
  pointer-events: auto;
}
/* Style par défaut du lien */
.el-nav-link2 {
  color: #333;
  text-decoration: none;
  display: block;
}
/* 🔹 Lien actif = blanc */
.el-nav-item2.is-active2 .el-nav-link2 {
  color: #fff !important;
  font-weight: 600;
}
/* 🔹 Lien inactif = gris */
.el-nav-item2:not(.is-active2) .el-nav-link2 {
  color: #999 !important;
}
/* Hover désactivé sur les inactifs */
.el-nav-item2:not(.is-active2):hover {
  background: #e8e8e8;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .el-nav-inner2 {
    max-width: none;
    padding: 10px 8px;
  }
  .el-nav-menu2 {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .el-nav-menu2::-webkit-scrollbar {
    display: none;
  }
  .el-nav-item2 {
    flex: 0 0 auto;
    min-width: 100px;
    text-align: center;
  }
}