
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f9fa;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-grow-1 {
  flex-grow: 1;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-muted {
  color: #6b7280;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 1rem;
}

.me-3 {
  margin-right: 1rem;
}

.ms-auto {
  margin-left: auto;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

.position-relative {
  position: relative;
}

.position-fixed {
  position: fixed;
}

.position-absolute {
  position: absolute;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.border-0 {
  border: 0;
}

.rounded-3 {
  border-radius: 0.75rem;
}

.rounded-circle {
  border-radius: 50%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.sidebar {
  width: 280px;
  min-height: 100vh;
  background: linear-gradient(23deg, #350e59 0%, #0f1117 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1060;
  transition: left 0.3s ease;
}

.sidebar-header {
  position: relative;
}

.sidebar-logo-container {
  background-color: #000000;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo img {
  max-width: 180px;
  height: auto;
}

.sidebar-separator {
  position: relative;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f5ffd7, #ffc107);
  display: block;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-item {
  margin-bottom: 0.25rem;
  display: block;
  width: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  color: #9ca3af;
}

.nav-link.active {
  background-color: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  font-weight: 600;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.nav-link:hover:not(.active) {
  background-color: rgba(245, 255, 215, 0.1);
  color: #ffc107;
  transform: translateX(4px);
}

.nav-link svg {
  margin-right: 1rem;
  stroke-width: 2.5;
}

.badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 10px;
  margin-left: auto;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

/* ===== BOUTONS GLOBAUX - THÈME STARTER ===== */
.btn {
  display: inline-block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #ff9713 0%, #ffc107 100%) !important;
  color: #1f2937 !important;
  border: none !important;
}

.btn-primary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: #ffffff !important;
  border: none !important;
}

.btn-secondary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none !important;
}

.btn-success:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none !important;
}

.btn-danger:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-primary {
  background: transparent;
  color: #ffc107 !important;
  border: none !important;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Surcharge des styles Bootstrap par défaut (bleu) */
.btn-info,
.btn-outline-info {
  background: transparent;
  color: #ffc107;
  border: none !important;
}

.btn-info:hover,
.btn-outline-info:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-info:focus,
.btn-info:active,
.btn-outline-info:focus,
.btn-outline-info:active {
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.btn-outline-secondary {
  background: transparent;
  color: #6b7280 !important;
  border: none !important;
}

.btn-outline-secondary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-success {
  background: transparent;
  color: #10b981;
  border: none !important;
}

.btn-outline-success:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-danger {
  background: transparent;
  color: #ef4444;
  border: none !important;
}

.btn-outline-danger:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%);
  color: #1f2937;
  border: none !important;
}

.btn-warning:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Supprimer tous les styles bleus par défaut */
.btn:focus,
.btn:active,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25) !important;
  border: none !important;
}

/* Surcharge spécifique pour éviter le bleu Bootstrap et garantir le contraste */
a.btn,
button.btn,
input[type="button"].btn,
input[type="submit"].btn {
  border: none !important;
}

a.btn:hover,
button.btn:hover,
input[type="button"].btn:hover,
input[type="submit"].btn:hover {
  border: none !important;
}

/* Garantir que les boutons sur fond blanc ont un bon contraste */
.card .btn-primary,
.card-body .btn-primary {
  background: linear-gradient(135deg, #ff9713 0%, #ffc107 100%) !important;
  color: #1f2937 !important;
  border: none !important;
}

.card .btn-primary:hover,
.card-body .btn-primary:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.card .btn-outline-primary,
.card-body .btn-outline-primary {
  background: transparent !important;
  color: #ffc107 !important;
  border: none !important;
}

.card .btn-outline-primary:hover,
.card-body .btn-outline-primary:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 24px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-link {
  background: none;
  color: inherit;
  text-decoration: none;
  border: none;
}

.btn-link:hover {
  color: #ffc107;
  text-decoration: underline;
  border: none;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.card-shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

/* ===== CARD HEADER MODERNE - DESIGN PREMIUM ===== */
.card-header {
  position: relative;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-bottom: none;
  color: #111827;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f5ffd7, #ffc107);
}

.card-header h5,
.card-header h6,
.card-header .card-title {
  color: #111827 !important;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-header .text-muted {
  color: #6b7280 !important;
  font-size: 0.875rem;
  font-weight: 400;
}

.card-header i {
  color: #ffc107;
  font-size: 1.25rem;
}

.card-header .d-flex {
  align-items: center;
  gap: 1rem;
}

/* Boutons dans les card-header - Style cohérent */
.card-header .btn {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%) !important;
  color: #1f2937 !important;
  border: none !important;
}

.card-header .btn:hover {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%) !important;
  color: #1f2937 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.4) !important;
}

.card-header .btn-secondary {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

.card-header .btn-secondary:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

.card-header .btn-outline-primary {
  background: transparent !important;
  color: #ffc107 !important;
  border: 2px solid #ffc107 !important;
}

.card-header .btn-outline-primary:hover {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%) !important;
  color: #1f2937 !important;
  border-color: #ffc107 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.4) !important;
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #fef3c7;
  color: #92400e;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.header-gradient {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%);
  color: #1f2937;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  background-color: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  background-color: #ffc107;
  color: #1f2937;
  border-color: #ffc107;
}

.filter-btn:hover:not(.active) {
  border-color: #ffc107;
  color: #ffc107;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(255, 193, 7, 0.2);
  border-top-color: #ffc107;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.progress {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 10px;
  transition: width 0.3s;
}

.video-player {
  background-color: #000;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-item {
  cursor: pointer;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.lesson-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.lesson-item.active {
  background-color: rgba(255, 193, 7, 0.1);
  border-left-color: #ffc107;
}

.lesson-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-number.completed {
  background-color: #10b981;
  color: white;
}

.user-profile {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.user-avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.user-avatar span {
  position: relative;
  z-index: 0;
}

.sidebar-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.sidebar-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.col-12 {
  flex: 0 0 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.sticky-top {
  position: sticky;
  top: 20px;
}

.hamburger-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  background-color: #1a1d29;
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
}

@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    left: -280px;
  }

  .sidebar.open {
    left: 0;
  }

  .hamburger-btn {
    display: block;
  }

  .overlay.show {
    display: block;
  }

  .col-md-6 {
    flex: 0 0 100%;
  }

  .col-lg-4 {
    flex: 0 0 100%;
  }

  .col-lg-8 {
    flex: 0 0 100%;
  }
}

@media (min-width: 992px) {
  .sidebar {
    position: relative;
    left: 0 !important;
  }

  .col-md-6 {
    flex: 0 0 50%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666667%;
  }
}

@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }

  .col-md-4 {
    flex: 0 0 33.333333%;
  }

  .col-md-8 {
    flex: 0 0 66.666667%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
}

.display-6 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1f2937;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #ffc107;
}

