/* ==========================================================================
   EdWorld Flights - Nigerian Travel Experience & Customised Bootstrap 5 Theme
   ========================================================================== */

:root {
  /* EdWorld Flights Brand Colors (Rich Nigerian Emerald & Gold) */
  --edw-green-dark: #00361a;
  --edw-green-deep: #004d25;
  --edw-green-primary: #006837; /* Official Nigeria Emerald */
  --edw-green-light: #00843d;
  --edw-green-subtle: #eaf6ee;
  --edw-gold: #ffb81c;
  --edw-gold-hover: #e5a415;
  --edw-gold-subtle: #fff9e6;
  --edw-action: #00843d;
  --edw-action-hover: #006837;
  --edw-bg: #f4f7f5;
  --edw-text-dark: #121914;
  --edw-text-muted: #526057;
  --edw-border-color: #e1e8e3;
  --edw-card-shadow: 0 4px 14px rgba(0, 54, 26, 0.08);
  --edw-card-shadow-hover: 0 10px 28px rgba(0, 54, 26, 0.14);
  --edw-radius: 10px;
  --edw-radius-lg: 14px;
  --font-edworld: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-edworld);
  background-color: var(--edw-bg);
  color: var(--edw-text-dark);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Customised Bootstrap Overrides & Utilities
   ========================================================================== */
.btn-primary {
  background-color: var(--edw-green-primary) !important;
  border-color: var(--edw-green-primary) !important;
  font-weight: 700;
  border-radius: var(--edw-radius);
  transition: all 0.2s ease-in-out;
  color: #ffffff !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--edw-green-dark) !important;
  border-color: var(--edw-green-dark) !important;
  box-shadow: 0 4px 16px rgba(0, 104, 55, 0.35) !important;
  transform: translateY(-1px);
}

.btn-warning-brand {
  background-color: var(--edw-gold) !important;
  color: #002e16 !important;
  font-weight: 800;
  border: none;
  border-radius: var(--edw-radius);
  transition: all 0.2s ease-in-out;
}
.btn-warning-brand:hover {
  background-color: var(--edw-gold-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 184, 28, 0.45);
}

.btn-outline-primary {
  color: var(--edw-green-primary);
  border-color: var(--edw-green-primary);
  font-weight: 700;
  border-radius: var(--edw-radius);
}
.btn-outline-primary:hover {
  background-color: var(--edw-green-subtle);
  color: var(--edw-green-dark);
  border-color: var(--edw-green-dark);
}

.form-check-input:checked {
  background-color: var(--edw-green-primary);
  border-color: var(--edw-green-primary);
}

.form-check-input:focus {
  border-color: var(--edw-green-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 104, 55, 0.25);
}

/* ==========================================================================
   Header & EdWorld Flights Navigation
   ========================================================================== */
.header-edworld {
  background: linear-gradient(135deg, var(--edw-green-deep) 0%, var(--edw-green-primary) 100%);
  color: #ffffff;
  padding-top: 14px;
  border-bottom: 3px solid var(--edw-gold);
}

