/* ==========================================================================
   TIKET.COM MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  --primary: #0064d2;
  --primary-hover: #0872ff;
  --primary-dark: #004fb0;
  --primary-light: #e8f3ff;
  --primary-subtle: #f0f7ff;
  
  --secondary-yellow: #fed100;
  --secondary-yellow-hover: #e5bc00;
  --secondary-yellow-light: #fff9db;

  --accent-red: #e0292b;
  --accent-red-light: #ffebee;
  --accent-green: #008744;
  --accent-green-light: #e8f5e9;
  
  --text-main: #132035;
  --text-muted: #687176;
  --text-light: #9aa2a8;
  --border-color: #e5eaf2;
  --border-focus: #0064d2;
  
  --bg-page: #f4f7fe;
  --bg-card: #ffffff;
  
  --shadow-sm: 0 2px 8px rgba(0, 48, 120, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 48, 120, 0.09);
  --shadow-lg: 0 16px 40px rgba(0, 48, 120, 0.14);
  --shadow-float: 0 20px 50px rgba(0, 20, 60, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Utility Helpers */
.text-primary { color: var(--primary) !important; }
.text-yellow { color: var(--secondary-yellow) !important; }
.text-yellow-dark { color: #b38600 !important; }
.text-red { color: var(--accent-red) !important; }
.text-green { color: var(--accent-green) !important; }
.text-purple { color: #6b21a8 !important; }
.full-width { width: 100% !important; }
.text-center { text-align: center !important; }

/* --------------------------------------------------------------------------
   1. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-announcement {
  background: linear-gradient(90deg, #004fb0, #0064d2);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-sparkle {
  background: var(--secondary-yellow);
  color: #1a1a1a;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-links a {
  opacity: 0.9;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. MAIN HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 48, 120, 0.08);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
}

.logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--secondary-yellow);
  border-radius: 50%;
  margin: 0 2px;
}

.header-search-bar {
  display: flex;
  align-items: center;
  background: #f4f6fa;
  border: 1.5px solid #e1e7f0;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  width: 270px;
  cursor: text;
  transition: var(--transition);
}

.header-search-bar:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  width: 310px;
  box-shadow: 0 0 0 4px rgba(0, 100, 210, 0.12);
}

.header-search-bar .search-icon {
  color: var(--text-muted);
  font-size: 14px;
  margin-right: 10px;
}

.header-search-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  color: var(--text-main);
}

.btn-clear-search {
  color: var(--text-muted);
  padding: 2px 4px;
}

/* Nav links in center */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition);
}

.nav-item i {
  font-size: 15px;
}

.nav-item:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-badge {
  background: var(--accent-red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.nav-badge.badge-b1g1 {
  background: #ff5722;
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-orders {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
  border: 1px solid rgba(0, 100, 210, 0.15);
}

.btn-orders:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.orders-counter {
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

.currency-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f4f8;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.user-auth-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--primary-subtle);
}

.btn-register {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 100, 210, 0.28);
  transition: var(--transition);
}

.btn-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* User logged-in avatar view */
.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.user-profile-btn:hover {
  border-color: var(--primary);
}

.user-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.user-points-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.user-points-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.user-points-text strong {
  font-size: 12.5px;
  color: #d97706;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & FLOATING SEARCH WIDGET
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 33, 70, 0.72) 0%, rgba(13, 62, 131, 0.55) 60%, rgba(244, 247, 254, 1) 100%),
              url('https://images.unsplash.com/photo-1518548419970-58e3b4079ab2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 56px 0 100px;
  min-height: 480px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Floating Booking Card Wrapper */
.booking-widget-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

/* Floating category pill tab bar */
.widget-tabs-pill {
  display: inline-flex;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: -22px;
  position: relative;
  z-index: 10;
  gap: 4px;
}

.tab-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 700;
  transition: var(--transition);
}

.tab-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f4f8;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
}

.tab-pill-btn:hover {
  color: var(--primary);
}

