.cht-summary-note {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff3cd; /* same yellow tone */
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    border-radius: 6px;
    color: #856404;
    font-size: 12px;
    line-height: 1.4;
}
/* Celtic Horizon Tours - Booking Engine Styles */

/* Import FigTree Font */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Variables for Celtic Horizon Tours Brand */
:root {
  /* Celtic Horizon Tours Brand Colors */
  --cht-primary: #1070FF;
  --cht-primary-hover: #0D5CE6;
  --cht-primary-light: #E6F3FF;
  --cht-primary-dark: #0A56CC;
  
  /* Supporting Colors */
  --cht-secondary: #64748b;
  --cht-accent: #10b981;
  --cht-success: #059669;
  --cht-warning: #f59e0b;
  --cht-error: #dc2626;
  --cht-muted: #6b7280;
  
  /* Background Colors */
  --cht-bg-primary: #ffffff;
  --cht-bg-secondary: #f7f7f7;
  --cht-bg-tertiary: #f1f5f9;
  --cht-bg-card: #ffffff;
  
  /* Text Colors */
  --cht-text-primary: #0f172a;
  --cht-text-secondary: #475569;
  --cht-text-muted: #94a3b8;
  --cht-text-white: #ffffff;
  
  /* Border Colors */
  --cht-border: #e2e8f0;
  --cht-border-light: #f1f5f9;
  --cht-border-card: #e5e7eb;
  
  /* Shadows */
  --cht-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --cht-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --cht-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --cht-shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --cht-radius: 0.5rem;
  --cht-radius-lg: 0.75rem;
  --cht-radius-xl: 1rem;
  --cht-radius-card: 0.75rem;
  
  /* Transitions */
  --cht-transition: all 0.2s ease-in-out;
  --cht-transition-fast: all 0.15s ease-in-out;
  
  /* Typography */
  --cht-font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --cht-font-weight-normal: 400;
  --cht-font-weight-medium: 500;
  --cht-font-weight-semibold: 600;
  --cht-font-weight-bold: 700;
}

/* Reset and Base Styles */
.cht-booking-engine * {
  box-sizing: border-box;
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

.cht-booking-engine {
  font-family: var(--cht-font-family);
  font-size: 16px; /* Prevent zoom on iOS */
  line-height: 1.6;
  color: var(--cht-text-primary);
  background: var(--cht-bg-secondary);
  min-height: 100vh;
  padding: 1rem;
  position: relative; /* Establish stacking context */
}

/* Booking Page Container */
.cht-booking-page-container {
  background: var(--cht-bg-secondary);
  min-height: 100vh;
  padding: 0.5rem 0; /* Reduced from 1rem */
}

.cht-booking-page-container .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Booking Header */
.cht-booking-header {
  background: var(--cht-bg-primary);
  border-radius: var(--cht-radius-card);
  box-shadow: var(--cht-shadow-card);
  padding: 0.75rem 1.25rem; /* Reduced padding */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.cht-package-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.cht-package-image {
  flex-shrink: 0;
}

.cht-package-img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--cht-radius);
}

.cht-package-img-placeholder {
  width: 120px;
  height: 90px;
  background: var(--cht-bg-tertiary);
  border-radius: var(--cht-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cht-text-muted);
  font-size: 2rem;
}

.cht-package-info h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: var(--cht-font-weight-bold);
  color: var(--cht-text-primary);
}

.cht-package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--cht-text-secondary);
  font-size: 0.95rem;
}

.cht-package-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cht-package-meta i {
  color: var(--cht-primary);
}

.cht-base-price {
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-primary) !important;
}

/* Progress Bar */
.cht-progress-container {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--cht-bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.cht-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cht-primary), var(--cht-accent));
  transition: width 0.3s ease;
  border-radius: 4px;
}

.cht-progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cht-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: var(--cht-text-muted);
  transition: var(--cht-transition);
  text-align: center;
}

.cht-progress-step.active {
  color: var(--cht-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-progress-step.completed {
  color: var(--cht-success);
}

.cht-progress-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cht-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--cht-transition);
}

.cht-progress-step.active .cht-progress-step-icon {
  background: var(--cht-primary);
  color: var(--cht-text-white);
}

.cht-progress-step.completed .cht-progress-step-icon {
  background: var(--cht-success);
  color: var(--cht-text-white);
}

/* Booking Content - Remove duplicate, handled below */

/* Main Content Area */
.cht-booking-main {
  background: var(--cht-bg-primary);
  border-radius: var(--cht-radius-card);
  box-shadow: var(--cht-shadow-card);
  overflow: hidden;
  margin-top: 0; /* Ensure no top margin */
}

.cht-step-container {
  padding: 0; /* Remove all padding to eliminate white space */
}

.cht-step-content {
  background: var(--cht-bg-primary);
  border-radius: var(--cht-radius-card);
  box-shadow: var(--cht-shadow-card);
  padding: 1.5rem 1.5rem 1rem 1.5rem; /* Reduced bottom padding */
}

.cht-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--cht-text-muted);
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cht-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 124, 186, 0.1);
  border-top: 4px solid var(--cht-primary);
  border-radius: 50%;
  animation: cht-spin 0.8s linear infinite;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2);
}

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

.cht-loading-state p {
  font-size: 16px;
  font-weight: 500;
  color: var(--cht-primary);
  margin: 0;
  animation: cht-pulse 1.5s ease-in-out infinite;
}

@keyframes cht-pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.cht-step-content {
  animation: cht-fade-in 0.3s ease-in-out;
}

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

/* Step Navigation */
.cht-step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem; /* Further reduced to minimize white space */
  border-top: 1px solid var(--cht-border);
  background: var(--cht-bg-tertiary);
}

/* Buttons */
.cht-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--cht-font-family);
  font-size: 1rem;
  font-weight: var(--cht-font-weight-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--cht-radius);
  cursor: pointer;
  transition: var(--cht-transition);
  min-height: 44px; /* Touch target */
}

.cht-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cht-btn-primary {
  background: var(--cht-primary);
  color: var(--cht-text-white);
}

.cht-btn-primary:hover:not(:disabled) {
  background: var(--cht-primary-hover);
}

.cht-btn-secondary {
  background: var(--cht-bg-primary);
  color: var(--cht-text-primary);
  border: 1px solid var(--cht-border);
}

.cht-btn-secondary:hover:not(:disabled) {
  background: var(--cht-bg-tertiary);
}

/* Booking Sidebar */
.cht-booking-sidebar {
  min-width: 0; /* Prevent grid overflow */
}

.cht-booking-summary-card {
  background: var(--cht-bg-primary);
  border-radius: var(--cht-radius-card);
  box-shadow: var(--cht-shadow-card);
  padding: 1.5rem;
}

.cht-booking-summary-card h3,
.cht-payment-summary-title {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
}

.cht-payment-summary-title {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cht-border-light);
}

.cht-summary-section {
  padding: 0.75rem; /* Reduced from 1rem */
  border-bottom: 1px solid var(--cht-border-light);
  background: var(--cht-bg-secondary);
  border-radius: var(--cht-radius);
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
}

.cht-summary-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cht-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cht-summary-item:last-child {
  margin-bottom: 0;
}

.cht-summary-label {
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cht-summary-value {
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-medium);
  text-align: right;
}

.cht-traveler-names {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--cht-text-secondary);
  line-height: 1.3;
}

.cht-traveler-name-item {
  display: block;
  margin-bottom: 0.25rem;
}

.cht-traveler-name-item:last-child {
  margin-bottom: 0;
}

/* Traveler Detail Items - Compact Version */
.cht-traveler-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.4rem 0; /* Reduced from 0.75rem */
  border-bottom: 1px solid var(--cht-border-light);
  gap: 0.75rem; /* Reduced from 1rem */
}

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

.cht-traveler-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem; /* Reduced from 0.25rem */
}

.cht-traveler-detail-item .cht-traveler-name {
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-medium);
  font-size: 0.8rem; /* Reduced from 0.9rem */
  line-height: 1.2; /* Reduced from 1.3 */
}

.cht-traveler-status {
  color: var(--cht-text-muted);
  font-size: 0.7rem; /* Reduced from 0.8rem */
  font-weight: var(--cht-font-weight-normal);
}

