
/* Enhanced Modal Styles for Reschedule */
.modal-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Reschedule Modal Specific Styles */
#reschedule-modal .modal-content {
  max-width: 900px;
}

#reschedule-barber-list .barber-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#reschedule-barber-list .barber-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

#reschedule-barber-list .barber-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}

#reschedule-time-slots .time-slot {
  background: #fff;
  border: 2px solid #e5e7eb;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#reschedule-time-slots .time-slot:hover {
  border-color: #667eea;
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

#reschedule-time-slots .time-slot.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

#reschedule-date {
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--accent);
}

#reschedule-date:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Summary card enhancement */
#reschedule-summary {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 16px;
  border-radius: 12px;
  border: 2px solid rgba(102, 126, 234, 0.2);
}

#reschedule-summary p {
  margin: 8px 0;
  font-size: 15px;
}

#reschedule-summary strong {
  color: #667eea;
}

/* Button enhancements */
.modal-content .btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modal-content .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-content .btn.primary:active {
  transform: translateY(0);
}

.modal-content .btn.secondary:hover {
  background: #d1d5db;
}

/* Smooth scrollbar for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
