/* Marine World Booking System Styles */

/* CSS Variables for theming - Marine World Blue Theme */
:root {
  --mwb-primary-color: #0084ff;
  --mwb-secondary-color: #f0f9ff;
  --mwb-success-color: #28a745;
  --mwb-warning-color: #ffc107;
  --mwb-danger-color: #dc3545;
  --mwb-info-color: #00bfff;
  --mwb-light-color: #f8fafc;
  --mwb-dark-color: #1a1d2b;
  --mwb-border-color: #e8f4ff;
  --mwb-border-radius: 12px;
  --mwb-box-shadow: 0 25px 50px -12px rgba(0, 132, 255, 0.15);
  --mwb-transition: all 0.3s ease;
  --mwb-font-family: "Roboto", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Base Styles */
.marine-world-booking-container,
.marine-world-calendar-container,
.marine-world-booking-elementor-widget {
  font-family: var(--mwb-font-family);
  line-height: 1.6;
  color: var(--mwb-dark-color);
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  padding: 40px 20px;
  border-radius: 20px;
}

/* Header Styles */
.mwb-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.mwb-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.mwb-header p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.marine-world-booking-container *,
.marine-world-calendar-container *,
.marine-world-booking-elementor-widget * {
  box-sizing: border-box;
}

/* Loading Spinner */
.mwb-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.mwb-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--mwb-secondary-color);
  border-top: 4px solid var(--mwb-primary-color);
  border-radius: 50%;
  animation: mwb-spin 1s linear infinite;
  margin-bottom: 16px;
}

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

.mwb-loading-placeholder {
  padding: 40px;
  text-align: center;
  color: var(--mwb-dark-color);
}

/* Error Message */
.mwb-error {
  padding: 20px;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: var(--mwb-border-radius);
  border: 1px solid #f5c6cb;
  text-align: center;
}

.mwb-retry-btn {
  margin-top: 12px;
  padding: 8px 16px;
  background-color: var(--mwb-danger-color);
  color: white;
  border: none;
  border-radius: var(--mwb-border-radius);
  cursor: pointer;
  transition: var(--mwb-transition);
}

.mwb-retry-btn:hover {
  background-color: #c82333;
}

/* Progress Indicator */
.mwb-progress {
  max-width: 1000px;
  margin: 20px auto 30px auto;
  padding: 20px 0;
}

.mwb-progress-indicator {
  max-width: 1000px;
  margin: 20px auto 30px auto;
  padding: 20px 0;
}

.mwb-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}

.mwb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.mwb-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--mwb-border-color);
  z-index: 1;
}

.mwb-step.completed:not(:last-child)::after {
  background-color: var(--mwb-success-color);
}

.mwb-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--mwb-border-color);
  color: var(--mwb-dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: var(--mwb-transition);
}

.mwb-step.active .mwb-step-number {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3);
}

.mwb-step.completed .mwb-step-number {
  background-color: var(--mwb-success-color);
  color: white;
}

.mwb-step-title {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.mwb-progress-bar {
  height: 4px;
  background-color: var(--mwb-border-color);
  border-radius: 2px;
  overflow: hidden;
}

.mwb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0084ff, #00bfff);
  transition: width 0.3s ease;
}

/* Step Content Headings */
.mwb-step-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.mwb-step-content h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

/* Buttons */
.mwb-primary-btn,
.mwb-secondary-btn,
.mwb-quick-book-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--mwb-border-radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--mwb-transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.mwb-primary-btn {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.25);
}

.mwb-primary-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0070dd, #00a5e0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 132, 255, 0.35);
}

.mwb-primary-btn:disabled {
  background: #e9ecef;
  color: #495057;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.mwb-secondary-btn {
  background-color: var(--mwb-secondary-color);
  color: var(--mwb-dark-color);
  border: 1px solid var(--mwb-border-color);
}

.mwb-secondary-btn:hover:not(:disabled) {
  background-color: #e2e6ea;
  transform: translateY(-1px);
}

.mwb-secondary-btn:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
  border-color: #dee2e6;
}

.mwb-quick-book-btn {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.25);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mwb-quick-book-btn:hover {
  background: linear-gradient(135deg, #0070dd, #00a5e0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 132, 255, 0.35);
}

/* Step Actions */
.mwb-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 20px;
  background-color: var(--mwb-light-color);
  border-radius: var(--mwb-border-radius);
}

.mwb-step-actions button {
  min-width: 120px;
}

/* Location Selector */
.mwb-location-selector h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

.mwb-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.mwb-location-card {
  padding: 24px;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: var(--mwb-transition);
  background: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
}

.mwb-location-card:hover {
  border-color: #0084ff;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(0, 132, 255, 0.2);
}

.mwb-location-card.selected {
  border-color: #0084ff;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 15px 40px -10px rgba(0, 132, 255, 0.25);
}

.mwb-location-card h3 {
  margin: 0 0 8px 0;
  color: var(--mwb-dark-color);
}

