/* src/components/calendrier.css */

/* ============================================
   CONTENEUR PRINCIPAL
============================================ */
.calendar-container {
  margin: 0 auto;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================================
   EN-TÊTE
============================================ */
.calendar-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calendar-header h1 {
  margin: 0;
  font-size: 2.2rem;
}

.subtitle {
  margin: 8px 0 15px;
  opacity: 0.8;
  font-size: 1rem;
}

.header-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.header-stats span {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* ============================================
   CONTROLES
============================================ */
.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-controls h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.nav-btn {
  padding: 8px 16px;
  border: none;
  background: #667eea;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: #5a67d8;
}

.btn-add {
  padding: 8px 20px;
  border: none;
  background: #4caf50;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-add:hover {
  background: #43a047;
}

/* ============================================
   BANNIÈRE D'ERREUR
============================================ */
.error-banner {
  background: #dc3545;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.error-banner.warning-banner {
  background: #ffc107;
  color: #333;
}

.error-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 10px;
}

.warning-banner .error-close {
  color: #333;
}

/* ============================================
   LAYOUT PRINCIPAL (2 colonnes)
============================================ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.calendar-column {
  min-width: 0;
}

.bookings-column {
  min-width: 0;
}

/* ============================================
   FULLCALENDAR WRAPPER
============================================ */
.fullcalendar-wrapper {
  /* background: white; */
  /* border-radius: 12px; */
  /* padding: 20px; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Personnalisation FullCalendar */
.fc-event {
  cursor: pointer !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  padding: 2px 4px !important;
  font-weight: 500 !important;
}

.fc-daygrid-day {
  cursor: pointer !important;
  transition: background 0.2s;
}

.fc-daygrid-day:hover {
  background: #f8f9fa;
}

.fc-day-today {
  background: #e8edff !important;
}

/* ✅ Titre du mois */
.fc-toolbar-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #0a3764 !important;
}

/* ✅ CORRECTION : Tous les boutons FullCalendar */
.fc .fc-button,
.fc .fc-button-primary,
.fc .fc-toolbar .fc-button,
.fc-button {
    /* ✅ Centrage parfait */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* ✅ Couleur */
    background-color: #0a3764 !important;
    border: none !important;
    color: #ffffff !important;
    
    /* ✅ Dimensions correctes pour le centrage */
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    
    /* ✅ Style */
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    
    /* ✅ Transition */
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

/* ✅ Hover */
.fc .fc-button:hover,
.fc .fc-button-primary:hover,
.fc-button:hover {
    background-color: #0d4a7a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(10, 55, 100, 0.3) !important;
}

/* ✅ Active */
.fc .fc-button:active,
.fc .fc-button-primary:active,
.fc-button:active {
    background-color: #062a4a !important;
    transform: translateY(0px) !important;
    box-shadow: none !important;
}

/* ✅ Disabled */
.fc .fc-button:disabled,
.fc .fc-button-primary:disabled,
.fc-button:disabled {
    background-color: #6c757d !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   BOUTONS SPÉCIFIQUES
   ============================================ */

/* ✅ Boutons prev/next (flèches) */
.fc .fc-prev-button,
.fc .fc-next-button {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    font-size: 16px !important;
}

/* ✅ Bouton aujourd'hui */
.fc .fc-today-button {
    font-weight: 600 !important;
}

/* ✅ Bouton "Nouvelle réservation" personnalisé */
.fc .fc-customAddButton-button {
    background: linear-gradient(135deg, #0a3764, #1a5a8a) !important;
    font-weight: 600 !important;
    padding: 0 20px !important;
}

.fc .fc-customAddButton-button:hover {
    background: linear-gradient(135deg, #1a5a8a, #2a7aaa) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(10, 55, 100, 0.4) !important;
}

/* ============================================
   TOOLBAR
   ============================================ */

.fc .fc-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    gap: 10px !important;
}

.fc .fc-toolbar-chunk {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}


.fc-dayGridMonth-view .fc-daygrid-day-number {
  font-weight: 600 !important;
  color: #333 !important;
}

.fc-dayGridMonth-view .fc-daygrid-day-frame {
  min-height: 80px !important;
}

.fc-event-main {
  padding: 2px 4px !important;
}

/* ============================================
   CELLULES DU CALENDRIER
============================================ */
.past-date-cell {
  background: #f5f5f5 !important;
  opacity: 0.6;
  cursor: not-allowed !important;
}

.past-date-cell .fc-daygrid-day-number {
  color: #adb5bd !important;
}

.fully-booked-cell {
  background: #fff5f5 !important;
}

.fully-booked-cell .fc-daygrid-day-number {
  color: #dc3545 !important;
}

.available-date-cell {
  cursor: pointer !important;
  transition: background 0.2s;
}

.available-date-cell:hover {
  background: #e8edff !important;
}

.today-cell {
  background: #e8edff !important;
}

/* ============================================
   LÉGENDE
============================================ */
.legend {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin: 20px 0;
  padding: 12px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #333;
}

.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* Dots pour les statuts */
.dot.status-dispo {
  background: #28a745;
}
.dot.status-encours {
  background: #ffc107;
}
.dot.status-termine {
  background: #6c757d;
}
.dot.status-reserver {
  background: #007bff;
}
.dot.status-cancelled {
  background: #dc3545;
}

.dot.full-dot {
  background: #dc3545;
}
.dot.past-dot {
  background: #adb5bd;
}
.dot.available-dot {
  background: #28a745;
  border: 2px solid #1e7e34;
}
.dot.today-dot {
  background: #667eea;
  border: 2px solid #5a67d8;
}

/* ============================================
   PANEL DES RÉSERVATIONS
============================================ */
.bookings-panel {
  background: transparent;
  border-radius: 12px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  /* padding: 20px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  /* max-height: 600px; */
}

.bookings-panel-header {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border-bottom: 2px solid #f0f0f0; */
  padding-bottom: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 8px;
}

.bookings-panel-header h3 {
  margin: 0;
  color: #0a3764;
  font-size: 1.3rem;
}

.bookings-count {
  background: #667eea;
  color: white;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.selected-date-badge {
  background: #e8edff;
  color: #667eea;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
}

/* ============================================
   LISTE DES RÉSERVATIONS (SCROLL)
============================================ */
.bookings-list-scroll {
  flex: 1;
  /* margin-top: 10px; */
  /* overflow-y: auto;
  height: auto;
  max-height: 520px; */
}

.bookings-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.bookings-list-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.bookings-list-scroll::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.bookings-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #5a67d8;
}

/* ============================================
   ÉLÉMENT DE RÉSERVATION
============================================ */
.booking-item {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.booking-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.booking-item-selected {
  border-color: #667eea;
  background: #f0f3ff;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.booking-item .booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.booking-item .booking-room {
  font-weight: 700;
  /* color: #667eea; */
  font-size: 0.9rem;
}

.booking-item .booking-client {
  font-weight: 500;
  font-size: 0.85rem;
}

.booking-item .booking-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #555;
  margin: 4px 0;
}

.booking-item .booking-price {
  font-weight: 600;
  color: #667eea;
}

.booking-item .booking-actions {
  justify-content: center;
  margin-top: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.booking-item .booking-actions button {
  padding: 3px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.booking-item .booking-actions button:hover {
  transform: scale(1.05);
}

/* ============================================
   STATUTS DES CHAMBRES - BADGES
============================================ */
.status-badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-dispo {
  background: #28a745;
  color: white;
}
.status-encours {
  background: #ffc107;
  color: #333;
}
.status-termine {
  background: #6c757d;
  color: white;
}
.status-reserver {
  background: #007bff;
  color: white;
}
.status-cancelled {
  background: #dc3545;
  color: white;
}

/* ============================================
   STATISTIQUES DANS L'EN-TÊTE
============================================ */
.stat-dispo {
  color: #28a745;
}
.stat-encours {
  color: #ffc107;
}
.stat-termine {
  color: #6c757d;
}
.stat-reserver {
  color: #007bff;
}

/* ============================================
   SÉLECTEUR DE STATUT
============================================ */
.status-select {
  padding: 3px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  background: white;
}

.status-select:focus {
  outline: none;
  border-color: #667eea;
}

/* ============================================
   BOUTONS D'ACTION
============================================ */


.btn-edit {
  background: #dee2e6;
  color: #333;
}

.btn-edit:hover {
  background: #ced4da;
}

.btn-add-small {
  padding: 6px 16px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-add-small:hover {
  background: #43a047;
}

/* ============================================
   PLACEHOLDER
============================================ */


.booking-placeholder .hint {
  font-size: 0.8rem;
  color: #aaa;
  /* margin-top: 4px; */
}

/* ============================================
   MODAL
============================================ */
/* .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  overflow: hidden;
} */

/* .modal-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
} */

.modal-content h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

/* Informations de date sélectionnée */
.selected-date-info {
  background: #e8edff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.selected-date-info p {
  margin: 4px 0;
  font-size: 0.95rem;
}

/* ============================================
   FORMULAIRE
============================================ */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.form-group input:disabled {
  background: #f5f5f5;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ============================================
   EXTENSION / PROLONGATION
============================================ */
.extension-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.extension-info p {
  margin: 5px 0;
}

.extension-price {
  background: #e8edff;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.extension-price p {
  margin: 4px 0;
  font-weight: 500;
}

.extension-price strong {
  color: #667eea;
}

/* ============================================
   ACTIONS DU MODAL
============================================ */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-save {
  flex: 1;
  padding: 12px;
  background: #0a3764;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-save:hover {
  transform: scale(1.02);
}

.btn-cancel-modal {
  flex: 1;
  padding: 12px 25px;
  /* background: #dc3545;
  color: white; */
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-cancel-modal:hover {
  transform: scale(1.02);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .bookings-panel {
    max-height: 400px;
  }

  .bookings-list-scroll {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .calendar-container {
    padding: 10px;
  }

  .calendar-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 15px;
  }

  .calendar-controls h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .calendar-header h1 {
    font-size: 1.5rem;
  }

  .header-stats {
    gap: 10px;
  }

  .header-stats span {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .bookings-panel {
    max-height: 350px;
  }

  .bookings-list-scroll {
    max-height: 250px;
  }

  .modal-content {
    padding: 20px;
    max-width: 95%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legend {
    gap: 10px;
    font-size: 0.75rem;
  }

  .legend span {
    font-size: 0.75rem;
  }

  .fc .fc-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .fc .fc-toolbar-chunk {
        justify-content: center !important;
    }
    
    .fc .fc-button,
    .fc .fc-button-primary,
    .fc-button {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
    
    .fc .fc-prev-button,
    .fc .fc-next-button {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
    }


}





/* .fc .fc-button-primary {
    background-color: #0a3764 !important;
    border-color: #0a3764 !important;
    color: white !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    padding: 16px 14px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
} */

/* Position du badge en bas à droite */
.fc-daygrid-day {
    position: relative !important;
}

.fc-daygrid-day-events {
    position: absolute !important;
    bottom: 2px !important;
    left: 1px !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: none !important;
}

.fc-event {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1px 1px !important;
}

.fc-event-badge-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.count-circle-bottom {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 11px;
    /* color: white; */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    pointer-events: none;
    background-color: #0a3764;
}

/* Conteneur de la liste */
.booking-list-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Barre d'outils */
.booking-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    /* background: #f8f9fa; */
    border-radius: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Select personnalisé */
.form-select-custom {
    padding: 8px 32px 8px 14px;
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.form-select-custom:hover {
    border-color: #0a3764;
}

.form-select-custom:focus {
    outline: none;
    border-color: #0a3764;
    box-shadow: 0 0 0 3px rgba(10, 55, 100, 0.1);
}

/* Champ de recherche */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 12px;
    font-size: 14px;
    opacity: 0.6;
}

.form-search {
    padding: 8px 35px 8px 38px;
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

.form-search:focus {
    outline: none;
    border-color: #0a3764;
    box-shadow: 0 0 0 3px rgba(10, 55, 100, 0.1);
}

.form-search::placeholder {
    color: #adb5bd;
}

.search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

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

/* Liste des réservations */
.booking-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Élément de réservation */
.booking-item {
    background: transparent;
    border: 1px solid #cecece;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-item:hover {
    border-color: #0a3764;
    box-shadow: 0 2px 8px rgba(10, 55, 100, 0.08);
    transform: translateX(2px);
}

.booking-item-selected {
    border-color: #0a3764;
    /* background: #f0f4f8; */
    box-shadow: 0 2px 8px rgba(10, 55, 100, 0.12);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-room {
    font-weight: 600;
    color: #0a3764;
    font-size: 14px;
}

.booking-client {
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

/* Status badge */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-dispo {
    background: #d4edda;
    color: #155724;
}

.status-encours {
    background: #f8ac59;
    color: #fff;
}

.status-termine {
    background: #1c84c6;
    color: #fff;
}

.status-reserver {
    background: #1ab394;
    color: #fff;
}

.status-cancelled {
    background: #ed5565;
    color: #fff;
}

/* Actions des réservations */
.booking-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

.fc-btn-extend,
.fc-btn-cancel {
    padding: 4px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.btn-extend {
    /* background: #e8f0fe; */
    color: #0a3764;
    border: 2px solid black;
}

.btn-extend:hover {
    /* background: #0a3764; */
    /* color: white; */
    transform: scale(1.02);
}

.btn-cancel {
    /* background: #e8f0fe; */
    color: red;
    border: 2px solid black;
}

.btn-cancel:hover {
    /* background: #e8f0fe;
    color: red; */
    transform: scale(1.02);
}

/* Pagination */
.booking-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0 5px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
}

.pagination-btn {
    padding: 6px 16px;
    border: 1.5px solid #0a3764;
    background: white;
    color: #0a3764;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #0a3764;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

/*  Placeholder */
.booking-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #6c757d;
    text-align: center;
    padding: 20px;
    border: 2px solid #cecece;

}

.booking-placeholder p {
    margin: 5px 0;
    font-size: 16px;
}

.booking-placeholder .hint {
    font-size: 13px;
    color: #adb5bd;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .booking-actions {
        justify-content: flex-start;
    }
}