:root {
  --primary: #418043;
  --primary-light: #6bac6e;
  --primary-dark: #2f6131;
  --secondary: #e74c3c;
  --accent: #4a90e2;
  --light: #f8faf9;
  --dark: #2c3e50;
  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --menu-bg: #fffaf0;
  --menu-border: #f5deb3;
  --radius: 12px;
}
/* xCateo Booking Form Styles - Optimized & Responsive */
.xcateo-booking-form {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  position: relative;
}

/* Progress Bar */
.xcateo-progress {
  margin-bottom: 3rem;
}

.xcateo-progress-bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.xcateo-progress-fill {
  height: 100%;
  background: #418043;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.xcateo-progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.xcateo-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.xcateo-step-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.xcateo-step-label {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  transition: color 0.3s ease;
}

.xcateo-progress-step.active .xcateo-step-number {
  background: #418043;
  color: white;
  transform: scale(1.1);
}

.xcateo-progress-step.active .xcateo-step-label {
  color: #418043;
  font-weight: 600;
}

/* Steps Container */
.xcateo-steps-container {
  position: relative;
  min-height: 400px;
}

.xcateo-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.xcateo-step.active {
  display: block !important;
}

.xcateo-step-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.6s ease;
}

.xcateo-step h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.xcateo-step p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Form Layouts */
.xcateo-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.xcateo-form-center {
  max-width: 300px;
  margin: 0 auto 2rem;
}

.xcateo-form-group {
  margin-bottom: 1.5rem;
}

.xcateo-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.xcateo-booking-form .xcateo-form-input,
.xcateo-booking-form .xcateo-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.xcateo-booking-form .xcateo-form-input:focus,
.xcateo-booking-form .xcateo-form-select:focus {
  border-color: #418043;
  box-shadow: 0 0 0 3px rgba(65, 128, 67, 0.1);
  outline: none;
}

/* Number Input */
.xcateo-guests-input {
  text-align: center;
}

.xcateo-number-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.xcateo-number-input button {
  width: 45px;
  height: 45px;
  border: 2px solid #418043;
  background: white;
  color: #418043;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.xcateo-number-input button:hover {
  background: #418043;
  color: white;
}

.xcateo-number-input input {
  width: 80px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Options Grid */
.xcateo-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.xcateo-option-card {
  position: relative;
}

.xcateo-option-input {
  position: absolute;
  opacity: 0;
}

.xcateo-option-label {
  display: block;
  padding: 2rem 1.5rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.xcateo-option-input:checked + .xcateo-option-label {
  border-color: #418043;
  background: rgba(65, 128, 67, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(65, 128, 67, 0.2);
}

.xcateo-option-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.xcateo-option-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.xcateo-option-desc {
  display: block;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* Buttons */
.xcateo-step-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.xcateo-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.xcateo-btn-primary {
  background: #418043;
  color: white;
}

.xcateo-btn-primary:hover {
  background: #356937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(65, 128, 67, 0.3);
}

.xcateo-btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e5e5e5;
}

.xcateo-btn-secondary:hover {
  background: #e9ecef;
  color: #333;
}

/* Loading Spinner */
.xcateo-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.xcateo-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #418043;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.xcateo-loading p {
  color: #418043;
  font-weight: 600;
}
/* Menu Categories Tabs */
.menu-category-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-category-tab {
  padding: 12px 24px;
  background: #f8f9fa;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: #7f8c8d;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
}

.menu-category-tab:hover {
  background: #e8e8e8;
}

.menu-category-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 8px rgba(65, 128, 67, 0.2);
}

.menu-category-tab i {
  margin-right: 8px;
}

/* Menu Sections */
.menu-section {
  background-color: var(--light);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.menu-section-title {
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
  font-family: "Georgia", serif;
  font-size: 28px;
}

.menu-section-subtitle {
  color: #7f8c8d;
  margin-bottom: 25px;
  font-style: italic;
  font-size: 16px;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.menu-item-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.menu-item-card.selected {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(65, 128, 67, 0.2);
}

.menu-item-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item-card:hover .menu-item-image img {
  transform: scale(1.05);
}

.menu-item-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

.menu-item-content {
  padding: 20px;
}

.menu-item-title {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.menu-item-description {
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.menu-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-item-price {
  font-weight: 700;
  color: var(--primary);
}

.menu-item-dietary {
  display: flex;
  gap: 5px;
}

.dietary-tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f1f1f1;
  color: #7f8c8d;
}

.dietary-tag.vegetarian {
  background: #e8f6ef;
  color: #27ae60;
}

.dietary-tag.gluten-free {
  background: #fef9e7;
  color: #f39c12;
}

.dietary-tag.vegan {
  background: #e8f8f5;
  color: #16a085;
}
/* Order summary */
.summary-section {
  background-color: var(--light);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.summary-heading {
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
  font-family: "Georgia", serif;
  font-size: 24px;
  display: flex;
  align-items: center;
  font-weight: bold;
}
.order-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.item-details {
  flex: 1;
}
.item-price {
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
}
.item-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}
.item-description {
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 8px;
}
.price-breakdown {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid #eaeaea;
}
.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 5px 0;
}
.price-label {
  color: #7f8c8d;
}
.price-row.total {
  border-top: 2px solid var(--primary-light);
  padding-top: 15px;
  margin-top: 15px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.instructions-content {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #eee;
  font-style: italic;
  color: #7f8c8d;
}
.special-instructions h3,
.detail-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
}
p#instructions-text {
  text-align: left;
  margin-bottom: 0px;
}
.event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.detail-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-content p {
  margin-bottom: 0px;
  text-align: left;
  color: #7f8c8d;
}
.confirmation-check {
  margin-top: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: var(--radius);
  border: 1px solid #eaeaea;
}
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.checkbox-container input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.checkbox-label {
  color: #7f8c8d;
  line-height: 1.5;
}
/* Special Instructions */
.special-instructions {
  background: #f9f9f9;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 30px;
  border: 1px solid #eaeaea;
}

.special-instructions label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.special-instructions textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error States */
.xcateo-form-input.error,
.xcateo-form-select.error {
  border-color: #dc3232;
}

.error-message {
  color: #dc3232;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .xcateo-booking-form {
    margin: 1rem;
    padding: 1.5rem;
  }

  .xcateo-progress-steps {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .xcateo-step-icon {
    font-size: 2.5rem;
  }

  .xcateo-step h2 {
    font-size: 1.5rem;
  }

  .xcateo-form-grid {
    grid-template-columns: 1fr;
  }

  .xcateo-options-grid {
    grid-template-columns: 1fr;
  }

  .xcateo-step-actions {
    flex-direction: column;
  }

  .xcateo-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .xcateo-booking-form {
    padding: 1rem;
    margin: 0.5rem;
  }

  .xcateo-step-icon {
    font-size: 2rem;
  }

  .xcateo-step h2 {
    font-size: 1.3rem;
  }

  .xcateo-step p {
    font-size: 1rem;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