.mwb-location-card p {
  margin: 0 0 16px 0;
  color: #6c757d;
}

.mwb-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mwb-facility-tag {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Calendar Styles */
.mwb-date-selector h2,
.mwb-calendar-only h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

.mwb-calendar {
  background: white;
  border-radius: var(--mwb-border-radius);
  box-shadow: var(--mwb-box-shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.mwb-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  border-radius: 16px 16px 0 0;
}

.mwb-calendar-header h3 {
  margin: 0;
  font-size: 20px;
  color: white;
  font-weight: 600;
}

.mwb-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  transition: var(--mwb-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.mwb-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.mwb-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mwb-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: var(--mwb-light-color);
}

.mwb-weekday {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--mwb-dark-color);
  border-right: 1px solid var(--mwb-border-color);
}

.mwb-weekday:last-child {
  border-right: none;
}

.mwb-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 8px;
  background: var(--mwb-light-color);
}

.mwb-calendar-day {
  position: relative;
  min-height: 60px;
  padding: 8px;
  border: 2px solid var(--mwb-border-color);
  background: white;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 2px;
}

.mwb-calendar-day:hover:not(:disabled) {
  background-color: #e3f2fd !important;
  color: #1565c0 !important;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2);
  z-index: 1;
}

/* Default style for calendar days without availability data */
.mwb-calendar-day:not(.available):not(.limited):not(.sold_out):not(.other-month):not(.past):not(.blackout) {
  background: white;
  border-color: #e0e0e0;
  color: var(--mwb-dark-color);
  position: relative;
}

.mwb-calendar-day:not(.available):not(.limited):not(.sold_out):not(.other-month):not(.past):not(.blackout):hover:not(:disabled) {
  background-color: #f0f8ff !important;
  color: #2c5282 !important;
  border-color: #4299e1 !important;
}

.mwb-calendar-day.other-month {
  background-color: #f8f9fa;
  color: #6c757d;
}

.mwb-calendar-day.other-month:hover:not(:disabled) {
  background-color: #e9ecef !important;
  color: #495057 !important;
}

.mwb-calendar-day.past {
  background-color: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
}

.mwb-calendar-day.selected {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  border: 2px solid #0084ff;
  box-shadow: 0 4px 16px rgba(0, 132, 255, 0.3);
  transform: scale(1.08);
  z-index: 10;
  font-weight: 600;
  outline: none !important;
}

.mwb-calendar-day.available {
  background: white;
  border-color: #e0e0e0;
  color: var(--mwb-dark-color);
  position: relative;
}

.mwb-calendar-day.available::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #28a745;
  border-radius: 50%;
}

.mwb-calendar-day.available:hover:not(:disabled) {
  background-color: #e8f5e8 !important;
  color: #155724 !important;
  border-color: #28a745 !important;
}

.mwb-calendar-day.limited {
  background: white;
  border-color: #e0e0e0;
  color: var(--mwb-dark-color);
  position: relative;
}

.mwb-calendar-day.limited::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ffc107;
  border-radius: 50%;
}

.mwb-calendar-day.limited:hover:not(:disabled) {
  background-color: #fff3cd !important;
  color: #856404 !important;
  border-color: #ffc107 !important;
}

.mwb-calendar-day.sold_out {
  background: #f5f5f5;
  border-color: #e0e0e0;
  cursor: not-allowed;
  color: #9e9e9e;
  opacity: 0.7;
  position: relative;
}

.mwb-calendar-day.sold_out::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 1px;
  background: #dc3545;
}

.mwb-calendar-day.blackout {
  background-color: #e2e3e5;
  color: #6c757d;
  cursor: not-allowed;
  position: relative;
}

.mwb-calendar-day.blackout::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(0, 0, 0, 0.1) 5px,
    rgba(0, 0, 0, 0.1) 10px
  );
}

.mwb-calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.date-number {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.mwb-calendar-day.selected .date-number {
  font-weight: 700;
  font-size: 18px;
}

/* Offer Badge Styles */
.offer-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(255, 107, 53, 0.4);
  z-index: 2;
  animation: mwb-pulse-offer 2s infinite;
}

@keyframes mwb-pulse-offer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Ensure selected state always takes priority over availability states */
.mwb-calendar-day.selected.available,
.mwb-calendar-day.selected.limited,
.mwb-calendar-day.available.selected,
.mwb-calendar-day.limited.selected {
  background: linear-gradient(135deg, #0084ff, #00bfff) !important;
  color: white !important;
  border: 2px solid #0084ff !important;
  box-shadow: 0 4px 16px rgba(0, 132, 255, 0.3) !important;
  transform: scale(1.08) !important;
  z-index: 10 !important;
  font-weight: 600 !important;
  outline: none !important;
}

/* Hide the availability indicator dots when selected */
.mwb-calendar-day.selected::after {
  display: none !important;
}

/* Add a subtle pulse animation for selected dates */
.mwb-calendar-day.selected {
  animation: mwb-pulse-selection 2s infinite;
}

@keyframes mwb-pulse-selection {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 132, 255, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(0, 132, 255, 0.3), 0 0 0 6px rgba(0, 132, 255, 0.25);
  }
}

