/* ==========================================
   TRAVTHRILL — Booking Flow Stylesheet
   ========================================== */

/* ---------- Booking Page Layout ---------- */
.booking-page {
  background: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Checkout Header ---------- */
.checkout-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.checkout-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}

.checkout-logo-img {
  height: 40px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.checkout-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.checkout-logo .accent {
  color: var(--accent);
}

.checkout-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-pale);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.checkout-support-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.checkout-support-link:hover {
  color: var(--primary);
}

/* ---------- Step Wizard Indicator ---------- */
.booking-wizard-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 1rem;
}

.wizard-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--gray-300);
  transition: all var(--transition-normal);
  margin-bottom: 0.4rem;
}

.wizard-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  transition: color var(--transition-normal);
  white-space: nowrap;
}

.wizard-step.active .wizard-step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.18);
}

.wizard-step.active .wizard-step-label {
  color: var(--primary-dark);
  font-weight: 700;
}

.wizard-step.completed .wizard-step-circle {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.wizard-step.completed .wizard-step-label {
  color: var(--dark);
}

.wizard-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  position: relative;
  top: -14px;
  z-index: 1;
  transition: background var(--transition-normal);
}

.wizard-line.active {
  background: var(--primary);
}

/* ---------- Main Booking Content Grid ---------- */
.booking-container {
  max-width: 1200px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
  width: 100%;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

/* ---------- Booking Left Card & Sections ---------- */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: box-shadow var(--transition-normal);
}

.booking-card:hover {
  box-shadow: var(--shadow-md);
}

.booking-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.booking-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.booking-card-title .icon {
  font-size: 1.4rem;
}

.booking-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--primary-pale);
  color: var(--primary-dark);
}

/* Selected Package Preview Bar */
.selected-pkg-preview {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--primary);
}

.selected-pkg-preview img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.selected-pkg-info {
  flex: 1;
}

.selected-pkg-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.selected-pkg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.selected-pkg-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Date Selector */
.date-selector-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-secondary);
  margin-bottom: 0.5rem;
}

.quick-date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.date-chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.date-chip:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}

.date-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.custom-date-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-date-input:focus {
  outline: none;
  border-color: #0D9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

/* Tier Selection Grid */
.tier-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.tier-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  background: var(--white);
}

.tier-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tier-card.selected {
  border-color: var(--primary);
  background: #F0FDFA;
  box-shadow: 0 0 0 2px var(--primary);
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tier-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.tier-price-diff {
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tier-features {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-features li {
  margin-bottom: 0.25rem;
}

/* Traveler Counter Component */
.traveler-selector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  background: var(--gray-100);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.traveler-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.traveler-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.traveler-box-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.counter-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.counter-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.counter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 24px;
  text-align: center;
}

/* Add-on Cards */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
}

.addon-card:hover {
  border-color: var(--primary-light);
  background: #F9FEFD;
}

.addon-card.selected {
  border-color: var(--primary);
  background: #F0FDFA;
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addon-icon {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.addon-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.addon-details p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

.addon-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addon-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
}

.addon-price-unit {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
  display: block;
}

/* Custom Checkbox / Toggle */
.addon-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.addon-card.selected .addon-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B !important;
  margin-bottom: 0.45rem;
  display: block;
}

.form-input, .form-select, .form-textarea,
input.form-input, select.form-select, textarea.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #CBD5E1 !important;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: #FFFFFF !important;
  color: #0F172A !important;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}

.form-input:focus, .form-select:focus, .form-textarea:focus,
input.form-input:focus, select.form-select:focus, textarea.form-textarea:focus {
  outline: none;
  border-color: #0D9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.form-input.error {
  border-color: var(--danger) !important;
}

/* Blanket protection to prevent text invisible bugs */
.booking-page input,
.booking-page select,
.booking-page textarea,
.booking-card input,
.booking-card select,
.booking-card textarea {
  color: #0F172A !important;
  background-color: #FFFFFF !important;
}

.booking-page select option,
.booking-card select option,
select.form-select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

.form-helper {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.35rem;
}

.special-req-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.spec-chip.selected {
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-color: var(--primary-light);
  font-weight: 600;
}

/* Additional Guest Subsections */
.guest-item-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.guest-item-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.guest-item-card .form-label {
  color: #334155 !important;
  font-weight: 700 !important;
}

.guest-item-card .form-input {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}

/* ---------- Payment Gateway Styles ---------- */
.payment-methods-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  background: var(--gray-100);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
}