.cht-traveler-price {
  color: var(--cht-primary);
  font-weight: var(--cht-font-weight-semibold);
  font-size: 0.8rem; /* Reduced from 0.9rem */
  flex-shrink: 0;
  text-align: right;
}

.cht-lead-indicator {
  font-weight: var(--cht-font-weight-medium);
  color: var(--cht-primary);
}

/* Pricing Section */
.cht-pricing-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--cht-border);
}

.cht-pricing-breakdown {
  margin-bottom: 1rem;
}

.cht-pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-pricing-item.highlight {
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-medium);
}

.cht-total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--cht-primary-light);
  border-radius: var(--cht-radius);
  margin-top: 1rem;
}

.cht-total-label {
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-primary-dark);
}

.cht-total-amount {
  font-size: 1.5rem;
  font-weight: var(--cht-font-weight-bold);
  color: var(--cht-primary);
}

/* Help Section */
.cht-help-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cht-border-light);
}

.cht-help-section h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
}

.cht-help-section p {
  margin: 0 0 1rem 0;
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cht-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cht-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--cht-transition);
}

.cht-contact-link:hover {
  color: var(--cht-primary-hover);
}

/* Trust Indicators in Booking Summary */
.cht-booking-summary-card .cht-trust-indicators {
  margin-top: 1.5rem;
  padding: 1rem;
  border-top: 1px solid var(--cht-border-light);
  background: rgba(34, 197, 94, 0.08); /* Light green background */
  border-radius: var(--cht-radius);
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

.cht-booking-summary-card .cht-trust-item {
  font-size: 0.75rem;
  flex: 1;
  min-width: 0;
  justify-content: center;
  text-align: center;
  color: var(--cht-text-muted);
  flex-direction: column;
  gap: 0.25rem;
}

.cht-booking-summary-card .cht-trust-item i {
  color: var(--cht-success);
  font-size: 1rem;
}

.cht-booking-summary-card .cht-trust-item span {
  font-size: 0.7rem;
  line-height: 1.2;
  word-break: break-word;
}

/* Mobile responsive for trust indicators */
@media (max-width: 768px) {
  .cht-booking-summary-card .cht-trust-indicators {
    gap: 0.25rem;
  }
  
  .cht-booking-summary-card .cht-trust-item {
    font-size: 0.7rem;
  }
  
  .cht-booking-summary-card .cht-trust-item span {
    font-size: 0.65rem;
  }
}

/* Messages */
.cht-messages-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  max-width: 400px;
}

.cht-message {
  padding: 1rem 1.5rem;
  border-radius: var(--cht-radius);
  margin-bottom: 1rem;
  box-shadow: var(--cht-shadow-lg);
  animation: cht-slide-in 0.3s ease;
}

@keyframes cht-slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cht-message-success {
  background: var(--cht-success);
  color: var(--cht-text-white);
}

.cht-message-error {
  background: var(--cht-error);
  color: var(--cht-text-white);
}

.cht-message-warning {
  background: var(--cht-warning);
  color: var(--cht-text-white);
}

/* Searchable Select */
.cht-searchable-select {
  position: relative;
  z-index: 10;
}

.cht-searchable-select .cht-select-search {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  font-size: 1rem;
  background: var(--cht-bg-primary);
  color: var(--cht-text-primary);
  transition: var(--cht-transition);
}

.cht-searchable-select .cht-select-search:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 3px rgba(16, 112, 255, 0.1);
}

.cht-searchable-select .cht-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cht-bg-primary);
  border: 1px solid var(--cht-border);
  border-top: none;
  border-radius: 0 0 var(--cht-radius) var(--cht-radius);
  max-height: 200px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
}

.cht-searchable-select .cht-select-option {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: var(--cht-transition);
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-searchable-select .cht-select-option:hover {
  background: var(--cht-bg-secondary);
}

.cht-searchable-select .cht-select-option.selected {
  background: var(--cht-primary);
  color: var(--cht-text-white);
}

.cht-searchable-select .cht-select-option.disabled {
  color: var(--cht-text-muted);
  cursor: not-allowed;
  font-style: italic;
  text-align: center;
}

.cht-searchable-select .cht-select-option.disabled:hover {
  background: transparent;
}

/* Ensure parent containers don't clip the dropdown and prevent vertical scrollbars */
.cht-form-group:has(.cht-searchable-select) {
  overflow: visible !important;
  position: relative;
  z-index: 10;
}

.cht-traveler-form {
  overflow: visible !important;
}

.cht-traveler-section {
  overflow: visible !important;
}

.cht-step-content {
  overflow: visible !important;
}

.cht-step-container {
  overflow: visible !important;
}

.cht-booking-main {
  overflow: visible !important;
}

.cht-travelers-details-container {
  overflow: visible !important;
}

/* Prevent vertical scrollbars on main containers */
.cht-booking-content,
.cht-main-content,
.cht-booking-sidebar {
  overflow-y: visible;
  overflow-x: hidden;
}

/* Form Elements */
.cht-form-group {
  margin-bottom: 1rem;
}

.cht-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--cht-font-weight-medium);
  color: var(--cht-text-primary);
}

.cht-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--cht-font-family);
  font-size: 1rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  transition: var(--cht-transition);
  min-height: 44px; /* Touch target */
}

.cht-form-input:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 3px var(--cht-primary-light);
}

.cht-form-input.error {
  border-color: var(--cht-error);
}

.cht-form-error {
  color: var(--cht-error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Step Header */
.cht-step-header {
  margin-bottom: 1rem; /* Reduced from 2rem to minimize white space */
}

.cht-step-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
  line-height: 1.3;
}

.cht-step-header p {
  margin: 0;
  color: var(--cht-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* Booking Content Layout */
.cht-booking-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start; /* Align items to start to prevent white space */
  position: relative; /* Create stacking context */
}

@media (min-width: 1024px) {
  .cht-booking-content {
    grid-template-columns: 2.8fr 1.2fr; /* Changed from 4fr 1fr to make sidebar wider */
    gap: 1.5rem; /* Reduced from 2rem */
  }
  
  .cht-booking-sidebar {
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 0; /* Align to the exact top of the container */
    align-self: start; /* Use start instead of flex-start for grid */
    z-index: 10; /* Ensure it's above other content */
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {

  #main {
    padding: 0 !important;
  }

  .cht-booking-engine {
    padding: 0.5rem;
  }
  
  .cht-booking-page-container {
    padding: 0.5rem 0;
  }
  
  .cht-booking-header {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .cht-package-summary {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .cht-package-image {
    align-self: center;
  }
  
  .cht-package-meta {
    justify-content: center;
  }
  
  .cht-booking-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cht-booking-sidebar {
    order: -1;
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  
  .cht-booking-summary-card {
    padding: 1.5rem;
  }
  
  .cht-step-container {
    padding: 0; /* Remove all padding to match desktop */
  }
  
  .cht-step-content {
    padding: 1.5rem 1.5rem 1rem 1.5rem; /* Reduced bottom padding to match desktop */
  }
  
  .cht-step-navigation {
    padding: 1rem; /* Reduced for mobile to be more compact */
    flex-direction: column;
    gap: 1rem;
  }
  
  .cht-step-navigation .cht-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cht-progress-steps {
    display: none; /* Hide step labels on mobile */
  }
  
  .cht-messages-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1023px) {
  .cht-booking-content {
    grid-template-columns: 1fr 300px; /* Increased from 260px */
    gap: 1rem; /* Reduced from 1.5rem */
  }
  
  .cht-booking-sidebar {
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 20px;
    align-self: start;

    z-index: 10; /* Ensure it's above other content */
  }
  
  .cht-booking-summary-card {
    padding: 1.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .cht-booking-content {
    grid-template-columns: 2.5fr 1.5fr; /* Changed to proportional widths for wider sidebar */
    gap: 1.5rem; /* Reduced from 2.5rem */
  }
  
  .cht-booking-sidebar {
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 20px;
    align-self: start;

    z-index: 10; /* Ensure it's above other content */
  }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --cht-border: #000000;
    --cht-text-muted: #000000;
  }
}

/* Focus Indicators */
.cht-booking-engine *:focus {
  outline: 2px solid var(--cht-primary);
  outline-offset: 2px;
}

/* Travelers Step Styles */
.cht-travelers-selector {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.cht-traveler-type {
  padding: 1.5rem;
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  box-shadow: var(--cht-shadow-sm);
  transition: var(--cht-transition);
}

.cht-traveler-type:hover {
  border-color: var(--cht-primary);
  box-shadow: var(--cht-shadow);
}

.cht-traveler-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cht-traveler-info {
  flex: 1;
}

.cht-traveler-description {
  font-size: 0.9rem;
  color: var(--cht-text-muted);
  margin: 0;
  padding: 0;
  width: 100%;
}

.cht-quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  flex-shrink: 0;
}

.cht-quantity-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cht-border);
  background: var(--cht-bg-primary);
  border-radius: var(--cht-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--cht-transition);
  color: var(--cht-text-secondary);
}

.cht-quantity-btn:hover {
  border-color: var(--cht-primary);
  color: var(--cht-primary);
  background: var(--cht-primary-light);
}

.cht-quantity-btn:active {
  transform: scale(0.95);
}

.cht-quantity-input {
  width: 60px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  padding: 0.5rem;
  background: var(--cht-bg-tertiary);
}

/* Hide browser default number input spinners */
.cht-quantity-input::-webkit-outer-spin-button,
.cht-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.cht-quantity-input[type=number] {
  -moz-appearance: textfield;
}

.cht-price-per {
  color: var(--cht-primary);
  font-weight: var(--cht-font-weight-semibold);
  font-size: 0.95rem;
  min-width: 120px;
  text-align: right;
}

.cht-pricing-preview {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--cht-shadow-sm);
}

.cht-pricing-header h4 {
  margin: 0 0 1rem 0;
  color: var(--cht-text-primary);
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
}

.cht-pricing-breakdown {
  margin-bottom: 1rem;
}

.cht-pricing-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.cht-pricing-line.cht-pricing-subtotal {
  border-top: 1px solid var(--cht-border-light);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-weight: var(--cht-font-weight-medium);
}

.cht-pricing-line.cht-pricing-bond {
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-pricing-line.cht-pricing-bond i {
  color: var(--cht-primary);
  margin-left: 0.25rem;
  cursor: help;
}

.cht-pricing-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--cht-primary-light);
  border-radius: var(--cht-radius);
  margin-top: 1rem;
  font-weight: var(--cht-font-weight-semibold);
  font-size: 1.1rem;
}

.cht-pricing-total .cht-pricing-amount {
  color: var(--cht-primary);
  font-size: 1.25rem;
  font-weight: var(--cht-font-weight-bold);
}

.cht-pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--cht-bg-tertiary);
  border-radius: var(--cht-radius);
  font-size: 0.85rem;
  color: var(--cht-text-secondary);
}

