/**
 * ============================================================================
 * JAHAZ BOOKING PAGES - Apple-Inspired Minimal Design System
 * ============================================================================
 *
 * Premium, minimal design for Hotels and Flights pages.
 * Design Philosophy: Clean search interfaces, results that breathe,
 * clear pricing hierarchy, minimal chrome, maximum content.
 *
 * ============================================================================
 */

/* ============================================================================
 * DESIGN TOKENS - Booking-Specific
 * ============================================================================
 */
:root {
  /* Booking-specific colors */
  --booking-surface: rgba(255, 255, 255, 0.98);
  --booking-surface-elevated: #ffffff;
  --booking-border-subtle: rgba(0, 0, 0, 0.06);
  --booking-border-focus: rgba(99, 102, 241, 0.5);

  /* Price colors - clear hierarchy */
  --price-primary: #1a1a1a;
  --price-secondary: #6b7280;
  --price-accent: #059669;
  --price-highlight: #7c3aed;

  /* Badge colors - refined */
  --badge-budget: #dcfce7;
  --badge-budget-text: #166534;
  --badge-midrange: #dbeafe;
  --badge-midrange-text: #1e40af;
  --badge-upscale: #ede9fe;
  --badge-upscale-text: #5b21b6;
  --badge-luxury: #fef3c7;
  --badge-luxury-text: #92400e;

  /* Shadows - subtle and refined */
  --booking-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --booking-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --booking-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --booking-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
  --booking-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);

  /* Animation timing */
  --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ============================================================================
 * SEARCH FORM - Clean, Focused Interface
 * ============================================================================
 */

/* Search container - glass morphism with subtle elevation */
.booking-search-container {
  background: var(--booking-surface-elevated);
  border-radius: 24px;
  box-shadow: var(--booking-shadow-lg);
  padding: 32px 40px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  border: 1px solid var(--booking-border-subtle);
}

@media (max-width: 768px) {
  .booking-search-container {
    padding: 24px 20px;
    border-radius: 20px;
    margin: 0 16px;
  }
}

/* Page title - refined typography */
.booking-page-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .booking-page-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
}

/* Form labels - subtle but clear */
.booking-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* Input fields - refined with subtle depth */
.booking-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  outline: none;
  transition: all 0.2s var(--ease-premium);
}

.booking-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.booking-input:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.12);
}

.booking-input:focus {
  background: #ffffff;
  border-color: var(--jahaz-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

/* Input icon container */
.booking-input-wrapper {
  position: relative;
}

.booking-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.booking-input-wrapper:focus-within .booking-input-icon {
  color: var(--jahaz-primary);
}

/* Search button - premium CTA */
.booking-search-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
  margin-top: 8px;
}

.booking-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.booking-search-btn:active {
  transform: translateY(0);
}


/* ============================================================================
 * DATE PICKER - Refined Calendar Interface
 * ============================================================================
 */

.booking-date-trigger {
  width: 100%;
  padding: 14px 16px 14px 48px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: all 0.2s var(--ease-premium);
}

.booking-date-trigger:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.12);
}

.booking-date-trigger.active,
.booking-date-trigger:focus {
  background: #ffffff;
  border-color: var(--jahaz-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.booking-date-trigger .placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.booking-date-trigger.has-value {
  color: #1a1a1a;
  font-weight: 600;
}


/* ============================================================================
 * GUEST/PASSENGER SELECTOR - Clean Dropdown
 * ============================================================================
 */

.booking-guest-trigger {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  transition: all 0.2s var(--ease-premium);
}

.booking-guest-trigger:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.12);
}

.booking-guest-trigger:focus,
.booking-guest-trigger.active {
  background: #ffffff;
  border-color: var(--jahaz-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.booking-guest-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: var(--booking-shadow-xl);
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease-bounce);
}

.booking-guest-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Pax counter row */
.booking-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.booking-pax-row:last-of-type {
  border-bottom: none;
}

.booking-pax-label {
  display: flex;
  flex-direction: column;
}

.booking-pax-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.booking-pax-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.booking-pax-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-pax-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: white;
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.booking-pax-btn:hover:not(:disabled) {
  border-color: var(--jahaz-primary);
  color: var(--jahaz-primary);
  background: rgba(99, 102, 241, 0.04);
}

.booking-pax-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-pax-count {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  min-width: 24px;
  text-align: center;
}


