/* LineOps / NxtOps - Official Qatar Airways 1:1 UI Clone & Design System */

/* 1. Authentic Qatar Airways Web Fonts (Downloaded from qatarairways.com) */
@font-face {
  font-family: 'Jotia';
  src: url('/assets/fonts/jotia_thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jotia';
  src: url('/assets/fonts/jotia_light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jotia';
  src: url('/assets/fonts/jotia_light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('/assets/fonts/Graphik-Light-Web.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('/assets/fonts/Graphik-Regular-Web.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('/assets/fonts/Graphik-Medium-Web.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('/assets/fonts/Graphik-Medium-Web.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'icomoon';
  src: url('/assets/fonts/icomoon.woff') format('woff'),
       url('/assets/fonts/icomoon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* Official Qatar Airways Tokens (designtoken.min.css) */
  --f-brand-color-primary: #5c0931;
  --f-brand-color-primary-hover: #6e0b3b;
  --f-brand-color-secondary: #8e2157;
  --f-brand-color-background-page: #f2f3fa;
  --f-brand-color-background-light: #ffffff;
  --f-brand-color-text-default: #1f212b;
  --f-brand-color-text-muted: #4a525d;
  --f-brand-color-text-light: #ffffff;
  --f-brand-color-border-default: #dbdee8;
  --f-brand-color-border-primary: #5c0931;
  --f-brand-border-radius-outer: 16px;
  --f-brand-border-radius-rounded: 999px;

  --qr-burgundy: #5c0931;
  --qr-burgundy-hover: #6e0b3b;
  --qr-burgundy-dark: #3c0026;
  --qr-gold: #c5a880;
  --qr-gold-light: #ffeed8;
  --qr-gold-dark: #8c5617;
  --qr-surface-page: #f2f3fa;
  --qr-text-primary: #1f212b;
  --qr-text-secondary: #4a525d;
  --qr-border: #dbdee8;

  --font-jotia: 'Jotia', Verdana, Geneva, sans-serif;
  --font-graphik: 'Graphik Web', Arial, Helvetica, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}

/* 2. Global Page Reset & Background (Exact Qatar Airways #f2f3fa Canvas, excluding Live Flights) */
html.has-active-career:not([data-active-tab="live-flights"]),
html.has-active-career:not([data-active-tab="live-flights"]) body:not(.view-live-flights) {
  background-color: #f2f3fa !important;
  background-image: none !important;
  color: #1f212b !important;
  font-family: var(--font-graphik) !important;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html.has-active-career:not([data-active-tab="live-flights"]) body:not(.view-live-flights)::before,
html.has-active-career:not([data-active-tab="live-flights"]) body:not(.view-live-flights)::after {
  display: none !important;
}

/* Remove narrow wrapper constraint on #career-dashboard so Hero is 100vw Full-Bleed (except Live Flights) */
html.has-active-career:not([data-active-tab="live-flights"]) body:not(.view-live-flights) #career-dashboard.career-dashboard {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flow-root !important;
}

/* Constrain non-dashboard subviews nicely inside Qatar's 1192px container below a burgundy top bar (Keep #live-flights-view full-screen!) */
html.has-active-career #schedules-view,
html.has-active-career #dispatch-view,
html.has-active-career #bookings-view,
html.has-active-career #job-offers-view,
html.has-active-career #pilot-center-view,
html.has-active-career #company-view,
html.has-active-career #flight-details-view,
html.has-active-career #settings-view {
  max-width: 1192px !important;
  width: calc(100% - 32px) !important;
  margin: 104px auto 64px auto !important;
}

/* 3. Qatar Airways Top Header Bar (Transparent over Hero on Dashboard & Live Flights, Burgundy on Sub-pages) */
html.has-active-career .dashboard-nav,
body.view-live-flights .dashboard-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1200 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1192px) / 2)) !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: auto !important;
}

/* On Live Flights full-screen radar map, use a midnight radar glass gradient for the new top menu bar */
html.has-active-career[data-active-tab="live-flights"] .dashboard-nav,
body.view-live-flights .dashboard-nav {
  background: linear-gradient(180deg, rgba(6, 11, 19, 0.88) 0%, rgba(6, 11, 19, 0.52) 72%, rgba(6, 11, 19, 0) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* When viewing any tab other than dashboard or live-flights, give header solid Qatar Airways burgundy backdrop */
html.has-active-career:not([data-active-tab="dashboard"]):not([data-active-tab="live-flights"]) body:not(.view-live-flights) .dashboard-nav {
  background: #5c0931 !important;
  box-shadow: 0 4px 20px rgba(31, 33, 43, 0.15) !important;
}

/* When scrolled down on dashboard past hero, smoothly give header solid Qatar Airways burgundy backdrop */
html.has-active-career[data-active-tab="dashboard"] body:not(.view-live-flights) .dashboard-nav.is-scrolled {
  background: #5c0931 !important;
  box-shadow: 0 4px 20px rgba(31, 33, 43, 0.25) !important;
}

/* Brand Logo (Left side of Header - Official NxtOps Skewed Mint Badge & Manrope Wordmark) */
html.has-active-career .dashboard-nav .nav-brand-slot,
body.view-live-flights .dashboard-nav .nav-brand-slot {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

html.has-active-career .dashboard-nav .nav-brand-slot .brand,
body.view-live-flights .dashboard-nav .nav-brand-slot .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  font: 800 26px/1 'Manrope', sans-serif !important;
  color: #ffffff !important;
  text-decoration: none !important;
  letter-spacing: -1px !important;
  text-transform: none !important;
}

html.has-active-career .dashboard-nav .nav-brand-slot .brand .brandmark,
body.view-live-flights .dashboard-nav .nav-brand-slot .brand .brandmark {
  width: 34px !important;
  height: 34px !important;
  margin-right: 10px !important;
  border-radius: 7px !important;
  background: #7ce4c2 !important;
  border: none !important;
  color: #0b1418 !important;
  font: 800 22px/1 'Manrope', sans-serif !important;
  letter-spacing: -1px !important;
  display: grid !important;
  place-items: center !important;
  transform: skew(-9deg) !important;
  box-shadow: 0 0 20px rgba(124, 228, 194, 0.35) !important;
}

html.has-active-career .dashboard-nav .nav-brand-slot .brand span:not(.brandmark),
body.view-live-flights .dashboard-nav .nav-brand-slot .brand span:not(.brandmark) {
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -1px !important;
}

html.has-active-career .dashboard-nav .nav-brand-slot::after,
body.view-live-flights .dashboard-nav .nav-brand-slot::after {
  display: none !important;
  content: none !important;
}

/* Center Navigation Links — Exact Qatar Airways Clean Horizontal Text Links (NO PILL, NO ICONS) */
html.has-active-career .dashboard-nav .nav-center-slot,
body.view-live-flights .dashboard-nav .nav-center-slot {
  flex: 1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  padding-left: 32px !important;
}

html.has-active-career .dashboard-nav .glass-menubar,
body.view-live-flights .dashboard-nav .glass-menubar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

html.has-active-career .dashboard-nav .glass-pill-indicator,
body.view-live-flights .dashboard-nav .glass-pill-indicator {
  display: none !important;
}

html.has-active-career .dashboard-nav .glass-nav-item,
body.view-live-flights .dashboard-nav .glass-nav-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 26px 14px 24px 14px !important;
  color: #ffffff !important;
  font-family: var(--font-graphik) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  position: relative !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
}

/* Hide the old SVG icons in the top nav to match Qatar Airways' pure typography nav */
html.has-active-career .dashboard-nav .glass-nav-item .nav-item-icon,
body.view-live-flights .dashboard-nav .glass-nav-item .nav-item-icon {
  display: none !important;
}

html.has-active-career .dashboard-nav .glass-nav-item .nav-item-text,
body.view-live-flights .dashboard-nav .glass-nav-item .nav-item-text {
  font-family: var(--font-graphik) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
}

html.has-active-career .dashboard-nav .glass-nav-item:hover .nav-item-text,
body.view-live-flights .dashboard-nav .glass-nav-item:hover .nav-item-text {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

html.has-active-career .dashboard-nav .glass-nav-item[aria-selected="true"]::after,
html.has-active-career .dashboard-nav .glass-nav-item.is-selected::after,
body.view-live-flights .dashboard-nav .glass-nav-item[aria-selected="true"]::after,
body.view-live-flights .dashboard-nav .glass-nav-item.is-selected::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #ffffff;
}

/* Right Header Utility Slot (Sign Out Button in Website Theme) */
html.has-active-career .dashboard-nav .nav-status-slot,
body.view-live-flights .dashboard-nav .nav-status-slot {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.qr-nav-signout-btn,
html.has-active-career .dashboard-nav .qr-nav-signout-btn,
body.view-live-flights .dashboard-nav .qr-nav-signout-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: #ffffff !important;
  font-family: var(--font-graphik) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.qr-nav-signout-btn:hover,
html.has-active-career .dashboard-nav .qr-nav-signout-btn:hover,
body.view-live-flights .dashboard-nav .qr-nav-signout-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #5c0931 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
  text-shadow: none !important;
}

.qr-nav-signout-btn svg,
html.has-active-career .dashboard-nav .qr-nav-signout-btn svg,
body.view-live-flights .dashboard-nav .qr-nav-signout-btn svg {
  color: currentColor !important;
  flex-shrink: 0 !important;
}

/* Hide legacy dark cards below the intranet on the main dashboard view to prevent FOUC / flashes on reload */
.dashboard-welcome-header,
.career-stats,
.dashboard-row-hero,
.dashboard-row-details,
.dashboard-next,
#crew-intranet-mount:not(:empty) ~ .dashboard-welcome-header,
#crew-intranet-mount:not(:empty) ~ .career-stats,
#crew-intranet-mount:not(:empty) ~ .dashboard-row-hero,
#crew-intranet-mount:not(:empty) ~ .dashboard-row-details,
#crew-intranet-mount:not(:empty) ~ .dashboard-next {
  display: none !important;
}

/* Style the Live Flights & Latest Arrivals boards below the intranet to match Qatar Airways' 1192px light cards */
#crew-intranet-mount:not(:empty) ~ .dashboard-live-board {
  max-width: 1192px !important;
  width: calc(100% - 32px) !important;
  margin: 0 auto 40px auto !important;
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  color: #1f212b !important;
  padding: 28px 32px !important;
}