.brand-logo-edw {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-logo-edw .globe-icon {
  color: var(--edw-gold);
  font-size: 1.8rem;
}
.brand-logo-edw .brand-highlight {
  color: #ffffff;
}
.brand-logo-edw .badge-travel {
  background-color: var(--edw-gold);
  color: #00361a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

.nav-service-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-service-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

.category-tabs-container {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.category-tabs-container::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 30px;
  transition: background 0.15s ease;
  margin-right: 6px;
}
.category-pill:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.category-pill.active {
  background-color: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--edw-gold);
  font-weight: 700;
  color: var(--edw-gold-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-banner {
  background: linear-gradient(135deg, var(--edw-green-deep) 0%, var(--edw-green-primary) 100%);
  color: #ffffff;
  padding-top: 28px;
  padding-bottom: 74px;
}

.hero-banner h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero-banner p {
  font-size: 1.25rem;
  opacity: 0.92;
}

/* EdWorld Gold & Emerald Bordered Search Container */
.search-widget-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

.search-box-card {
  background: #ffffff;
  border-radius: var(--edw-radius-lg);
  border: 4px solid var(--edw-gold);
  box-shadow: 0 10px 35px rgba(0, 54, 26, 0.15);
  padding: 18px;
}

.trip-type-label {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--edw-text-dark);
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 1.2fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

@media (max-width: 991px) {
  .search-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.search-input-group {
  position: relative;
  background: #ffffff;
  border: 2px solid #94a39b;
  border-radius: var(--edw-radius);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-input-group:focus-within,
.search-input-group.active {
  border-color: var(--edw-green-primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.2);
}

.search-input-group .input-icon {
  font-size: 1.3rem;
  color: var(--edw-green-primary);
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input-group .input-body {
  flex-grow: 1;
  min-width: 0;
}

.search-input-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--edw-text-muted);
  margin-bottom: -2px;
  letter-spacing: 0.4px;
}

.search-input-group input,
.search-input-group .text-value {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--edw-text-dark);
  padding: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Swap Route Button */
.btn-swap-route {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edw-green-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  margin: 0 auto;
}
.btn-swap-route:hover {
  background: var(--edw-green-subtle);
  transform: rotate(180deg);
  border-color: var(--edw-green-primary);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--edw-radius);
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  max-height: 330px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.autocomplete-dropdown.show {
  display: block;
}

.airport-option {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f4f1;
  transition: background 0.15s ease;
}
.airport-option:last-child {
  border-bottom: none;
}
.airport-option:hover, .airport-option.active {
  background-color: var(--edw-green-subtle);
}
.airport-iata {
  background-color: var(--edw-green-subtle);
  color: var(--edw-green-primary);
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* Travelers & Cabin Dropdown Panel */
.travelers-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 340px;
  background: #ffffff;
  border-radius: var(--edw-radius);
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  padding: 18px;
  z-index: 1000;
  display: none;
}
.travelers-popover.show {
  display: block;
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4f1;
}
.counter-row:last-child {
  border-bottom: none;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--edw-green-primary);
  background: #ffffff;
  color: var(--edw-green-primary);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stepper-btn:hover:not(:disabled) {
  background: var(--edw-green-primary);
  color: #ffffff;
}
.stepper-btn:disabled {
  border-color: #ced4da;
  color: #ced4da;
  cursor: not-allowed;
}

/* ==========================================================================
   Filter Sidebar & Results
   ========================================================================== */
.main-content-section {
  padding-top: 36px;
  padding-bottom: 60px;
}

.filter-sidebar {
  background: #ffffff;
  border-radius: var(--edw-radius-lg);
  border: 1px solid var(--edw-border-color);
  padding: 20px;
  box-shadow: var(--edw-card-shadow);
  position: sticky;
  top: 20px;
}

.filter-heading {
  font-size: 1.1rem;
  font-weight: 800;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edw-border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid #f0f4f1;
}
.filter-group:last-child {
  border-bottom: none;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--edw-text-dark);
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.92rem;
}
.filter-row:last-child {
  margin-bottom: 0;
}

.filter-price-tag {
  color: var(--edw-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sort Tabs Bar */
.sort-tabs-container {
  background: #ffffff;
  border-radius: var(--edw-radius);
  border: 1px solid var(--edw-border-color);
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 18px;
}

.sort-tab-item {
  flex: 1;
  padding: 12px 14px;
  text-align: center;
  cursor: pointer;
  border-right: 1px solid var(--edw-border-color);
  background: #ffffff;
  transition: all 0.15s ease;
  user-select: none;
}
.sort-tab-item:last-child {
  border-right: none;
}
.sort-tab-item:hover {
  background-color: var(--edw-green-subtle);
}
.sort-tab-item.active {
  border-bottom: 3px solid var(--edw-green-primary);
  background-color: #ffffff;
}
.sort-tab-item .sort-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--edw-text-dark);
}
.sort-tab-item.active .sort-label {
  color: var(--edw-green-primary);
}
.sort-tab-item .sort-sub {
  font-size: 0.78rem;
  color: var(--edw-text-muted);
}

/* ==========================================================================
   Flight Result Cards
   ========================================================================== */
.flight-card {
  background: #ffffff;
  border-radius: var(--edw-radius-lg);
  border: 1px solid var(--edw-border-color);
  box-shadow: var(--edw-card-shadow);
  margin-bottom: 18px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.flight-card:hover {
  box-shadow: var(--edw-card-shadow-hover);
  border-color: #a8dfbc;
  transform: translateY(-2px);
}

.flight-card-body {
  padding: 20px;
}

.airline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a1a1a;
}
.airline-logo-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #ffffff;
  flex-shrink: 0;
}

.eco-pill {
  background: var(--edw-green-subtle);
  color: var(--edw-green-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Flight timeline graphic */
.flight-timeline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
}

.timeline-time-block {
  text-align: left;
  min-width: 90px;
}
.timeline-time-block.right {
  text-align: right;
}

.flight-time {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--edw-text-dark);
  line-height: 1.1;
}

.flight-airport-code {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--edw-text-muted);
}

.timeline-route-path {
  flex-grow: 1;
  text-align: center;
  position: relative;
}

.route-duration {
  font-size: 0.82rem;
  color: var(--edw-text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.route-line-graphic {
  position: relative;
  height: 2px;
  background-color: #adb5bd;
  margin: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-stop-dot {
  width: 8px;
  height: 8px;
  background: #d9534f;
  border-radius: 50%;
  position: absolute;
  top: -3px;
}

.route-line-plane {
  position: absolute;
  top: -10px;
  background: #ffffff;
  padding: 0 4px;
  color: var(--edw-green-primary);
  font-size: 0.95rem;
}

.route-stop-text {
  font-size: 0.8rem;
  font-weight: 700;
}
.route-stop-text.direct {
  color: var(--edw-green-primary);
}
.route-stop-text.layover {
  color: #d9534f;
}

/* Amenities Tags */
.amenities-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.amenity-chip {
  font-size: 0.8rem;
  color: var(--edw-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

@media (max-width: 767px) {
  .flight-price-col {
    border-left: none;
    border-top: 1px solid var(--edw-border-color);
    padding-left: 0;
    padding-top: 16px;
    margin-top: 16px;
    align-items: stretch;
    text-align: left;
  }
}

.price-subtext {
  font-size: 0.8rem;
  color: var(--edw-text-muted);
}

.flight-main-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--edw-green-deep);
  line-height: 1.1;
}

.flight-details-drawer {
  background: #fafcfb;
  border-top: 1px solid var(--edw-border-color);
  padding: 18px 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Fare Tier Cards
   ========================================================================== */
.fare-card {
  border: 2px solid var(--edw-border-color);
  border-radius: var(--edw-radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  position: relative;
}
.fare-card:hover {
  border-color: var(--edw-green-primary);
}
.fare-card.selected {
  border-color: var(--edw-green-primary);
  background-color: var(--edw-green-subtle);
}

.fare-badge-recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--edw-green-deep);
  color: var(--edw-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fare-benefit-item {
  font-size: 0.85rem;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ==========================================================================
   Travel Insurance Cards
   ========================================================================== */
.insurance-card {
  border: 2px solid var(--edw-border-color);
  border-radius: var(--edw-radius);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.insurance-card:hover {
  border-color: var(--edw-green-primary);
  box-shadow: 0 4px 14px rgba(0, 104, 55, 0.1);
}
.insurance-card.selected {
  border-color: var(--edw-green-primary);
  background-color: var(--edw-green-subtle);
  box-shadow: 0 0 0 2px var(--edw-green-primary);
}
.insurance-popular-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background-color: var(--edw-gold);
  color: #002e16;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Interactive Payment Gateway Simulation (Paystack / Flutterwave Style)
   ========================================================================== */
.payment-tabs-nav {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-tab-btn {
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.payment-tab-btn:hover {
  color: var(--edw-green-primary);
}
.payment-tab-btn.active {
  color: var(--edw-green-primary);
  border-bottom-color: var(--edw-green-primary);
  background-color: var(--edw-green-subtle);
  border-radius: 8px 8px 0 0;
}

.bank-transfer-box {
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.virtual-account-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--edw-green-deep);
  background: #ffffff;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.payment-loader-overlay {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--edw-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

/* ==========================================================================
   Airplane Seat Map Custom Styling
   ========================================================================== */
.airplane-fuselage {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 120px 120px 30px 30px;
  padding: 40px 24px 30px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.airplane-cockpit-window {
  width: 90px;
  height: 24px;
  background: #004d25;
  border-radius: 20px 20px 0 0;
  margin: 0 auto 30px;
  opacity: 0.85;
}

.cabin-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--edw-text-muted);
  text-align: center;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.seat-row-number {
  width: 22px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--edw-text-muted);
  text-align: center;
}

.seat-block {
  display: flex;
  gap: 6px;
}

.seat-aisle-space {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #adb5bd;
}

.seat-box {
  width: 38px;
  height: 42px;
  border-radius: 8px 8px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #94a3b8;
  background: #ffffff;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
}
.seat-box:hover:not(.occupied) {
  transform: scale(1.08);
  border-color: var(--edw-green-primary);
}

.seat-box.occupied {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
}
.seat-box.selected {
  background: var(--edw-green-primary) !important;
  border-color: var(--edw-green-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.3);
}

.seat-box.premium {
  border-color: var(--edw-gold);
  background: #fffbeb;
  color: #b45309;
}
.seat-box.premium.selected {
  background: #b45309 !important;
  color: #ffffff !important;
}

.seat-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 10px;
}
.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #94a3b8;
}

/* ==========================================================================
   Boarding Pass & Confirmation Receipt
   ========================================================================== */
.boarding-pass-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 2px solid var(--edw-border-color);
}

.boarding-pass-header {
  background: linear-gradient(135deg, var(--edw-green-deep) 0%, var(--edw-green-primary) 100%);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--edw-gold);
}

.boarding-pass-body {
  padding: 24px;
  position: relative;
}

.boarding-cutout-divider {
  position: relative;
  border-top: 2px dashed #cbd5e1;
  margin: 24px -24px;
}
.boarding-cutout-divider::before,
.boarding-cutout-divider::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  background-color: var(--edw-bg);
  border-radius: 50%;
}
.boarding-cutout-divider::before {
  left: -12px;
}
.boarding-cutout-divider::after {
  right: -12px;
}

.ticket-data-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--edw-text-muted);
  letter-spacing: 0.5px;
}
.ticket-data-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--edw-text-dark);
}

