/* General Styles */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #f5e6d3, 0 0 0 0.25rem #d4a574;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: #1a202c;
}

.hero-section h1 {
  font-weight: 700;
  line-height: 1.2;
}

.hero-section .text-warning {
  color: #ffc107 !important;
}

/* Service Cards */
.service-card {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.service-card i {
  color: #d4a574;
  transition: color 0.3s ease;
}

.service-card:hover i {
  color: #c8976f;
}

/* Form Styles */
.form-control, .form-select {
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
  border-color: #d4a574;
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: #d4a574;
  border-color: #d4a574;
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #c8976f;
  border-color: #c8976f;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
  font-weight: 600;
}

.btn-warning:hover {
  background-color: #ffb800;
  border-color: #ffb800;
  color: #000;
}

/* Footer */
footer {
  background-color: #212529;
  color: #fff;
  margin-top: auto;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0d6efd !important;
}

/* Cards */
.card {
  border-radius: 8px;
  border: none;
}

.card-header {
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

/* Alerts */
.alert {
  border-radius: 6px;
  border: none;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

/* Utilities */
.text-primary {
  color: #0d6efd !important;
}

.bg-primary {
  background-color: #0d6efd !important;
}

.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .service-card {
    margin-bottom: 20px;
  }
}

/* Loading spinner */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0d6efd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Simple Calendar Styles */
.simple-calendar {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.simple-calendar .card-body {
  padding: 0;
}

.calendar-header {
  background-color: #f8f9fa;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #e9ecef;
}

.calendar-header h5 {
  color: #d4a574;
  font-weight: 600;
  margin: 0;
}

.calendar-header button {
  color: #d4a574;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0 8px;
}

.calendar-header button:hover {
  color: #c4945d;
  background: none;
}

.calendar-weekdays {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.calendar-days {
  gap: 3px !important;
  padding: 8px !important;
}

.calendar-day {
  aspect-ratio: 1;
  min-height: 36px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
  border-color: #d4a574;
  background-color: #f5e6d3;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.1);
}

.calendar-day.selected {
  background-color: #d4a574;
  border-color: #d4a574;
  color: white;
  font-weight: 600;
}

.calendar-day.today {
  border-color: #d4a574;
}

.calendar-day.disabled,
.calendar-day.other-month {
  color: #ccc;
  background-color: #f8f9fa;
  cursor: not-allowed;
  border-color: #f0f0f0;
}

.calendar-day.disabled:hover,
.calendar-day.other-month:hover {
  background-color: #f8f9fa;
  transform: none;
}

/* Ensure parent container allows popup to overflow */
.col-lg-8 {
  position: relative;
  overflow: visible !important;
  z-index: 100;
}

/* Calendar row - allow overflow for popup */
.row.mb-5 {
  overflow: visible;
}





/* Ensure calendar is visible */
.flatpickr-calendar.hasWeeks {
  width: auto;
}

/* Fix for day cells alignment */
.flatpickr-innerContainer {
  display: block;
  padding: 0;
}

.flatpickr-rContainer {
  height: auto;
  border: 0;
}

/* Modern Calendar Styles */
.calendar-container {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 0;
  min-height: auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.calendar-header h3 {
  margin: 0;
  color: #d4a574;
  font-weight: 700;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #495057;
  font-weight: 500;
}

.calendar-nav button:hover {
  background: #d4a574;
  border-color: #d4a574;
  color: white;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
  text-align: center;
  position: relative;
  min-height: 100px;
}

.calendar-day.other-month {
  color: #999;
  background: #fafbfc;
  cursor: not-allowed;
}

.calendar-day.available:hover {
  border-color: #d4a574;
  background: #f5e6d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.calendar-day.selected {
  background: #d4a574;
  color: white;
  border-color: #d4a574;
  font-weight: 600;
}

.calendar-day.unavailable {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
  border-color: #dee2e6;
}

.calendar-day-number {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.calendar-day-label {
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-day.available .calendar-day-label {
  color: #28a745;
  font-weight: 500;
}

/* Time Slots Modern Style */
.time-slots-container {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.time-slot {
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
  font-weight: 500;
  color: #495057;
  font-size: 0.95rem;
}

.time-slot:hover {
  border-color: #d4a574;
  background: #f5e6d3;
  color: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.time-slot.selected {
  background: #d4a574;
  color: white;
  border-color: #d4a574;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.time-slot.unavailable {
  background: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  border-color: #dee2e6;
  opacity: 0.6;
}

/* Stats Section with Animation */
.stats-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 40px 0;
  margin: 40px 0;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4a574;
  margin-bottom: 10px;
}

.stat-label {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
}

/* Reservation Card Enhanced */
.reservation-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: visible;
  border: none;
}

.reservation-card .card-header {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: white;
  padding: 24px;
  border-radius: 12px 12px 0 0;
}

.reservation-card .card-header h3 {
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reservation-card .card-body {
  padding: 30px;
  overflow: visible;
}

/* Form Input Enhancement */
.form-control, .form-select {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background: white;
  border-color: #d4a574;
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.1);
}

/* Badge Enhancement */
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Services Grid Enhancement */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

/* ==================== MODERN ADMIN DASHBOARD STYLES ==================== */

/* Admin Dashboard Main Container */
.admin-dashboard {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  min-height: 100vh;
}

/* Admin Header */
.admin-header {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: white;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.admin-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.admin-header::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.admin-header-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-header-title h1 i {
  font-size: 2.8rem;
}

.admin-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 1.1rem;
  font-weight: 400;
}

.btn-admin-primary {
  background-color: white;
  color: #d4a574;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-admin-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #c8976f;
}

/* Section Title */
.section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.section-title h2 i {
  color: #d4a574;
  font-size: 1.6rem;
}

/* Statistics Cards - Modern Design */
.stat-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  padding: 0;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(212, 165, 116, 0.12);
  border-color: transparent;
}

.stat-card-body {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-card-primary .stat-icon {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
  color: #d4a574;
}

.stat-card-danger .stat-icon {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
  color: #dc3545;
}

.stat-card-warning .stat-icon {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  color: #ffc107;
}

.stat-card-info .stat-icon {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
  color: #17a2b8;
}

.stat-content {
  flex: 1;
}

.stat-label {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin: 8px 0 0 0;
}

.stat-footer {
  padding: 12px 24px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-footer small {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-footer i {
  color: #d4a574;
}

/* Dashboard Card */
.dashboard-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.dashboard-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 24px;
  border-bottom: 2px solid #e9ecef;
}

.dashboard-card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-card-header h3 i {
  color: #d4a574;
  font-size: 1.4rem;
}

.dashboard-card-body {
  padding: 24px;
}

/* Action Grid */
.action-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  text-decoration: none;
  color: #1a202c;
  transition: all 0.3s ease;
  position: relative;
}

.action-button:hover {
  background: white;
  border-color: #d4a574;
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.15);
  color: #d4a574;
  transform: translateX(8px);
}

.action-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.action-icon.primary {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: white;
}

.action-icon.secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.action-text {
  flex: 1;
}

.action-text h5 {
  font-weight: 600;
  color: #1a202c;
  margin: 0;
  font-size: 1rem;
}

.action-text p {
  color: #6c757d;
  margin: 4px 0 0 0;
  font-size: 0.9rem;
}

.action-button:hover .action-text h5 {
  color: #d4a574;
}

.action-button i:last-child {
  color: #d4a574;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-button:hover i:last-child {
  opacity: 1;
}

/* Modern Calendar Styles */
.modern-calendar {
  background: white;
}

/* Flatpickr Calendar Customization */
.flatpickr-calendar {
  background: white;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100% !important;
  max-width: 100% !important;
  position: static !important;
}

/* Reservation Calendar Container Specific */
#reservationCalendar {
  width: 100% !important;
}

#reservationCalendar.flatpickr-calendar {
  position: static !important;
  box-shadow: none !important;
}

.flatpickr-rContainer {
  padding: 20px;
}

.flatpickr-current-month {
  padding: 20px 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4a574;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flatpickr-current-month input.cur-year {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
  border: 2px solid #e9ecef !important;
  border-radius: 6px !important;
  color: #d4a574 !important;
  font-weight: 600 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  padding: 12px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(212, 165, 116, 0.1);
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  stroke: #d4a574 !important;
  width: 24px;
  height: 24px;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  stroke: #c8976f !important;
}

.flatpickr-weekdays {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 12px 0;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  justify-content: space-around;
}

.flatpickr-weekday {
  color: #d4a574;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  flex: 1;
  text-align: center;
  width: 55px;
}

.flatpickr-days {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flatpickr-day {
  color: #495057;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  margin: 6px;
  padding: 12px 0;
  min-width: 55px;
  height: 55px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 1rem;
}

.flatpickr-day.other-month {
  background: #fafbfc;
  color: #adb5bd;
  opacity: 0.5;
}

.flatpickr-day:hover:not(.other-month):not(.disabled):not(.inRange) {
  border-color: #d4a574;
  background: #f5e6d3 !important;
  color: #d4a574 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.flatpickr-day.selected {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%) !important;
  border-color: #d4a574 !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.flatpickr-day.today {
  border-color: #ffc107 !important;
  background: #fffbea !important;
  color: #856404 !important;
  font-weight: 600 !important;
}

.flatpickr-day.disabled {
  background: #f8f9fa !important;
  color: #adb5bd !important;
  cursor: not-allowed;
  border-color: #dee2e6 !important;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #d4a574;
}

.info-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1.1rem;
  color: #1a202c;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-header {
    padding: 40px 0 30px;
  }

  .admin-header-content {
    flex-direction: column;
    text-align: left;
    gap: 20px;
  }

  .admin-header-title h1 {
    font-size: 1.8rem;
  }

  .btn-admin-primary {
    width: 100%;
    justify-content: center;
  }

  .stat-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Time Slots Management */
.time-slots-management {
  display: grid;
  gap: 16px;
}

.time-slot-card {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.time-slot-card:hover {
  border-color: #d4a574;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.1);
}

.time-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dee2e6;
}

.time-slot-header h5 {
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.time-slot-header .form-switch {
  margin: 0;
}

.time-slot-header .form-check-label {
  font-weight: 500;
  color: #6c757d;
  margin-left: 8px;
}

.time-slot-body {
  padding: 0;
}

.time-slot-body .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
}

.time-slot-body .form-control-sm {
  border-color: #dee2e6;
  border-radius: 6px;
}

.time-slot-body .form-control-sm:focus {
  border-color: #d4a574;
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.save-time-slot {
  background-color: #d4a574;
  border-color: #d4a574;
  font-weight: 600;
  transition: all 0.3s ease;
}

.save-time-slot:hover {
  background-color: #c8976f;
  border-color: #c8976f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

/* Manage Roles Page Styles */
.role-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.role-card:hover {
  border-color: #d4a574;
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.12);
  transform: translateY(-4px);
}

.role-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e9ecef;
}

.role-card-title {
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  font-size: 1.1rem;
}

.role-card-description {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
  line-height: 1.5;
}

/* Users Table Styles */
.users-table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 2px solid #e9ecef;
}

.users-table thead th {
  font-weight: 700;
  color: #495057;
  border: none;
  padding: 16px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.users-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.users-table tbody tr:hover {
  background-color: #f8f9fa;
}

.users-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
}

.user-email {
  color: #d4a574;
  text-decoration: none;
  font-weight: 500;
}

.user-email:hover {
  color: #c8976f;
  text-decoration: underline;
}

/* Form Label and Button Improvements */
.dashboard-card .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.dashboard-card .form-control,
.dashboard-card .form-select {
  border-color: #dee2e6;
  border-radius: 6px;
  padding: 10px 12px;
}

.dashboard-card .form-control:focus,
.dashboard-card .form-select:focus {
  border-color: #d4a574;
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.dashboard-card .btn-primary {
  background-color: #d4a574;
  border-color: #d4a574;
  font-weight: 600;
  padding: 10px 24px;
}

.dashboard-card .btn-primary:hover {
  background-color: #c8976f;
  border-color: #c8976f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

/* Button Group Styles */
.btn-group-sm .btn-outline-warning,
.btn-group-sm .btn-outline-danger {
  border: 1px solid #dee2e6;
  color: #6c757d;
}

.btn-group-sm .btn-outline-warning:hover {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.btn-group-sm .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

/* Alert Box Improvements */
.admin-dashboard .alert {
  border: none;
  border-radius: 8px;
  border-left: 4px solid;
  margin-bottom: 24px;
}

.admin-dashboard .alert-success {
  background-color: #d4ead4;
  color: #155724;
  border-left-color: #28a745;
}

.admin-dashboard .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left-color: #dc3545;
}

/* Booking Cards - My Bookings Page */
.booking-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.booking-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(212, 165, 116, 0.15);
  border-color: #d4a574;
}

.booking-card-header {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-date {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  min-width: 60px;
  backdrop-filter: blur(10px);
}

.booking-date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.booking-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.9;
}

.booking-time {
  flex: 1;
}

.booking-time h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-confirmed {
  background: rgba(40, 167, 69, 0.2);
  color: #155724;
}

.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #856404;
}

.status-cancelled {
  background: rgba(220, 53, 69, 0.2);
  color: #721c24;
}

.status-completed {
  background: rgba(23, 162, 184, 0.2);
  color: #0c5460;
}

.booking-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.booking-notes {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.booking-notes strong {
  color: #1a202c;
  display: block;
  margin-bottom: 6px;
}

.booking-notes small {
  color: #6c757d;
  line-height: 1.5;
}

.booking-created {
  margin-top: auto;
  color: #adb5bd;
  font-size: 0.85rem;
}

.booking-card-footer {
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.btn-booking-cancel {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-booking-cancel:hover {
  background-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  color: white;
}

.alert-lg {
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid #d4a574;
}

/* Modern Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e9ecef;
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-section {
  margin-bottom: 0;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.footer-subtitle::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 20px;
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  border-radius: 2px;
  margin-right: 8px;
}

.footer-description {
  color: #adb5bd;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(212, 165, 116, 0.1);
  color: #d4a574;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: linear-gradient(135deg, #d4a574 0%, #c8976f 100%);
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #d4a574;
  transform: translateX(4px);
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item i {
  color: #d4a574;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item p {
  margin: 0;
  color: #adb5bd;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a,
.contact-item span {
  color: #e9ecef;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.contact-item a:hover {
  color: #d4a574;
}

.contact-label {
  margin-bottom: 4px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.3), transparent);
  margin-bottom: 0;
}

.footer-copyright {
  color: #adb5bd;
  margin: 0;
  font-size: 0.9rem;
}

.footer-copyright strong {
  color: #d4a574;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #d4a574;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .modern-footer {
    padding-top: 40px;
  }

  .footer-section {
    margin-bottom: 24px;
  }

  .footer-legal {
    justify-content: center;
    gap: 16px;
  }

  .footer-copyright {
    margin-bottom: 16px;
  }
}

/* Modern Hero Section - New Design */
.hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: rgba(212, 165, 116, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: rgba(212, 165, 116, 0.03);
  border-radius: 50%;
  z-index: 0;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
}

.stat-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(212, 165, 116, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4a574;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: #34495e;
  font-weight: 600;
}

/* Fade In Animation */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 !important;
  }

  .stat-card {
    margin-bottom: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

