.navbar-brand-logo {
  height: 40px;
  width: 40px;
}

.text-shadow {
  text-shadow: 1px 1px 4px #000000AA;
}

.bg-teal {
  background-color: #49a5ca;
}

.btn-sml {
  padding: 0px 5px;
  border-radius: 4px;
}

.calendar {
  margin-left: -1px;
  margin-bottom: -1px;
  padding: 0px;
  height: 20px;
  border-radius: 0px;
  text-align: center;
  font-size: smaller;
  font-weight: bold;
}

.calendar-col {
  border: 1px solid #49a5ca;
  width: 12%;
  border-radius: 0px;
}

.weekend {
  background: #BBBBBB
}

.maladie {
  background: red
}

.conges {
  background: #49a5ca
}

.colAbs {
  display: flex;
  align-items: center;
  padding: 0%;
}

tr.group,
tr.group:hover {
  background-color: #ddd !important;
}

.badge {
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
}

.badge-min {
  padding: 0.5em 0.5em;
  border-radius: 0.5em;
  font-size: 0.8em;
  display: inline-flex;
  align-items: center;
}

.badge i {
  margin-right: 10px;
}

.user-info {
  display: inline-flex;
  align-items: center;
  /* Centre le badge verticalement */
  gap: 2px;
  /* Ajuste l'espacement entre le texte et le badge */
}

/* drag and drop */
.drop-area-cc {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
}

.drop-area-cc.highlight {
  border-color: #3284ef ! important;
  background-color: #b1e9ff !important;
}

.file-entry {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.file-entry span {
  flex: 1;
}

.file-entry i {
  margin-right: 10px;
  font-size: 1.5em;
}

#uploadBtn:hover {
  background-color: #3056ff;
  /* même couleur que la zone highlight */
  border-color: #002fff;
  /* même couleur que la zone highlight */
  color: #ffffff;
  /* le texte et l'icône passent en violet */
}

#uploadBtn:hover i {
  color: #6f42c1;
}

/* waiting approval banner for the form*/
.approval-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  /* Centre et met en diagonale */
  width: 60%;
  /* Ajuste la largeur pour couvrir le formulaire */
  background-color: rgba(255, 0, 0, 0.8);
  /* Rouge avec 80% d'opacité */
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* dropdwon list for documents version */
.custom-dropdown {
  min-width: 300px;
  /* Largeur minimale */
}

.custom-dropdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 14px;
}

.custom-dropdown-item:hover {
  background-color: #e9ecef;
  /* Couleur au survol */
}

.even-row {
  background-color: #f8f9fa;
  /* Couleur gris clair pour les lignes paires */
}

.odd-row {
  background-color: white;
  /* Fond blanc pour les lignes impaires */
}

.dropdown-header {
  font-size: 14px;
  background-color: #dee2e6;
  /* Couleur d'en-tête */
  padding: 8px 12px;
}

/* style for steps */
.steps-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #6c757d;
  background-color: #cee0f3;
  border-radius: 5px;
  transition: 0.3s;
  position: relative;
  min-width: 120px;
  margin-bottom: 20px;
  position: relative;
}

.step.active {
  background-color: #007bff;
  color: white;
}

.step i {
  font-size: 24px;
  margin-bottom: 5px;
}

.step:hover {
  transform: scale(1.02);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3);
}

.arrow {
  width: 0;
  height: 0;
  border-left: 20px solid #cee0f3;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-bottom: 20px;
}

.step.active+.arrow {
  border-left-color: #007bff;
}

/* chips */
.custom-badge {
  background-color: #f28b82 !important;
  border: 2px solid #d93025;
  color: rgb(255, 255, 255);
  font-size: 0.8em;
  font-weight: bold;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  top: -1.2rem;
  right: -1.0rem;
}

/* Switch button style */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

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

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

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

input:checked+.slider {
  background-color: #28a745;
  /* Vert pour indiquer activé */
}

input:checked+.slider:before {
  transform: translateX(14px);
}

/* Style for landing cards */
.card-landing {
  min-height: 280px;
  /* Augmente la hauteur des cartes */
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Sépare les éléments */
}

.card-landing:hover {
  transform: scale(1.08);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3);
}

.card-landing .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card-landing .card-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.tabulator-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Pour centrer horizontalement aussi */
  height: 100%;
  /* Assurez-vous que la cellule prend toute la hauteur */
}

.home-button {
  width: 45px;
  height: 45px;
  background-color: #c3c9d0;
  transition: background-color 0.3s ease, transform 0.2s;
}

.home-button:hover {
  background-color: #9c9ea1;
  transform: scale(1.1);
}

/* Style checklist */
.dropdown-menu.fixed-width {
  min-width: 50% !important;
  max-width: 50% !important;
}