/* ==========================================================================
   4. QATAR AIRWAYS FULL-BLEED HERO BANNER (.hero-image-new)
   ========================================================================== */
.qr-page-wrapper {
  width: 100%;
  background-color: #f2f3fa;
  color: #1f212b;
  font-family: var(--font-graphik);
  padding-bottom: 48px;
}

.qr-hero-banner {
  position: relative;
  width: 100%;
  height: 540px;
  background-color: #3c0026;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.qr-hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.qr-hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Authentic Qatar Airways Dual Gradient Shadow Overlays */
.qr-hero-picture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}

.qr-hero-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.qr-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 16px;
}

.qr-hero-teaser {
  max-width: 600px;
  color: #ffffff;
  margin-top: -20px;
}

.qr-hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* Exact Qatar Airways Hero Title: Jotia Thin/Light, 40px, sentence case */
.qr-hero-teaser h1 {
  font-family: var(--font-jotia) !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  line-height: 48px !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.qr-hero-teaser p.qr-hero-subtitle {
  font-family: var(--font-graphik) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 24px !important;
  color: #ffffff !important;
  margin: 0 0 28px 0 !important;
}

/* Exact Qatar Airways Hero Ghost Pill Button (.btn.knowmore) */
.qr-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-family: var(--font-graphik);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.qr-btn-hero-outline:hover {
  background: #ffffff;
  color: #5c0931;
}

/* ==========================================================================
   5. QATAR AIRWAYS FLOATING BOOKING / BIDDING WIDGET (.nbw-container)
   ========================================================================== */
.qr-bw-section {
  position: relative;
  z-index: 25;
  max-width: 1192px;
  width: calc(100% - 32px);
  margin: -96px auto 48px auto;
}

.qr-bw-card {
  background: #ffffff !important;
  color: #1e293b !important;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 34px rgba(31, 33, 43, 0.12);
  overflow: hidden;
}

/* Top Tab Bar of Booking Widget */
.qr-bw-tabs {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

.qr-bw-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  background: #f8fafc !important;
  border: none !important;
  border-right: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-family: var(--font-graphik);
  font-size: 15px;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-bw-tab:last-child {
  border-right: none !important;
}

.qr-bw-tab:hover {
  background: #ffffff !important;
  color: #5c0931 !important;
}

.qr-bw-tab.is-active {
  background: #ffffff !important;
  color: #5c0931 !important;
  font-weight: 700 !important;
}

/* Burgundy active indicator bar at top of active tab */
.qr-bw-tab.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #5c0931 !important;
}

.qr-bw-tab svg {
  width: 18px;
  height: 18px;
  color: #5c0931 !important;
  flex-shrink: 0;
}

/* Booking Widget Inner Body */
.qr-bw-body {
  padding: 24px 32px 28px 32px;
  background: #ffffff !important;
  color: #1e293b !important;
}

/* Radio Options Row (Return / One way / Multi-city) */
.qr-bw-trip-types {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.qr-radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.qr-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 600 !important;
  color: #1e293b !important;
  cursor: pointer;
}

.qr-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.2s;
}

.qr-radio-label.is-checked .qr-radio-dot {
  border-color: #5c0931 !important;
}

.qr-radio-label.is-checked .qr-radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c0931 !important;
}

/* Live Telemetry Strip on Right of Radio Row */
.qr-bw-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-graphik);
  font-size: 13px;
  color: #475569 !important;
}

.qr-bw-telemetry-strip strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Unified Bordered Input Box (From | Swap | To | Dates | Fleet/Role) */
.qr-bw-inputs-bar {
  display: grid;
  grid-template-columns: 1.2fr 40px 1.2fr 1.1fr 1.2fr;
  align-items: stretch;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px;
  background: #ffffff !important;
  min-height: 70px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.qr-bw-inputs-bar:focus-within {
  border-color: #5c0931 !important;
  box-shadow: 0 0 0 3px rgba(92, 9, 49, 0.15) !important;
}

.qr-bw-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  position: relative;
}

.qr-bw-field.has-divider {
  border-left: 1.5px solid #e2e8f0 !important;
}

.qr-bw-field-label {
  font-family: var(--font-graphik);
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.qr-bw-field-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.qr-bw-field-main {
  font-family: var(--font-graphik);
  font-size: 16px;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-bw-field-code {
  font-family: var(--font-graphik);
  font-size: 13.5px;
  font-weight: 700 !important;
  color: #64748b !important;
}

.qr-bw-dest-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-family: var(--font-graphik);
  font-size: 15.5px;
  font-weight: 600 !important;
  color: #0f172a !important;
  width: 100%;
  padding: 0;
}

.qr-bw-dest-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400;
}

/* Operational Widget Content Panels */
.qr-widget-op-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 356px;
  box-sizing: border-box;
}

.qr-widget-op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}

.qr-widget-op-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-widget-op-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fdf2f6;
  color: #5c0931;
}

.qr-widget-op-badge.is-green {
  background: #ecfdf5;
  color: #059669;
}

.qr-widget-op-badge.is-gold {
  background: #fefce8;
  color: #b45309;
}

.qr-widget-op-title {
  font-family: var(--font-graphik);
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* Briefing Meta Row & Badges */
.qr-widget-op-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #475569;
  flex-wrap: wrap;
}

.qr-dispatch-released-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.5px;
}

.qr-roster-progress-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

/* 4-Column Operational Briefing Grid */
.qr-widget-briefing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex: 1;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .qr-widget-briefing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .qr-widget-briefing-grid {
    grid-template-columns: 1fr;
  }
}

.qr-briefing-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.qr-briefing-col-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.qr-briefing-col-tag.is-light {
  color: #e2e8f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Gate Cards */
.qr-briefing-gate-col {
  background: #ffffff;
}

.qr-briefing-airport-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-briefing-code-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 8px 0;
}

.qr-briefing-iata {
  font-family: var(--font-jotia);
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.qr-briefing-icao {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.qr-gate-badge-box {
  background: #fdf2f6;
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  margin: 4px 0 6px 0;
}

.qr-gate-main-badge {
  font-family: var(--font-graphik);
  font-size: 19px;
  font-weight: 800;
  color: #5c0931;
  letter-spacing: 0.3px;
}

.qr-terminal-sub-badge {
  font-size: 12px;
  font-weight: 600;
  color: #831843;
  margin-top: 2px;
}

.qr-briefing-foot-note {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* Destination Photographic Card */
.qr-briefing-dest-col {
  background-size: cover;
  background-position: center;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.qr-briefing-dest-city-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px 0;
}

.qr-briefing-dest-city {
  font-family: var(--font-jotia);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.1;
}

.qr-briefing-dest-telemetry {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
}

.qr-dest-telem-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #f1f5f9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.qr-dest-telem-lbl {
  font-weight: 500;
  color: #cbd5e1;
}

.qr-dest-telem-val {
  font-weight: 700;
  color: #ffffff;
}

.qr-briefing-dest-sub {
  font-size: 10.5px;
  color: #cbd5e1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Hotel Card */
.qr-briefing-hotel-col {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.qr-hotel-header-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 6px 0;
}

.qr-hotel-name {
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.qr-hotel-stars {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
}

.qr-hotel-perks-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 4px 0 8px 0;
  font-size: 11.5px;
  color: #334155;
}

.qr-hotel-perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

.qr-hotel-perk-item svg {
  width: 14px;
  height: 14px;
  color: #5c0931;
  flex-shrink: 0;
}

.qr-hotel-contract-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  width: fit-content;
}

/* Bottom Strip Enhancements */
.qr-widget-op-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
}

.qr-telem-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  flex-shrink: 0;
}

.qr-widget-op-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .qr-widget-op-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qr-widget-op-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qr-widget-op-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qr-widget-op-stat-val {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.qr-widget-op-stat-sub {
  font-size: 11.5px;
  color: #64748b;
}

.qr-widget-op-strip {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid #e2e8f0;
}

.qr-widget-op-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* Autocomplete Suggestions Box for Destination */
.qr-dest-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.qr-dest-dropdown.is-open {
  display: block;
}

.qr-dest-option {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.qr-dest-option:hover {
  background: #fdf2f6;
}

.qr-dest-option strong {
  color: #0f172a;
  font-size: 13.5px;
}

.qr-dest-option small {
  color: #64748b;
  font-size: 11.5px;
}

/* Swap Icon Column Straddling From / To */
.qr-bw-swap-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-bw-swap-col::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #dbdee8;
}

.qr-bw-swap-btn {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dbdee8;
  color: #5c0931;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.qr-bw-swap-btn:hover {
  border-color: #5c0931;
  background: #fdf2f6;
  transform: rotate(180deg);
}

/* Bottom Action Row of Booking Widget (+ Add promo code / Search flights button) */
.qr-bw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.qr-bw-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 400;
  color: #5c0931;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.qr-bw-promo-link:hover {
  text-decoration: underline;
}

/* Authentic Qatar Airways Burgundy Pill CTA Button */
.qr-btn-search-flights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5c0931;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 15px 36px;
  font-family: var(--font-graphik);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.qr-btn-search-flights:hover {
  background: #6e0b3b;
}

/* ==========================================================================
   6. QATAR AIRWAYS CONTENT CONTAINER (1192px Centered)
   ========================================================================== */
.qr-main-container {
  max-width: 1192px;
  width: calc(100% - 32px);
  margin: 0 auto;
}

.qr-section-block {
  margin-bottom: 56px;
}

/* Exact Qatar Airways Section Headings: Jotia Light 32px, sentence case, #1f212b */
.qr-section-title {
  font-family: var(--font-jotia) !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  line-height: 40px !important;
  color: #1f212b !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.qr-section-subtitle {
  font-family: var(--font-graphik) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 24px !important;
  color: #4a525d !important;
  margin: 0 0 24px 0 !important;
}

/* ==========================================================================
   7. SECTION 1: SMALL TEASER 4-CARD ROW ("Start planning your next duty")
   Matches .tripcomponent .slider.varient4 from qatar-smallTeaser.css
   ========================================================================== */
.qr-small-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.qr-teaser-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31, 33, 43, 0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1f212b;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qr-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(31, 33, 43, 0.12);
}

.qr-teaser-card-img-wrap {
  width: 100%;
  height: 169px;
  overflow: hidden;
  position: relative;
  background: #3c0026;
}

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

.qr-teaser-card:hover .qr-teaser-card-img-wrap img {
  transform: scale(1.05);
}

