/* booking-widget.css */
#booking-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

#booking-widget-overlay.active {
  opacity: 1;
  visibility: visible;
}

#booking-widget-modal {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  max-height: 90vh;
  overflow-y: auto;
}

#booking-widget-overlay.active #booking-widget-modal {
  transform: translateY(0);
}

.booking-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.booking-close:hover {
  color: #000;
}

#booking-widget-modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.booking-group {
  margin-bottom: 15px;
}

.booking-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
}

.booking-group select,
.booking-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.booking-group select:disabled,
.booking-group input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

#booking-submit {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

#booking-submit:hover:not(:disabled) {
  background: #333;
}

#booking-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.booking-error {
  color: #d32f2f;
  background: #ffebee;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  display: none;
}

.booking-success {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.booking-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: booking-spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes booking-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