.cht-pricing-note i {
  color: var(--cht-primary);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.cht-required {
  color: var(--cht-error);
  margin-left: 0.25rem;
}

/* Mobile Responsive for Travelers Step */
@media (max-width: 768px) {
  .cht-traveler-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .cht-traveler-info {
    text-align: center;
  }
  
  .cht-quantity-selector {
    justify-content: center;
    margin: 0;
  }
  
  .cht-price-per {
    text-align: center;
    min-width: auto;
  }
  
  .cht-pricing-line {
    font-size: 0.9rem;
  }
  
  .cht-pricing-total {
    font-size: 1rem;
  }
  
  .cht-pricing-total .cht-pricing-amount {
    font-size: 1.15rem;
  }
}

/* Authentication Step Styles */
.cht-auth-container {
  max-width: 500px;
  margin: 2rem auto;
}

.cht-auth-form {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 2rem;
  box-shadow: var(--cht-shadow-sm);
}

.cht-welcome-message {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--cht-primary-light);
  border-radius: var(--cht-radius);
}

.cht-customer-avatar {
  font-size: 3rem;
  color: var(--cht-primary);
}

.cht-customer-info h4 {
  margin: 0 0 0.25rem 0;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-customer-info p {
  margin: 0.25rem 0;
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-customer-info i {
  color: var(--cht-primary);
  margin-right: 0.5rem;
  width: 16px;
}

.cht-register-intro {
  margin-bottom: 2rem;
}

.cht-benefits-list {
  display: grid;
  gap: 0.75rem;
}

.cht-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--cht-bg-tertiary);
  border-radius: var(--cht-radius);
}

.cht-benefit i {
  color: var(--cht-success);
  font-size: 1.1rem;
  width: 20px;
  flex-shrink: 0;
}

.cht-benefit span {
  font-size: 0.9rem;
  color: var(--cht-text-secondary);
}

.cht-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cht-password-input-container {
  position: relative;
}

.cht-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cht-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--cht-transition);
}

.cht-password-toggle:hover {
  color: var(--cht-primary);
}

.cht-password-strength {
  margin-top: 0.5rem;
}

.cht-strength-bar {
  height: 4px;
  background: var(--cht-border-light);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.cht-strength-fill {
  height: 100%;
  width: 0;
  transition: var(--cht-transition);
  border-radius: 2px;
}

.cht-strength-fill.weak {
  width: 25%;
  background: var(--cht-error);
}

.cht-strength-fill.fair {
  width: 50%;
  background: var(--cht-warning);
}

.cht-strength-fill.good {
  width: 75%;
  background: var(--cht-info);
}

.cht-strength-fill.strong {
  width: 100%;
  background: var(--cht-success);
}

.cht-strength-text {
  font-size: 0.85rem;
  font-weight: var(--cht-font-weight-medium);
}

.cht-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cht-checkbox {
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.cht-checkbox-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--cht-text-secondary);
  cursor: pointer;
}

.cht-checkbox-label a {
  color: var(--cht-primary);
  text-decoration: none;
}

.cht-checkbox-label a:hover {
  text-decoration: underline;
}

.cht-form-actions {
  margin-top: 2rem;
}

.cht-btn-login,
.cht-btn-register {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: var(--cht-font-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cht-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.cht-auth-links a {
  color: var(--cht-primary);
  text-decoration: none;
}

.cht-auth-links a:hover {
  text-decoration: underline;
}

.cht-auth-divider {
  color: var(--cht-text-muted);
}

.cht-social-login {
  margin-top: 2rem;
}

.cht-divider {
  position: relative;
  text-align: center;
  margin: 2rem 0 1.5rem;
}

.cht-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cht-border);
}

.cht-divider span {
  background: var(--cht-bg-primary);
  padding: 0 1rem;
  color: var(--cht-text-muted);
  font-size: 0.9rem;
}

.cht-social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cht-btn-social {
  padding: 0.75rem 1rem;
  border: 1px solid var(--cht-border);
  background: var(--cht-bg-primary);
  color: var(--cht-text-primary);
  border-radius: var(--cht-radius);
  font-size: 0.9rem;
  font-weight: var(--cht-font-weight-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--cht-transition);
}

.cht-btn-google:hover {
  border-color: #4285F4;
  color: #4285F4;
  background: rgba(66, 133, 244, 0.05);
}

.cht-btn-facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.05);
}

.cht-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--cht-bg-tertiary);
  border-radius: var(--cht-radius);
}

.cht-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cht-text-muted);
}

.cht-trust-item i {
  color: var(--cht-success);
}