.qr-teaser-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(31, 33, 43, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-graphik);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}

.qr-teaser-card-body {
  padding: 16px 20px 14px 20px;
  flex: 1;
}

.qr-teaser-card-title {
  font-family: var(--font-jotia);
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  color: #1f212b;
  margin: 0 0 6px 0;
}

.qr-teaser-card-desc {
  font-family: var(--font-graphik);
  font-size: 13.5px;
  font-weight: 300;
  color: #4a525d;
  margin: 0;
  line-height: 1.45;
}

.qr-teaser-card-link {
  margin: 0 20px;
  padding: 14px 0;
  border-top: 1px solid #dbdee8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 500;
  color: #1f212b;
}

.qr-teaser-card:hover .qr-teaser-card-link {
  color: #5c0931;
}

/* ==========================================================================
   8. SECTION 2: DESTINATION PAIRING CARDS ("Places we think you'll love")
   Exact match to .dpcomponent & .componentcards from qatar-destPrice.css
   ========================================================================== */
.qr-dp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.qr-dp-origin-selector {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-graphik);
  font-size: 16px;
  color: #1f212b;
}

.qr-dp-origin-input {
  font-family: var(--font-graphik);
  font-size: 16px;
  font-weight: 500;
  color: #5c0931;
  border: none;
  border-bottom: 1px solid #5c0931;
  padding-bottom: 3px;
  cursor: pointer;
}

/* Photographic Destination Pairing Cards Grid */
.qr-dp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Make the first card span 2 columns like Qatar Airways' featured destination card (.bigcard) */
.qr-dp-card.is-featured {
  grid-column: span 2;
}

.qr-dp-card {
  position: relative;
  height: 342px;
  border-radius: 20px;
  overflow: hidden;
  background: #1f212b;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(31, 33, 43, 0.08);
}

.qr-dp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease-in-out;
}

.qr-dp-card:hover img {
  transform: scale(1.05);
}

/* Exact Qatar Airways Card Bottom Gradient Overlay (.componentcards:before) */
.qr-dp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(31, 33, 43, 0.18) 45%,
    rgba(31, 33, 43, 0.72) 72%,
    rgba(31, 33, 43, 0.98) 100%
  );
  z-index: 1;
}

/* Top-left translucent glass pill (.flylabel) */
.qr-dp-flylabel {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 3;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(31, 33, 43, 0.55);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* Bottom overlay content (.post-content-wrapper .overlay) */
.qr-dp-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.qr-dp-dest-city {
  font-family: var(--font-jotia);
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.qr-dp-dates {
  font-family: var(--font-graphik);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.qr-dp-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 10px;
}

.qr-dp-class-label {
  display: block;
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.qr-dp-price {
  font-family: var(--font-jotia);
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
}

.qr-dp-bid-btn {
  background: #5c0931;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-graphik);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.qr-dp-bid-btn:hover {
  background: #ffffff;
  color: #5c0931;
}

/* ==========================================================================
   9. SECTION 3: OPERATIONAL HUB PANELS (Notifications, Bulletins, FTL)
   Styled in Clean Qatar Airways Card Design (#ffffff on #f2f3fa)
   ========================================================================== */
.qr-ops-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qr-clean-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.05);
  display: flex;
  flex-direction: column;
}

.qr-clean-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebeff5;
}

.qr-clean-card-title {
  font-family: var(--font-jotia);
  font-size: 22px;
  font-weight: 300;
  color: #1f212b;
  margin: 0;
}

.qr-status-pill {
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f2f3fa;
  color: #5c0931;
}

.qr-item-row {
  padding: 12px 0;
  border-bottom: 1px solid #ebeff5;
}

.qr-item-row:last-child {
  border-bottom: none;
}

.qr-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #6e7780;
  margin-bottom: 4px;
}

.qr-item-tag {
  color: #5c0931;
  font-weight: 500;
}

.qr-item-heading {
  font-family: var(--font-graphik);
  font-size: 14.5px;
  font-weight: 500;
  color: #1f212b;
  margin: 0 0 4px 0;
}

.qr-item-text {
  font-family: var(--font-graphik);
  font-size: 13px;
  font-weight: 300;
  color: #4a525d;
  margin: 0 0 8px 0;
  line-height: 1.45;
}

.qr-link-action {
  background: none;
  border: none;
  padding: 0;
  color: #5c0931;
  font-family: var(--font-graphik);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.qr-link-action:hover {
  text-decoration: underline;
}

/* ==========================================================================
   10. SECTION 4: PRIVILEGE CLUB WIDE BANNER (.teaser-content-strip)
   ========================================================================== */
.qr-privilege-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, #3c0026 0%, #5c0931 55%, rgba(92, 9, 49, 0.85) 100%);
  color: #ffffff;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: 0 12px 32px rgba(60, 0, 38, 0.18);
}

.qr-privilege-content {
  max-width: 560px;
}

.qr-privilege-eyebrow {
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #ffeed8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.qr-privilege-title {
  font-family: var(--font-jotia);
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.qr-privilege-desc {
  font-family: var(--font-graphik);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.qr-privilege-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.qr-priv-stat {
  display: flex;
  flex-direction: column;
}

.qr-priv-stat-val {
  font-family: var(--font-jotia);
  font-size: 28px;
  font-weight: 300;
  color: #ffffff;
}

.qr-priv-stat-lbl {
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 300;
  color: #ffeed8;
}

/* ==========================================================================
   11. MODAL DIALOG FOR DIRECTIVES
   ========================================================================== */
.qr-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 64px rgba(31, 33, 43, 0.35);
  max-width: 640px;
  width: calc(100% - 32px);
  background: #ffffff;
  font-family: var(--font-graphik);
}

.qr-modal::backdrop {
  background: rgba(31, 33, 43, 0.6);
  backdrop-filter: blur(4px);
}

.qr-modal-header {
  background: #5c0931;
  color: #ffffff;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.qr-modal-body {
  padding: 24px 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a525d;
}

.qr-modal-footer {
  padding: 16px 28px;
  background: #f2f3fa;
  border-top: 1px solid #dbdee8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .qr-bw-inputs-bar {
    grid-template-columns: 1fr 1fr;
  }
  .qr-bw-swap-col {
    display: none;
  }
  .qr-small-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-dp-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-ops-panels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html.has-active-career .dashboard-nav {
    height: auto !important;
    flex-wrap: wrap !important;
    padding: 12px 16px !important;
    background: #5c0931 !important;
    position: relative !important;
  }
  html.has-active-career #schedules-view,
  html.has-active-career #dispatch-view,
  html.has-active-career #bookings-view,
  html.has-active-career #job-offers-view,
  html.has-active-career #pilot-center-view,
  html.has-active-career #company-view,
  html.has-active-career #flight-details-view,
  html.has-active-career #settings-view {
    margin: 24px auto 48px auto !important;
  }
  .dashboard-nav .nav-center-slot {
    padding-left: 0 !important;
    width: 100% !important;
    overflow-x: auto !important;
  }
  .dashboard-nav .glass-nav-item {
    padding: 10px 10px !important;
  }
  .qr-hero-banner {
    height: 420px;
  }
  .qr-hero-teaser h1 {
    font-size: 28px !important;
    line-height: 34px !important;
  }
  .qr-bw-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-bw-inputs-bar {
    grid-template-columns: 1fr;
  }
  .qr-small-teaser-grid,
  .qr-dp-cards-grid {
    grid-template-columns: 1fr;
  }
  .qr-dp-card.is-featured {
    grid-column: span 1;
  }
}


/* ==========================================================================
   13. QATAR AIRWAYS 1:1 UI ADAPTATION FOR ALL REMAINING SECTIONS
       (Dashboard Live Board, Flight Operations, Dispatch Center, My Bookings,
        Job Offers, Company View, Pilot Center & Flight Analysis, Settings)
       NOTE: Live Flights (#live-flights-view / body.view-live-flights) is
       explicitly excluded so it retains our original dark radar design.
   ========================================================================== */

/* --- 13A. Global Sub-page Typography & Headings --- */
html.has-active-career #schedules-view,
html.has-active-career #dispatch-view,
html.has-active-career #bookings-view,
html.has-active-career #job-offers-view,
html.has-active-career #pilot-center-view,
html.has-active-career #company-view,
html.has-active-career #flight-details-view,
html.has-active-career #settings-view {
  font-family: var(--font-graphik) !important;
  color: #1f212b !important;
}

html.has-active-career .schedules-header .eyebrow,
html.has-active-career .career-jobs-heading .eyebrow,
html.has-active-career .pilot-profile-header .eyebrow,
html.has-active-career .pilot-panel .eyebrow,
html.has-active-career .pilot-analysis-section .eyebrow,
html.has-active-career .pilot-scoring-chart-card .eyebrow,
html.has-active-career .settings-heading .eyebrow,
html.has-active-career .bookings-heading .eyebrow,
html.has-active-career .bookings-next .eyebrow,
html.has-active-career .dispatch-title-group .dispatch-subtitle,
html.has-active-career .live-board-title .eyebrow {
  font-family: var(--font-graphik) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #5c0931 !important;
}

html.has-active-career .schedules-header h1,
html.has-active-career .career-jobs-heading h1,
html.has-active-career .pilot-profile-header h1,
html.has-active-career .pilot-details-header h1,
html.has-active-career .settings-heading h1,
html.has-active-career .bookings-heading h1 {
  font-family: var(--font-jotia) !important;
  font-size: 36px !important;
  font-weight: 300 !important;
  line-height: 44px !important;
  letter-spacing: 0 !important;
  color: #1f212b !important;
  text-shadow: none !important;
}

html.has-active-career .schedules-header p,
html.has-active-career .career-jobs-heading p:not(.eyebrow),
html.has-active-career .pilot-profile-header p:not(.eyebrow),
html.has-active-career .settings-heading p:not(.eyebrow),
html.has-active-career .bookings-heading p:not(.eyebrow) {
  font-family: var(--font-graphik) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #4a525d !important;
}

/* --- 13B. Dashboard Bottom Tables (.dashboard-live-board & #dashboard-arrivals-section) --- */
html.has-active-career .dashboard-live-board {
  max-width: 1192px !important;
  width: calc(100% - 32px) !important;
  margin: 0 auto 36px auto !important;
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
  padding: 28px 32px !important;
}

html.has-active-career .dashboard-live-board .eyebrow {
  font-family: var(--font-graphik) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #5c0931 !important;
  margin: 0 0 2px 0 !important;
}

