/* Hover effect pour le bouton utilisateur */
.nav-link.dropdown-toggle:hover {
  background-color: #f0f0f0 !important;
  transform: translateY(-1px);
}

/* Hover effect pour les items du dropdown */
.dropdown-item.rounded-item:hover {
  background-color: #01972b !important;
  color: white !important;
  padding-left: 1.2rem !important;
}

.dropdown-item.rounded-item:hover i {
  color: white !important;
}


.fa-color {
  color: #01972b;
  transition: color 0.2s ease;
}

.dropdown-item.text-danger.rounded-item:hover {
  background-color: #dc3545 !important;
}

/* Animation du chevron */
.dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.dropdown-toggle .fa-chevron-down {
  transition: transform 0.3s ease;
}

/* Styles pour le menu latéral */
.sidebar {
  border-right: 1px solid #e0e0e0;
}

.sidebar-link {
  color: #666;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.sidebar-link:hover {
  background-color: #f8f9fa !important;
  color: #01972b !important;
  padding-left: 1rem !important;
  border-left: 3px solid #01972b;
}

.sidebar-link.active {
  background-color: #e8f5e9 !important;
  color: #01972b !important;
  font-weight: 600;
  border-left: 3px solid #01972b;
}

.sidebar-link i {
  color: #999;
  transition: color 0.2s ease;
}

.sidebar-link:hover i,
.sidebar-link.active i {
  color: #01972b !important;
}

/* Style pour le bouton de déconnexion */
.sidebar-link.text-danger:hover {
  background-color: #fff5f5 !important;
  border-left: 3px solid #dc3545 !important;
}

.sidebar-link.text-danger:hover i {
  color: #dc3545 !important;
}

/* Dropdown dans la sidebar */
.sidebar-dropdown-toggle {
  cursor: pointer;
  color: #666;
  font-weight: 500;
}

.sidebar-dropdown-toggle:hover {
  background-color: #f8f9fa !important;
  color: #01972b !important;
  text-decoration: none;
}

.sidebar-dropdown-toggle .fa-chevron-down {
  transition: transform 0.3s ease;
}

.sidebar-dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}

/* Scrollbar personnalisée pour la sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Sidebar repliée */
.sidebar.collapsed {
  transform: translateX(-260px);
}

.main-content.expanded {
  margin-left: 0 !important;
  width: 100% !important;
}

/* Bouton toggle */
#sidebarToggle {
  border: none;
  background: transparent;
  transition: all 0.3s ease;
}

#sidebarToggle:hover {
  color: #01972b !important;
  transform: scale(1.1);
}

/* Top bar */
.top-bar {
  border-bottom: 1px solid #e0e0e0;
}

/* Responsive - masquer le menu sur mobile */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