/* Mobile Responsive for Authentication Step */
@media (max-width: 768px) {
  .cht-auth-container {
    margin: 1rem 0;
  }
  
  .cht-auth-form {
    padding: 1.5rem;
  }
  
  .cht-form-row {
    grid-template-columns: 1fr;
  }
  
  .cht-welcome-message {
    flex-direction: column;
    text-align: center;
  }
  
  .cht-social-buttons {
    grid-template-columns: 1fr;
  }
  
  .cht-trust-indicators {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .cht-auth-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cht-auth-divider {
    display: none;
  }
}

/* Traveler Details Step Styles */
.cht-travelers-details-container {
  display: grid;
  gap: 1.5rem; /* Reduced from 2rem */
  margin: 0; /* Remove margin to eliminate white space */
}

.cht-traveler-section {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  overflow: visible;
  box-shadow: var(--cht-shadow-sm);
  transition: var(--cht-transition);
  margin-bottom: 1.5rem;
}

.cht-traveler-section:hover {
  box-shadow: var(--cht-shadow);
}

.cht-lead-traveler {
  border-color: var(--cht-primary);
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(16, 112, 255, 0.15);
  background: rgba(16, 112, 255, 0.02);
}

.cht-child-traveler {
  border-color: var(--cht-success);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.cht-traveler-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem; /* Reduced from 1.5rem */
  background: linear-gradient(135deg, var(--cht-bg-tertiary) 0%, var(--cht-bg-secondary) 100%);
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-lead-traveler .cht-traveler-header {
  background: linear-gradient(135deg, var(--cht-primary-light) 0%, rgba(16, 112, 255, 0.08) 100%);
  border-bottom: 2px solid var(--cht-primary);
}

.cht-child-traveler .cht-traveler-header {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.cht-traveler-header h3,
.cht-traveler-header h4,
.cht-traveler-header h5 {
  margin: 0;
  color: var(--cht-text-primary);
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.cht-traveler-header i {
  color: var(--cht-primary);
  font-size: 1.2rem;
}

.cht-child-traveler .cht-traveler-header i {
  color: var(--cht-success);
}

.cht-traveler-name {
  font-weight: var(--cht-font-weight-medium);
  color: var(--cht-text-secondary);
  font-size: 0.95rem;
}

.cht-traveler-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--cht-radius);
  font-size: 0.8rem;
  font-weight: var(--cht-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cht-badge-lead {
  background: var(--cht-primary);
  color: white;
}

.cht-badge-adult {
  background: var(--cht-info);
  color: white;
}

.cht-badge-child {
  background: var(--cht-success);
  color: white;
}

.cht-traveler-form {
  padding: 1rem; /* Reduced from 1.5rem */
}

.cht-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cht-form-row:last-child {
  margin-bottom: 0;
}

.cht-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cht-form-label {
  font-weight: var(--cht-font-weight-medium);
  color: var(--cht-text-primary);
  font-size: 0.9rem;
}

.cht-form-input,
.cht-form-select,
.cht-form-textarea {
  padding: 0.75rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  font-size: 1rem;
  background: var(--cht-bg-primary);
  transition: var(--cht-transition);
  font-family: var(--cht-font-family);
}

.cht-form-input:focus,
.cht-form-select:focus,
.cht-form-textarea:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 3px rgba(16, 112, 255, 0.1);
}

.cht-form-input.error,
.cht-form-select.error,
.cht-form-textarea.error {
  border-color: var(--cht-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.cht-form-textarea {
  resize: vertical;
  min-height: 80px;
}

.cht-form-help {
  font-size: 0.85rem;
  color: var(--cht-text-muted);
  margin-top: 0.25rem;
}

.cht-form-error {
  font-size: 0.85rem;
  color: var(--cht-error);
  font-weight: var(--cht-font-weight-medium);
  margin-top: 0.25rem;
}

.cht-age-display {
  font-size: 0.85rem;
  color: var(--cht-primary);
  font-weight: var(--cht-font-weight-medium);
  margin-top: 0.25rem;
  padding: 0.5rem;
  background: var(--cht-primary-light);
  border-radius: var(--cht-radius);
}

.cht-date-input {
  position: relative;
}

.cht-nationality-select {
  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 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.cht-important-info {
  margin-top: 1.5rem;
}

.cht-info-card {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  overflow: hidden;
  box-shadow: var(--cht-shadow-sm);
}

.cht-info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--cht-warning-light);
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-info-header i {
  color: var(--cht-warning);
  font-size: 1.2rem;
}

.cht-info-header h4 {
  margin: 0;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-info-content {
  padding: 1rem;
}

.cht-info-content ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--cht-text-secondary);
  line-height: 1.4;
  font-size: 0.85rem;
}

.cht-info-content li {
  margin-bottom: 0.25rem;
}

.cht-info-content li:last-child {
  margin-bottom: 0;
}

/* Compact Traveler Layout */
.cht-compact-traveler {
  margin-bottom: 0.5rem !important; /* Reduced from 1rem */
  border: 1px solid var(--cht-border-light);
  border-radius: var(--cht-radius);
  background: var(--cht-bg-secondary);
}

.cht-compact-header {
  padding: 0.75rem 1rem !important;
  background: var(--cht-bg-primary);
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-compact-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
}

.cht-compact-form {
  padding: 1rem !important;
}

.cht-compact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cht-compact-row:last-child {
  margin-bottom: 0;
}

.cht-compact-group {
  margin-bottom: 0 !important;
  gap: 0.25rem;
}

.cht-compact-input, .cht-compact-select {
  padding: 0.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  background: var(--cht-bg-primary);
}

.cht-compact-input:focus, .cht-compact-select:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 2px rgba(16, 112, 255, 0.1);
}

.cht-nationality-group {
  grid-column: span 2;
}

.cht-special-requirements-group {
  grid-column: span 3;
}

.cht-compact-textarea {
  padding: 0.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  background: var(--cht-bg-primary);
  resize: vertical;
  min-height: 3rem;
}

.cht-compact-textarea:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 2px rgba(16, 112, 255, 0.1);
}

/* Ultra-Compact Traveler Layout */
.cht-ultra-compact-traveler {
  margin-bottom: 1.5rem !important;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  background: var(--cht-bg-card);
  box-shadow: var(--cht-shadow-sm);
  transition: var(--cht-transition);
}

.cht-ultra-compact-traveler:hover {
  box-shadow: var(--cht-shadow);
  transform: translateY(-1px);
}

.cht-ultra-compact-header {
  padding: 0.4rem 0.75rem !important; /* Increased padding for more prominence */
  background: linear-gradient(135deg, var(--cht-primary-light) 0%, var(--cht-bg-primary) 100%); /* Subtle gradient background */
  border-bottom: 2px solid var(--cht-primary); /* Stronger border in primary color */
  border-radius: var(--cht-radius) var(--cht-radius) 0 0; /* Rounded top corners */
}

.cht-ultra-compact-header h4,
.cht-ultra-compact-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
  text-transform: none;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cht-ultra-compact-header h4 i,
.cht-ultra-compact-header h5 i {
  font-size: 0.8rem; /* Slightly smaller icon */
  opacity: 0.8; /* Subtle opacity for icon */
}

.cht-ultra-compact-form {
  padding: 1rem !important;
  overflow: visible !important;
}

/* Row 1: First Name, Last Name */
.cht-ultra-compact-row.cht-names-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Row 2: Date of Birth, Nationality */
.cht-ultra-compact-row.cht-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: visible !important;
}

.cht-ultra-compact-row:last-child {
  margin-bottom: 0;
}

.cht-ultra-compact-group {
  margin-bottom: 0 !important;
  gap: 0;
  overflow: visible !important;
  position: relative;
}

/* Field Labels */
.cht-field-label {
  font-size: 0.7rem;
  font-weight: var(--cht-font-weight-medium);
  color: var(--cht-text-secondary);
  margin-bottom: 0.2rem;
  display: block;
  line-height: 1;
}

.cht-ultra-compact-input, .cht-ultra-compact-select {
  padding: 0.25rem;
  font-size: 0.8rem;
  border: 1px solid var(--cht-border);
  border-radius: 3px;
  background: var(--cht-bg-primary);
  height: 1.8rem;
}

.cht-ultra-compact-input:focus, .cht-ultra-compact-select:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 1px rgba(16, 112, 255, 0.3);
}

.cht-ultra-nationality-group {
  grid-column: span 1;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* Copy nationality icon styling */
.cht-copy-nationality-icon {
  opacity: 0.7;
  transition: var(--cht-transition);
  cursor: pointer !important;
  z-index: 10;
  position: relative;
  pointer-events: auto !important;
}

.cht-copy-nationality-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Compact Traveler Controls */
.cht-traveler-controls-compact {
  margin: 1rem 0 0.5rem 0;
  padding: 0;
}

.cht-controls-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cht-controls-label {
  font-size: 0.875rem;
  color: var(--cht-text-secondary);
  font-weight: 500;
}

.cht-traveler-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cht-border);
  border-radius: 50%;
  background: var(--cht-bg-primary);
  color: var(--cht-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.cht-traveler-control-btn:hover:not(:disabled) {
  background: var(--cht-primary);
  color: white;
  border-color: var(--cht-primary);
  transform: scale(1.05);
}

.cht-traveler-control-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.cht-traveler-control-btn.cht-add-btn:hover:not(:disabled) {
  background: var(--cht-success);
  border-color: var(--cht-success);
}

.cht-traveler-control-btn.cht-remove-btn:hover:not(:disabled) {
  background: var(--cht-danger);
  border-color: var(--cht-danger);
  color: white !important;
}

/* Special Requirements Section - Clean and Prominent */
.cht-special-requirements-section {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  background: var(--cht-bg-card);
  box-shadow: var(--cht-shadow-sm);
  transition: var(--cht-transition);
}

.cht-special-requirements-section:hover {
  border-color: var(--cht-primary-light);
  box-shadow: var(--cht-shadow-md);
}

.cht-special-requirements-section h6 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
}

