/* ==========================================================================
   CLEARTRIP MODERN DESIGN SYSTEM & TRAVEL UI
   ========================================================================== */

:root {
  --primary: #FF4F17;
  --primary-hover: #E43E08;
  --primary-light: #FFF2EE;
  --primary-border: #FFD2C2;
  
  --navy: #0E1B42;
  --navy-light: #16285A;
  --navy-dark: #070D22;
  
  --blue: #2563EB;
  --blue-light: #EFF6FF;
  
  --emerald: #059669;
  --emerald-light: #ECFDF5;
  --emerald-border: #A7F3D0;
  
  --amber: #D97706;
  --amber-light: #FFFBEB;
  
  --rose: #E11D48;
  --rose-light: #FFE4E6;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  
  --border-color: #E2E8F0;
  --border-light: #EDF2F7;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(14, 27, 66, 0.1), 0 8px 10px -6px rgba(14, 27, 66, 0.05);
  --shadow-float: 0 14px 34px rgba(255, 79, 23, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #FF4F17 0%, #FF7A45 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 79, 23, 0.3);
}

.brand-logo span.dot {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-tab.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.nav-tab svg {
  width: 18px;
  height: 18px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-offer {
  background: #FFF1EB;
  color: #FF4F17;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.btn-header-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

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

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-admin-pill:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 12px rgba(14, 27, 66, 0.2);
}

/* User Switcher Dropdown */
.user-menu {
  position: relative;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.user-pill:hover {
  border-color: var(--border-color);
  background: white;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   HERO SEARCH BANNER & SEARCH WIDGET
   ========================================================================== */

.hero-section {
  background: linear-gradient(180deg, #0E1B42 0%, #16285A 65%, #1E3A8A 100%);
  padding: 44px 20px 90px;
  color: white;
  position: relative;
  overflow: visible;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.hero-heading span {
  color: #FFA07A;
}

.hero-subtitle {
  font-size: 16px;
  color: #94A3B8;
  margin-bottom: 28px;
}

/* Main Search Box */
.search-widget-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  padding: 24px 28px;
  color: var(--text-main);
  position: relative;
  margin-bottom: -60px;
  z-index: 10;
}

.search-vertical-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.search-v-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.search-v-tab:hover {
  color: var(--navy);
  background: #E2E8F0;
}

.search-v-tab.active {
  background: var(--navy);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 27, 66, 0.2);
}

/* Sub-options (Trip type, Cabin class, etc.) */
.search-sub-options {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.radio-pill-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-main);
}

.radio-label input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Search Fields Grid */
.search-grid-flight {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr 1.5fr 2fr;
  gap: 12px;
  margin-bottom: 20px;
}

.search-grid-hotel {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr;
  gap: 12px;
  margin-bottom: 20px;
}

.search-grid-package {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: 12px;
  margin-bottom: 20px;
}

.search-field-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background: white;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.search-field-box:hover,
.search-field-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 23, 0.12);
}

.search-field-box label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.search-field-box input,
.search-field-box select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}

.search-field-box select:invalid,
.search-field-box select:has(option[value=""]:checked) {
  color: #94A3B8;
  font-weight: 600;
}

.search-field-box select option {
  color: var(--navy);
  font-weight: 600;
  background: white;
}

.search-field-box .field-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Submit Action Button */
.search-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.special-fare-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fare-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.fare-pill:hover,
.fare-pill.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
  font-weight: 700;
}

.btn-search-cta {
  background: linear-gradient(135deg, #FF4F17 0%, #FF6838 100%);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 79, 23, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-search-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 79, 23, 0.45);
  background: linear-gradient(135deg, #E63E09 0%, #FF5A24 100%);
}

/* ==========================================================================
   OFFERS & PROMOS CAROUSEL / SECTION
   ========================================================================== */

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 20px 40px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  text-decoration: underline;
}

/* Offer Cards */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.offer-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF4F17, #FFA07A);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 12px;
}