.dashboard-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.2s ease;
    height: 100%;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    overflow: hidden;
  }

  .dashboard-card:hover {
    background-color: #f8f9fa;
    border-left: 3px solid #01972b;
    border-color: #01972b;
    text-decoration: none;
    color: inherit;
    padding-left: 2px;
  }

  .dashboard-icon {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    background: #f5f5f5;
    color: #999;
  }

  .dashboard-card:hover .dashboard-icon {
    background-color: #e8f5e9;
    color: #01972b;
    transform: translateY(-2px);
  }

  .dashboard-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
  }

  .dashboard-description {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.3;
  }

  .welcome-header {
    background: #fff;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    box-shadow: none;
  }

  .welcome-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: #333;
  }

  .welcome-header p {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
  }

  .welcome-header .fa-shield-alt,
  .welcome-header .fa-store,
  .welcome-header .fa-truck,
  .welcome-header .fa-users,
  .welcome-header .fa-book,
  .welcome-header i[class*="fa-"] {
    color: #01972b;
  }

  /* Styles modernes pour les boutons */
  .btn {
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .btn:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .btn-primary {
    background: #01972b;
    color: white;
    border: none;
  }

  .btn-primary:hover {
    background: #005f19;
    color: white;
    box-shadow: 0 4px 12px rgba(1, 151, 43, 0.3);
  }

  .btn-primary:active,
  .btn-primary:focus {
    background: #016a1f;
    color: white;
    outline: none;
    box-shadow: 0 2px 8px rgba(1, 151, 43, 0.4);
  }

  .btn-secondary {
    background: #ffffff;
    color: #666;
    border: 1px solid #d0d0d0;
  }

  .btn-secondary:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #b0b0b0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
  }

  .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: white;
  }

  .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
  }

  .btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: white;
  }

  .btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
  }

  .btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    color: #333;
  }

  .btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
  }

  .btn-info:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    color: white;
  }

  .btn-sm {
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
  }

  /* Bouton avec icône */
  .btn i {
    margin-right: 0.4rem;
  }

  .btn i:last-child {
    margin-right: 0;
    margin-left: 0.4rem;
  }

  /* Bouton outline moderne */
  .btn-outline-primary {
    background: transparent;
    color: #01972b;
    border: 2px solid #01972b;
    box-shadow: none;
  }

  .btn-outline-primary:hover {
    background: #01972b;
    color: white;
    border-color: #01972b;
  }

  .btn-outline-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
    box-shadow: none;
  }

  .btn-outline-secondary:hover {
    background: #666;
    color: white;
    border-color: #666;
  }

  /* Groupe de boutons */
  .btn-group .btn {
    border-radius: 0;
  }

  .btn-group .btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }

  .btn-group .btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }

  /* Bouton désactivé */
  .btn:disabled,
  .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
  }

  .btn:disabled:hover,
  .btn.disabled:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  /* Bouton style sidebar-link */
  .btn-action-link {
    background: #01972b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(1, 151, 43, 0.25);
  }

  .btn-action-link:hover {
    background: #017a23;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 151, 43, 0.35);
  }

  .btn-action-link i {
    color: white;
    transition: all 0.2s ease;
  }

  .btn-action-link:hover i {
    color: white !important;
  }

  /* Bouton sobre */
  .btn-action-link-subtle {
    background: #01972b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: none;
  }

  .btn-action-link-subtle:hover {
    background: #017a23;
    color: white;
  }

  .btn-action-link-subtle i {
    color: white;
  }

  .btn-action-link-subtle:hover i {
    color: white;
  }

  /* Bouton Nouveau magasin */
  .btn-new-magasin {
    background: #01972b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .btn-new-magasin:hover {
    background: #017a23;
  }

  .btn-new-magasin i {
    font-size: 0.8rem;
  }

  /* Bouton pour vider le champ de recherche */
  .btn-clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
  }

  .btn-clear-search:hover {
    color: #dc3545;
  }

  .btn-clear-search i {
    font-size: 0.85rem;
  }

  /* Boutons de filtre */
  .filter-buttons {
    display: flex;
    gap: 0.5rem;
  }

  .btn-filter {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
  }

  .btn-filter:hover {
    background: #e9ecef;
    color: #01972b;
    border-color: #01972b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .btn-filter i {
    color: #999;
    transition: color 0.2s ease;
  }

  .btn-filter:hover i {
    color: #01972b;
  }

  /* Icônes de tri dans les colonnes */
  .sort-icon {
    color: #ddd;
    font-size: 0.7rem;
    margin-left: 0.4rem;
    transition: all 0.2s ease;
  }

  .table-modern thead th:hover .sort-icon,
  ._table table thead th:hover .sort-icon {
    color: #01972b;
  }

  .table-modern thead th.sort-asc .sort-icon,
  .table-modern thead th.sort-desc .sort-icon,
  ._table table thead th.sort-asc .sort-icon,
  ._table table thead th.sort-desc .sort-icon {
    color: #01972b !important;
  }

  /* Card pour les tableaux */
  .table-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: #fff;
    overflow: hidden;
  }

  .table-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Champ de recherche moderne */
  .table-header .form-group {
    position: relative;
  }

  .table-header .form-group::before {
    content: "\f002";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
  }

  .table-header .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.6rem 1.2rem 0.6rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fafafa;
  }

  .table-header .form-control:focus {
    border-color: #01972b;
    box-shadow: 0 0 0 3px rgba(1, 151, 43, 0.1);
    background: #fff;
    outline: none;
  }

  .table-header .form-control:focus ~ .table-header .form-group::before,
  .table-header .form-control:focus + ::before {
    color: #01972b;
  }

  .table-header .form-control::placeholder {
    color: #999;
    font-style: italic;
  }

  /* Styles pour les tableaux */
  .table-modern,
  ._table table {
    width: 100% !important;
    background: #fff !important;
    border: none !important;
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  .table-modern thead,
  ._table table thead {
    background: #fafafa !important;
    border-bottom: none !important;
  }

  .table-modern thead th,
  ._table table thead th {
    padding: 0.75rem 1rem !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    border: none !important;
    cursor: default !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    background: #fafafa !important;
  }

  .table-modern tbody tr,
  ._table table tbody tr {
    transition: background-color 0s !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: relative !important;
  }

  .table-modern tbody tr:hover,
  ._table table tbody tr:hover,
  .table-modern tbody tr.clickable:hover,
  ._table table tbody tr.clickable:hover,
  table tbody tr:hover {
    background-color: #e8f5e9 !important;
  }

  .table-modern tbody tr:last-child,
  ._table table tbody tr:last-child {
    border-bottom: none !important;
  }

  .table-modern tbody td,
  ._table table tbody td {
    padding: 0.5rem 0.85rem !important;
    color: #495057 !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    vertical-align: middle !important;
    border: none !important;
  }

  .table-modern tbody td:first-child,
  ._table table tbody td:first-child {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    font-size: 0.875rem !important;
  }

  /* Style pour les lignes cliquables */
  table tbody tr[data-href],
  table tbody tr.clickable {
    cursor: pointer;
  }

  table tbody tr[data-href]:hover,
  table tbody tr.clickable:hover {
    background-color: #f8f9fa !important;
  }

  /* Icônes dans le tableau */
  table tbody td i.fa-check-circle {
    color: #01972b;
    font-size: 1.1rem;
  }

  table tbody td i.fa-times-circle {
    color: #dc3545;
    font-size: 1.1rem;
  }

  /* Zebré alternatif (optionnel) */
  table.table-striped tbody tr:nth-child(odd) {
    background-color: #ffffff;
  }
  
  table.table-striped tbody tr:nth-child(even) {
    background-color: #f5f5f5;
  }

  table.table-striped tbody tr:hover {
    background-color: #e8f5e9 !important;
  }
  
  /* Réduire légèrement la taille du texte dans les tableaux striped */
  table.table-striped tbody td {
    font-size: 0.9rem !important;
  }
  
  table.table-striped thead th {
    font-size: 0.7rem !important;
  }

  /* Bordure pour les tableaux */
  table.table-bordered td,
  table.table-bordered th {
    border: 1px solid #e0e0e0;
  }

  /* Tableau compact */
  table.table-sm thead th,
  table.table-sm tbody td {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Style pour les cellules d'actions */
  table tbody td.actions {
    text-align: right;
    white-space: nowrap;
  }

  table tbody td.actions .btn {
    margin-left: 0.3rem;
  }

  /* Responsive table */
  @media (max-width: 768px) {
    table {
      font-size: 0.85rem;
    }

    table thead th,
    table tbody td {
      padding: 0.6rem 0.75rem;
    }
  }

  /* ============================================
     STYLES POUR LE FIL D'ARIANE (BREADCRUMB)
     ============================================ */
  
  .breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    border-radius: 0;
    font-size: 0.875rem;
  }

  .breadcrumb-item {
    color: #6c757d;
  }

  .breadcrumb-item a {
    color: #01972b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
  }

  .breadcrumb-item a:hover {
    color: #017a23;
    text-decoration: none;
  }

  .breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #adb5bd;
    font-size: 1.1rem;
    padding-right: 0.5rem;
  }

  .breadcrumb-item i {
    font-size: 0.85rem;
  }

  /* Fil d'ariane intégré dans welcome-header */
  .welcome-header .breadcrumb {
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }

  .welcome-header .breadcrumb-item,
  .welcome-header .breadcrumb-item a {
    font-size: 0.8rem;
  }

  .welcome-header .breadcrumb-item + .breadcrumb-item::before {
    font-size: 1rem;
    padding-right: 0.4rem;
  }

  /* ============================================
     NAVIGATION AVEC CARTES (style image)
     ============================================ */
  
  .breadcrumb-navigation {
    gap: 0;
    margin-bottom: 1rem !important;
  }

  .breadcrumb-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    min-width: 200px;
    transition: all 0.2s ease;
    box-shadow: none;
  }

  .breadcrumb-card-link {
    text-decoration: none;
    cursor: pointer;
  }

  .breadcrumb-card-link:hover {
    border-color: #01972b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
  }

  .breadcrumb-card-link:hover .breadcrumb-icon {
    background: #e8f5e9;
  }

  .breadcrumb-card-link:hover .breadcrumb-icon i {
    color: #01972b;
  }

  .breadcrumb-card-active {
    background: #fff;
    border: 1.5px solid #01972b;
    box-shadow: 0 1px 3px rgba(1, 151, 43, 0.1);
  }

  .breadcrumb-icon {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .breadcrumb-card-active .breadcrumb-icon {
    background: #e8f5e9;
  }

  .breadcrumb-icon i {
    font-size: 1.1rem;
    color: #666;
    transition: color 0.2s ease;
  }

  .breadcrumb-card-active .breadcrumb-icon i {
    color: #01972b;
  }

  .breadcrumb-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.1rem;
  }

  .breadcrumb-subtitle {
    font-size: 0.7rem;
    color: #6c757d;
    line-height: 1.2;
  }

  .breadcrumb-arrow {
    color: #adb5bd;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  /* Responsive pour la navigation */
  @media (max-width: 768px) {
    .breadcrumb-navigation {
      flex-direction: column;
    }

    .breadcrumb-card {
      width: 100%;
      min-width: 100%;
    }

    .breadcrumb-arrow {
      transform: rotate(90deg);
      margin: 0.75rem 0;
    }
  }

  /* ============================================
     STYLES POUR LES FORMULAIRES HARMONIEUX
     ============================================ */
  
  /* Card pour les formulaires */
  .form-card {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
  }

  .form-card .card-body {
    padding: 1.25rem 1.5rem;
  }

  /* Espacement harmonieux entre les groupes de champs */
  .form-group.row {
    margin-bottom: 0.75rem;
  }

  .form-group.row.mb-4 {
    margin-bottom: 0.75rem !important;
  }

  /* Labels des formulaires */
  .form-card .col-form-label {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .form-card .col-form-label .text-danger {
    color: #dc3545;
    font-weight: 600;
  }

  /* Champs de saisie harmonieux */
  .form-card .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background-color: #fff;
  }

  .form-card .form-control:focus {
    border-color: #01972b;
    box-shadow: 0 0 0 0.15rem rgba(1, 151, 43, 0.15);
    background-color: #fff;
    outline: none;
  }

  .form-card .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.875rem;
  }

  /* Checkbox custom harmonieux */
  .form-card .custom-control-label {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 400;
    padding-top: 0.15rem;
  }

  .form-card .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #01972b;
    border-color: #01972b;
  }

  .form-card .custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.15rem rgba(1, 151, 43, 0.15);
  }

  /* Boutons d'action dans les formulaires */
  .form-card ._actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
  }

  .form-card ._actions .btn {
    min-width: 120px;
    font-weight: 500;
  }

  /* Alignement vertical des labels avec les inputs */
  .form-group.row.align-items-center .col-form-label {
    padding-top: 0.5rem;
  }

  /* Responsive pour les formulaires */
  @media (max-width: 768px) {
    .form-card .card-body {
      padding: 1.5rem 1rem;
    }

    .form-card .col-form-label {
      text-align: left !important;
      margin-bottom: 0.5rem;
    }

    .form-card ._actions .btn {
      width: 100%;
      margin-bottom: 0.5rem;
    }
  }

/* ===== Pagination moderne ===== */
.pagination {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.pagination .page-item .page-link {
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
  min-width: 38px;
  text-align: center;
}

.pagination .page-item .page-link:hover {
  background-color: #e9f5ec;
  color: #01972b;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(1, 151, 43, 0.15);
}

.pagination .page-item.active .page-link {
  background-color: #01972b;
  color: white;
  box-shadow: 0 2px 8px rgba(1, 151, 43, 0.3);
}

.pagination .page-item.active .page-link:hover {
  background-color: #017a23;
  color: white;
  transform: translateY(-1px);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 1rem;
  padding: 0.45rem 0.75rem;
}

.pagination .page-item.disabled .page-link {
  background-color: #f1f3f5;
  color: #adb5bd;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
}