/* Available Slots */
.gpt-slots-container {
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

#site-header {
  display:none !important;
}

#site-footer {
  display:none !important;
}

.page-header  {
  display:none !important;
}


.gpt-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gpt-slots-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.gpt-slots-legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #6b7280;
  align-items: center;
}

.gpt-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.gpt-legend-dot.available {
  background: #10b981;
}

.gpt-legend-dot.booked {
  background: #e5e7eb;
}

/* Improved grid to handle wider time slot buttons */
.gpt-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

/* Redesigned time slot button with capacity indicators and color-coded dots */
.gpt-time-slot {
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Capacity indicator dot at top */
.gpt-slot-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
}

/* Making all capacity dots green for available slots */
.gpt-capacity-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Color-code dots based on capacity */
.gpt-time-slot.low-capacity .gpt-capacity-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.gpt-time-slot.high-capacity .gpt-capacity-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.gpt-time-slot.full-capacity .gpt-capacity-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.gpt-time-slot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gpt-primary-color, #667eea);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.gpt-time-slot.available:hover {
  border-color: var(--gpt-primary-color, #667eea);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.gpt-time-slot.available:hover::before {
  transform: scaleX(1);
}

.gpt-time-slot.selected {
  border-color: var(--gpt-primary-color, #667eea);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.gpt-time-slot.selected::before {
  transform: scaleX(1);
}

/* Time range display */
.gpt-slot-time-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #1f2937;
  font-size: 15px;
  margin-bottom: 8px;
}

.gpt-slot-start {
  font-weight: 700;
  color: #1f2937;
}

.gpt-slot-arrow {
  color: #9ca3af;
  flex-shrink: 0;
}

.gpt-slot-end {
  font-weight: 600;
  color: #6b7280;
}

/* Capacity display with warning for low spots */
.gpt-slot-capacity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
}

.gpt-capacity-text {
  font-weight: 500;
}

.gpt-spots-warning {
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.gpt-slot-status {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gpt-time-slot.booked {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f9fafb;
}

.gpt-time-slot.booked:hover {
  transform: none;
  border-color: #e5e7eb;
  background: #f9fafb;
  box-shadow: none;
}

.gpt-time-slot.booked .gpt-slot-time-range {
  color: #9ca3af;
}

.gpt-time-slot.booked .gpt-slot-start,
.gpt-time-slot.booked .gpt-slot-end {
  color: #9ca3af;
}

.gpt-time-slot.booked .gpt-capacity-dot {
  background: #e5e7eb;
  box-shadow: 0 0 0 2px rgba(229, 231, 235, 0.3);
}

.gpt-empty-slots {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.gpt-empty-slots svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.gpt-empty-slots p {
  margin: 0;
  font-size: 15px;
}

/* Updated Book Now Button Container to use branding colors */
.gpt-book-now-container {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 12px;
  border: 2px solid var(--gpt-primary-color, #667eea);
  animation: slideIn 0.3s ease;
}

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

.gpt-booking-summary {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.gpt-booking-summary h4 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.gpt-booking-summary p {
  margin: 10px 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

.gpt-booking-summary strong {
  color: var(--gpt-primary-color, #667eea);
  font-weight: 600;
  margin-right: 8px;
}

/* Updated Book Now Button to use branding colors from settings */
.gpt-book-now-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--gpt-primary-color, #667eea) 0%, var(--gpt-secondary-color, #764ba2) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.gpt-book-now-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, var(--gpt-secondary-color, #764ba2) 0%, var(--gpt-primary-color, #667eea) 100%);
}

.gpt-book-now-btn:active:not(:disabled) {
  transform: translateY(0);
}

.gpt-book-now-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.gpt-book-now-btn svg {
  flex-shrink: 0;
}

.gpt-spinner-icon {
  animation: spin 1s linear infinite;
}

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