.tab-pill-btn:hover .tab-icon-wrap {
  background: var(--primary-light);
  color: var(--primary);
}

.tab-pill-btn.active {
  background: var(--primary-light);
  color: var(--primary);
}

.tab-pill-btn.active .tab-icon-wrap {
  background: var(--primary);
  color: #ffffff;
}

.pill-badge {
  background: var(--accent-red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* Main White Search Form Card */
.widget-search-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 38px 28px 24px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(0, 48, 120, 0.08);
  text-align: left;
}

/* Sub-header inside panel (radios, guarantee badge) */
.panel-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-trip-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #b8c4d4;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chip-info {
  background: #f1f6fd;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Flight / Booking Input Grid */
.flight-input-grid {
  display: grid;
  grid-template-columns: 2.2fr auto 2.2fr 1.6fr 1.6fr 2.2fr auto;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e2e8f0;
}

.hotel-grid {
  grid-template-columns: 3.5fr 1.8fr 1.8fr 2.4fr auto !important;
}

.span-two {
  grid-column: span 1;
}

.input-block {
  background: #ffffff;
  border: 1.5px solid #e1e7f0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.input-block:hover {
  border-color: #0064d2;
  box-shadow: 0 4px 12px rgba(0, 100, 210, 0.08);
}

.input-block.disabled {
  background: #f1f4f8;
  cursor: not-allowed;
  opacity: 0.6;
}

.input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-value-wrapper {
  display: flex;
  flex-direction: column;
}

.main-city {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.airport-code {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Date input styling */
.date-block {
  cursor: pointer;
}

.native-date-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.formatted-date {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

/* Route swap button */
.btn-swap-route {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.btn-swap-route:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(180deg);
}

/* Search Submit Button */
.search-btn-block {
  display: flex;
  align-items: center;
}

.btn-search-primary {
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 0 28px;
  height: 74px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 100, 210, 0.35);
  white-space: nowrap;
}

.btn-search-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 100, 210, 0.45);
}

.btn-search-primary:active {
  transform: translateY(0);
}

/* Clean select & text inputs inside card */
.clean-select, .clean-text-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
}

/* Tab Panels Visibility */
.search-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.search-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom Promo Strip under search card */
.widget-bottom-promo {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef2f8;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.promo-icon-blue {
  color: var(--primary);
  font-size: 15px;
}

.promo-text {
  flex: 1;
}

.promo-link-action {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.promo-link-action:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   4. DESTINATIONS QUICK BAR
   -------------------------------------------------------------------------- */
.quick-destinations-section {
  padding: 30px 0 10px;
}

.section-title-wrap {
  margin-bottom: 16px;
}

.section-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.destinations-pill-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.dest-chip {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.dest-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.dest-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 100, 210, 0.25);
}

/* --------------------------------------------------------------------------
   5. SEARCH RESULTS & CATALOG SECTION
   -------------------------------------------------------------------------- */
.results-section {
  padding: 24px 0 60px;
}

.results-header-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e7ecf3;
  flex-wrap: wrap;
  gap: 16px;
}