.cht-ultra-compact-textarea {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  background: var(--cht-bg-primary);
  resize: vertical;
  min-height: 6rem;
  height: 6rem;
  width: 100%;
  line-height: 1.5;
  box-sizing: border-box;
}

.cht-ultra-compact-textarea::placeholder {
  color: var(--cht-text-secondary);
  font-style: normal;
}

.cht-ultra-compact-textarea:focus {
  outline: none;
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 2px rgba(16, 112, 255, 0.1);
}


.cht-traveler-control-btn.cht-add-btn {
  background: var(--cht-primary);
  color: white;
  border-color: var(--cht-primary);
}

.cht-traveler-control-btn.cht-add-btn:hover {
  background: var(--cht-primary-hover);
}

/* Global Restart Button in Package Header */
.cht-package-summary {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

.cht-package-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.cht-global-restart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--cht-bg-secondary);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  color: var(--cht-text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--cht-transition);
  flex-shrink: 0;
}

.cht-global-restart-btn:hover {
  background: var(--cht-bg-primary);
  color: var(--cht-text-primary);
  border-color: var(--cht-primary);
}

.cht-global-restart-btn i {
  font-size: 0.8rem;
}

/* Step Header (simplified without restart button) */
.cht-step-title {
  flex: 1;
}

/* Traveler Controls */
.cht-traveler-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cht-add-traveler-btn, .cht-remove-traveler-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius);
  background: var(--cht-bg-primary);
  color: var(--cht-text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--cht-transition);
}

.cht-add-traveler-btn {
  background: var(--cht-primary);
  color: white;
  border-color: var(--cht-primary);
}

.cht-add-traveler-btn:hover {
  background: var(--cht-primary-hover);
  border-color: var(--cht-primary-hover);
}

.cht-remove-traveler-btn:hover:not(:disabled) {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.cht-remove-traveler-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cht-add-traveler-btn i, .cht-remove-traveler-btn i {
  font-size: 0.8rem;
}

/* Pricing note style */
.cht-pricing-item.cht-note {
  font-style: italic;
  opacity: 0.8;
}

.cht-pricing-item.cht-note .cht-pricing-value {
  font-size: 0.85rem;
}

/* Single Traveler Type Styling */
.cht-single-traveler-type {
  background: var(--cht-bg-primary);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.cht-single-traveler-type .cht-traveler-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cht-single-traveler-type .cht-traveler-info {
  flex: 1;
}

.cht-single-traveler-type .cht-form-label {
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  margin: 0;
}

.cht-single-traveler-type .cht-quantity-selector {
  margin: 0;
}

.cht-single-traveler-type .cht-traveler-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cht-text-secondary);
  line-height: 1.4;
}

/* Mobile Responsive for Details Step */
@media (max-width: 768px) {
  .cht-travelers-details-container {
    gap: 0.5rem; /* Further reduced for mobile */
  }
  
  .cht-package-summary {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .cht-package-actions {
    margin-left: 0;
    align-self: flex-end;
  }
  
  .cht-global-restart-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .cht-compact-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .cht-nationality-group {
    grid-column: span 1;
  }
  
  .cht-special-requirements-group {
    grid-column: span 1;
  }
  
  .cht-compact-form {
    padding: 0.75rem !important;
  }
  
  .cht-compact-header {
    padding: 0.5rem 0.75rem !important;
  }
  
  .cht-single-traveler-type {
    padding: 1rem;
  }
  
  .cht-single-traveler-type .cht-traveler-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .cht-single-traveler-type .cht-quantity-selector {
    align-self: center;
  }
  
  /* Ultra-compact mobile styles */
  .cht-ultra-compact-row.cht-names-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  
  .cht-ultra-compact-row.cht-details-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  
  .cht-ultra-nationality-group {
    grid-column: span 1;
  }
  
  .cht-ultra-compact-form {
    padding: 0.25rem !important;
  }
  
  .cht-ultra-compact-header {
    padding: 0.3rem 0.5rem !important; /* Maintain prominence on mobile */
  }
  
  .cht-ultra-compact-header h4,
  .cht-ultra-compact-header h5 {
    font-size: 1rem;
    font-weight: var(--cht-font-weight-semibold);
  }
  
  .cht-ultra-compact-input, .cht-ultra-compact-select {
    height: 1.6rem;
    font-size: 0.75rem;
  }
  
  .cht-traveler-control-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .cht-field-label {
    font-size: 0.65rem;
  }
  
  .cht-traveler-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: center;
  }
  
  .cht-traveler-header h3,
  .cht-traveler-header h4,
  .cht-traveler-header h5 {
    justify-content: center;
    font-size: 1rem;
  }
  
  .cht-traveler-form {
    padding: 1rem;
  }
  
  .cht-form-row {
    grid-template-columns: 1fr;
  }
  
  .cht-info-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
  
  .cht-info-content {
    padding: 0.75rem;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .cht-form-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Summary Step Styles */
.cht-summary-container {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.cht-summary-section {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  overflow: hidden;
  box-shadow: var(--cht-shadow-sm);
}

.cht-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--cht-bg-tertiary);
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-section-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-section-header i {
  color: var(--cht-primary);
}

.cht-edit-btn {
  background: var(--cht-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--cht-radius);
  font-size: 0.9rem;
  font-weight: var(--cht-font-weight-medium);
  cursor: pointer;
  transition: var(--cht-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cht-edit-btn:hover {
  background: var(--cht-primary-hover);
}

.cht-package-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

.cht-package-image {
  width: 120px;
  height: auto;
  border-radius: var(--cht-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.cht-package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cht-package-info h4 {
  margin: 0 0 1rem 0;
  color: var(--cht-text-primary);
  font-size: 1.2rem;
  font-weight: var(--cht-font-weight-semibold);
}

.cht-package-details {
  display: grid;
  gap: 0.5rem;
}

.cht-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-detail-item i {
  color: var(--cht-primary);
  width: 16px;
}

.cht-travelers-summary {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.cht-traveler-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--cht-bg-secondary);
  border-radius: var(--cht-radius);
  border-left: 4px solid var(--cht-info);
}

.cht-traveler-summary.cht-lead {
  border-left-color: var(--cht-primary);
  background: var(--cht-primary-light);
}

.cht-traveler-summary.cht-child {
  border-left-color: var(--cht-success);
  background: rgba(34, 197, 94, 0.05);
}

.cht-traveler-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cht-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cht-primary);
  flex-shrink: 0;
}

.cht-child .cht-traveler-avatar {
  color: var(--cht-success);
}

.cht-traveler-info {
  flex: 1;
}

.cht-traveler-name {
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-text-primary);
  margin-bottom: 0.5rem;
}

.cht-lead-badge {
  display: inline-block;
  background: var(--cht-primary);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: var(--cht-radius);
  font-size: 0.75rem;
  font-weight: var(--cht-font-weight-medium);
  margin-left: 0.5rem;
}

.cht-traveler-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cht-traveler-details .cht-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--cht-text-secondary);
}

.cht-traveler-details .cht-detail i {
  color: var(--cht-primary);
  width: 14px;
}

.cht-traveler-price {
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  color: var(--cht-primary);
}

.cht-pricing-breakdown-detailed {
  padding: 2rem;
}

.cht-pricing-category {
  margin-bottom: 2rem;
}

.cht-pricing-category h4 {
  margin: 0 0 1rem 0;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
  font-size: 1.1rem;
}

.cht-pricing-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cht-border-light);
}

.cht-pricing-line:last-child {
  border-bottom: none;
}

.cht-pricing-subtotal {
  font-weight: var(--cht-font-weight-semibold);
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--cht-border);
}

.cht-not-selected {
  opacity: 0.6;
}

.cht-not-included {
  font-style: italic;
  color: var(--cht-text-muted);
}