.special-price {
  font-size: 10px;
  background-color: var(--mwb-warning-color);
  color: var(--mwb-dark-color);
  padding: 2px 4px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Legend */
.mwb-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mwb-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.mwb-legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--mwb-border-color);
}

.mwb-legend-color.available {
  background-color: #d4edda;
}

.mwb-legend-color.limited {
  background-color: #fff3cd;
}

.mwb-legend-color.sold_out {
  background-color: #f8d7da;
}

/* Ticket Selector */
.mwb-ticket-selector h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

.mwb-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.mwb-ticket-card {
  padding: 24px;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
  transition: var(--mwb-transition);
}

.mwb-ticket-card:hover {
  transform: translateY(-2px);
  border-color: #0084ff;
  box-shadow: 0 15px 40px -10px rgba(0, 132, 255, 0.2);
}

.mwb-ticket-card h3 {
  margin: 0 0 8px 0;
  color: var(--mwb-dark-color);
}

.mwb-ticket-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--mwb-primary-color);
  margin: 8px 0 16px 0;
}

.mwb-quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mwb-qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #0084ff;
  background: white;
  color: #0084ff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: var(--mwb-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwb-qty-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  border-color: #0084ff;
  transform: scale(1.05);
}

.mwb-qty-btn:disabled {
  border-color: #e8f4ff;
  color: #94a3b8;
  cursor: not-allowed;
}

.mwb-qty-display {
  font-size: 20px;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
  color: var(--mwb-dark-color);
}

/* Group Discount Notice */
.mwb-group-discount-notice {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 20px;
  border-radius: var(--mwb-border-radius);
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--mwb-box-shadow);
}

.mwb-group-discount-notice h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.mwb-group-discount-notice p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Pricing Summary */
.mwb-pricing-summary {
  background: white;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

/* Final Pricing - Clean */
.mwb-final-pricing {
  background: #ffffff;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
}

.mwb-pricing-summary h4 {
  margin: 0 0 16px 0;
  color: var(--mwb-dark-color);
}

.mwb-final-pricing h4 {
  margin: 0 0 16px 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
}

.mwb-price-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 8px 0;
}

.mwb-final-pricing .mwb-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 0;
}

.mwb-final-pricing .mwb-price-line span:first-child {
  color: #6b7280;
  font-size: 14px;
}

.mwb-final-pricing .mwb-price-line span:last-child {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
}

.mwb-price-line.discount {
  color: #059669;
  font-weight: 500;
}

.mwb-final-pricing .mwb-price-line.discount span:last-child {
  color: #059669;
}

.mwb-price-line.total {
  border-top: 2px solid var(--mwb-border-color);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: bold;
  color: var(--mwb-dark-color);
}

.mwb-final-pricing .mwb-price-line.total {
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  padding-top: 12px;
}

.mwb-final-pricing .mwb-price-line.total span:first-child {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
}

.mwb-final-pricing .mwb-price-line.total span:last-child {
  color: #059669;
  font-size: 20px;
  font-weight: 600;
}

/* Add-ons Selector */
.mwb-addons-selector h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

.mwb-addons-description {
  text-align: center;
  color: #6c757d;
  margin-bottom: 30px;
}

.mwb-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.mwb-addon-card {
  padding: 20px;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
  transition: var(--mwb-transition);
}

.mwb-addon-card:hover {
  transform: translateY(-2px);
  border-color: #0084ff;
  box-shadow: 0 15px 40px -10px rgba(0, 132, 255, 0.2);
}

.mwb-addon-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--mwb-border-radius);
  margin-bottom: 15px;
  border: 1px solid var(--mwb-border-color);
}

.mwb-addon-card h3 {
  margin: 0 0 8px 0;
  color: var(--mwb-dark-color);
}

.mwb-addon-description {
  color: #6c757d;
  font-size: 14px;
  margin: 0 0 12px 0;
}

.mwb-addon-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--mwb-primary-color);
  margin: 0 0 16px 0;
}

.mwb-addon-total {
  margin-top: 12px;
  font-weight: bold;
  color: var(--mwb-success-color);
}

/* Booking Review - Clean Modern Design */
.mwb-booking-review {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.mwb-booking-review h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 600;
}

.mwb-booking-summary {
  background: #ffffff;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
}

.mwb-booking-summary h3 {
  margin: 0 0 16px 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.mwb-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 0;
}

.mwb-summary-item span:first-child {
  color: #6b7280;
  font-size: 14px;
}

.mwb-summary-item span:last-child {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
}

.mwb-summary-section {
  margin-bottom: 20px;
}