html.has-active-career .live-board-title-row h2 {
  font-family: var(--font-jotia) !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html.has-active-career .live-board-desc,
html.has-active-career .live-board-sync-note,
html.has-active-career .live-board-empty p,
html.has-active-career .touchdown-sub,
html.has-active-career .flight-airline-name,
html.has-active-career .route-city {
  font-family: var(--font-graphik) !important;
  color: #4a525d !important;
}

html.has-active-career .pilot-rank-sub,
html.has-active-career .aircraft-network-sub,
html.has-active-career .arrival-time-exact {
  color: #6e7780 !important;
}

html.has-active-career .live-board-status-pill:not(.arrivals-pill) {
  background: rgba(92, 9, 49, 0.08) !important;
  border: 1px solid rgba(92, 9, 49, 0.2) !important;
  color: #5c0931 !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career .live-board-status-pill:not(.arrivals-pill) .pulse-dot {
  background: #5c0931 !important;
  box-shadow: 0 0 8px rgba(92, 9, 49, 0.4) !important;
}

html.has-active-career .btn-board-radar:not(.btn-arrivals-refresh) {
  background: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(92, 9, 49, 0.22) !important;
  backdrop-filter: none !important;
}

html.has-active-career .btn-board-radar:not(.btn-arrivals-refresh):hover {
  background: #730b3d !important;
  border-color: #730b3d !important;
}

html.has-active-career .btn-arrivals-refresh {
  background: #ffffff !important;
  border: 1.5px solid #5c0931 !important;
  color: #5c0931 !important;
  box-shadow: none !important;
}

html.has-active-career .btn-arrivals-refresh:hover {
  background: #5c0931 !important;
  color: #ffffff !important;
}

html.has-active-career .live-board-filters {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 999px !important;
  padding: 4px !important;
  backdrop-filter: none !important;
}

html.has-active-career .board-filter-btn {
  font-family: var(--font-graphik) !important;
  color: #4a525d !important;
  border-radius: 999px !important;
}

html.has-active-career .board-filter-btn.is-active {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.22) !important;
}

html.has-active-career .filter-badge-count {
  background: rgba(31, 33, 43, 0.08) !important;
  color: #1f212b !important;
}

html.has-active-career .board-filter-btn.is-active .filter-badge-count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

html.has-active-career .board-search-input {
  background: #f8f9fc !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
  font-family: var(--font-graphik) !important;
  border-radius: 999px !important;
  backdrop-filter: none !important;
}

html.has-active-career .board-search-input:focus {
  background: #ffffff !important;
  border-color: #5c0931 !important;
  box-shadow: 0 0 0 3px rgba(92, 9, 49, 0.12) !important;
}

html.has-active-career .live-board-table-container {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 12px !important;
}

html.has-active-career .live-board-table th {
  background: #f2f3fa !important;
  color: #4a525d !important;
  border-bottom: 1px solid #dbdee8 !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career .live-board-table td {
  color: #1f212b !important;
  border-bottom: 1px solid #ebeff5 !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career .live-board-row:hover td {
  background: #f8f9fc !important;
}

html.has-active-career .flight-callsign-text,
html.has-active-career .pilot-name-text,
html.has-active-career .route-code,
html.has-active-career .aircraft-type-text,
html.has-active-career .progress-pct-text,
html.has-active-career .arrival-time-relative {
  color: #1f212b !important;
}

html.has-active-career .telem-alt-text,
html.has-active-career .route-arrow,
html.has-active-career .carrier-fallback-badge {
  color: #5c0931 !important;
}

html.has-active-career .carrier-logo-mini img {
  filter: none !important;
}

html.has-active-career .board-progress-bar {
  background: #e2e8f0 !important;
}

html.has-active-career .board-progress-fill {
  background: #5c0931 !important;
}

html.has-active-career .btn-board-track {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #5c0931 !important;
}

html.has-active-career .btn-board-track:hover {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
}

html.has-active-career .btn-reset-filters {
  background: #ffffff !important;
  border: 1.5px solid #5c0931 !important;
  color: #5c0931 !important;
}

html.has-active-career .btn-reset-filters:hover {
  background: #5c0931 !important;
  color: #ffffff !important;
}

/* --- 13C. Flight Operations (#schedules-view) --- */
html.has-active-career #schedules-view .schedules-header {
  border-bottom: 1px solid #dbdee8 !important;
  padding-bottom: 20px !important;
}

/* 3 Mode Cards (Assigned Roster, Schedule Generator, StandBy Callout) */
html.has-active-career #schedules-view .mode-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .mode-card::before,
html.has-active-career #schedules-view .mode-card::after {
  display: none !important;
}

html.has-active-career #schedules-view .mode-card:hover {
  border-color: #5c0931 !important;
  box-shadow: 0 12px 28px rgba(31, 33, 43, 0.1) !important;
}

html.has-active-career #schedules-view .mode-card.is-selected {
  background: #ffffff !important;
  border-color: #5c0931 !important;
  box-shadow: inset 0 4px 0 #5c0931, 0 12px 28px rgba(92, 9, 49, 0.12) !important;
}

html.has-active-career #schedules-view .mode-icon {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #5c0931 !important;
  box-shadow: none !important;
}

html.has-active-career #schedules-view .mode-card.is-selected .mode-icon {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
}

html.has-active-career #schedules-view .mode-badge {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #4a525d !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #schedules-view .mode-card.is-selected .mode-badge {
  background: rgba(92, 9, 49, 0.08) !important;
  border-color: rgba(92, 9, 49, 0.25) !important;
  color: #5c0931 !important;
}

html.has-active-career #schedules-view .mode-card h3 {
  font-family: var(--font-jotia) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .mode-card p {
  font-family: var(--font-graphik) !important;
  color: #4a525d !important;
}

html.has-active-career #schedules-view .mode-meta {
  border-top: 1px solid #ebeff5 !important;
  color: #5c0931 !important;
}

/* Schedule Generator Filter Panel & Inputs */
html.has-active-career #schedules-view .schedules-panel,
html.has-active-career #schedules-view .generator-panel,
html.has-active-career #schedules-view .generator-controls,
html.has-active-career #schedules-view .roster-airline-banner,
html.has-active-career #schedules-view .roster-summary-card,
html.has-active-career #schedules-view .roster-sectors-container,
html.has-active-career #schedules-view .roster-header-card,
html.has-active-career #schedules-view .standby-hud-panel,
html.has-active-career #schedules-view .occx-card,
html.has-active-career #schedules-view .readyroom-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .generator-controls::before,
html.has-active-career #schedules-view .roster-airline-banner::before,
html.has-active-career #schedules-view .standby-hud-panel::before {
  display: none !important;
}

html.has-active-career #schedules-view .filter-group label,
html.has-active-career #schedules-view .filter-header span {
  font-family: var(--font-graphik) !important;
  color: #4a525d !important;
  font-weight: 500 !important;
}

html.has-active-career #schedules-view .filter-chips {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  box-shadow: none !important;
}

html.has-active-career #schedules-view .filter-chip {
  background: transparent !important;
  border-color: transparent !important;
  color: #4a525d !important;
  font-family: var(--font-graphik) !important;
  box-shadow: none !important;
}

html.has-active-career #schedules-view .filter-chip:hover {
  color: #1f212b !important;
  background: rgba(31, 33, 43, 0.05) !important;
}

html.has-active-career #schedules-view .filter-chip.is-active {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.25) !important;
}

html.has-active-career #schedules-view .msfs-toggle-wrapper,
html.has-active-career #schedules-view .time-box,
html.has-active-career #schedules-view .icao-input-box,
html.has-active-career #schedules-view .airport-input-bar,
html.has-active-career #schedules-view .aircraft-input-bar,
html.has-active-career #schedules-view .filter-select {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
  box-shadow: none !important;
}

html.has-active-career #schedules-view .msfs-toggle-title,
html.has-active-career #schedules-view .icao-input-box input,
html.has-active-career #schedules-view .airport-search-field,
html.has-active-career #schedules-view .aircraft-search-field,
html.has-active-career #schedules-view .time-box select {
  color: #1f212b !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #schedules-view .msfs-toggle-sub,
html.has-active-career #schedules-view .icao-input-box .input-prefix,
html.has-active-career #schedules-view .time-box span {
  color: #4a525d !important;
}

html.has-active-career #schedules-view .msfs-toggle-wrapper input:checked + .msfs-toggle-slider {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
}

html.has-active-career #schedules-view .msfs-toggle-wrapper input:checked + .msfs-toggle-slider::before {
  background: #ffffff !important;
  box-shadow: none !important;
}

html.has-active-career #schedules-view .airport-chip,
html.has-active-career #schedules-view .aircraft-chip {
  background: rgba(92, 9, 49, 0.08) !important;
  border: 1px solid rgba(92, 9, 49, 0.22) !important;
  color: #5c0931 !important;
}

html.has-active-career #schedules-view .airport-chip-code,
html.has-active-career #schedules-view .aircraft-chip-code {
  color: #5c0931 !important;
}

html.has-active-career #schedules-view .airport-chip-city,
html.has-active-career #schedules-view .aircraft-chip-name {
  color: #4a525d !important;
}

html.has-active-career #schedules-view .airport-dropdown-menu,
html.has-active-career #schedules-view .aircraft-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  box-shadow: 0 12px 32px rgba(31, 33, 43, 0.15) !important;
}

html.has-active-career #schedules-view .airport-dropdown-item,
html.has-active-career #schedules-view .aircraft-dropdown-item {
  color: #1f212b !important;
  border-bottom: 1px solid #ebeff5 !important;
}

html.has-active-career #schedules-view .airport-dropdown-item:hover,
html.has-active-career #schedules-view .aircraft-dropdown-item:hover {
  background: #f2f3fa !important;
}

html.has-active-career #schedules-view .airport-item-icao,
html.has-active-career #schedules-view .aircraft-item-icao {
  background: rgba(92, 9, 49, 0.08) !important;
  border-color: rgba(92, 9, 49, 0.2) !important;
  color: #5c0931 !important;
}

html.has-active-career #schedules-view .airport-item-name,
html.has-active-career #schedules-view .aircraft-item-name {
  color: #1f212b !important;
}