/* ============================================================================
 * FILTER BUTTONS - Minimal, Refined
 * ============================================================================
 */

.booking-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.booking-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-right: 8px;
}

.booking-filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background: white;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s var(--ease-premium);
}

.booking-filter-btn:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: #fafafa;
}

.booking-filter-btn.active {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}


/* ============================================================================
 * SORT DROPDOWN - Clean Selection
 * ============================================================================
 */

.booking-sort-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.booking-sort-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.booking-sort-select {
  padding: 10px 40px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  background: white;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  transition: all 0.15s ease;
}

.booking-sort-select:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.booking-sort-select:focus {
  outline: none;
  border-color: var(--jahaz-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}


/* ============================================================================
 * RESULT CARDS - Breathable, Premium Feel
 * ============================================================================
 */

/* Results header */
.booking-results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.booking-results-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.booking-results-count {
  font-size: 15px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 4px;
}

/* Card base - refined */
.booking-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--booking-shadow-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-premium);
  margin-bottom: 16px;
}

.booking-card:hover {
  box-shadow: var(--booking-shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Card layout */
.booking-card-inner {
  display: flex;
  gap: 0;
}

@media (max-width: 768px) {
  .booking-card-inner {
    flex-direction: column;
  }
}

/* Card image section */
.booking-card-image {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .booking-card-image {
    width: 100%;
    height: 200px;
  }
}

.booking-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-premium);
}

.booking-card:hover .booking-card-image img {
  transform: scale(1.05);
}

/* Card content section */
.booking-card-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card title */
.booking-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

/* Card subtitle/location */
.booking-card-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Card meta info */
.booking-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.booking-card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.booking-card-meta-item svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

/* Rating display */
.booking-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fef3c7;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
}

.booking-rating-star {
  color: #f59e0b;
}


/* ============================================================================
 * PRICE DISPLAY - Clear Hierarchy, Premium Feel
 * ============================================================================
 */

.booking-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 180px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

@media (max-width: 768px) {
  .booking-price-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
  }
}

.booking-price-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.booking-price-amount {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  line-height: 1;
}

.booking-price-unit {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 4px;
}

.booking-price-total {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

/* Price loading state */
.booking-price-loading {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.booking-price-skeleton {
  height: 28px;
  width: 100px;
  background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* MVP disclaimer */
.booking-price-disclaimer {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
  font-style: italic;
}


/* ============================================================================
 * BOOKING CARD ACTION BUTTON
 * ============================================================================
 */

.booking-card-action {
  margin-top: 16px;
}

.booking-save-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.booking-save-btn svg {
  width: 18px;
  height: 18px;
}


/* ============================================================================
 * CATEGORY BADGES - Refined Color System
 * ============================================================================
 */

.booking-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.booking-badge-budget {
  background: var(--badge-budget);
  color: var(--badge-budget-text);
}

.booking-badge-midrange {
  background: var(--badge-midrange);
  color: var(--badge-midrange-text);
}

.booking-badge-upscale {
  background: var(--badge-upscale);
  color: var(--badge-upscale-text);
}

.booking-badge-luxury {
  background: var(--badge-luxury);
  color: var(--badge-luxury-text);
}

/* Direct/Stops badges for flights */
.booking-badge-direct {
  background: #dcfce7;
  color: #166534;
}

.booking-badge-stops {
  background: #fef3c7;
  color: #92400e;
}


/* ============================================================================
 * FLIGHT CARD SPECIFICS
 * ============================================================================
 */

.flight-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--booking-shadow-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-premium);
}

.flight-card:hover {
  box-shadow: var(--booking-shadow-hover);
  transform: translateY(-4px);
}

.flight-card-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .flight-card-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* Airline info */
.flight-airline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}

.flight-airline-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flight-airline-logo img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.flight-airline-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.flight-airline-code {
  font-size: 12px;
  color: #6b7280;
}

/* Flight route display */
.flight-route {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.flight-endpoint {
  text-align: center;
  min-width: 80px;
}

.flight-time {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.flight-airport {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 4px;
}

/* Flight path visual */
.flight-path {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 16px;
}

.flight-path-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e5e7eb, var(--jahaz-primary), #e5e7eb);
  position: relative;
}

.flight-path-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.flight-path-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--jahaz-primary);
  border-radius: 50%;
}