.mwb-summary-section h4 {
  margin: 0 0 12px 0;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

/* Promo Code Section - Clean */
.mwb-promo-section {
  background: #ffffff;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
}

.mwb-promo-section h4 {
  margin: 0 0 12px 0;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
}

.mwb-promo-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mwb-promo-input input,
.mwb-promo-input input[type="text"],
.mwb-promo-section input,
.mwb-promo-section input[type="text"] {
  flex: 1 !important;
  padding: 15px 20px !important;
  border: 2px solid #e8f4ff !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  background: #f8fafc !important;
  transition: all 0.3s ease !important;
  color: #1a1d2b !important;
  box-sizing: border-box !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.mwb-promo-input input:focus,
.mwb-promo-input input[type="text"]:focus,
.mwb-promo-section input:focus,
.mwb-promo-section input[type="text"]:focus {
  outline: none !important;
  background-color: #ffffff !important;
  border-color: #0084ff !important;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1) !important;
}

.mwb-promo-input input::placeholder,
.mwb-promo-section input::placeholder {
  color: #94a3b8 !important;
}

.mwb-apply-btn {
  padding: 15px 24px;
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mwb-apply-btn:hover {
  background: linear-gradient(135deg, #0070dd, #00a5e0);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.25);
}

.mwb-promo-validation {
  padding: 8px 12px;
  border-radius: var(--mwb-border-radius);
  font-size: 14px;
}

.mwb-promo-validation.valid {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 8px;
}

.mwb-promo-validation.invalid {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 8px;
}

/* Customer Form - Clean Design */
.mwb-customer-form {
  background: #ffffff;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 132, 255, 0.15);
}

.mwb-customer-form h3 {
  margin: 0 0 20px 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.mwb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mwb-form-field {
  display: flex;
  flex-direction: column;
}

.mwb-form-field label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  display: block;
}

.mwb-form-field input,
.mwb-form-field input[type="text"],
.mwb-form-field input[type="email"],
.mwb-form-field input[type="tel"],
.mwb-form-field input[type="number"],
.mwb-customer-form input,
.mwb-customer-form input[type="text"],
.mwb-customer-form input[type="email"],
.mwb-customer-form input[type="tel"],
.mwb-customer-form input[type="number"] {
  padding: 15px 20px !important;
  border: 2px solid #e8f4ff !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  background: #f8fafc !important;
  color: #1a1d2b !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.mwb-form-field input:focus,
.mwb-form-field input[type="text"]:focus,
.mwb-form-field input[type="email"]:focus,
.mwb-form-field input[type="tel"]:focus,
.mwb-form-field input[type="number"]:focus,
.mwb-customer-form input:focus,
.mwb-customer-form input[type="text"]:focus,
.mwb-customer-form input[type="email"]:focus,
.mwb-customer-form input[type="tel"]:focus,
.mwb-customer-form input[type="number"]:focus {
  outline: none !important;
  background-color: #ffffff !important;
  border-color: #0084ff !important;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1) !important;
}

.mwb-form-field input::placeholder,
.mwb-customer-form input::placeholder {
  color: #94a3b8 !important;
}

.mwb-form-field input.error,
.mwb-customer-form input.error {
  border-color: #ef4444 !important;
}

.error-message {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}

.mwb-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 16px 0;
  font-size: 14px;
  color: #374151;
}

/* Override general input styles for checkboxes */
.mwb-checkbox-label input[type="checkbox"],
.mwb-customer-form .mwb-checkbox-label input[type="checkbox"],
.mwb-form-field .mwb-checkbox-label input[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #e8f4ff !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.mwb-checkbox-label input[type="checkbox"]:checked,
.mwb-customer-form .mwb-checkbox-label input[type="checkbox"]:checked,
.mwb-form-field .mwb-checkbox-label input[type="checkbox"]:checked {
  background: #0084ff !important;
  border-color: #0084ff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23fff' stroke='%23fff' stroke-width='1' d='m2 6 2.5 2.5L9.5 3.5'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
}

.mwb-checkbox-label input[type="checkbox"]:hover,
.mwb-customer-form .mwb-checkbox-label input[type="checkbox"]:hover,
.mwb-form-field .mwb-checkbox-label input[type="checkbox"]:hover {
  border-color: #0084ff !important;
}

.mwb-checkbox-label input[type="checkbox"]:focus,
.mwb-customer-form .mwb-checkbox-label input[type="checkbox"]:focus,
.mwb-form-field .mwb-checkbox-label input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1) !important;
}

.mwb-third-party-section {
  margin-top: 20px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid rgba(0, 132, 255, 0.1);
}

.mwb-third-party-section h4 {
  margin: 0 0 16px 0;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

/* Payment Step */
.mwb-payment-step h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--mwb-dark-color);
}

.mwb-payment-summary {
  background: white;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.mwb-payment-summary h3 {
  margin: 0 0 16px 0;
  color: var(--mwb-dark-color);
}

.mwb-payment-summary .amount {
  font-size: 24px;
  font-weight: bold;
  color: var(--mwb-primary-color);
}

.mwb-payment-methods {
  background: white;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.mwb-payment-methods h3 {
  margin: 0 0 16px 0;
  color: var(--mwb-dark-color);
}

.mwb-payment-option {
  padding: 16px;
  border: 2px solid #e8f4ff;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--mwb-transition);
  background: #ffffff;
}

.mwb-payment-option:hover,
.mwb-payment-option.selected {
  border-color: #0084ff;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.mwb-payment-option label {
  cursor: pointer;
  font-weight: 500;
}

.mwb-payment-option p {
  margin: 4px 0 0 20px;
  font-size: 14px;
  color: #6c757d;
}

.mwb-pay-btn {
  font-size: 18px;
  padding: 16px 32px;
  min-width: 200px;
}

/* Payment Processing */
.mwb-payment-processing {
  text-align: center;
  padding: 40px;
}

.mwb-payment-processing h2 {
  margin-bottom: 16px;
  color: var(--mwb-dark-color);
}

.mwb-payment-processing p {
  color: #6c757d;
  margin-bottom: 20px;
}

.mwb-booking-id {
  font-weight: bold;
  color: var(--mwb-primary-color);
}

/* Payment Error */
.mwb-payment-error {
  text-align: center;
  padding: 40px;
}

.mwb-payment-error h2 {
  color: var(--mwb-danger-color);
  margin-bottom: 16px;
}

/* Booking Success */
.mwb-booking-success {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: var(--mwb-border-radius);
  box-shadow: var(--mwb-box-shadow);
}

.mwb-success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--mwb-success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}

.mwb-booking-success h2 {
  color: var(--mwb-success-color);
  margin-bottom: 16px;
}

.mwb-booking-details {
  background: var(--mwb-light-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.mwb-booking-details h3 {
  margin: 0 0 16px 0;
  text-align: center;
  color: var(--mwb-dark-color);
}

.mwb-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 8px 0;
}

.mwb-detail-item .booking-id {
  font-family: monospace;
  font-weight: bold;
  color: var(--mwb-primary-color);
}

.mwb-success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.mwb-confirmation-notice {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: var(--mwb-border-radius);
  padding: 16px;
  margin-top: 20px;
}

.mwb-confirmation-notice p {
  margin: 8px 0;
  font-size: 14px;
  color: #0c5460;
}

/* Calendar Only Widget */
.mwb-calendar-only {
  max-width: 600px;
  margin: 0 auto;
}

.mwb-selected-date {
  background: white;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.mwb-selected-date p {
  margin: 0 0 16px 0;
  font-weight: 500;
  color: var(--mwb-dark-color);
}

/* Modal Styles */
.mwb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--mwb-transition);
}

.mwb-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mwb-modal-content {
  background: white;
  border-radius: var(--mwb-border-radius);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 20px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: var(--mwb-transition);
}

.mwb-modal-overlay.active .mwb-modal-content {
  transform: scale(1);
}

.mwb-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--mwb-transition);
}

.mwb-modal-close:hover {
  background-color: var(--mwb-light-color);
  color: var(--mwb-dark-color);
}

/* Theme Variations */
.theme-modern {
  --mwb-primary-color: #6f42c1;
  --mwb-border-radius: 12px;
}

.theme-classic {
  --mwb-primary-color: #dc3545;
  --mwb-border-radius: 4px;
}

.theme-minimal {
  --mwb-primary-color: #343a40;
  --mwb-border-radius: 0;
  --mwb-box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mwb-header {
    padding: 0 16px;
    margin-bottom: 30px;
  }
  
  .mwb-header h1 {
    font-size: 24px;
  }
  
  .mwb-header p {
    font-size: 14px;
  }
  
  .mwb-step-content {
    padding: 0 16px;
  }
  
  .mwb-booking-review {
    padding: 0 16px;
  }
  
  .mwb-progress {
    margin: 20px auto 30px auto;
    padding: 20px 16px;
  }
  
  .mwb-progress-steps {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .mwb-step {
    flex: none;
    min-width: 80px;
  }
  
  .mwb-step:not(:last-child)::after {
    display: none;
  }
  
  .mwb-form-row {
    grid-template-columns: 1fr;
  }
  
  .mwb-step-actions {
    flex-direction: column;
  }
  
  .mwb-tickets-grid,
  .mwb-addons-grid,
  .mwb-locations-grid {
    grid-template-columns: 1fr;
  }
  
  .mwb-calendar-day {
    min-height: 50px;
    font-size: 14px;
    margin: 1px;
    padding: 6px;
  }
  
  .mwb-calendar-day.selected {
    transform: scale(1.05);
  }
  
  .mwb-calendar-day.selected .date-number {
    font-size: 16px;
  }
  
  .mwb-legend {
    flex-direction: column;
    gap: 8px;
  }
  
  .mwb-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 10px;
    padding: 15px;
  }
  
  .mwb-success-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .mwb-quick-book-btn {
    font-size: 16px;
    padding: 12px 24px;
  }
  
  .mwb-calendar-header h3 {
    font-size: 18px;
  }
  
  .mwb-ticket-price {
    font-size: 20px;
  }
  
  .mwb-payment-summary .amount {
    font-size: 20px;
  }
}

/* Print Styles */
@media print {
  /* Hide navigation and action elements */
  .mwb-step-actions,
  .mwb-modal-close,
  .mwb-nav-btn,
  .mwb-ticket-buttons,
  .mwb-notice-card,
  header,
  footer,
  nav,
  .site-header,
  .site-footer,
  .elementor-location-header,
  .elementor-location-footer,
  #wpadminbar {
    display: none !important;
  }

  /* Reset body and html for print */
  body, html {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mwb-booking-success {
    box-shadow: none;
    border: 1px solid #000;
  }

  .mwb-success-icon {
    background-color: #000 !important;
    color: #fff !important;
  }

  /* Ensure QR code prints clearly */
  .mwb-qr-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .mwb-qr-img {
    max-width: 200px !important;
    height: auto !important;
  }

  /* Make sure content is visible */
  .mwb-success-header-section,
  .mwb-detail-card,
  .mwb-qr-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.mwb-primary-btn:focus,
.mwb-secondary-btn:focus,
.mwb-quick-book-btn:focus,
.mwb-location-card:focus,
.mwb-ticket-card:focus,
.mwb-addon-card:focus {
  outline: 2px solid var(--mwb-primary-color);
  outline-offset: 2px;
}

/* Focus styles only for non-selected calendar days */
.mwb-calendar-day:focus:not(.selected) {
  outline: 2px solid var(--mwb-primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
  z-index: 5;
}

/* Remove all outlines from selected calendar days */
.mwb-calendar-day.selected:focus {
  outline: none !important;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3) !important;
}

/* Adjustment Message */
.mwb-adjustment-message {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #0c5460;
  font-size: 14px;
  animation: mwb-fade-in 0.3s ease-in;
}

.mwb-adjustment-message p {
  margin: 0;
}

@keyframes mwb-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Offer ticket styling in summary */
.mwb-summary-item.offer-ticket {
  background: #f0fdf4;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  margin-bottom: 10px;
}

.mwb-summary-item.offer-ticket span:first-child {
  color: #166534;
}

.mwb-summary-item.offer-ticket .original-price {
  text-decoration: line-through;
  color: #9ca3af;
  margin-right: 8px;
}

.mwb-summary-item.offer-ticket .discounted-price {
  color: #059669;
  font-weight: 600;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --mwb-border-color: #000;
    --mwb-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

/* Enhanced Booking Confirmation Styles */

/* Base booking success container */
.mwb-booking-success {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: var(--mwb-font-family);
  color: var(--mwb-dark-color);
  line-height: 1.6;
}

.mwb-booking-success h2 {
  color: var(--mwb-success-color);
  text-align: center;
  font-size: 28px;
  margin: 15px 0;
  font-weight: 700;
}

.mwb-success-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Payment Status Section */
.mwb-payment-status {
  background: #f8f9fa;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.mwb-payment-status h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--mwb-dark-color);
  font-size: 18px;
  font-weight: 600;
}

.mwb-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 15px;
}

.mwb-status-badge.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mwb-status-badge.pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.mwb-status-badge .status-icon {
  font-weight: bold;
  font-size: 16px;
}

.mwb-payment-details {
  background: white;
  padding: 15px;
  border-radius: var(--mwb-border-radius);
  border: 1px solid #e9ecef;
}

/* Enhanced Booking Details */
.mwb-booking-details {
  background: white;
  border: 1px solid var(--mwb-border-color);
  border-radius: var(--mwb-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.mwb-booking-details h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--mwb-dark-color);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid var(--mwb-primary-color);
  padding-bottom: 8px;
}

.mwb-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

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

.mwb-detail-item span:first-child {
  color: #6b7280;
  font-weight: 500;
}

.mwb-detail-item span:last-child {
  color: var(--mwb-dark-color);
  font-weight: 600;
}

.mwb-detail-item .booking-id,
.mwb-detail-item .transaction-id,
.mwb-detail-item .qr-code {
  font-family: 'Courier New', monospace;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.mwb-detail-item .amount {
  color: var(--mwb-success-color);
  font-weight: 700;
  font-size: 16px;
}

/* QR Code Section */
.mwb-qr-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px dashed var(--mwb-primary-color);
  border-radius: var(--mwb-border-radius);
  padding: 30px;
  margin: 20px 0;
  text-align: center;
}

.mwb-qr-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--mwb-primary-color);
  font-size: 20px;
  font-weight: 700;
}