/* Primary Buttons in Schedules */
html.has-active-career #schedules-view .btn-generate,
html.has-active-career #schedules-view .btn-accept-roster,
html.has-active-career #schedules-view .btn-sector-dispatch,
html.has-active-career #schedules-view .btn-standby-accept,
html.has-active-career #schedules-view .occx-btn-accept,
html.has-active-career #schedules-view .readyroom-btn-primary {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.25) !important;
  text-shadow: none !important;
}

html.has-active-career #schedules-view .btn-generate:hover,
html.has-active-career #schedules-view .btn-accept-roster:hover {
  background: #6e0b3b !important;
}

html.has-active-career #schedules-view .btn-regenerate,
html.has-active-career #schedules-view .btn-secondary-roster,
html.has-active-career #schedules-view .occx-btn-decline {
  background: #ffffff !important;
  color: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

/* Roster Sector Cards & Headers */
html.has-active-career #schedules-view .roster-airline-banner h2,
html.has-active-career #schedules-view .roster-title-group h2,
html.has-active-career #schedules-view .roster-header-title h2,
html.has-active-career #schedules-view .occx-title,
html.has-active-career #schedules-view .readyroom-title {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .sector-card,
html.has-active-career #schedules-view .roster-sector-row {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(31, 33, 43, 0.04) !important;
  color: #1f212b !important;
  backdrop-filter: none !important;
}

html.has-active-career #schedules-view .sector-card::before,
html.has-active-career #schedules-view .sector-card::after {
  display: none !important;
}

html.has-active-career #schedules-view .sector-card.is-next,
html.has-active-career #schedules-view .sector-card.next-up {
  border-color: #5c0931 !important;
  box-shadow: inset 4px 0 0 #5c0931, 0 8px 24px rgba(92, 9, 49, 0.1) !important;
}

html.has-active-career #schedules-view .sector-card * {
  text-shadow: none !important;
}

html.has-active-career #schedules-view .sector-Endpoint .iata,
html.has-active-career #schedules-view .sector-iata,
html.has-active-career #schedules-view .occx-route-iata {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .sector-Endpoint .icao,
html.has-active-career #schedules-view .sector-icao {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #5c0931 !important;
}

html.has-active-career #schedules-view .sector-Endpoint .city,
html.has-active-career #schedules-view .sector-Endpoint .time,
html.has-active-career #schedules-view .sector-city,
html.has-active-career #schedules-view .sector-time {
  color: #4a525d !important;
}

html.has-active-career #schedules-view .sector-flight-badge,
html.has-active-career #schedules-view .flight-number-pill {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: none !important;
}

html.has-active-career #schedules-view .sector-center-pill,
html.has-active-career #schedules-view .sector-meta-pill,
html.has-active-career #schedules-view .roster-stat-pill,
html.has-active-career #schedules-view .occx-sub-box,
html.has-active-career #schedules-view .occx-telemetry-pill,
html.has-active-career #schedules-view .readyroom-stat-box {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #schedules-view .sector-pay-badge,
html.has-active-career #schedules-view .pay-amount {
  color: #5c0931 !important;
  font-family: var(--font-jotia) !important;
}

/* --- 13D. Flight Dispatch Center (#dispatch-view) --- */
html.has-active-career #dispatch-view .dispatch-top-bar,
html.has-active-career #dispatch-view .dispatch-card,
html.has-active-career #dispatch-view .metar-card,
html.has-active-career #dispatch-view .simbrief-box,
html.has-active-career #dispatch-view .dispatch-action-card,
html.has-active-career #dispatch-view .active-ops-banner {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #dispatch-view .dispatch-title-group h2,
html.has-active-career #dispatch-view .airport-code-row h4,
html.has-active-career #dispatch-view .ofp-exec-item strong,
html.has-active-career #dispatch-view .simbrief-info h4,
html.has-active-career #dispatch-view .action-info h4,
html.has-active-career #dispatch-view .active-ops-title h3 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #dispatch-view .dispatch-card-header h3 {
  font-family: var(--font-graphik) !important;
  color: #5c0931 !important;
  font-weight: 500 !important;
}

html.has-active-career #dispatch-view .dispatch-tabs {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 999px !important;
}

html.has-active-career #dispatch-view .dispatch-tab {
  color: #4a525d !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #dispatch-view .dispatch-tab.is-active {
  background: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.25) !important;
}

html.has-active-career #dispatch-view .metar-stats,
html.has-active-career #dispatch-view .metar-raw,
html.has-active-career #dispatch-view .ofp-exec-item,
html.has-active-career #dispatch-view .ofp-raw-box,
html.has-active-career #dispatch-view .simbrief-step,
html.has-active-career #dispatch-view .acars-Verify-grid .verify-item {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #dispatch-view .metar-stat strong,
html.has-active-career #dispatch-view .acars-Verify-grid .verify-item strong {
  color: #1f212b !important;
}

html.has-active-career #dispatch-view .metar-stat span,
html.has-active-career #dispatch-view .ofp-exec-item span,
html.has-active-career #dispatch-view .simbrief-info p,
html.has-active-career #dispatch-view .action-info p,
html.has-active-career #dispatch-view .airport-name {
  color: #4a525d !important;
}

html.has-active-career #dispatch-view .form-field select,
html.has-active-career #dispatch-view .form-field input,
html.has-active-career #dispatch-view .simbrief-username-box input {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
  border-radius: 8px !important;
}

html.has-active-career #dispatch-view .btn-simbrief-generate,
html.has-active-career #dispatch-view .btn-release-flight {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.25) !important;
}

html.has-active-career #dispatch-view .btn-simbrief-fetch,
html.has-active-career #dispatch-view .btn-refresh-wx,
html.has-active-career #dispatch-view .btn-save-sb,
html.has-active-career #dispatch-view .btn-back-schedules {
  background: #ffffff !important;
  color: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

/* --- 13E. My Bookings (#bookings-view) --- */
html.has-active-career #bookings-view .bookings-card,
html.has-active-career #bookings-view .dispatch-inline-workspace,
html.has-active-career #bookings-view .bookings-detail-drawer,
html.has-active-career #bookings-view .bookings-released-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #bookings-view .bookings-next h2,
html.has-active-career #bookings-view .bookings-stats strong,
html.has-active-career #bookings-view .bookings-list h2 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #bookings-view .bookings-stats span {
  color: #5c0931 !important;
  font-weight: 500 !important;
}

html.has-active-career #bookings-view .bookings-muted,
html.has-active-career #bookings-view .bookings-row small,
html.has-active-career #bookings-view .bookings-next p,
html.has-active-career #bookings-view .bookings-next-meta span,
html.has-active-career #bookings-view .bookings-columns {
  color: #4a525d !important;
}

html.has-active-career #bookings-view .bookings-row {
  border-bottom: 1px solid #ebeff5 !important;
  color: #1f212b !important;
}

html.has-active-career #bookings-view .dispatch-step-card,
html.has-active-career #bookings-view .bookings-drawer-item,
html.has-active-career #bookings-view .bookings-released-details div,
html.has-active-career #bookings-view .bookings-released-route,
html.has-active-career #bookings-view .dispatch-ofp,
html.has-active-career #bookings-view .dispatch-ofp-route,
html.has-active-career #bookings-view .dispatch-ofp-grid div {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #bookings-view .dispatch-step-title,
html.has-active-career #bookings-view .bookings-drawer-item strong,
html.has-active-career #bookings-view .bookings-released-details strong,
html.has-active-career #bookings-view .dispatch-ofp-grid strong,
html.has-active-career #bookings-view .dispatch-workspace-header h3 {
  color: #1f212b !important;
}

html.has-active-career #bookings-view .dispatch-step select {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #bookings-view .bookings-button {
  background: #ffffff !important;
  border: 1px solid #5c0931 !important;
  color: #5c0931 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #bookings-view .bookings-button-primary,
html.has-active-career #bookings-view .dispatch-release {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.25) !important;
}

/* --- 13F. Job Offers & Airline Applications (#job-offers-view) --- */
html.has-active-career #job-offers-view .job-offers-toggle {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 999px !important;
  padding: 4px !important;
}

html.has-active-career #job-offers-view .job-toggle-btn {
  color: #4a525d !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #job-offers-view .job-toggle-btn.is-active {
  background: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.22) !important;
}

html.has-active-career #job-offers-view .career-job-card,
html.has-active-career #job-offers-view .airline-app-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.05) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #job-offers-view .career-job-card:hover,
html.has-active-career #job-offers-view .airline-app-card:hover {
  border-color: #c2c8d8 !important;
  box-shadow: 0 8px 24px rgba(31, 33, 43, 0.09) !important;
}

html.has-active-career #job-offers-view .career-job-card.is-current-employer,
html.has-active-career #job-offers-view .airline-app-card.is-current-employer {
  border-color: rgba(16, 185, 129, 0.45) !important;
}

html.has-active-career #job-offers-view .career-job-card h2,
html.has-active-career #job-offers-view .app-card-title-row h3 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #job-offers-view .career-job-logo img,
html.has-active-career #job-offers-view .app-airline-logo img,
html.has-active-career .network-modal-logo img {
  filter: none !important;
}

html.has-active-career #job-offers-view .career-job-facts > div,
html.has-active-career #job-offers-view .app-stat-col,
html.has-active-career #job-offers-view .career-job-fleet,
html.has-active-career #job-offers-view .app-fleet-strip {
  background: #f8f9fc !important;
  border: 1px solid #ebeff5 !important;
  color: #1f212b !important;
}

html.has-active-career #job-offers-view .career-job-facts strong:not(.is-pay-burgundy),
html.has-active-career #job-offers-view .app-stat-val:not(.is-pay-burgundy) {
  color: #1f212b !important;
}

html.has-active-career #job-offers-view .career-job-facts strong.is-pay-burgundy,
html.has-active-career #job-offers-view .app-stat-val.is-pay-burgundy {
  color: #5c0931 !important;
}

html.has-active-career #job-offers-view .career-job-facts span,
html.has-active-career #job-offers-view .app-stat-label {
  color: #4a525d !important;
}

/* --- 13G. Company View (#company-view) --- */
html.has-active-career #company-view .company-hero-banner {
  background: linear-gradient(135deg, #3c0026 0%, #5c0931 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(92, 9, 49, 0.18) !important;
  color: #ffffff !important;
}

html.has-active-career #company-view .company-hero-banner::before {
  display: none !important;
}

html.has-active-career #company-view .company-logo-slot {
  background: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
}

html.has-active-career #company-view .company-logo-img {
  filter: none !important;
}