.offer-code-badge {
  background: #FFF2ED;
  border: 1px dashed var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   POPULAR DESTINATIONS & PACKAGES
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.dest-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.dest-image-wrap {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.dest-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dest-card:hover .dest-image-wrap img {
  transform: scale(1.06);
}

.dest-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 27, 66, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.dest-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dest-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.dest-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dest-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.price-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.price-label {
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   FLIGHT SEARCH RESULTS PAGE
   ========================================================================== */

.layout-results {
  max-width: 1240px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
}

/* Sidebar Filters */
.filters-sidebar {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.filter-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.filter-reset {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-main);
}

.filter-checkbox-item input {
  margin-right: 8px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.filter-count {
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Time of Departure Pills */
.time-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.time-slot-btn {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
  background: white;
  transition: all 0.2s ease;
}

.time-slot-btn:hover,
.time-slot-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

/* Flight Results Cards */
.results-header-bar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sort-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-tab-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-muted);
}

.sort-tab-btn.active {
  background: var(--navy);
  color: white;
  font-weight: 700;
}

/* Flight Item Card */
.flight-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 180px 1fr 160px;
  align-items: center;
  gap: 20px;
  transition: all 0.2s ease;
  position: relative;
}

.flight-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.airline-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.airline-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  border: 1px solid var(--border-color);
}

.airline-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.airline-fcode {
  font-size: 12px;
  color: var(--text-light);
}

.flight-timings-col {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

.time-box {
  text-align: center;
}

.time-big {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.airport-code {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.duration-stops-box {
  text-align: center;
  min-width: 110px;
}

.duration-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.stop-line {
  position: relative;
  height: 2px;
  background: var(--border-color);
  margin: 6px 0;
}

.stop-line.nonstop {
  background: var(--emerald);
}

.stop-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
}

.flight-price-action {
  text-align: right;
  border-left: 1px solid var(--border-light);
  padding-left: 20px;
}

.price-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.price-sub {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.btn-book-sm {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-book-sm:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(255, 79, 23, 0.3);
}

/* ==========================================================================
   HOTEL RESULTS CARDS
   ========================================================================== */

.hotel-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 20px;
  transition: all 0.2s ease;
}

.hotel-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
}

.hotel-thumb {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.hotel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hotel-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.hotel-stars {
  color: #F59E0B;
  font-size: 14px;
  display: inline-flex;
  gap: 2px;
  margin-bottom: 6px;
}

.hotel-location {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.hotel-amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.amenity-tag {
  font-size: 11px;
  background: var(--bg-soft);
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.hotel-price-col {
  text-align: right;
  border-left: 1px solid var(--border-light);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0E1B42;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  align-self: flex-end;
}

/* ==========================================================================
   CHECKOUT & PAYMENT STYLING
   ========================================================================== */

.checkout-layout {
  max-width: 1180px;
  margin: 36px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

.checkout-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.checkout-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 23, 0.12);
}

/* Order Summary Box */
.summary-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.summary-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-line.total {
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-input-group input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-apply-coupon {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-pay-now {
  background: var(--primary);
  color: white;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 79, 23, 0.35);
  transition: all 0.2s ease;
}

.btn-pay-now:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(255, 79, 23, 0.45);
}

/* ==========================================================================
   E-TICKET BOARDING PASS VOUCHER
   ========================================================================== */

.voucher-container {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
}

.voucher-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.voucher-header {
  background: linear-gradient(135deg, #0E1B42 0%, #16285A 100%);
  color: white;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voucher-pnr-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
}

.voucher-body {
  padding: 32px;
}

.flight-route-banner {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 28px;
}

.qr-code-placeholder {
  width: 110px;
  height: 110px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--navy);
  color: white;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.admin-brand {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.admin-menu {
  padding: 20px 12px;
  flex: 1;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #94A3B8;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.admin-menu-link:hover,
.admin-menu-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-menu-link.active {
  background: var(--primary);
  color: white;
}

.admin-main {
  background: var(--bg-page);
  padding: 32px 36px;
  overflow-y: auto;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-table-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.admin-table th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #F8FAFC;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.confirmed,
.status-badge.active,
.status-badge.paid {
  background: var(--emerald-light);
  color: var(--emerald);
}

.status-badge.cancelled {
  background: var(--rose-light);
  color: var(--rose);
}

.status-badge.pending {
  background: var(--amber-light);
  color: var(--amber);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #0E1B42;
  color: #94A3B8;
  padding: 60px 20px 30px;
  margin-top: 60px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
  color: white;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-col-title {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .search-grid-flight,
  .search-grid-hotel,
  .search-grid-package {
    grid-template-columns: 1fr 1fr;
  }
  .layout-results,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

/* Grid / flex children may shrink below their content width instead of widening the page */
.layout-results > *,
.checkout-layout > *,
.detail-two-col > *,
.room-row > * {
  min-width: 0;
}

@media (max-width: 860px) {
  .detail-two-col,
  .room-row {
    grid-template-columns: 1fr !important;
  }
  .hotel-gallery {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .hotel-gallery > * {
    max-height: 260px;
  }
  .room-row-price {
    text-align: left !important;
    border-left: none !important;
    padding-left: 0 !important;
  }
  .package-book-bar {
    padding: 18px !important;
  }
}

.legal-body table {
  word-break: break-word;
}

@media (max-width: 640px) {
  .results-header-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .sort-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  .results-search-form > * {
    flex: 1 1 100%;
    min-width: 0;
  }
  .results-search-form select,
  .results-search-form input {
    width: 100%;
    min-width: 0;
  }
  .search-grid-flight,
  .search-grid-hotel,
  .search-grid-package {
    grid-template-columns: 1fr;
  }
  .flight-card,
  .hotel-card {
    grid-template-columns: 1fr;
  }
}

/* Header: logo + 5 service tabs + account buttons only fit on one row above ~1100px */
@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 20px;
  }
  .search-vertical-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .search-vertical-tabs::-webkit-scrollbar {
    display: none;
  }
  .search-v-tab {
    flex-shrink: 0;
    padding: 9px 14px;
  }
  .search-sub-options {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-sub-options > div[style*="margin-left: auto"] {
    margin-left: 0 !important;
  }
  /* Service tabs scroll sideways instead of widening the page */
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-tab {
    flex-shrink: 0;
  }
}