.mwb-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.mwb-qr-image {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--mwb-box-shadow);
  border: 3px solid var(--mwb-primary-color);
  position: relative;
}

.mwb-qr-image img {
  display: block;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.mwb-qr-fallback {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

.mwb-qr-text {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--mwb-dark-color);
  word-break: break-all;
  max-width: 200px;
}

.mwb-qr-instruction {
  margin: 0;
  color: var(--mwb-primary-color);
  font-weight: 600;
  font-size: 16px;
}

/* Enhanced Success Actions */
.mwb-success-actions {
  margin: 30px 0;
}

.mwb-ticket-actions {
  background: linear-gradient(135deg, #007cba, #0056b3);
  color: white;
  border-radius: var(--mwb-border-radius);
  padding: 25px;
  text-align: center;
}

.mwb-ticket-actions h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.mwb-action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mwb-download-btn {
  background: var(--mwb-success-color) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px;
  border-radius: var(--mwb-border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--mwb-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mwb-download-btn:hover {
  background: #218838 !important;
  transform: translateY(-1px);
}

.mwb-download-btn:disabled {
  background: #6c757d !important;
  cursor: not-allowed;
  transform: none;
}

.mwb-print-btn,
.mwb-new-booking-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 12px 20px;
  border-radius: var(--mwb-border-radius);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--mwb-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mwb-print-btn:hover,
.mwb-new-booking-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}

/* Enhanced Confirmation Notice */
.mwb-confirmation-notice {
  background: #e8f5e8;
  border: 1px solid #c3e6cb;
  border-radius: var(--mwb-border-radius);
  padding: 25px;
  margin-top: 20px;
}

.mwb-confirmation-notice h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #155724;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mwb-confirmation-notice h3::before {
  content: "ℹ️";
  font-size: 20px;
}

.mwb-notice-content p {
  margin: 8px 0;
  color: #155724;
  line-height: 1.6;
}

.mwb-notice-content p:last-child {
  margin-bottom: 0;
}

/* Success Icon Enhancement */
.mwb-success-icon {
  width: 80px;
  height: 80px;
  background: var(--mwb-success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  animation: successPulse 2s ease-in-out infinite alternate;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
  }
}

.mwb-success-subtitle {
  font-size: 16px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mwb-action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .mwb-download-btn,
  .mwb-print-btn,
  .mwb-new-booking-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .mwb-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }
  
  .mwb-detail-item span:last-child {
    align-self: flex-end;
  }
}

/* ================================================
   STEP 5 REVIEW - ENHANCED VISUAL STYLES
   ================================================ */

/* Review Title with Icon */
.mwb-review-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #1a1d2b;
  font-size: 24px;
  font-weight: 600;
}