html.has-active-career #company-view .company-identity h1 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #ffffff !important;
}

html.has-active-career #company-view .company-codes-badge {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .company-status-badge {
  background: rgba(16, 185, 129, 0.22) !important;
  border: 1px solid rgba(110, 231, 183, 0.45) !important;
  color: #ecfdf5 !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .company-status-badge.browsing {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #f8fafc !important;
}

html.has-active-career #company-view .company-meta-line {
  color: rgba(255, 255, 255, 0.85) !important;
}

html.has-active-career #company-view .company-meta-item strong {
  color: #ffffff !important;
}

html.has-active-career #company-view .company-select-dropdown,
html.has-active-career #company-view .fleet-station-select {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #company-view .btn-return-employer {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .btn-return-employer:hover {
  background: rgba(255, 255, 255, 0.24) !important;
}

html.has-active-career #company-view .company-contract-bar,
html.has-active-career #company-view .company-kpi-card,
html.has-active-career #company-view .company-fleet-section,
html.has-active-career #company-view .hub-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  color: #1f212b !important;
}

html.has-active-career #company-view .hub-card {
  background: #f8f9fc !important;
  border-radius: 14px !important;
}

html.has-active-career #company-view .company-kpi-card::before {
  background: #5c0931 !important;
  opacity: 1 !important;
}

html.has-active-career #company-view .kpi-number {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #5c0931 !important;
}

html.has-active-career #company-view .kpi-title,
html.has-active-career #company-view .kpi-caption,
html.has-active-career #company-view .contract-stat-label,
html.has-active-career #company-view .fleet-section-title-wrap p,
html.has-active-career #company-view .hub-airport-name,
html.has-active-career #company-view .hub-info-col span,
html.has-active-career #company-view .fleet-model-sub {
  color: #4a525d !important;
}

html.has-active-career #company-view .contract-stat-value,
html.has-active-career #company-view .fleet-section-title-wrap h2,
html.has-active-career #company-view .hub-city-name,
html.has-active-career #company-view .hub-info-col h4,
html.has-active-career #company-view .fleet-model-cell {
  color: #1f212b !important;
}

html.has-active-career #company-view .contract-stat-value.is-good {
  color: #059669 !important;
}

html.has-active-career #company-view .fleet-section-title-wrap h2 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  font-size: 24px !important;
}

html.has-active-career #company-view .contract-stat-value.highlight {
  color: #5c0931 !important;
}

html.has-active-career #company-view .fleet-pill-btn {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #4a525d !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .fleet-pill-btn:hover:not(:disabled) {
  background: #ffffff !important;
  border-color: #5c0931 !important;
  color: #5c0931 !important;
}

html.has-active-career #company-view .fleet-pill-btn.active {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
}

html.has-active-career #company-view .fleet-search-box {
  background: #f8f9fc !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .fleet-search-input {
  background: transparent !important;
  color: #1f212b !important;
}

html.has-active-career #company-view .company-fleet-table-wrap {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 12px !important;
}

html.has-active-career #company-view .company-fleet-table th {
  background: #f2f3fa !important;
  color: #4a525d !important;
  border-bottom: 1px solid #dbdee8 !important;
}

html.has-active-career #company-view .company-fleet-table td {
  color: #1f212b !important;
  border-bottom: 1px solid #ebeff5 !important;
}

html.has-active-career #company-view .company-fleet-table tbody tr:hover td {
  background: #f8f9fc !important;
}

html.has-active-career #company-view .fleet-reg-badge,
html.has-active-career #company-view .hub-icao-badge,
html.has-active-career #company-view .kpi-badge-tag {
  background: rgba(92, 9, 49, 0.08) !important;
  border: 1px solid rgba(92, 9, 49, 0.2) !important;
  color: #5c0931 !important;
}

html.has-active-career #company-view .fleet-status-pill.ready {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
}

html.has-active-career #company-view .fleet-status-pill.flown {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

html.has-active-career #company-view .fleet-status-pill.stranded {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

html.has-active-career #company-view .btn-fly-tail {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
}

html.has-active-career #company-view .btn-fly-tail:hover {
  background: #730b3d !important;
  border-color: #730b3d !important;
}

/* --- 13H. Pilot Center, Flight Analysis & Passport (#pilot-center-view & #flight-details-view) --- */
html.has-active-career #pilot-center-view .pilot-profile-header,
html.has-active-career #pilot-center-view .pilot-panel:not(.pilot-passport-panel),
html.has-active-career #pilot-center-view .pilot-passport-card,
html.has-active-career #flight-details-view .pilot-analysis-section,
html.has-active-career #flight-details-view .pilot-scoring-chart-card,
html.has-active-career #flight-details-view .pilot-score-col-card,
html.has-active-career #flight-details-view .pilot-phase-accordion {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-profile-header {
  display: grid !important;
  grid-template-columns: auto 1fr auto auto auto auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 28px 32px !important;
}

@media (max-width: 1024px) {
  html.has-active-career #pilot-center-view .pilot-profile-header {
    grid-template-columns: auto 1fr !important;
  }
}

html.has-active-career #pilot-center-view .pilot-header-stat {
  padding: 12px 18px !important;
  border-radius: 12px !important;
  min-width: 118px !important;
  box-sizing: border-box !important;
}

html.has-active-career #pilot-center-view .pilot-header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* Unified Website-Themed Primary Action Button (Install EFB in Pilot Center & Ops Admin in Settings) */
.qr-theme-action-btn,
html.has-active-career #pilot-center-view .pilot-install-efb-btn,
html.has-active-career #settings-view .settings-ops-admin-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  color: #ffffff !important;
  font-family: var(--font-graphik) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.22) !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
  box-sizing: border-box !important;
}

.qr-theme-action-btn[hidden],
html.has-active-career #settings-view .settings-ops-admin-btn[hidden] {
  display: none !important;
}

.qr-theme-action-btn:hover,
html.has-active-career #pilot-center-view .pilot-install-efb-btn:hover,
html.has-active-career #settings-view .settings-ops-admin-btn:hover {
  background: #730b3d !important;
  border-color: #730b3d !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(92, 9, 49, 0.3) !important;
}

.qr-theme-action-btn svg,
html.has-active-career #pilot-center-view .pilot-install-efb-btn svg,
html.has-active-career #settings-view .settings-ops-admin-btn svg {
  color: currentColor !important;
  flex-shrink: 0 !important;
}

html.has-active-career #pilot-center-view .pilot-passport-card::before {
  background: #5c0931 !important;
}

html.has-active-career #pilot-center-view .pilot-avatar {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: none !important;
  font-family: var(--font-jotia) !important;
}

html.has-active-career #pilot-center-view .pilot-panel h2,
html.has-active-career #pilot-center-view .pilot-standing h2,
html.has-active-career #pilot-center-view .passport-title,
html.has-active-career #flight-details-view .pilot-analysis-title h3,
html.has-active-career #flight-details-view .pilot-chart-card-header h4 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-header-stat,
html.has-active-career #pilot-center-view .pilot-cert,
html.has-active-career #pilot-center-view .pilot-empty,
html.has-active-career #pilot-center-view .passport-mini-stat,
html.has-active-career #pilot-center-view .passport-stamp-badge,
html.has-active-career #pilot-center-view .pilot-fin-metric,
html.has-active-career #pilot-center-view .pilot-fin-rating-card,
html.has-active-career #flight-details-view .pilot-metric-card,
html.has-active-career #flight-details-view .pilot-score-box,
html.has-active-career #flight-details-view .pilot-xp-bar-container,
html.has-active-career #flight-details-view .pilot-phase-row {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-header-stat strong,
html.has-active-career #pilot-center-view .pilot-cert strong,
html.has-active-career #pilot-center-view .passport-mini-val strong,
html.has-active-career #pilot-center-view .pilot-fin-metric strong,
html.has-active-career #pilot-center-view .pilot-fin-rating-info strong,
html.has-active-career #pilot-center-view .pilot-log-row strong,
html.has-active-career #pilot-center-view .pilot-chart-row strong,
html.has-active-career #flight-details-view .pilot-metric-card strong,
html.has-active-career #flight-details-view .pilot-score-box strong,
html.has-active-career #flight-details-view .pilot-col-header h5,
html.has-active-career #flight-details-view .pilot-col-stat strong,
html.has-active-career #flight-details-view .pilot-phase-title strong,
html.has-active-career #flight-details-view .pilot-crit-info strong {
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-header-stat span,
html.has-active-career #pilot-center-view .pilot-cert small,
html.has-active-career #pilot-center-view .passport-mini-label,
html.has-active-career #pilot-center-view .passport-mini-val small,
html.has-active-career #pilot-center-view .pilot-standing-line,
html.has-active-career #pilot-center-view .pilot-chart-row span,
html.has-active-career #pilot-center-view .pilot-panel-title span,
html.has-active-career #flight-details-view .pilot-metric-card span,
html.has-active-career #flight-details-view .pilot-score-box span,
html.has-active-career #flight-details-view .pilot-col-note,
html.has-active-career #flight-details-view .pilot-crit-info span {
  color: #4a525d !important;
}

html.has-active-career #pilot-center-view .passport-tag,
html.has-active-career #pilot-center-view .pilot-cert b,
html.has-active-career #pilot-center-view .pilot-result {
  color: #5c0931 !important;
}

html.has-active-career #pilot-center-view .pilot-log-row {
  border-bottom: 1px solid #ebeff5 !important;
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-log-data-row:hover {
  background: #f8f9fc !important;
}

html.has-active-career #pilot-center-view .pilot-log-details-btn,
html.has-active-career #pilot-center-view .pilot-fin-buy-btn,
html.has-active-career #pilot-center-view .passport-open-btn,
html.has-active-career #pilot-center-view .btn-view-company,
html.has-active-career #pilot-center-view .pilot-pagination button,
html.has-active-career #flight-details-view .pilot-back-btn,
html.has-active-career #flight-details-view .pilot-toggle-all-btn {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

/* --- 13I. Settings (#settings-view) --- */
html.has-active-career #settings-view .settings-heading {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

html.has-active-career #settings-view .settings-heading-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

html.has-active-career #settings-view .settings-local-badge {
  margin-top: 0 !important;
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  color: #5c0931 !important;
  font-family: var(--font-graphik) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
}

html.has-active-career #settings-view .settings-card {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  color: #1f212b !important;
}