.cht-pricing-total-section {
  background: var(--cht-bg-tertiary);
  padding: 1.5rem;
  border-radius: var(--cht-radius);
  margin-top: 2rem;
}

.cht-pricing-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: var(--cht-font-weight-bold);
  color: var(--cht-text-primary);
  margin-bottom: 1.5rem;
}

.cht-pricing-total .cht-pricing-amount {
  color: var(--cht-primary);
  font-size: 1.5rem;
}

.cht-payment-options {
  display: grid;
  gap: 1rem;
}

.cht-payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--cht-bg-primary);
  border: 2px solid var(--cht-border);
  border-radius: var(--cht-radius);
  cursor: pointer;
  transition: var(--cht-transition);
}

.cht-payment-option:hover {
  border-color: var(--cht-primary);
}

.cht-payment-option input[type="radio"]:checked + label {
  color: var(--cht-primary);
}

.cht-payment-option label {
  cursor: pointer;
  flex: 1;
}

.cht-payment-option label strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cht-payment-option label span {
  font-size: 0.9rem;
  color: var(--cht-text-secondary);
}

.cht-terms-section {
  padding: 2rem;
}

.cht-terms-highlights h4 {
  margin: 0 0 1rem 0;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-terms-highlights ul {
  margin: 0 0 2rem 0;
  padding-left: 1.5rem;
  color: var(--cht-text-secondary);
  line-height: 1.6;
}

.cht-terms-highlights li {
  margin-bottom: 0.5rem;
}

.cht-terms-agreement {
  display: grid;
  gap: 1rem;
}

.cht-trust-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--cht-bg-tertiary);
  border-radius: var(--cht-radius-card);
  text-align: center;
}

/* Payment Step Styles */
.cht-step-payment {
  width: 100%;
}

.cht-payment-container {
  margin: 1.5rem 0;
}

.cht-summary-card {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 2rem;
  box-shadow: var(--cht-shadow-sm);
}

.cht-summary-card h3 {
  margin: 0 0 1.5rem 0;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-package-summary h4 {
  margin: 0 0 0.5rem 0;
  color: var(--cht-text-primary);
  font-size: 1.1rem;
}

.cht-travelers-count {
  color: var(--cht-text-secondary);
  margin-bottom: 1.5rem;
}

.cht-payment-breakdown {
  border-top: 1px solid var(--cht-border-light);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.cht-payment-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cht-deposit-line {
  color: var(--cht-primary);
  font-weight: var(--cht-font-weight-medium);
}

.cht-remaining-line {
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

.cht-payment-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--cht-info-light);
  border-radius: var(--cht-radius);
  font-size: 0.85rem;
  color: var(--cht-info);
}

.cht-payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--cht-primary-light);
  border-radius: var(--cht-radius);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-payment-total .cht-amount {
  color: var(--cht-primary);
  font-size: 1.3rem;
  font-weight: var(--cht-font-weight-bold);
}

.cht-payment-form-container {
  width: 100%;
}

.cht-payment-methods {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.cht-payment-methods h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-payment-method-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cht-payment-method {
  border: 2px solid var(--cht-border);
  border-radius: var(--cht-radius);
  overflow: hidden;
  transition: var(--cht-transition);
  cursor: pointer;
}

.cht-payment-method.active {
  border-color: var(--cht-primary);
}

.cht-payment-method input[type="radio"] {
  display: none;
}

.cht-payment-method label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  cursor: pointer;
  background: var(--cht-bg-primary);
  transition: var(--cht-transition);
}

.cht-payment-method.active label {
  background: var(--cht-primary-light);
  color: var(--cht-primary);
}

.cht-payment-method label > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cht-payment-method i {
  font-size: 1.2rem;
}

.cht-card-types {
  display: flex;
  gap: 0.5rem;
}

.cht-card-types i {
  font-size: 1.5rem;
  opacity: 0.7;
}

.cht-coming-soon {
  background: var(--cht-warning-light);
  color: var(--cht-warning);
  padding: 0.25rem 0.5rem;
  border-radius: var(--cht-radius);
  font-size: 0.75rem;
  font-weight: var(--cht-font-weight-medium);
}

/* Card Payment Form */
.cht-payment-form {
  background: var(--cht-bg-card);
  border: 1px solid var(--cht-border);
  border-radius: var(--cht-radius-card);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.cht-payment-form h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-semibold);
}

.cht-test-card-info {
  background: var(--cht-warning-light);
  border: 1px solid var(--cht-warning);
  border-radius: var(--cht-radius);
  padding: 1rem;
  margin-bottom: 2rem;
}

.cht-test-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--cht-warning);
}

.cht-test-cards {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cht-test-card {
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--cht-radius);
  transition: var(--cht-transition);
}

.cht-test-card:hover {
  background: rgba(0, 0, 0, 0.1);
}

.cht-test-note {
  font-size: 0.85rem;
  color: var(--cht-text-secondary);
  font-style: italic;
}

.cht-card-input-container {
  position: relative;
}

.cht-card-type {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0.7;
}

.cht-billing-address {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cht-border-light);
}

.cht-billing-address h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: var(--cht-text-primary);
  font-weight: var(--cht-font-weight-medium);
}

.cht-payment-actions {
  margin-top: 2rem;
  text-align: center;
}

.cht-btn-payment {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: var(--cht-font-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cht-payment-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--cht-primary);
}

.cht-processing-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--cht-border-light);
  border-top: 2px solid var(--cht-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.cht-payment-security-info {
  margin-top: 3rem;
  text-align: center;
}

.cht-security-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.cht-security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cht-success);
  font-size: 0.9rem;
  font-weight: var(--cht-font-weight-medium);
}

.cht-security-text {
  color: var(--cht-text-secondary);
  font-size: 0.9rem;
}

/* Mobile Responsive for Summary and Payment Steps */
@media (max-width: 768px) {
  .cht-package-card {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cht-package-image {
    width: 100%;
    height: auto;
  }
  
  .cht-travelers-summary {
    padding: 1rem;
  }
  
  .cht-traveler-summary {
    flex-direction: column;
    text-align: center;
  }
  
  .cht-traveler-details {
    justify-content: center;
  }
  
  .cht-payment-container {
    margin: 1rem 0;
  }
  
  .cht-security-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cht-section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}

/* Print Styles */
@media print {
  .cht-booking-engine {
    background: white;
    color: black;
  }
  
  .cht-step-navigation,
  .cht-messages-container {
    display: none;
  }
}

/* ==========================================================================
   MESSAGE SYSTEM
   ========================================================================== */

.cht-message {
    margin-bottom: 1.5rem;
    border-radius: var(--cht-radius-card);
    overflow: hidden;
    box-shadow: var(--cht-shadow-card);
    animation: slideDown 0.3s ease-out;
}

.cht-message-content {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cht-message-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #dc2626;
}

.cht-message-success {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    color: #16a34a;
}

.cht-message-info {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #2563eb;
}

.cht-message-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.cht-message-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

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

/* Toast Messages - New popup style */
.cht-message-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  padding: 1rem 1.25rem;
  border-radius: var(--cht-radius-card);
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.25), 0 10px 10px -5px rgb(0 0 0 / 0.1);
  z-index: 9999;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-out;
  border-left: 4px solid;
  backdrop-filter: blur(8px);
}

.cht-message-toast.cht-toast-show {
  transform: translateX(0);
  opacity: 1;
}

.cht-message-toast.cht-message-error {
  background: rgba(254, 242, 242, 0.95);
  border-left-color: var(--cht-error);
  color: #991B1B;
}

.cht-message-toast.cht-message-success {
  background: rgba(240, 253, 244, 0.95);
  border-left-color: var(--cht-success);
  color: #166534;
}

.cht-message-toast.cht-message-info {
  background: rgba(239, 246, 255, 0.95);
  border-left-color: var(--cht-primary);
  color: #1E40AF;
}

.cht-toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cht-toast-content span {
  flex: 1;
  font-weight: var(--cht-font-weight-medium);
}

.cht-toast-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color 0.2s;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.cht-toast-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* Field Error Highlighting */
.cht-field-error {
  border-color: var(--cht-error) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  background-color: rgba(254, 242, 242, 0.3) !important;
}

.cht-field-error:focus {
  border-color: var(--cht-error) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  outline: none !important;
}

/* Field Warning Messages */
.cht-field-warning {
  color: #F59E0B;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
  font-weight: 500;
}