.mwb-title-icon {
  color: #0084ff;
  font-size: 28px;
}

/* Section Header with Badge */
.mwb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8f4ff;
}

.mwb-section-header h3,
.mwb-section-header h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #1a1d2b;
  font-weight: 600;
}

.mwb-section-icon {
  color: #0084ff;
  font-size: 18px;
}

/* Section Badges */
.mwb-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mwb-applied-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(0, 132, 255, 0.3); }
  50% { box-shadow: 0 2px 16px rgba(0, 132, 255, 0.5); }
}

/* Count Badges */
.mwb-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: linear-gradient(135deg, #0084ff, #00bfff);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  margin-left: 8px;
}

/* Subsection Header */
.mwb-subsection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mwb-subsection-header h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

/* Item Icons */
.mwb-item-icon {
  color: #0084ff;
  font-size: 14px;
  margin-right: 4px;
}

/* Date Item Styling */
.mwb-date-item {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 132, 255, 0.15);
}

.mwb-date-value {
  font-weight: 600;
  color: #0084ff;
  font-size: 16px;
}

/* Offer Badge */
.mwb-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  margin-right: 6px;
}

/* Savings Badge */
.mwb-savings-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  margin: 16px 0;
  animation: savingsBounce 2s ease-in-out infinite;
}