.payment-tab-btn {
  border: none;
  background: none;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.payment-tab-btn .tab-icon {
  font-size: 1.2rem;
}

.payment-tab-btn.active {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.payment-tab-panel {
  display: none;
}

.payment-tab-panel.active {
  display: block;
}

/* Interactive 3D Credit Card Widget */
.card-widget-wrapper {
  margin: 1.5rem 0 2rem;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.credit-card-preview {
  width: 340px;
  height: 200px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 50%, #0D9488 100%);
  color: var(--white);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-card-preview.flipped {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 1.5rem 0;
}

.card-black-stripe {
  height: 42px;
  background: #000000;
  width: 100%;
  margin-top: 0.5rem;
}

.card-cvv-stripe {
  background: #FFFFFF;
  color: #0F172A;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: right;
  padding: 0.4rem 1.5rem;
  margin: 0.5rem 1.5rem;
  border-radius: 4px;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FCD34D, #F59E0B);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  position: relative;
}

.card-chip::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,0,0,0.2);
}

.card-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
}

.card-number-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.28rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  margin: 0.5rem 0;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder-display {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-expiry-display {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

/* UPI QR Code Area */
.upi-qr-wrapper {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.upi-qr-box {
  width: 200px;
  height: 200px;
  margin: 1rem auto;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.upi-qr-svg {
  width: 100%;
  height: 100%;
}

.upi-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.upi-apps-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.upi-app-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Bank Grid */
.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.bank-option {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  transition: all var(--transition-fast);
}

.bank-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.bank-option.selected {
  border-color: var(--primary);
  background: #F0FDFA;
  box-shadow: 0 0 0 1px var(--primary);
}

.bank-option .bank-logo {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.bank-option .bank-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

/* EMI Plans Table */
.emi-plans-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.emi-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.emi-plan-row:hover {
  border-color: var(--primary);
}

.emi-plan-row.selected {
  border-color: var(--primary);
  background: #F0FDFA;
}

.emi-plan-row .emi-tenure {
  font-weight: 700;
  color: var(--dark);
}

.emi-plan-row .emi-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.emi-zero-interest {
  background: var(--success);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
}

/* Buttons for Navigation */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.btn-wizard-back {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-wizard-back:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-wizard-next {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
  transition: all var(--transition-fast);
}

.btn-wizard-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

/* ---------- Sticky Order Summary Sidebar ---------- */
.order-summary-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.25rem;
}

.order-summary-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.order-pkg-thumb {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.order-pkg-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.order-pkg-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.order-pkg-dest {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.summary-trip-details {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-trip-details span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-trip-details strong {
  color: var(--dark);
}

/* Price Line Items */
.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--gray-300);
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.price-row.discount-row {
  color: var(--success);
  font-weight: 600;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.price-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.price-total-amount {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--primary-dark);
}

/* Promo Code Box */
.promo-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.promo-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}

.promo-input:focus {
  outline: none;
  border-color: #0D9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.btn-promo-apply {
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-promo-apply:hover {
  background: var(--primary);
}

.promo-tag {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.promo-tag.active {
  display: flex;
}

.promo-tag button {
  background: none;
  border: none;
  color: #065F46;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.summary-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.summary-guarantees span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Confirmation / Voucher Screen ---------- */
.confirmation-wrapper {
  max-width: 800px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.success-hero-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.success-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.success-check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ECFDF5;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.12);
  animation: scaleInCheck 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleInCheck {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.success-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.booking-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-pale);
  color: var(--primary-dark);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* Printable Voucher Card */
.voucher-card {
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.voucher-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}

.voucher-qr {
  width: 85px;
  height: 85px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 4px;
}

.voucher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.voucher-field-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.voucher-field-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-conf-action {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-conf-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-conf-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-conf-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-300);
}

.btn-conf-secondary:hover {
  border-color: var(--dark);
  background: var(--gray-100);
}

/* ---------- "My Bookings" Slide Drawer & Modal ---------- */
.my-bookings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.my-bookings-overlay.open {
  opacity: 1;
  visibility: visible;
}

.my-bookings-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.my-bookings-overlay.open .my-bookings-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.drawer-close-btn:hover {
  color: var(--dark);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.bookings-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.bookings-empty-state .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.saved-booking-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.saved-booking-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.saved-booking-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.saved-booking-badge {
  background: #ECFDF5;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.saved-booking-dest {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.saved-booking-dates {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.saved-booking-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

.saved-booking-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-view-voucher {
  background: var(--primary-pale);
  color: var(--primary-dark);
  border: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-view-voucher:hover {
  background: var(--primary);
  color: var(--white);
}

/* Nav Bookings Badge */
.nav-bookings-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-bookings-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.bookings-count-badge {
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .order-summary-card {
    position: static;
    margin-top: 1rem;
  }
  .tier-selection-grid {
    grid-template-columns: 1fr;
  }
  .traveler-selector-row {
    grid-template-columns: 1fr;
  }
  .payment-methods-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wizard-step-label {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .booking-card {
    padding: 1.5rem 1.25rem;
  }
  .credit-card-preview {
    width: 290px;
    height: 175px;
  }
  .card-number-display {
    font-size: 1.1rem;
  }
  .bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Print Stylesheet for Voucher ---------- */
@media print {
  body * {
    visibility: hidden;
  }
  .voucher-card, .voucher-card * {
    visibility: visible;
  }
  .voucher-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 2px solid #000;
    box-shadow: none;
    padding: 20px;
  }
  .checkout-header, .wizard-steps, .confirmation-actions, #confetti-canvas {
    display: none !important;
  }
}
