/* Booking Modal Styles */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.booking-modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.booking-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.booking-modal-header h2 {
  margin: 0;
  color: #124E72;
  font-size: 24px;
}

.booking-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
}

.booking-modal-close:hover {
  color: #333;
}

.booking-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.booking-step h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
}

.booking-error {
  padding: 12px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.booking-success {
  padding: 12px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Services List */
.services-list-booking {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-booking {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.service-card-booking:hover {
  border-color: #124E72;
  background: #f9fafb;
}

.service-card-booking.selected {
  border-color: #124E72;
  background: #e0f2fe;
}

.service-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-info-booking {
  flex: 1;
}

.service-name-booking {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.service-duration-booking {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.service-description-booking {
  font-size: 13px;
  color: #999;
}

/* Date & Time Selection */
.date-time-selection {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-group input[type="date"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #124E72;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
}

.time-slot {
  padding: 10px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.time-slot.available:hover {
  border-color: #124E72;
  background: #e0f2fe;
}

.time-slot.available.selected {
  border-color: #124E72;
  background: #124E72;
  color: white;
}

.time-slot.unavailable {
  background: #f3f4f6;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.no-slots {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* Appointment Summary */
.appointment-summary {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item strong {
  color: #333;
  margin-right: 8px;
}

/* Buttons */
.booking-policy-message {
  padding: 16px 24px;
  background: #f0f9ff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #124E72;
  font-size: 13px;
  line-height: 1.5;
}

.booking-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.booking-button {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.booking-button.primary {
  background: #124E72;
  color: white;
}

.booking-button.primary:hover:not(:disabled) {
  background: #0f3d5a;
}

.booking-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.back-button {
  padding: 10px 20px;
  background: white;
  color: #333;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}

.back-button:hover {
  background: #f9fafb;
  border-color: #124E72;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .booking-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .time-slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

