/* ======= Navbar Doctolib Style ======= */
.layout-navbar {
  background-color: #696cff !important; /* Bleu Doctolib */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
}

/* Changer la couleur des liens et icônes */
.layout-navbar .navbar-nav-right .nav-link {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.layout-navbar .navbar-nav-right .nav-link:hover {
  color: #ffd100; /* Jaune vif pour l'effet Doctolib */
}

/* Icône du menu burger */
.layout-menu-toggle .nav-link i {
  color: #ffffff;
  font-size: 1.4rem;
}

/* Avatar utilisateur */
.layout-navbar .avatar img {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: transform 0.2s ease-in-out, border 0.3s;
}

.layout-navbar .avatar img:hover {
  transform: scale(1.1);
  border: 2px solid #ffd100;
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}

.dropdown-menu .dropdown-item {
  color: #333;
  padding: 10px 15px;
  transition: background 0.3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #007BFF;
}

/* Supprimer l'icône automatique ajoutée avant les éléments de menu */
.menu-link::before {
  content: none !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background-color: transparent !important;
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: rgba(105, 108, 255, 0.16) !important;
}


/* ======= Table Design (Doctolib Style) ======= */
#customer-list {
  border: none !important;
}

#customer-list th,
#customer-list td {
  border: none !important;
}

/* Fond blanc pour l'en-tête du tableau */
#customer-list thead tr {
  background-color: #fff !important;
}

/* Style des lignes avec un effet plus léger */
#customer-list tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s ease-in-out;
}
#customer-list tbody tr:hover {
  background-color: #f8f9fa !important;
}

/* ======= Avatar et Informations Client ======= */
.customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Avatar utilisateur */
.customer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #f3f3f3;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Avatar par défaut (si pas d'image) */
.customer-avatar[data-placeholder="true"] {
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #696cff;
  text-transform: uppercase;
}

/* Nom et email structurés */
.customer-name {
  font-weight: 500;
  color: #333;
}

.customer-email {
  font-size: 0.85rem;
  color: #6c757d;
}

/* ======= Boutons d'actions ======= */
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Meilleure apparence des badges */
.badge {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
}

/* Badges actifs/inactifs */
.bg-label-success {
  background-color: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.bg-label-danger {
  background-color: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.illustration-img {
  width: 100%; /* Remplit la colonne pour s'adapter */
  max-width: 250px; /* Taille maximale pour éviter qu'elles ne deviennent trop grandes */
  object-fit: cover; /* Garde une apparence uniforme sans déformation */
}


.custom-tabs .nav-item {
  color: #555;
  border: 1px solid transparent;
  border-radius: 0.375rem 0.375rem 0 0;
  background-color: #f1f1f1;
  margin-right: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.custom-tabs .nav-link:hover {
  background-color: #e2e8f0;
  color: #000;
}

.custom-tabs .nav-link.active{
  background-color: #6176d6; /* Couleur principale */
  color: white;
  border-color: #6176d6 #6176d6 white;
  font-weight: 600;
}

@media (max-width: 768px) {
  .custom-tabs .nav {
    flex-direction: column;
  }
  .custom-tabs .nav-link {
    width: 100%;
    text-align: left;
    margin-bottom: 4px;
  }
}