.results-main-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.results-sub-info {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.results-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.sort-dropdown {
  background: #f1f4f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

/* Results Layout Grid */
.results-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar Filters */
.results-filter-sidebar {
  position: sticky;
  top: 96px;
}

.filter-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e7ecf3;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #edf2f7;
  margin-bottom: 18px;
}

.filter-header h3 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset-filter {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.btn-reset-filter:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.filter-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.price-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.price-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.active-price-text {
  font-weight: 700;
  color: var(--primary);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  cursor: pointer;
}

.filter-checkbox-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.protection-badge-box {
  background: #f0f7ff;
  border: 1px dashed #0064d2;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.protection-badge-box i {
  font-size: 20px;
  margin-top: 2px;
}

/* Active Tags Bar */
.active-tags-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag-label {
  font-size: 13px;
  color: var(--text-muted);
}

.active-pill {
  background: #e6f0fa;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-count-text {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Dynamic Cards List */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Product Card - Airline / Flight Card Style */
.ticket-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e7ecf3;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ticket-card:hover {
  border-color: #0064d2;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ticket-main-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.ticket-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-badge.best-seller {
  background: #fff4d1;
  color: #b45309;
}

.tag-badge.refund-tag {
  background: #dcfce7;
  color: #15803d;
}

.tag-badge.discount-tag {
  background: #ffe4e6;
  color: #be123c;
}

.flight-journey-grid {
  display: flex;
  align-items: center;
  gap: 24px;
}

.airline-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.airline-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.airline-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.flight-number {
  font-size: 12px;
  color: var(--text-muted);
}

.time-route-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.time-point {
  text-align: center;
}

.time-point .time {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.time-point .code {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.route-arrow-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.route-duration {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.route-line {
  width: 100%;
  height: 2px;
  background: #cbd5e1;
  position: relative;
}

.route-line::after {
  content: '✈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 0 4px;
  font-size: 12px;
  color: var(--primary);
}

.route-type {
  font-size: 11.5px;
  color: var(--accent-green);
  font-weight: 700;
  margin-top: 2px;
}

.ticket-facilities-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.ticket-facilities-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Price and Action Section on Card */
.ticket-price-action {
  border-left: 1.5px dashed #e2e8f0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 220px;
  text-align: right;
}

.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-final {
  font-size: 24px;
  font-weight: 800;
  color: #ff5e00;
  line-height: 1.2;
}

.price-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-select-ticket {
  background: var(--primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 100, 210, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-select-ticket:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 100, 210, 0.35);
}

/* Hotel Card Specifics */
.hotel-card {
  grid-template-columns: 220px 1fr auto !important;
  padding: 0 !important;
}

.hotel-thumb-box {
  height: 100%;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.hotel-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hotel-card:hover .hotel-thumb-img {
  transform: scale(1.05);
}

.hotel-details-col {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hotel-stars {
  color: #eab308;
  font-size: 12px;
  margin-bottom: 4px;
}

.hotel-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hotel-location {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.hotel-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  width: fit-content;
}

.hotel-amenities-tags {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  flex-wrap: wrap;
}

.hotel-amenities-tags span {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.hotel-price-col {
  padding: 20px;
}

/* --------------------------------------------------------------------------
   6. PROMO GRID SECTION
   -------------------------------------------------------------------------- */
.promo-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid #e7ecf3;
  border-bottom: 1px solid #e7ecf3;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promo-card {
  background: linear-gradient(135deg, #0050b3, #0064d2);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-card.hotel-promo {
  background: linear-gradient(135deg, #9333ea, #6366f1);
}

.promo-card.car-promo {
  background: linear-gradient(135deg, #059669, #10b981);
}

.promo-card-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 14px;
}

.promo-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.promo-card-body p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.4;
}

.promo-code-pill {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.promo-code-pill strong {
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   7. FEATURES (KEUNGGULAN) SECTION
   -------------------------------------------------------------------------- */
.features-section {
  padding: 50px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid #e7ecf3;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.bg-blue-light { background: #e0f2fe; }
.bg-green-light { background: #dcfce7; }
.bg-yellow-light { background: #fef9c3; }
.bg-purple-light { background: #f3e8ff; }

.feature-box h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.payment-partner-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. MODALS & POPUPS SYSTEM
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 30, 80, 0.25);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1.5px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f4f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: var(--accent-red);
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
}

/* Checkout Specifics */
.checkout-dialog {
  max-width: 1040px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

.form-section-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
}

.form-section-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group .required {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 100, 210, 0.12);
}

.phone-input-wrap {
  display: flex;
  align-items: center;
}

.phone-prefix {
  background: #e2e8f0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--text-muted);
}

.phone-input-wrap .form-control {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Payment Methods Grid */
.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-item:hover {
  border-color: var(--primary);
}

.payment-method-item.selected {
  border-color: var(--primary);
  background: #f0f7ff;
}

.pay-logo-badge {
  font-weight: 800;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #ffffff;
}

.pay-logo-badge.bca { background: #005baa; }
.pay-logo-badge.mandiri { background: #002d62; }
.pay-logo-badge.qris { background: #d92424; }
.pay-logo-badge.cc { background: #1e293b; }

.pay-desc strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.pay-desc small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sidebar Receipt */
.sidebar-receipt-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 20px;
}

.receipt-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #edf2f7;
}

.promo-box-input {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
}

.promo-box-input label {
  font-size: 12.5px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
  display: block;
}

.promo-input-group {
  display: flex;
  gap: 6px;
}

.promo-input-group input {
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
  border: 1.5px solid #d97706;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
}

.btn-apply-coupon {
  background: #d97706;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.coupon-feedback {
  margin-top: 8px;
}

.badge-success-mini {
  font-size: 12px;
  color: #15803d;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.price-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.free-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.receipt-divider {
  border: none;
  border-top: 1.5px dashed #cbd5e1;
  margin: 6px 0;
}

.price-row.total-row {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 700;
}

.total-amount {
  font-size: 22px;
  color: #ff5e00;
  font-weight: 800;
}

.btn-confirm-payment {
  margin-top: 18px;
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 100, 210, 0.35);
  transition: var(--transition);
}

.btn-confirm-payment:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.safe-trans-text {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   10. PAYMENT SIMULATION MODAL
   -------------------------------------------------------------------------- */
.small-dialog {
  max-width: 440px;
  padding: 30px;
}

.spinner-circle {
  width: 54px;
  height: 54px;
  border: 4px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pay-process-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pay-process-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

.va-display-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.va-title {
  font-size: 13px;
  color: var(--text-muted);
}

.va-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  margin: 10px 0;
}

.va-timer {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   11. OFFICIAL E-TIKET MODAL STYLES
   -------------------------------------------------------------------------- */
.eticket-dialog {
  max-width: 820px;
}

.eticket-modal-header {
  background: #f0fdf4;
  border-bottom: 1.5px solid #bbf7d0;
}

.success-banner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-icon {
  font-size: 32px;
  color: #16a34a;
}

.success-banner h3 {
  font-size: 18px;
  font-weight: 800;
  color: #15803d;
}

.success-banner p {
  font-size: 13px;
  color: #166534;
}

.official-ticket-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ticket-top {
  background: #004fb0;
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-brand .logo-text {
  color: white;
  font-size: 22px;
}

.badge-status-paid {
  background: #16a34a;
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  margin-left: 12px;
}

.ticket-booking-code {
  text-align: right;
}

.ticket-booking-code .code-label {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.ticket-booking-code .code-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--secondary-yellow);
}

.ticket-content-body {
  padding: 24px;
  background: #ffffff;
  border-bottom: 1.5px dashed #cbd5e1;
}

.ticket-passenger-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 24px;
  background: #f8fafc;
  border-bottom: 1.5px dashed #cbd5e1;
}

.info-cell .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-cell strong {
  font-size: 13.5px;
  color: var(--text-main);
}

.ticket-bottom-bar {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.qr-code-box {
  text-align: center;
  border-right: 1.5px solid #e2e8f0;
  padding-right: 24px;
}

.fake-qr-svg {
  color: #1e293b;
  margin-bottom: 6px;
}

.qr-code-box small {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
}

.ticket-notes h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.ticket-notes ul {
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.eticket-footer {
  padding: 16px 28px;
  border-top: 1.5px solid #edf2f7;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-secondary {
  background: #e2e8f0;
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #cbd5e1;
}

/* --------------------------------------------------------------------------
   12. YOUR ORDERS (PESANAN SAYA) MODAL
   -------------------------------------------------------------------------- */
.orders-dialog {
  max-width: 900px;
}

.orders-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid #edf2f7;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.order-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.order-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.orders-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-history-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.order-history-card:hover {
  border-color: var(--primary);
}

.order-history-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.order-type-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.order-info-meta h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.order-code-badge {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.order-date-text {
  font-size: 13px;
  color: var(--text-muted);
}

.order-history-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.order-price-box {
  text-align: right;
}

.order-price-box .amount {
  font-size: 18px;
  font-weight: 800;
  color: #ff5e00;
  display: block;
}

.order-price-box .status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.status-active { background: #dcfce7; color: #15803d; }
.status-canceled { background: #fee2e2; color: #b91c1c; }

/* --------------------------------------------------------------------------
   13. CITY & AIRPORT PICKER MODAL
   -------------------------------------------------------------------------- */
.picker-dialog {
  max-width: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.picker-header h4 {
  font-size: 16px;
  font-weight: 800;
}

.picker-close {
  font-size: 16px;
  color: var(--text-muted);
}

.picker-search {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 14px;
}

.picker-search i {
  color: var(--text-muted);
  margin-right: 8px;
}

.picker-search input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-family: inherit;
  font-size: 14px;
}

.picker-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.picker-item:hover {
  background: #f0f7ff;
}

.picker-item .city-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.picker-item .airport-name {
  font-size: 12px;
  color: var(--text-muted);
}

.picker-item .code-badge {
  background: #e2e8f0;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   14. AUTH MODAL
   -------------------------------------------------------------------------- */
.auth-dialog {
  max-width: 420px;
}

.auth-body {
  padding: 24px;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  background: white;
  padding: 0 10px;
  position: relative;
  font-size: 12px;
  color: var(--text-muted);
}

.social-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-social-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px;
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
}

.btn-social-auth:hover {
  background: #f8fafc;
  border-color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. TOAST NOTIFICATION CONTAINER
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  background: #1e293b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  animation: slideInRight 0.3s ease;
}

.toast-item.success {
  background: #15803d;
}

.toast-item.error {
  background: #b91c1c;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   16. PRINT MEDIA STYLES
   -------------------------------------------------------------------------- */
@media print {
  body * {
    visibility: hidden;
  }
  #eticketPrintArea, #eticketPrintArea * {
    visibility: visible;
  }
  #eticketPrintArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .modal-overlay {
    background: none;
    position: static;
  }
  .modal-dialog {
    box-shadow: none;
    max-height: none;
  }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* ========================
   TABLET (max-width: 1024px)
   ======================== */
@media (max-width: 1024px) {
  /* Header */
  .header-nav {
    display: none;
  }
  .header-search-bar {
    width: 200px;
  }
  .header-search-bar:focus-within {
    width: 230px;
  }
  .currency-pill {
    display: none;
  }

  /* Search Widget */
  .flight-input-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hotel-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .btn-swap-route {
    display: none;
  }
  .search-btn-block {
    grid-column: 1 / -1;
  }
  .btn-search-primary {
    width: 100%;
    height: 56px;
    font-size: 15px;
  }

  /* Results */
  .results-layout {
    grid-template-columns: 1fr;
  }
  .results-filter-sidebar {
    position: static;
  }

  /* Promo & Features */
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Checkout */
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================
   MOBILE (max-width: 768px)
   ======================== */
@media (max-width: 768px) {

  /* ── Global ── */
  .container {
    padding: 0 16px;
  }

  /* ── Top Announcement Bar ── */
  .top-announcement {
    font-size: 12px;
    padding: 6px 0;
  }
  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .announcement-text {
    flex-wrap: wrap;
    gap: 6px;
  }
  .top-bar-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  .top-bar-links a {
    font-size: 11px;
  }

  /* ── Main Header ── */
  .header-container {
    height: 60px;
    gap: 10px;
  }
  .header-left {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .logo-text {
    font-size: 22px;
  }
  .logo-dot {
    width: 9px;
    height: 9px;
  }
  .header-search-bar {
    display: none; /* hide desktop search bar; user uses widget */
  }
  .header-nav {
    display: none;
  }
  .currency-pill {
    display: none;
  }
  .btn-orders span {
    display: none; /* show only icon on mobile */
  }
  .btn-orders {
    padding: 8px 10px;
    gap: 0;
  }
  .user-auth-section {
    gap: 6px;
  }
  .btn-login {
    padding: 7px 12px;
    font-size: 13px;
  }
  .btn-register {
    padding: 7px 12px;
    font-size: 13px;
  }

  /* ── Hero Section ── */
  .hero-section {
    padding: 36px 0 80px;
    min-height: auto;
  }
  .hero-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* ── Widget Tabs Pill ── */
  .booking-widget-wrapper {
    padding: 0;
  }
  .widget-tabs-pill {
    display: flex;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: -16px;
    justify-content: flex-start;
  }
  .widget-tabs-pill::-webkit-scrollbar {
    display: none;
  }
  .tab-pill-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12.5px;
    gap: 6px;
  }
  .tab-icon-wrap {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .tab-label {
    white-space: nowrap;
  }
  .pill-badge {
    font-size: 9px;
    padding: 1px 5px;
  }

  /* ── Search Card ── */
  .widget-search-card {
    padding: 28px 16px 18px;
    border-radius: 16px;
  }
  .panel-sub-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }
  .radio-trip-group {
    gap: 16px;
  }
  .chip-info {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Flight / Booking Input Grid – stack all vertically */
  .flight-input-grid,
  .hotel-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 8px;
  }
  .btn-swap-route {
    display: none;
  }
  .span-two {
    grid-column: span 1;
  }
  .input-block {
    min-height: 64px;
    padding: 10px 12px;
  }
  .main-city {
    font-size: 14.5px;
  }
  .airport-code {
    font-size: 11.5px;
  }
  .formatted-date {
    font-size: 14px;
  }
  .search-btn-block {
    grid-column: 1 / -1;
  }
  .btn-search-primary {
    width: 100%;
    height: 52px;
    font-size: 15px;
    border-radius: 12px;
  }
  .clean-select,
  .clean-text-input {
    font-size: 14px;
  }

  /* Widget bottom promo */
  .widget-bottom-promo {
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* ── Destinations Quick Bar ── */
  .quick-destinations-section {
    padding: 20px 0 8px;
  }
  .section-heading {
    font-size: 18px;
  }
  .section-sub {
    font-size: 13px;
  }
  .destinations-pill-row {
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .destinations-pill-row::-webkit-scrollbar {
    display: none;
  }
  .dest-chip {
    padding: 7px 14px;
    font-size: 13px;
  }

  /* ── Results Section ── */
  .results-section {
    padding: 16px 0 40px;
  }
  .results-header-bar {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 12px;
  }
  .results-main-title {
    font-size: 18px;
  }
  .results-sub-info {
    font-size: 12.5px;
  }
  .results-sort-bar {
    width: 100%;
    justify-content: flex-end;
  }
  .sort-dropdown {
    flex: 1;
    max-width: 220px;
  }
  .results-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .results-filter-sidebar {
    position: static;
  }
  .filter-card {
    padding: 16px;
  }

  /* ── Ticket Cards (Flight) ── */
  .ticket-card {
    grid-template-columns: 1fr !important;
    padding: 16px;
    gap: 14px;
    border-radius: 12px;
  }
  .flight-journey-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .airline-brand {
    min-width: unset;
  }
  .time-route-block {
    width: 100%;
  }
  .time-point .time {
    font-size: 16px;
  }
  .ticket-facilities-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .ticket-price-action {
    border-left: none;
    border-top: 1.5px dashed #e2e8f0;
    padding-left: 0;
    padding-top: 14px;
    align-items: flex-start;
    text-align: left;
    min-width: unset;
  }
  .price-final {
    font-size: 20px;
  }
  .btn-select-ticket {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
  }

  /* ── Hotel Cards ── */
  .hotel-card {
    grid-template-columns: 1fr !important;
  }
  .hotel-thumb-box {
    min-height: 160px;
    border-radius: 12px 12px 0 0;
  }
  .hotel-details-col {
    padding: 14px;
  }
  .hotel-price-col {
    padding: 14px;
    border-top: 1px solid #e7ecf3;
  }

  /* ── Promo Section ── */
  .promo-section {
    padding: 32px 0;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .promo-card {
    padding: 20px;
    border-radius: 14px;
  }
  .promo-card-body h3 {
    font-size: 18px;
  }

  /* ── Features Section ── */
  .features-section {
    padding: 32px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-box {
    padding: 18px;
    border-radius: 12px;
  }

  /* ── Footer ── */
  .main-footer {
    padding: 36px 0 16px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }
  .footer-logo {
    font-size: 24px;
  }
  .footer-desc {
    font-size: 13px;
  }

  /* ── Modals ── */
  .modal-overlay {
    padding: 0;
    align-items: flex-end; /* slide up from bottom on mobile */
  }
  .modal-dialog {
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
    width: 100%;
    animation: modalSlideUpMobile 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes modalSlideUpMobile {
    from { transform: translateY(100%); opacity: 0.5; }
    to { transform: translateY(0); opacity: 1; }
  }
  .modal-header {
    padding: 16px 18px;
  }
  .modal-title {
    font-size: 17px;
  }
  .modal-body {
    padding: 16px 18px;
  }

  /* Checkout Modal */
  .checkout-dialog {
    max-width: 100%;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .payment-options-grid {
    grid-template-columns: 1fr;
  }
  .booking-item-summary {
    border-radius: 10px;
  }
  .sidebar-receipt-card {
    position: static;
  }

  /* Eticket Modal */
  .eticket-dialog {
    max-width: 100%;
  }
  .ticket-passenger-section {
    grid-template-columns: 1fr 1fr;
  }
  .ticket-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .qr-code-box {
    border-right: none;
    border-bottom: 1.5px solid #e2e8f0;
    padding-right: 0;
    padding-bottom: 16px;
    width: 100%;
  }
  .eticket-footer {
    flex-direction: column;
    padding: 14px 18px;
    gap: 8px;
  }
  .eticket-footer button {
    width: 100%;
    justify-content: center;
  }
  .ticket-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
  }
  .ticket-booking-code {
    text-align: left;
  }

  /* Orders Modal */
  .orders-dialog {
    max-width: 100%;
  }
  .orders-nav-tabs {
    gap: 6px;
    flex-wrap: wrap;
  }
  .order-tab-btn {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .order-history-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .order-history-right {
    width: 100%;
    justify-content: space-between;
  }

  /* City Picker Modal */
  .picker-dialog {
    max-width: 100%;
    padding: 16px;
    border-radius: 20px 20px 0 0;
  }

  /* Auth Modal */
  .auth-dialog {
    max-width: 100%;
  }

  /* Payment Process Modal */
  .small-dialog {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: 20px 20px 0 0;
  }

  /* Toast */
  .toast-container {
    bottom: 16px;
    right: 12px;
    left: 12px;
    align-items: stretch;
  }
  .toast-item {
    font-size: 13px;
    border-radius: 10px;
  }
}

/* ========================
   SMALL MOBILE (max-width: 480px)
   ======================== */
@media (max-width: 480px) {
  /* Header tighter */
  .header-right {
    gap: 8px;
  }
  .btn-login {
    display: none; /* only show Register on very small */
  }
  .orders-counter {
    min-width: 16px;
    font-size: 10px;
    padding: 1px 4px;
  }

  /* Hero */
  .hero-title {
    font-size: 21px;
  }
  .hero-subtitle {
    font-size: 13px;
  }

  /* Widget tabs */
  .tab-pill-btn {
    padding: 7px 10px;
    font-size: 12px;
    gap: 5px;
  }

  /* Search card */
  .widget-search-card {
    padding: 24px 12px 16px;
  }
  .input-block {
    padding: 8px 10px;
    min-height: 60px;
  }

  /* E-ticket passenger section */
  .ticket-passenger-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Results header */
  .results-main-title {
    font-size: 16px;
  }

  /* Promo code pill */
  .promo-code-pill {
    font-size: 12px;
    padding: 7px 10px;
  }
}