html.has-active-career #settings-view .settings-card h2 {
  font-family: var(--font-jotia) !important;
  font-weight: 300 !important;
  font-size: 24px !important;
  color: #1f212b !important;
}

html.has-active-career #settings-view .settings-card label,
html.has-active-career #settings-view .settings-field span,
html.has-active-career #settings-view .settings-help,
html.has-active-career #settings-view .settings-hint,
html.has-active-career #settings-view .settings-avatar-info p,
html.has-active-career #settings-view .settings-summary span,
html.has-active-career #settings-view .discord-info span,
html.has-active-career #settings-view .settings-about dt {
  color: #4a525d !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #settings-view .settings-about dd {
  color: #1f212b !important;
  font-weight: 500 !important;
}

html.has-active-career #settings-view .settings-about dl div {
  border-bottom: 1px solid #ebeff5 !important;
}

html.has-active-career #settings-view .settings-card input:not([type="checkbox"]),
html.has-active-career #settings-view .settings-card select,
html.has-active-career #settings-view .settings-field input,
html.has-active-career #settings-view .settings-field select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1f212b !important;
  border-radius: 8px !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #settings-view .settings-Locked,
html.has-active-career #settings-view .settings-summary div,
html.has-active-career #settings-view .discord-account-card,
html.has-active-career #settings-view .settings-discord-info-box,
html.has-active-career #settings-view .settings-discord-controls,
html.has-active-career #settings-view .settings-discord-bot-help,
html.has-active-career #settings-view .settings-notifications .email-pref-master {
  background: #f8f9fc !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
  border-radius: 12px !important;
}

html.has-active-career #settings-view .settings-notifications .email-pref-master span,
html.has-active-career #settings-view .discord-info-value,
html.has-active-career #settings-view .settings-Locked strong,
html.has-active-career #settings-view .settings-summary strong,
html.has-active-career #settings-view .discord-info strong {
  color: #1f212b !important;
}

html.has-active-career #settings-view .discord-nick-code,
html.has-active-career #settings-view .settings-code-highlight,
html.has-active-career #settings-view .bot-command-pill code {
  background: rgba(92, 9, 49, 0.08) !important;
  border: 1px solid rgba(92, 9, 49, 0.2) !important;
  color: #5c0931 !important;
}

html.has-active-career #settings-view .bot-command-pill {
  color: #4a525d !important;
}

html.has-active-career #settings-view .btn-avatar-reset,
html.has-active-career #settings-view .btn-copy-nick,
html.has-active-career #settings-view .btn-discord-action,
html.has-active-career #settings-view .btn-scenery-secondary,
html.has-active-career #settings-view .btn-quick-path {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1f212b !important;
  font-family: var(--font-graphik) !important;
}

html.has-active-career #settings-view .btn-avatar-reset:hover,
html.has-active-career #settings-view .btn-copy-nick:hover,
html.has-active-career #settings-view .btn-discord-action:hover,
html.has-active-career #settings-view .btn-scenery-secondary:hover,
html.has-active-career #settings-view .btn-quick-path:hover {
  border-color: #5c0931 !important;
  color: #5c0931 !important;
}

html.has-active-career #settings-view .settings-link {
  color: #5c0931 !important;
  font-weight: 500 !important;
}

html.has-active-career #settings-view .settings-save,
html.has-active-career #settings-view .settings-upload-btn,
html.has-active-career #settings-view .btn-discord-link {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.25) !important;
}

/* Additional Pilot Center Marketplace & Finance Selectors */
html.has-active-career #pilot-center-view .pilot-shop-item,
html.has-active-career #pilot-center-view .pilot-finance-summary > div,
html.has-active-career #pilot-center-view .pilot-transaction {
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  color: #1f212b !important;
  border-radius: 12px !important;
}

html.has-active-career #pilot-center-view .pilot-shop-item strong,
html.has-active-career #pilot-center-view .pilot-finance-summary strong,
html.has-active-career #pilot-center-view .pilot-transaction strong {
  color: #1f212b !important;
}

html.has-active-career #pilot-center-view .pilot-shop-item small,
html.has-active-career #pilot-center-view .pilot-finance-summary span,
html.has-active-career #pilot-center-view .pilot-transaction small,
html.has-active-career #pilot-center-view .pilot-muted {
  color: #4a525d !important;
}

html.has-active-career #pilot-center-view .pilot-cert-number,
html.has-active-career #pilot-center-view .pilot-owned {
  color: #5c0931 !important;
}

html.has-active-career #pilot-center-view .pilot-buy {
  background: #5c0931 !important;
  color: #ffffff !important;
  border: 1px solid #5c0931 !important;
  border-radius: 999px !important;
  font-family: var(--font-graphik) !important;
}

/* ==========================================================================
   14. QATAR AIRWAYS 1:1 FLIGHT SEARCH & RESULTS STRUCTURE FOR FLIGHT OPERATIONS
   ========================================================================== */
#schedules-view {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
  font-family: var(--font-graphik) !important;
}