/* Field Info Messages */
.cht-field-info {
  color: #3B82F6;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
  font-style: italic;
}

/* EU Protection Bond Item */
.cht-bond-item {
  background: rgba(59, 130, 246, 0.05);
  padding: 0.5rem;
  border-radius: 0.25rem;
  margin: 0.5rem 0;
  border-left: 3px solid #3B82F6;
}

.cht-bond-item .cht-pricing-label {
  color: #1E40AF;
  font-weight: 500;
}

/* EU Protection Bond Explanation */
.cht-bond-explanation {
  background: rgba(59, 130, 246, 0.02);
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.25rem;
  border-radius: 0.25rem;
}

.cht-bond-explanation-text {
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.5;
  font-style: italic;
  display: block;
  width: 100%;
}


/* Capacity Warnings */
.cht-capacity-warning {
  margin: 1rem 0;
}

.cht-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.cht-alert-warning {
  background-color: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}

/* Selected Date Display */
.cht-selected-date-section {
  background: #F3F4F6;
  padding: 1rem;
  border-radius: 0.375rem;
  margin: 1rem 0;
  border: 1px solid #E5E7EB;
}

.cht-selected-date-section h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.cht-low-availability-warning {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.813rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Date display in sidebar summary */
#cht-summary-date {
  background: linear-gradient(135deg, #F0F9FF 0%, #EBF8FF 100%);
  border: 1px solid #BFDBFE;
  border-radius: 0.375rem;
  padding: 0.75rem;
  margin: 0.75rem 0;
}

#cht-summary-date .cht-summary-item {
  font-weight: 600;
  color: #1E40AF;
}

#cht-summary-date .cht-summary-value {
  color: #1E3A8A;
}

/* Available dates list in sidebar */
.cht-dates-list-section {
  border-top: 1px solid #E5E7EB;
  padding: 1rem 0;
  margin-top: 1rem;
}

.cht-dates-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0.75rem 0.75rem 0.75rem;
}

.cht-dates-list-header h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.cht-dates-count {
  font-size: 0.75rem;
  color: #6B7280;
  background: #F3F4F6;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.cht-dates-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cht-date-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 0.25rem;
  font-size: 0.813rem;
  transition: all 0.2s ease;
}

.cht-date-list-item:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.cht-date-list-item.cht-low-availability {
  background: #FEF2F2;
  border-color: #FCA5A5;
}

.cht-date-list-date {
  font-weight: 600;
  color: #111827;
}

.cht-availability-ok {
  color: #059669;
  font-size: 0.75rem;
}

.cht-availability-warning {
  color: #DC2626;
  font-weight: 600;
  font-size: 0.75rem;
}

.cht-date-list-more {
  text-align: center;
  color: #6B7280;
  font-size: 0.75rem;
  font-style: italic;
  padding: 0.5rem;
  background: #F9FAFB;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
}

.cht-dates-list-note {
  font-size: 0.75rem;
  color: #6B7280;
  text-align: center;
  padding: 0.5rem;
  background: #F3F4F6;
  border-radius: 0.25rem;
  font-style: italic;
}

.cht-warning-icon {
  font-size: 1rem;
}

/* Date Selection Styles */
.cht-dates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cht-date-option {
  border: 2px solid #E5E7EB;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.cht-date-option:hover:not(.cht-date-disabled) {
  border-color: var(--cht-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cht-date-label {
  display: block;
  padding: 1rem;
  cursor: pointer;
  position: relative;
}

.cht-date-disabled .cht-date-label {
  cursor: not-allowed;
  opacity: 0.6;
}

.cht-date-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cht-date-label input[type="radio"]:checked + .cht-date-content {
  background: linear-gradient(135deg, #EBF8FF 0%, #F0F9FF 100%);
}

.cht-date-option:has(input[type="radio"]:checked) {
  border-color: var(--cht-primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.cht-date-label input[type="radio"]:checked ~ .cht-date-content::before {
  content: '✓';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cht-primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  animation: checkmarkPop 0.3s ease-out;
}

@keyframes checkmarkPop {
  0% {
    transform: translateY(-50%) scale(0);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

.cht-date-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  padding-right: 3rem;
}

.cht-date-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cht-date-text {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.cht-availability-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.cht-availability-badge.cht-low {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.cht-availability-badge.cht-unavailable {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #D1D5DB;
}

.cht-date-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cht-capacity-info {
  font-size: 0.875rem;
  color: #6B7280;
}

.cht-date-low-availability {
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.cht-booking-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #F3F4F6;
  border-radius: 0.375rem;
  color: #4B5563;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.cht-booking-note i {
  color: #3B82F6;
}

/* Tour Date in Header */
.cht-tour-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, #EBF8FF 0%, #F0F9FF 100%);
  border: 1px solid #3B82F6;
  border-radius: 9999px;
  color: #1E40AF;
  font-weight: 600;
  font-size: 0.9rem;
}

.cht-tour-date i {
  color: #3B82F6;
  font-size: 0.875rem;
}

.cht-header-low-availability {
  color: #DC2626;
  font-weight: 700;
  margin-left: 0.25rem;
  font-size: 0.85rem;
}

.cht-single-date-tour .cht-tour-date {
  animation: pulse-highlight 2s ease-in-out infinite;
}

@keyframes pulse-highlight {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  }
}

/* Mobile adjustments for tour date */
@media (max-width: 768px) {
  .cht-tour-date {
    font-size: 0.813rem;
    padding: 0.25rem 0.625rem;
    margin-top: 0.5rem;
    display: flex;
    width: 100%;
    justify-content: center;
  }
  
  .cht-package-meta {
    flex-wrap: wrap;
  }
}

/* Mobile toast adjustments */
@media (max-width: 768px) {
  .cht-message-toast {
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
    transform: translateY(-100%);
  }
  
  .cht-message-toast.cht-toast-show {
    transform: translateY(0);
  }
}

/* ==========================================================================
   BOOKING CONFIRMATION PAGE
   ========================================================================== */

.cht-confirmation-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cht-confirmation-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--cht-radius-card);
    margin-bottom: 2rem;
}

.cht-success-animation {
    margin-bottom: 2rem;
}

.cht-success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    stroke-width: 2;
    stroke: #22c55e;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #22c55e;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
}

.cht-success-checkmark.animate .cht-icon-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.cht-check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: border-box;
    background: #fff;
}

.cht-icon-circle {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    border: 2px solid #22c55e;
}

.cht-icon-line {
    height: 2px;
    background-color: #22c55e;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.cht-success-checkmark.animate .cht-line-tip {
    width: 25px;
    left: 14px;
    top: 37px;
    transform: rotate(45deg);
    animation: checkmark-tip 0.75s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.cht-success-checkmark.animate .cht-line-long {
    width: 47px;
    right: 8px;
    top: 37px;
    transform: rotate(-45deg);
    animation: checkmark-long 0.75s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.cht-confirmation-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--cht-primary);
    margin-bottom: 0.5rem;
}

.cht-confirmation-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.cht-booking-reference {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: var(--cht-radius-card);
    box-shadow: var(--cht-shadow-card);
}

.cht-reference-label {
    color: #6b7280;
    font-weight: 500;
}

.cht-reference-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cht-primary);
    font-family: 'Courier New', monospace;
}

.cht-confirmation-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.cht-confirmation-section {
    background: white;
    border-radius: var(--cht-radius-card);
    padding: 1.5rem;
    box-shadow: var(--cht-shadow-card);
    margin-bottom: 1.5rem;
}

.cht-confirmation-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.cht-package-summary h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.cht-package-duration,
.cht-travel-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.cht-travelers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cht-traveler-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--cht-radius-card);
}

.cht-traveler-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cht-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.cht-traveler-info strong {
    display: block;
    color: #111827;
    margin-bottom: 0.25rem;
}

.cht-lead-badge {
    background: #fbbf24;
    color: #92400e;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.cht-traveler-info p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.cht-payment-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cht-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.cht-balance-due {
    background: #fef3c7;
    padding: 1rem;
    border-radius: var(--cht-radius-card);
    border-left: 4px solid #f59e0b;
}

.cht-payment-due-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d97706;
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.cht-payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.cht-next-steps-card {
    background: white;
    border-radius: var(--cht-radius-card);
    padding: 1.5rem;
    box-shadow: var(--cht-shadow-card);
    margin-bottom: 1.5rem;
}