.barcode-strip {
  height: 52px;
  background: repeating-linear-gradient(
    90deg,
    #111,
    #111 2px,
    #fff 2px,
    #fff 4px,
    #111 4px,
    #111 8px,
    #fff 8px,
    #fff 11px
  );
  border-radius: 4px;
  margin-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-edworld {
  background-color: var(--edw-green-dark);
  color: #ffffff;
  padding-top: 48px;
  padding-bottom: 30px;
  font-size: 0.88rem;
  border-top: 4px solid var(--edw-gold);
}
.footer-edworld a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-edworld a:hover {
  color: var(--edw-gold);
  text-decoration: underline;
}

.toast-container {
  z-index: 1090;
}

/* ==========================================================================
   Live Insurance API Pipeline Tracker (AGENTS.md)
   ========================================================================== */
.api-workflow-tracker {
  background: #ffffff;
  border-bottom: 1px solid var(--edw-border-color);
  font-size: 0.8rem;
}

.pulse-indicator {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.pipeline-steps-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: thin;
}

.pipeline-steps-bar::-webkit-scrollbar {
  height: 4px;
}
.pipeline-steps-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.pipe-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.pipe-step.pending {
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
}

.pipe-step.running {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  animation: pulse-step 1s infinite alternate;
}

@keyframes pulse-step {
  from { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  to { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }
}

.pipe-step.success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #6ee7b7;
}

.pipe-step.success::before {
  content: "✓";
  font-weight: 900;
  color: #059669;
}

.pipe-step.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}

.pipe-arrow {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: bold;
  user-select: none;
}

/* API Log Drawer */
.api-log-drawer {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
}

.api-log-feed {
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-log-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 3px;
}

.api-log-time {
  color: #64748b;
  min-width: 65px;
}

.api-log-tag {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
}
.api-log-tag.running { background: #1e3a8a; color: #93c5fd; }
.api-log-tag.success { background: #064e3b; color: #6ee7b7; }
.api-log-tag.error { background: #7f1d1d; color: #fca5a5; }

.api-log-msg {
  color: #f8fafc;
  word-break: break-all;
}

/* Real-Time Quotes Cards */
.insurance-card.live-api-card {
  position: relative;
  border: 2px solid var(--edw-border-color);
  background: #ffffff;
  border-radius: var(--edw-radius-lg);
  padding: 18px;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.insurance-card.live-api-card:hover {
  border-color: var(--edw-green-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 55, 0.12);
}

.insurance-card.live-api-card.selected {
  border-color: var(--edw-green-primary);
  background: var(--edw-green-subtle);
  box-shadow: 0 6px 20px rgba(0, 104, 55, 0.18);
}

.insurance-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coverage-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