/* 14A. Top Flight Query Context & Mode Strip */
.qr-schedules-header {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-schedules-title-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-schedules-title-col .eyebrow {
  font-family: var(--font-graphik) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #5c0931 !important;
  margin: 0;
}

.qr-schedules-title-col h1 {
  font-family: var(--font-jotia) !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  line-height: 38px !important;
  color: #1f212b !important;
  margin: 0;
  letter-spacing: 0;
}

.qr-schedules-title-col p {
  font-family: var(--font-graphik) !important;
  font-size: 14px !important;
  color: #4a525d !important;
  margin: 0;
}

/* Qatar Airways 3-Tab Mode Strip (Segmented Button Group) */
.qr-schedules-mode-tabs {
  display: inline-flex;
  background: #f2f3fa;
  border: 1px solid #dbdee8;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.qr-schedules-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #4a525d;
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.qr-schedules-mode-tab:hover {
  color: #1f212b;
}

.qr-schedules-mode-tab.is-active {
  background: #5c0931;
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.25);
}

.qr-schedules-mode-tab .tab-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.qr-schedules-mode-tab:not(.is-active) .tab-badge {
  background: rgba(31, 33, 43, 0.08);
  color: #4a525d;
}

/* 14B. Active Booking Banner (When user has assigned leg) */
.qr-active-flight-strip {
  display: none !important;
}

.qr-active-flight-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.qr-active-flight-badge {
  background: rgba(92, 9, 49, 0.08);
  border: 1px solid rgba(92, 9, 49, 0.25);
  color: #5c0931;
  font-family: var(--font-graphik);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.qr-active-flight-route {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.qr-active-flight-route h3 {
  font-family: var(--font-jotia);
  font-size: 24px;
  font-weight: 300;
  color: #1f212b;
  margin: 0;
}

.qr-active-flight-route span {
  font-size: 14px;
  color: #4a525d;
}

.qr-active-flight-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 14C. Two-Column Flight Search Results Layout */
.qr-flight-results-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .qr-flight-results-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Filter Sidebar (.qr-filter-sidebar) */
.qr-filter-sidebar {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.qr-filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebeff5;
}

.qr-filter-sidebar-header h3 {
  font-family: var(--font-jotia);
  font-size: 20px;
  font-weight: 300;
  color: #1f212b;
  margin: 0;
}

.qr-filter-sidebar-reset {
  background: transparent;
  border: none;
  color: #5c0931;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.qr-filter-sidebar-reset:hover {
  text-decoration: underline;
}

.qr-filter-sidebar .qr-filter-group,
.qr-filter-sidebar .qr-filter-group.airport-filter-widget,
.qr-filter-sidebar .qr-filter-group.aircraft-filter-widget {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.qr-filter-group-title {
  font-family: var(--font-graphik);
  font-size: 12px;
  font-weight: 700;
  color: #1f212b;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: left;
  margin: 0;
}

.qr-filter-chips-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-filter-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 12px;
  border-radius: 8px;
  background: #f8f9fc;
  border: 1px solid #dbdee8;
  color: #1f212b;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.qr-filter-chip-row:hover {
  background: #ffffff;
  border-color: #5c0931;
}

.qr-filter-chip-row.is-active {
  background: #5c0931;
  border-color: #5c0931;
  color: #ffffff;
  font-weight: 500;
}

/* Neutralize any legacy wrapper boxes inside sidebar */
.qr-filter-sidebar .icao-input-box {
  display: contents !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}

/* Unified Text & Select Inputs in Sidebar */
.qr-filter-sidebar .qr-filter-select-input,
.qr-filter-sidebar .qr-filter-text-input {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-family: var(--font-graphik) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1f212b !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.qr-filter-sidebar .qr-filter-text-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.qr-filter-sidebar .qr-filter-text-input.is-icao-endpoint {
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
}

.qr-filter-sidebar .qr-filter-select-input:focus,
.qr-filter-sidebar .qr-filter-text-input:focus {
  border-color: #5c0931 !important;
  box-shadow: 0 0 0 3px rgba(92, 9, 49, 0.12) !important;
}

/* Checkbox reset inside Sidebar */
.qr-filter-sidebar input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
  accent-color: #5c0931 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

/* From -> To Grid & Duration Grid */
.qr-fromto-grid,
.qr-filter-sidebar .fromto-group {
  display: grid !important;
  grid-template-columns: 1fr 22px 1fr !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.qr-fromto-arrow {
  text-align: center;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.qr-duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Segmented Include / Exclude Switch in Sidebar (Concentric 10px outer / 7px inner radius) */
.qr-filter-sidebar .filter-chips,
.qr-filter-sidebar .filter-chips.qr-segmented-chips {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 3px !important;
  margin: 0 !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  gap: 4px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.qr-filter-sidebar .filter-chips .glass-pill-indicator {
  display: none !important;
}

.qr-filter-sidebar .filter-chips .filter-chip,
.qr-filter-sidebar .filter-chips.qr-segmented-chips .filter-chip {
  height: 30px !important;
  min-height: 30px !important;
  width: 100% !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  font-family: var(--font-graphik) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  color: #475569 !important;
  background: transparent !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.qr-filter-sidebar .filter-chips .filter-chip.is-active,
.qr-filter-sidebar .filter-chips.qr-segmented-chips .filter-chip.is-active {
  background: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(92, 9, 49, 0.2) !important;
}

/* Input + Add Button Row */
.qr-filter-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
}

.qr-filter-sidebar .btn-add-airport,
.qr-filter-sidebar .btn-add-aircraft,
.qr-filter-sidebar .qr-filter-add-btn {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  color: #ffffff !important;
  font-family: var(--font-graphik) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background 0.15s ease !important;
  box-sizing: border-box !important;
}

.qr-filter-sidebar .btn-add-airport:hover,
.qr-filter-sidebar .btn-add-aircraft:hover,
.qr-filter-sidebar .qr-filter-add-btn:hover {
  background: #730b3d !important;
  transform: none !important;
}

.qr-filter-sidebar .btn-add-airport.is-exclude-btn,
.qr-filter-sidebar .btn-add-aircraft.is-exclude-btn,
.qr-filter-sidebar .qr-filter-add-btn.is-exclude-btn {
  background: #be123c !important;
  border-color: #be123c !important;
  color: #ffffff !important;
}

.qr-filter-sidebar .btn-add-airport.is-exclude-btn:hover,
.qr-filter-sidebar .btn-add-aircraft.is-exclude-btn:hover,
.qr-filter-sidebar .qr-filter-add-btn.is-exclude-btn:hover {
  background: #9f1239 !important;
}

/* Sidebar Tag Chips & Empty Hint */
.qr-filter-sidebar .airport-tags-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 2px 0 0 0 !important;
}

.qr-filter-sidebar .airport-empty-hint {
  color: #64748b !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  display: block !important;
}

.qr-filter-sidebar .airport-tag-chip {
  height: 28px !important;
  padding: 0 6px 0 10px !important;
  border-radius: 6px !important;
  font-family: var(--font-graphik) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  gap: 6px !important;
}

.qr-filter-sidebar .airport-tag-chip.is-include {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}

.qr-filter-sidebar .airport-tag-chip.is-include .chip-mode-badge {
  background: #d1fae5 !important;
  color: #047857 !important;
  border: none !important;
}

.qr-filter-sidebar .airport-tag-chip.is-exclude {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
}

.qr-filter-sidebar .airport-tag-chip.is-exclude .chip-mode-badge {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: none !important;
}

.qr-filter-sidebar .tag-close-btn {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  background: rgba(15, 23, 42, 0.08) !important;
  border: none !important;
  color: currentColor !important;
  font-size: 12px !important;
}

.qr-filter-sidebar .tag-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #991b1b !important;
  transform: none !important;
}

.qr-filter-sidebar .btn-clear-tags {
  height: 28px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.qr-filter-sidebar .btn-clear-tags:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

.qr-scenery-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.qr-filter-sidebar .scenery-count-pill,
.qr-scenery-pill {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.qr-btn-search-flights {
  width: 100%;
  height: 42px;
  margin-top: 4px;
  border-radius: 10px;
  background: #5c0931;
  border: 1px solid #5c0931;
  color: #ffffff;
  font-family: var(--font-graphik);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(92, 9, 49, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.qr-btn-search-flights:hover {
  background: #730b3d;
  transform: translateY(-1px);
}

/* 14D. Main Results Column */
.qr-results-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top Date / Roster Summary Carousel Bar (Eliminated) */
.qr-date-carousel-bar {
  display: none !important;
}

@media (max-width: 768px) {
  .qr-date-carousel-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qr-date-carousel-card {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-date-carousel-card:hover {
  border-color: #5c0931;
  box-shadow: 0 4px 14px rgba(31, 33, 43, 0.08);
}

.qr-date-carousel-card.is-active {
  border-color: #5c0931;
  box-shadow: inset 0 3px 0 #5c0931, 0 4px 16px rgba(92, 9, 49, 0.12);
}

.qr-date-carousel-day {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a525d;
}

.qr-date-carousel-fare {
  font-family: var(--font-jotia);
  font-size: 18px;
  font-weight: 300;
  color: #5c0931;
}

.qr-date-carousel-sub {
  font-size: 11px;
  color: #6e7780;
}

/* 14E. Qatar Airways 1:1 Horizontal Flight Results Card */
.qr-flight-card {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qr-flight-card:hover {
  border-color: #5c0931;
  box-shadow: 0 8px 28px rgba(31, 33, 43, 0.1);
  transform: translateY(-2px);
}

.qr-flight-card.is-featured {
  border-color: #5c0931;
}

/* Card Top Strip (Leg label, Carrier Logo, Schedule status) */
.qr-flight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #f8f9fc;
  border-bottom: 1px solid #ebeff5;
}

.qr-flight-card-leg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qr-flight-leg-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5c0931;
  background: rgba(92, 9, 49, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

.qr-flight-number {
  font-family: var(--font-graphik);
  font-size: 14px;
  font-weight: 600;
  color: #1f212b;
}

.qr-flight-aircraft-badge {
  font-size: 12px;
  color: #4a525d;
  background: #ffffff;
  border: 1px solid #dbdee8;
  padding: 2px 10px;
  border-radius: 6px;
}

/* Card Flight Middle Segment (Departure -> Duration & Stops Graphic -> Arrival) */
.qr-flight-card-middle {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 20px;
}

@media (max-width: 640px) {
  .qr-flight-card-middle {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.qr-flight-endpoint {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qr-flight-endpoint.dest {
  text-align: right;
}

@media (max-width: 640px) {
  .qr-flight-endpoint.dest {
    text-align: center;
  }
}

.qr-flight-time {
  font-family: var(--font-jotia);
  font-size: 32px;
  font-weight: 300;
  color: #1f212b;
  line-height: 1;
}

.qr-flight-code {
  font-family: var(--font-graphik);
  font-size: 15px;
  font-weight: 600;
  color: #1f212b;
}

.qr-flight-city {
  font-size: 13px;
  color: #4a525d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qr-flight-endpoint.dest .qr-flight-city {
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .qr-flight-endpoint.dest .qr-flight-city {
    justify-content: center;
  }
}

/* Flight Track Vector Graphic */
.qr-flight-track-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-flight-duration-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #4a525d;
}

.qr-flight-track-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: #dbdee8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-flight-track-line::before,
.qr-flight-track-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5c0931;
}

.qr-flight-track-line::before { left: 0; }
.qr-flight-track-line::after { right: 0; }

.qr-flight-track-plane {
  width: 16px;
  height: 16px;
  color: #5c0931;
  background: #ffffff;
  padding: 0 4px;
}

.qr-flight-stops-lbl {
  font-size: 11px;
  color: #059669;
  font-weight: 500;
}

/* Card Bottom Strip (Fare Family Tiers / Accept CTA) */
.qr-flight-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fdfafb;
  border-top: 1px solid #ebeff5;
  flex-wrap: wrap;
  gap: 16px;
}

.qr-flight-pricing-tier {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.qr-flight-fare-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a525d;
}

.qr-flight-fare-amount {
  font-family: var(--font-jotia);
  font-size: 26px;
  font-weight: 300;
  color: #5c0931;
}

.qr-flight-fare-rate {
  font-size: 12px;
  color: #6e7780;
}

.qr-flight-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 14F. Roster Footer Sticky Checkout Summary Bar */
.qr-roster-checkout-bar {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 10px 30px rgba(31, 33, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-roster-checkout-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.qr-checkout-stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qr-checkout-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a525d;
}

.qr-checkout-stat-val {
  font-family: var(--font-jotia);
  font-size: 26px;
  font-weight: 300;
  color: #1f212b;
}

.qr-checkout-stat-val.is-green {
  color: #059669;
}

.qr-checkout-stat-val.is-burgundy {
  color: #5c0931;
}

.qr-roster-checkout-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.qr-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-graphik), 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto !important;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.qr-checkout-btn:hover {
  transform: translateY(-1px);
}

.qr-checkout-btn-outline {
  background: #ffffff;
  border: 1.5px solid #5c0931;
  color: #5c0931;
  box-shadow: 0 2px 6px rgba(92, 9, 49, 0.06);
}

.qr-checkout-btn-outline:hover {
  background: #fdf2f6;
  border-color: #730b3d;
  color: #5c0931;
  box-shadow: 0 4px 12px rgba(92, 9, 49, 0.12);
}

.qr-checkout-btn-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.qr-checkout-btn-danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.qr-checkout-btn-primary {
  background: #5c0931;
  border: 1px solid #5c0931;
  color: #ffffff;
  padding: 0 26px;
  box-shadow: 0 4px 14px rgba(92, 9, 49, 0.24);
}

.qr-checkout-btn-primary:hover {
  background: #730b3d;
  border-color: #730b3d;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(92, 9, 49, 0.34);
}

/* 14G. Schedule Bidding HUD & Search Toolbar */
.qr-bid-hud-banner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-left: 4px solid #5c0931;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06);
}

.qr-bid-hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.qr-bid-hud-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-bid-hud-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qr-bid-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.qr-bid-pill.is-green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.qr-bid-pill.is-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.qr-bid-pill.is-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.qr-bid-hud-title {
  margin: 0;
  font-family: var(--font-jotia);
  font-size: 22px;
  font-weight: 300;
  color: #1f212b;
  line-height: 1.25;
}

.qr-bid-hud-sub {
  font-size: 13px;
  color: #4a525d;
  line-height: 1.45;
}

.qr-bid-hud-sub strong {
  color: #1f212b;
  font-weight: 600;
}

.qr-bid-hud-limit-box {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px;
  background: #f8f9fc;
  border: 1px solid #ebeff5;
  border-radius: 12px;
}

.qr-bid-limit-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.qr-bid-limit-val {
  font-family: var(--font-jotia);
  font-size: 18px;
  font-weight: 400;
  color: #1f212b;
}

.qr-bid-progress-track {
  height: 7px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.qr-bid-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.qr-bid-limit-rem {
  font-size: 11px;
  font-weight: 500;
  color: #6e7780;
  text-align: right;
}

.qr-bid-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qr-bid-section-header h3 {
  margin: 0;
  font-family: var(--font-jotia);
  font-size: 19px;
  font-weight: 300;
  color: #1f212b;
}

.qr-bid-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.05);
}

.qr-bid-search-field {
  position: relative;
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
}

.qr-bid-search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #6e7780;
  pointer-events: none;
}

.qr-bid-search-input {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 14px 0 38px !important;
  background: #f8f9fc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-family: var(--font-graphik) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1f212b !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
}

.qr-bid-search-input::placeholder {
  color: #6e7780 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.qr-bid-search-input:focus {
  background: #ffffff !important;
  border-color: #5c0931 !important;
  box-shadow: 0 0 0 3px rgba(92, 9, 49, 0.12) !important;
}

.qr-bid-count-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #4a525d;
  white-space: nowrap;
}