@keyframes savingsBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.mwb-savings-badge i {
  font-size: 18px;
}

/* Enhanced Total Amount */
.mwb-total-amount {
  font-size: 24px;
  font-weight: 700;
  color: #0084ff;
  background: linear-gradient(135deg, #0084ff, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Discount Icon */
.mwb-discount-icon {
  margin-right: 6px;
  color: #10b981;
}

/* Form Field Icons */
.mwb-field-icon {
  color: #0084ff;
  margin-right: 8px;
  font-size: 14px;
}

.mwb-field-with-icon label {
  display: flex;
  align-items: center;
}

/* Checkbox Icon */
.mwb-checkbox-icon {
  color: #0084ff;
  margin-left: 4px;
  margin-right: 6px;
  font-size: 16px;
  flex-shrink: 0;
}

/* Enhanced checkbox label in customer form */
.mwb-customer-form .mwb-form-field .mwb-checkbox-label,
.mwb-customer-form .mwb-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid rgba(0, 132, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.mwb-customer-form .mwb-form-field .mwb-checkbox-label:hover,
.mwb-customer-form .mwb-checkbox-label:hover {
  border-color: #0084ff;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

/* Promo Validation Icons */
.mwb-promo-validation i {
  margin-right: 6px;
}

.mwb-promo-validation.valid {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #166534;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
}

.mwb-promo-validation.invalid {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
}

/* Enhanced Error Messages */
.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-size: 12px;
  margin-top: 6px;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
}

.error-message i {
  font-size: 14px;
}

/* Price Line Enhanced */
.mwb-price-line.total {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  border: 1px solid rgba(0, 132, 255, 0.15);
}

.mwb-price-line.discount span:last-child {
  color: #10b981;
  font-weight: 600;
}

/* Responsive Adjustments for Review Step */
@media (max-width: 768px) {
  .mwb-review-title {
    font-size: 20px;
  }

  .mwb-title-icon {
    font-size: 24px;
  }

  .mwb-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mwb-section-badge,
  .mwb-applied-badge {
    align-self: flex-start;
  }

  .mwb-total-amount {
    font-size: 20px;
  }

  .mwb-savings-badge {
    font-size: 13px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .mwb-date-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mwb-subsection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mwb-count-badge {
    margin-left: 0;
  }
}

/* ================================================
   SUCCESS SCREEN - STEP 5 STYLE CONSISTENCY
   ================================================ */

/* Success Screen Animations */
@keyframes successCheckmark {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 132, 255, 0.35); }
  50% { box-shadow: 0 8px 48px rgba(0, 132, 255, 0.5); }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-8px); }
}