a:hover {
  text-decoration: underline;
}

/* Layout principal - Styles ajoutés pour le bon fonctionnement */
.wrapper {
  display: flex;
  min-height: 100vh;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  margin-right: 20px;
  transition: margin-left 0.3s ease;
}

.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.content {
  flex: 1;
  padding: 2rem 0;
  background-color: #f8f9fa;
}

.footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 2rem 0;
  margin-top: auto;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Responsive layout */
@media (min-width: 992px) {
  .main {
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .main .header,
  .main .footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 991.98px) {
  .main {
    margin-left: 0;
    margin-right: 0;
  }
  
  .main .header,
  .main .footer {
    margin-left: 0;
    margin-right: 0;
    padding-left: 4.5rem;
    padding-right: 1.5rem;
  }
  
  .header {
    padding-left: 4.5rem !important;
  }
  
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    z-index: 1060;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .sidebar.open {
    left: 0;
  }
}

/* Cards et composants */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

/* Card header déjà défini plus haut avec style moderne */

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.table th,
.table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #374151;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9fafb;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
}

.badge.bg-primary {
  background-color: #3b82f6;
  color: white;
}

.badge.bg-success {
  background-color: #10b981;
  color: white;
}

.badge.bg-info {
  background-color: #06b6d4;
  color: white;
}

.badge.bg-warning {
  background-color: #f59e0b;
  color: white;
}

/* Form controls */
.form-control-plaintext {
  display: block;
  width: 100%;
  padding: 0.375rem 0;
  margin-bottom: 0;
  line-height: 1.5;
  color: #374151;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
}

/* Text utilities */
.text-primary {
  color: #3b82f6 !important;
}

.text-success {
  color: #10b981 !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-info {
  color: #06b6d4 !important;
}

.text-danger {
  color: #ef4444 !important;
}

/* Spacing utilities */
.mt-auto {
  margin-top: auto;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

/* List utilities */
.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

/* Small text */
.small {
  font-size: 0.875rem;
}

/* Code */
code {
  font-size: 0.875rem;
  color: #e11d48;
  background-color: #fef2f2;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

/* ===== PAGINATION - DESIGN UNIFIÉ ===== */
.pagination {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.pagination .page-item {
  margin: 0 2px;
}

.pagination .page-link {
  color: #1f2937;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  background: white;
}

.pagination .page-link:hover {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%);
  border-color: #ffc107;
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.2);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #f5ffd7 0%, #ffc107 100%);
  border-color: #ffc107;
  color: #1f2937;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.pagination .page-item.disabled .page-link {
  color: #9ca3af;
  background-color: #f9fafb;
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

.pagination-info {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.pagination-lg .page-link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .pagination-lg .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
  