.cht-next-steps-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.cht-next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cht-next-steps-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.cht-next-steps-list li:last-child {
    border-bottom: none;
}

.cht-next-steps-list i {
    color: var(--cht-primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.cht-next-steps-list strong {
    display: block;
    color: #111827;
    margin-bottom: 0.25rem;
}

.cht-next-steps-list p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.cht-confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cht-support-card {
    background: #f9fafb;
    border-radius: var(--cht-radius-card);
    padding: 1.5rem;
    text-align: center;
}

.cht-support-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.cht-support-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.cht-support-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cht-support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cht-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--cht-radius-card);
    transition: background-color 0.2s ease;
}

.cht-support-link:hover {
    background: white;
}

.cht-social-sharing {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.cht-social-sharing h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.cht-social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cht-social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--cht-radius-card);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cht-facebook {
    background: #1877f2;
    color: white;
}

.cht-facebook:hover {
    background: #166fe5;
}

.cht-twitter {
    background: #1da1f2;
    color: white;
}

.cht-twitter:hover {
    background: #1a91da;
}

.cht-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.cht-instagram:hover {
    opacity: 0.9;
}

/* Animations */
@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #22c55e;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 25px;
        left: 14px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 37px;
    }
}

@keyframes checkmark-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 47px;
        right: 8px;
        top: 37px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 37px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cht-confirmation-page {
        padding: 1rem;
    }
    
    .cht-confirmation-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cht-confirmation-title {
        font-size: 2rem;
    }
    
    .cht-booking-reference {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .cht-social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cht-support-options {
        flex-direction: column;
    }
}

/* ==========================================================================
   TOUR OPTIONS - HOTEL & ROOM ASSIGNMENT STYLES
   ========================================================================== */

/* Room Assignment Styles */
.cht-room-assignments {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cht-room-assignments .cht-info {
    margin-bottom: 15px;
    color: #495057;
}

.cht-room-suggestion {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.cht-room-suggestion h5 {
    margin: 0 0 10px 0;
    color: #343a40;
    font-size: 16px;
}

.cht-room-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.cht-room-list li {
    padding: 8px 12px;
    margin-bottom: 5px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

.cht-hotel-location {
    display: block;
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
}

.cht-hotel-description {
    display: block;
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.cht-star-rating {
    display: block;
    color: #ffc107;
    font-size: 0.9em;
    margin-top: 5px;
}

.cht-no-hotels-message,
.cht-no-pickup-message {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
}

.cht-badge-recommended {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

/* Room Configuration Styles */
.cht-room-allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cht-ai-allocator-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.813rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cht-ai-allocator-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Room Configuration - Table Layout */
.cht-room-configuration {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-top: 0.5rem;
}

.cht-room-table {
    width: 100%;
    border-collapse: collapse;
}

.cht-room-table thead {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.cht-room-table th {
    padding: 6px 10px;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.cht-room-table th:last-child {
    text-align: center;
}

.cht-room-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.cht-room-table tbody tr:hover {
    background: #f9fafb;
}

.cht-room-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.cht-room-type strong {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.cht-room-occupancy {
    color: #6b7280;
    font-size: 0.8125rem;
}

.cht-room-price {
    font-size: 0.8125rem;
    font-weight: 500;
}

.cht-room-price.cht-price-included {
    color: #059669;
}

.cht-room-price.cht-price-extra {
    color: #dc2626;
    font-weight: 600;
}

.cht-room-quantity-cell {
    text-align: center;
}

.cht-room-controls {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 2px;
}

.cht-room-decrease,
.cht-room-increase {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #374151;
    transition: all 0.2s ease;
}

.cht-room-decrease:hover:not(.disabled),
.cht-room-increase:hover:not(.disabled) {
    background: #3b82f6;
    color: white;
}

.cht-room-decrease.disabled,
.cht-room-increase.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
}

.cht-room-quantity {
    width: 40px;
    height: 28px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

/* Hide browser default number input spinners for room quantities */
.cht-room-quantity::-webkit-outer-spin-button,
.cht-room-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.cht-room-quantity[type=number] {
    -moz-appearance: textfield;
}

/* General rule: Hide spinners for all number inputs in booking forms 
   This removes the small up/down arrows that browsers add to number inputs
   We use custom + and - buttons instead for better UX */
.cht-booking-form input[type=number]::-webkit-outer-spin-button,
.cht-booking-form input[type=number]::-webkit-inner-spin-button,
.cht-step-container input[type=number]::-webkit-outer-spin-button,
.cht-step-container input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cht-booking-form input[type=number],
.cht-step-container input[type=number] {
    -moz-appearance: textfield;
}

/* Room Summary Bar */
.cht-room-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.cht-room-assignment-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cht-assignment-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.cht-assignment-value {
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
}

.cht-assignment-value strong {
    color: #3b82f6;
    font-size: 1rem;
}

.cht-room-total-cost {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cht-total-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.cht-total-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
}

.cht-total-value.cht-total-extra {
    color: #dc2626;
}

/* Keep the old total display for compatibility */
.cht-room-total {
    margin-top: 10px;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cht-room-total-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.cht-room-total-value {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
}

/* Mobile Responsive for Room Configuration */
@media (max-width: 768px) {
    .cht-room-allocation-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .cht-ai-allocator-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cht-room-table {
        font-size: 0.85rem;
    }
    
    .cht-room-table th {
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .cht-room-table td {
        padding: 8px;
    }
    
    .cht-room-table th:nth-child(2),
    .cht-room-table td:nth-child(2) {
        display: none; /* Hide capacity column on mobile */
    }
    
    .cht-room-type strong {
        font-size: 0.875rem;
    }
    
    .cht-room-summary-bar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .cht-room-assignment-status,
    .cht-room-total-cost {
        justify-content: space-between;
    }
}

/* Validation Feedback Styles */
.cht-validation-feedback {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: var(--cht-radius);
    border: 1px solid;
    background-color: #fff;
    box-shadow: var(--cht-shadow-sm);
    animation: slideDown 0.3s ease-out;
}

.cht-validation-error {
    border-color: var(--cht-error);
    background-color: #fef2f2;
}

.cht-validation-success {
    border-color: var(--cht-success);
    background-color: #f0fdf4;
}

.cht-validation-warning {
    border-color: var(--cht-warning);
    background-color: #fffbeb;
}

.cht-validation-info {
    border-color: var(--cht-primary);
    background-color: var(--cht-primary-light);
}

.cht-validation-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cht-validation-icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.cht-validation-error .cht-validation-icon {
    color: var(--cht-error);
}

.cht-validation-success .cht-validation-icon {
    color: var(--cht-success);
}

.cht-validation-warning .cht-validation-icon {
    color: var(--cht-warning);
}

.cht-validation-info .cht-validation-icon {
    color: var(--cht-primary);
}

.cht-validation-message {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cht-text-primary);
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments for validation feedback */
@media (max-width: 768px) {
    .cht-validation-feedback {
        margin: 0.75rem 0;
        padding: 0.625rem 0.75rem;
    }
    
    .cht-validation-content {
        gap: 0.5rem;
    }
    
    .cht-validation-icon {
        font-size: 1rem;
    }
    
    .cht-validation-message {
        font-size: 0.8125rem;
    }
}

/* Room Allocation Warning Styles */
.cht-room-warning {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: var(--cht-radius);
    border: 1px solid var(--cht-warning);
    background-color: #fffbeb;
    color: var(--cht-warning-dark);
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.cht-room-warning i {
    color: var(--cht-warning);
    font-size: 1rem;
    flex-shrink: 0;
}

.cht-room-warning span {
    flex: 1;
    font-weight: 500;
}

/* Room allocation business rule validation */
.cht-room-rule-violation {
    border-color: var(--cht-error);
    background-color: #fef2f2;
    color: var(--cht-error-dark);
}

.cht-room-rule-violation i {
    color: var(--cht-error);
}

/* Mobile responsive adjustments for room warnings */
@media (max-width: 768px) {
    .cht-room-warning {
        margin: 0.75rem 0;
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .cht-room-warning i {
        font-size: 0.875rem;
    }
    .cht-booking-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}

@media (min-width: 0px) {
  .cht-booking-page-container > .container {
    width: auto !important;
  }
}