.mwb-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

.mwb-fade-in-up-delay-1 {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.15s forwards;
}

.mwb-fade-in-up-delay-2 {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.3s forwards;
}

.mwb-fade-in-up-delay-3 {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.45s forwards;
}

/* Success Header Section */
.mwb-success-header-section {
  text-align: center;
  margin-bottom: 32px;
  padding: 40px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 132, 255, 0.1);
}

/* Success Icon Wrapper with Font Awesome */
.mwb-success-icon-wrapper {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
  animation: successCheckmark 0.6s ease-out, pulseGlow 2s ease-in-out infinite;
}

.mwb-success-icon-wrapper i {
  font-size: 48px;
  color: white;
}

/* Override pulse glow for green success */
.mwb-success-icon-wrapper {
  animation: successCheckmark 0.6s ease-out;
}

@keyframes successPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35); }
  50% { box-shadow: 0 8px 48px rgba(16, 185, 129, 0.5); }
}

.mwb-success-icon-wrapper:hover {
  animation: iconBounce 1s ease;
}

/* Success Title - matches .mwb-review-title */
.mwb-success-header-section .mwb-review-title {
  justify-content: center;
  font-size: 28px;
  color: #1a1d2b;
  margin-bottom: 12px;
}

/* Success Subtitle */
.mwb-success-header-section .mwb-success-subtitle {
  font-size: 16px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* QR Code Card - matches booking-summary style */
.mwb-qr-card {
  background: #ffffff;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 132, 255, 0.1);
}

.mwb-qr-display {
  text-align: center;
  padding: 20px 0;
}

.mwb-qr-image-container {
  display: inline-block;
  background: linear-gradient(135deg, #0084ff 0%, #0056b3 100%);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 132, 255, 0.25);
}

.mwb-qr-img {
  display: block;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  background: white;
  padding: 12px;
}

.mwb-qr-display .mwb-qr-instruction {
  margin-top: 20px;
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mwb-qr-display .mwb-qr-instruction i {
  color: #0084ff;
}

/* Ticket Buttons Section */
.mwb-ticket-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.mwb-ticket-buttons .mwb-primary-btn,
.mwb-ticket-buttons .mwb-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
}

.mwb-ticket-buttons .mwb-primary-btn i,
.mwb-ticket-buttons .mwb-secondary-btn i {
  font-size: 16px;
}

/* Notice Card - Warning Style */
.mwb-notice-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.mwb-notice-card .mwb-section-header {
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.mwb-notice-card .mwb-section-header h4 {
  color: #92400e;
}

.mwb-warning-icon {
  color: #f59e0b !important;
}

/* Notice List */
.mwb-notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mwb-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  font-size: 14px;
  color: #78350f;
  line-height: 1.5;
}

.mwb-notice-icon {
  color: #f59e0b;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mobile Responsive for Success Screen */
@media (max-width: 768px) {
  .mwb-success-header-section {
    padding: 30px 16px;
  }

  .mwb-success-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .mwb-success-icon-wrapper i {
    font-size: 40px;
  }

  .mwb-success-header-section .mwb-review-title {
    font-size: 24px;
  }

  .mwb-qr-image-container {
    padding: 16px;
  }

  .mwb-qr-img {
    max-width: 150px;
    padding: 10px;
  }

  .mwb-ticket-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .mwb-ticket-buttons .mwb-primary-btn,
  .mwb-ticket-buttons .mwb-secondary-btn {
    justify-content: center;
    width: 100%;
  }

  .mwb-notice-item {
    padding: 10px 12px;
    font-size: 13px;
  }
}