.flight-path-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: var(--jahaz-primary);
}

.flight-duration {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 8px;
}

.flight-stops {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
}

.flight-stops.has-stops {
  color: #f59e0b;
}

/* Flight price section */
.flight-price-section {
  text-align: right;
  min-width: 140px;
  padding-left: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .flight-price-section {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.flight-price-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flight-price-amount {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-top: 4px;
}

.flight-price-per {
  font-size: 12px;
  color: #6b7280;
}


/* ============================================================================
 * LOADING STATES - Refined Animation
 * ============================================================================
 */

.booking-loading {
  padding: 60px 20px;
  text-align: center;
}

.booking-loading-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--booking-shadow-lg);
}

.booking-loading-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.booking-loading-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
}

/* Progress steps - minimal */
.booking-progress-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
}

.booking-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.booking-progress-step.active {
  color: var(--jahaz-primary);
}

.booking-progress-step.complete {
  color: #10b981;
}

.booking-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.booking-progress-step.active .booking-progress-dot {
  background: var(--jahaz-primary);
  color: white;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.booking-progress-step.complete .booking-progress-dot {
  background: #10b981;
  color: white;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}


/* ============================================================================
 * EMPTY STATE - Engaging, Helpful
 * ============================================================================
 */

.booking-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.booking-empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.booking-empty-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.booking-empty-description {
  font-size: 15px;
  color: #6b7280;
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.booking-empty-action {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.booking-empty-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}


/* ============================================================================
 * ERROR STATE - Friendly, Helpful
 * ============================================================================
 */

.booking-error {
  max-width: 480px;
  margin: 40px auto;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.booking-error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.booking-error-title {
  font-size: 18px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 8px;
}

.booking-error-message {
  font-size: 14px;
  color: #b45309;
  margin-bottom: 8px;
}

.booking-error-hint {
  font-size: 13px;
  color: #d97706;
}


/* ============================================================================
 * CABIN CLASS / TRIP TYPE SELECTORS
 * ============================================================================
 */

.booking-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.booking-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.booking-radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--jahaz-primary);
}

.booking-radio-option span {
  font-size: 15px;
  color: #374151;
}

/* Cabin Class Selector - Segmented Control */
.cabin-selector {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}

.cabin-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cabin-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #374151;
}

.cabin-btn.active {
  background: white;
  color: #1e40af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.cabin-icon {
  font-size: 16px;
}

.cabin-label {
  font-size: 13px;
}

/* Mobile: 2x2 grid layout for cabin selector */
@media (max-width: 640px) {
  .booking-option-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .booking-option-group > .flex {
    justify-content: center;
  }

  .cabin-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 4px;
  }

  .cabin-btn {
    padding: 8px 6px;
    flex-direction: column;
    gap: 2px;
  }

  .cabin-icon {
    font-size: 18px;
  }

  .cabin-label {
    font-size: 11px;
  }
}


/* ============================================================================
 * VIEW TOGGLE - Split/List View
 * ============================================================================
 */

.booking-view-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 12px;
}

.booking-view-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-view-btn:hover {
  color: #374151;
}

.booking-view-btn.active {
  background: white;
  color: var(--jahaz-primary);
  box-shadow: var(--booking-shadow-sm);
}


/* ============================================================================
 * RESPONSIVE REFINEMENTS
 * ============================================================================
 */

@media (max-width: 640px) {
  .booking-page-title {
    font-size: 24px;
  }

  .booking-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-filter-btn {
    flex: 1;
    text-align: center;
  }

  .booking-results-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-price-amount {
    font-size: 24px;
  }

  .flight-time {
    font-size: 18px;
  }
}


/* ============================================================================
 * ANIMATION UTILITIES
 * ============================================================================
 */

.booking-fade-in {
  animation: bookingFadeIn 0.4s ease-out forwards;
}

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

.booking-slide-up {
  animation: bookingSlideUp 0.5s var(--ease-bounce) forwards;
}

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

/* Staggered card animation */
.booking-card:nth-child(1) { animation-delay: 0s; }
.booking-card:nth-child(2) { animation-delay: 0.05s; }
.booking-card:nth-child(3) { animation-delay: 0.1s; }
.booking-card:nth-child(4) { animation-delay: 0.15s; }
.booking-card:nth-child(5) { animation-delay: 0.2s; }
