
/* <style> */
/* fixer le navbar en haut de page */
  .navbar.fixed-top {
    position: fixed;
    width: 100%;
    z-index: 1030;
  }

  body {
    min-height: 100vh;
    position: relative;
    margin-bottom: 50px; /* Hauteur du footer */
    font-size: 14px;
  }

  .card-fixed {
      position: fixed;
      /* position: sticky; */
      top: 95px;
      /* left: 0px; */
      z-index: 999; /* Assurez-vous que le card est au-dessus de tous les autres éléments */
      opacity: 0.8; /* Opacité réduite */
      background-color: transparent; /* Fond transparent */
  }

  /* Définit le point d'origine du zoom en haut à gauche */
  /* #zoomableDiv {
    transform-origin: top left;
  } */



  /* Désactiver la sélection de texte */
  /* table {
      user-select: none;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
  } */

  /* Désactiver les curseurs de texte */
  /* table th, table td {
      cursor: default;
  } */

  /* Désactiver la sélection de texte */
  table {
      user-select: none;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
  }

  /* Désactiver le curseur de texte uniquement pour les cellules du tableau */
  table th,
  table td {
      cursor: default;
  }

  /* augmenter la largeur du tooltilt */
  .tooltip-inner {
    max-width: 250px;
    /* width: 250px; */
  }

  .tooltip {
    pointer-events: none;
  }


  div.dt-container .dt-length, div.dt-container .dt-search, div.dt-container .dt-info, div.dt-container .dt-processing, div.dt-container .dt-paging {
    color: inherit;
    margin-left: 70px;
    margin-right: 70px;
 }

 div.dt-container .dt-length label {
  margin-left: 10px; /* Remplacez 10px par la valeur de marge que vous souhaitez */
}


.close-icon {
    /* position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem; */
    cursor: pointer;
    width: 20px; height: 20px;
  }

  .input-box{
    position: relative;
  }

.input-box i {
  position: absolute;
  right: 13px;
  top:15px;
  color:#ced4da;

}

.navbar .dropdown-toggle::after {
    display: none !important;
}

/* .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  width: 80vh;

 } */

 .notification-dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  width: 60vh;
}

.dropdown-item { white-space: normal; }

/* Warning card message */
.warningMessage {
  border-radius: 0.375rem;
  border: 2px solid #F59E0B;
  margin-bottom: 15px;
  padding: 12px;
  position: relative;
}

.warningMessage>*:last-child {
  margin-bottom: 0!important;
}

.warningMessage-caution {
  border-color:  #F59E0B;
}

.warningMessage .warningMessage-title {
  margin-bottom: 0!important;
}


.warningMessage-title {
  color: #F59E0B;
}

.warningMessage-title svg {
  background: #F59E0B;
}

.warningMessage .warningMessage-title svg {
  /* background: var(--warningMessage-icon-background); */
  border-radius: 5px;
  display: inline-block;
  padding: 6px;
  position: absolute;
  top: 6px;
  left: 6px;
  height: 36px;
  width: 36px;
}

.warningMessage-title svg path {
  stroke: #fff;
}

/* Custom CSS for DataTables header */

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background-color: #138496;
  color: #fff;
}


.ui-tooltip {
  max-width: 250px;
  background: #000;  /* Arrière-plan noir */
  color: #fff;       /* Texte blanc */
  border: 1px solid #000;
  box-shadow: 0 0 5px #aaa;
  text-align: center;
}
.ui-tooltip-content::after, .ui-tooltip-content::before {
  content: "";
  position: absolute;
  border-style: solid;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}
.ui-tooltip-content::before {
  bottom: -10px;
  border-color: #000 transparent;  /* Couleur de la flèche */
  border-width: 10px 10px 0;
}
.ui-tooltip-content::after {
  bottom: -7px;
  border-color: #000 transparent;  /* Couleur de la flèche */
  border-width: 10px 10px 0;
}

/* grok */
html, body {
overflow-x: hidden;
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}

/*==========================
RÉGLAGES SMARTPHONE ≤576px
==========================*/
@media (max-width: 576px) {

/* Logos */
.navbar-brand img {
  width: 120px;
  height: auto;
}
/* Cacher le titre central */
.navbar-brand h5 { display: none; }
/* Toggler */
.navbar-toggler {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
}



#navbarNav ul.navbar-nav {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

#navbarNav ul.navbar-nav .nav-item {
  margin: 0 0.5rem;
  flex: 0 0 auto;
  text-align: center;
  position: relative;
}

/* Important : dropdown s’affiche flottant sous son bouton */
.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 140px;
  z-index: 1050;
  font-size: 0.8rem;
  text-align: center;
}


#notification-menu {
  left: 0;
  right: auto;
  transform: translateX(0%);
  top: 100%;
  position: absolute;
  min-width: 220px;
  max-width: 90vw;
  z-index: 1050;
}

/* Icônes, badges, padding global */
.nav-link img { width: 14px; }
.fa { font-size: 1rem; }
#notification-badge {
  font-size: 0.65rem;
  padding: 2px 4px;
}
.navbar { padding: 0.25rem 0.5rem; }

  /* gestion du card des parametres
  .card-fixed {
  position: static !important;
  opacity: 1;
  background-color: #fff;
  margin-bottom: 1rem;
} */

.card-fixed {
      margin-top: 45px;
      position: sticky;
      top: 95px;
      z-index: 2; /* assez haut pour rester visible */
      opacity: 1;
      background-color: #fff; /* important pour recouvrir derrière si besoin */
  }

}

/*==========================
RÉGLAGES TABLETTE 577–768px
==========================*/
@media (min-width: 577px) and (max-width: 768px) {
/* Logos */
.navbar-brand img {
  width: 150px;
  height: auto;
}
/* Cacher le titre central */
.navbar-brand h5 { display: none; }
/* Toggler */
.navbar-toggler {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
}

/* =====> FLEX SUR L’UL DE NAVIGATION */
#navbarNav ul.navbar-nav {
  display: flex !important;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
#navbarNav ul.navbar-nav .nav-item {
  margin: 0 1rem;
}

/* Dropdowns */
.dropdown-menu { min-width: 160px; font-size: 0.85rem; }
.notification-dropdown-menu {
  width: 80vw;
  max-width: 320px;
  max-height: 250px;
}

/* Icônes, badges, padding global */
.nav-link img { width: 16px; }
.fa { font-size: 1.1rem; }
#notification-badge {
  font-size: 0.7rem;
  padding: 2px 5px;
}
.navbar { padding: 0.3rem 0.75rem; }

#notification-menu {
  left: 50%;
  right: auto;
  transform: translateX(-30%);
  top: 100%;
  position: absolute;
  min-width: 240px;
  max-width: 80vw;
  z-index: 1050;
}

.card-fixed {
      margin-top: 45px;
      position: sticky;
      top: 95px;
      z-index: 2; /* assez haut pour rester visible */
      opacity: 1;
      background-color: #fff; /* important pour recouvrir derrière si besoin */
  }

}

/* </style> */
