/* LineOps / NxtOps - Job Offers & Worldwide Airline Applications
   100% Unified with Dashboard & Flight Operations Design Language */

#job-offers-view {
  max-width: 1192px;
  width: calc(100% - 32px);
  margin: 24px auto 80px;
  color: #1f212b;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 1. Top Header Card (Matches .qr-schedules-header 1:1) */
.career-jobs-header-row {
  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;
  margin-bottom: 0;
}

.career-jobs-heading {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.career-jobs-heading .eyebrow {
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #5c0931 !important;
  margin: 0 !important;
}

.career-jobs-heading h1 {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
  margin: 2px 0 4px !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
}

.career-jobs-heading > p:last-child {
  color: #4a525d !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Segmented Mode Toggle (Offers vs Applications) */
.job-offers-toggle-wrapper {
  padding-top: 0;
  flex-shrink: 0;
}

.job-offers-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: #f2f3fa !important;
  border: 1px solid #dbdee8 !important;
  box-shadow: none !important;
  gap: 4px;
}

.job-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 9px !important;
  background: transparent;
  color: #4a525d !important;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.job-toggle-btn:hover {
  color: #1f212b !important;
  background: rgba(92, 9, 49, 0.05);
}

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

.job-toggle-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
}

.job-toggle-btn.is-active .job-toggle-counter {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* 2. Active Employer Summary Strip (Matches .qr-assigned-duty-banner) */
.qr-current-contract-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-left: 4px solid #5c0931 !important;
  border-radius: 14px !important;
  padding: 12px 20px !important;
  box-shadow: 0 4px 14px rgba(31, 33, 43, 0.04) !important;
  box-sizing: border-box !important;
}

.qr-contract-strip-left,
.qr-current-contract-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.qr-contract-strip-logo,
.qr-current-contract-logo {
  width: 88px !important;
  height: 40px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  max-height: 40px !important;
  background: #f8f9fc !important;
  border: 1px solid #ebeff5 !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.qr-contract-strip-logo img,
.qr-current-contract-logo img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  margin: 0 auto !important;
}

.qr-contract-strip-meta,
.qr-current-contract-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.qr-contract-strip-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #5c0931 !important;
  line-height: 1.2 !important;
}

.qr-contract-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #059669 !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2) !important;
}

.qr-contract-strip-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.qr-contract-strip-title strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1f212b !important;
  letter-spacing: -0.2px !important;
}

.qr-contract-code-pill {
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #f1f3f9 !important;
  border: 1px solid #dbdee8 !important;
  color: #4a525d !important;
}

.qr-contract-strip-stats {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  margin-left: auto !important;
}

.qr-contract-stat {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.qr-contract-stat span {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

.qr-contract-stat strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1f212b !important;
  white-space: nowrap !important;
}

.qr-contract-stat strong.is-burgundy {
  color: #5c0931 !important;
  font-size: 14.5px !important;
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif) !important;
}

/* 3. Feedback Toast */
.job-app-toast {
  margin: 0;
  padding: 16px 22px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-left: 4px solid #059669;
  color: #065f46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
  animation: fade-in-slide 0.25s ease;
}

.job-app-toast strong {
  color: #047857;
}

.job-app-toast-close {
  background: transparent;
  border: none;
  color: #047857;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.job-app-toast-close:hover {
  background: rgba(5, 150, 105, 0.12);
}

/* 4. Direct Job Offer Card (Matches .qr-flight-card 1:1) */
.career-job-card {
  padding: 0 !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  backdrop-filter: none !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.career-job-card:hover {
  border-color: #5c0931 !important;
  box-shadow: 0 10px 28px rgba(31, 33, 43, 0.1) !important;
  transform: translateY(-2px);
}

.career-job-card + .career-job-card {
  margin-top: 4px;
}

.career-job-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.career-job-top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.career-job-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 64px;
  background: #f8f9fc !important;
  border: 1px solid #ebeff5 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  flex: none;
  padding: 8px 14px !important;
  box-sizing: border-box;
}

.career-job-logo img {
  width: 100%;
  height: 100%;
  max-width: 124px;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none !important;
  transition: transform 0.2s ease;
}

.career-job-card:hover .career-job-logo img {
  transform: scale(1.03);
  filter: none !important;
}

.career-job-top h2 {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.15;
}

.career-job-top p {
  margin: 0;
  color: #4a525d !important;
  font-size: 13.5px;
}

.career-job-status {
  margin-left: auto;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  background: #fdf2f6;
  border: 1px solid #f5d0fe;
  color: #5c0931;
}

.career-job-status.is-current {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

.career-job-desc {
  margin: 0;
  color: #4a525d;
  font-size: 14px;
  line-height: 1.6;
}

/* 3-Column KPI Facts inside Direct Offer Card */
.career-job-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}

.career-job-facts > div {
  border: 1px solid #dbdee8 !important;
  border-radius: 12px !important;
  background: #f8f9fc !important;
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.career-job-facts span {
  display: block;
  color: #64748b !important;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.career-job-facts strong {
  display: block;
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif);
  font-size: 24px;
  font-weight: 300;
  color: #1f212b !important;
  margin: 2px 0;
  line-height: 1.15;
}

.career-job-facts strong.is-pay-burgundy {
  color: #5c0931 !important;
}

.career-job-facts small {
  display: block;
  color: #64748b !important;
  font-size: 12px;
}

.career-job-fleet {
  border-top: 1px solid #ebeff5 !important;
  padding: 14px 18px !important;
  background: #f8f9fc !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 12px !important;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.career-job-fleet-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5c0931;
  margin-right: 6px;
}

.career-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fdfafb;
  border-top: 1px solid #ebeff5 !important;
  margin-top: 0 !important;
  padding: 16px 28px !important;
  flex-wrap: wrap;
}

.career-job-footer p {
  max-width: 680px;
  color: #4a525d !important;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
}

.career-job-message,
#career-job-message {
  color: #dc2626;
  margin: 0;
  padding: 0 28px 14px;
  font-size: 13px;
}

.career-job-message:empty {
  display: none;
}

/* 5. Applications Search & Filter Card (Matches Flight Operations & Live Board) */
.applications-filter-bar {
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.app-search-input-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}

.app-search-input-box svg {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.app-search-input-box input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 42px;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f8f9fc !important;
  color: #1f212b !important;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.app-search-input-box input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

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

.app-search-clear {
  position: absolute;
  right: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  cursor: pointer;
}

.app-search-clear:hover {
  background: #cbd5e1;
  color: #1f212b;
}

.app-tier-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-tier-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbdee8;
  background: #f8f9fc;
  color: #4a525d;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-tier-chip:hover {
  color: #5c0931;
  border-color: #5c0931;
  background: #ffffff;
}

.app-tier-chip.active {
  background: #5c0931 !important;
  border-color: #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 9, 49, 0.2);
}

/* 6. Worldwide Airline Applications Grid & Cards (Matches .qr-flight-card) */
.airline-applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.airline-app-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  border-radius: 16px !important;
  border: 1px solid #dbdee8 !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.06) !important;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.airline-app-card:hover {
  transform: translateY(-2px);
  border-color: #5c0931 !important;
  box-shadow: 0 10px 28px rgba(31, 33, 43, 0.1) !important;
}

.airline-app-card.is-current-employer {
  border-color: #5c0931 !important;
  box-shadow: inset 0 0 0 1px #5c0931, 0 8px 24px rgba(92, 9, 49, 0.08) !important;
}

/* Top Strip of Application Card */
.app-card-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: #f8f9fc;
  border-bottom: 1px solid #ebeff5;
  gap: 10px;
  box-sizing: border-box;
}

.app-card-top-left,
.app-card-top-tags {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.app-card-top-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
}

.app-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  line-height: 1.2;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  white-space: nowrap;
  flex-shrink: 0;
}

.app-tier-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  background: rgba(92, 9, 49, 0.08);
  color: #5c0931;
  white-space: nowrap;
}

.app-code-pill,
.app-code-badge {
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: #1f212b;
}

.app-region-badge {
  font-size: 11.5px;
  color: #4a525d;
  background: #ffffff;
  border: 1px solid #dbdee8;
  padding: 2px 9px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 135px;
  min-width: 0;
}

/* Card Main Inner Padding */
.app-card-inner {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  box-sizing: border-box;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.app-airline-logo {
  width: 92px;
  height: 46px;
  background: #f8f9fc !important;
  border: 1px solid #ebeff5 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px !important;
  flex: none;
  box-sizing: border-box;
}

.app-airline-logo img {
  width: 100%;
  height: 100%;
  max-width: 76px;
  max-height: 34px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none !important;
  transition: transform 0.2s ease;
}

.airline-app-card:hover .app-airline-logo img {
  transform: scale(1.04);
  filter: none !important;
}

.app-airline-fallback {
  color: #5c0931;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.8px;
}

.app-airline-meta {
  flex: 1;
  min-width: 0;
}

.app-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-card-title-row h3 {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 21px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-region-text {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #4a525d !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-card-body {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.app-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.app-stat-col {
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8f9fc !important;
  border: 1px solid #dbdee8 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.app-stat-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #64748b !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-stat-val {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0 1px;
  color: #1f212b !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-stat-val.is-pay-burgundy {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #5c0931 !important;
  line-height: 1.15;
  margin: 2px 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-stat-sub {
  display: block;
  font-size: 10px;
  color: #64748b !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.app-fleet-strip {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fc !important;
  border: 1px solid #ebeff5 !important;
  font-size: 11.5px;
  color: #4a525d !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-fleet-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b !important;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.app-fleet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.app-fleet-pill {
  font-size: 11px;
  font-weight: 500;
  color: #1f212b;
  background: #ffffff;
  border: 1px solid #dbdee8;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Application Card Bottom Checkout Strip */
.app-card-actions {
  margin-top: auto;
  padding: 13px 18px;
  background: #fdfafb;
  border-top: 1px solid #ebeff5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
}

.app-dest-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 9px;
  background: #ffffff !important;
  border: 1.5px solid #5c0931 !important;
  color: #5c0931 !important;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.app-dest-map-btn:hover {
  background: #fdf2f6 !important;
  border-color: #730b3d !important;
  color: #5c0931 !important;
}

.app-current-badge {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.app-apply-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  background: #5c0931 !important;
  border: 1px solid #5c0931 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(92, 9, 49, 0.2) !important;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.app-apply-btn:hover {
  background: #730b3d !important;
  border-color: #730b3d !important;
  transform: translateY(-1px);
}

.app-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbdee8;
  color: #4a525d;
  box-shadow: 0 4px 16px rgba(31, 33, 43, 0.04);
}

.app-empty-state h3 {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 300;
  margin: 0 0 8px;
  color: #1f212b;
}

/* 7. Airline Network & Destinations Map in Job Offers (Light Theme) */
.career-job-network-section {
  margin: 0;
  background: #f8f9fc;
  border: 1px solid #dbdee8;
  border-radius: 14px;
  padding: 16px 20px 18px;
  box-shadow: none;
}

.career-network-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.career-network-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5c0931;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.career-network-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.career-net-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbdee8;
  font-size: 11.5px;
  color: #4a525d;
}

.career-net-badge strong {
  color: #1f212b;
  font-weight: 600;
}

.career-net-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c0931;
}

.career-net-badge.hub-badge {
  border-color: #f5d0fe;
  background: #fdf2f6;
  color: #5c0931;
}

.career-net-badge.hub-badge strong {
  color: #5c0931;
}

.career-network-map-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbdee8;
  background: #eef2f6;
}

.career-network-map {
  width: 100%;
  height: 100%;
}

.career-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(6px);
  z-index: 5;
  color: #4a525d;
  font-size: 12.5px;
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.career-map-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(92, 9, 49, 0.18);
  border-top-color: #5c0931;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.career-map-overlay-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.career-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #dbdee8;
  border-radius: 8px;
  color: #1f212b;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31, 33, 43, 0.1);
  transition: all 0.18s ease;
}

.career-map-btn:hover {
  border-color: #5c0931;
  color: #5c0931;
}

/* MapLibre Controls Customization (Light Mode) */
.career-network-map-wrap .maplibregl-ctrl-group,
.network-modal-map-wrap .maplibregl-ctrl-group {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(31, 33, 43, 0.1) !important;
  overflow: hidden;
}

.career-network-map-wrap .maplibregl-ctrl-group button,
.network-modal-map-wrap .maplibregl-ctrl-group button {
  width: 30px !important;
  height: 30px !important;
  border-bottom: 1px solid #ebeff5 !important;
}

.career-network-map-wrap .maplibregl-ctrl-group button:hover,
.network-modal-map-wrap .maplibregl-ctrl-group button:hover {
  background-color: #fdf2f6 !important;
}

.career-network-map-wrap .maplibregl-ctrl-icon,
.network-modal-map-wrap .maplibregl-ctrl-icon {
  filter: none !important;
}

/* MapLibre Hover Tooltips / Popups (Light Mode) */
.airline-network-popup,
.airline-network-popup * {
  pointer-events: none !important;
}

.airline-network-popup .maplibregl-popup-content {
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-left: 4px solid #5c0931 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(31, 33, 43, 0.16) !important;
  padding: 10px 14px !important;
  color: #1f212b !important;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif) !important;
  min-width: 190px;
  max-width: 280px;
}

.airline-network-popup .maplibregl-popup-tip {
  border-top-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

.network-map-tooltip {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tooltip-loc {
  display: flex;
  align-items: baseline;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
}

.tooltip-city {
  font-size: 12px;
  font-weight: 700;
  color: #1f212b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tooltip-country {
  font-size: 11px;
  color: #64748b;
}

.tooltip-code {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(92, 9, 49, 0.08);
  color: #5c0931;
  letter-spacing: 0.6px;
  flex: none;
}

.tooltip-airport-name,
.tooltip-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #4a525d;
  margin: 2px 0 4px;
  line-height: 1.35;
  word-break: break-word;
}

.tooltip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3px;
  padding-top: 6px;
  border-top: 1px solid #ebeff5;
  font-size: 10.5px;
}

.popup-tag {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.popup-tag-hub {
  color: #5c0931;
}

.popup-tag-dest {
  color: #0284c7;
}

.tooltip-routes {
  color: #64748b;
}

.tooltip-routes strong {
  color: #1f212b;
}

/* 8. Modal Dialog for Airline Network Destinations (Matches Dashboard & Flight Operations Modals) */
.airline-network-dialog {
  border: 1px solid #dbdee8 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px rgba(31, 33, 43, 0.24) !important;
  padding: 0 !important;
  color: #1f212b !important;
  max-width: 920px;
  width: 92vw;
  outline: none;
  overflow: hidden;
  font-family: var(--font-graphik, 'Plus Jakarta Sans', sans-serif);
}

.airline-network-dialog::backdrop {
  background: rgba(31, 33, 43, 0.55);
  backdrop-filter: blur(6px);
}

.network-modal-content {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.network-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  background: #f8f9fc;
  border-bottom: 1px solid #ebeff5;
}

.network-modal-airline-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.network-modal-logo {
  width: 96px;
  height: 48px;
  background: #ffffff !important;
  border: 1px solid #dbdee8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px !important;
  flex: none;
  box-sizing: border-box;
}

.network-modal-logo img {
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 36px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none !important;
}

.network-modal-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.network-modal-title-row h2 {
  font-family: var(--font-jotia, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  color: #1f212b !important;
  margin: 0;
}

#modal-airline-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: #4a525d !important;
}

.network-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #dbdee8;
  background: #ffffff;
  color: #4a525d;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}

.network-modal-close:hover {
  background: #fdf2f6;
  color: #5c0931;
  border-color: #5c0931;
}

.network-modal-body {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.network-modal-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 28px 0;
}

.network-modal-map-wrap {
  position: relative;
  width: calc(100% - 56px);
  margin: 14px 28px 20px;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbdee8;
  background: #eef2f6;
}

.modal-network-map {
  width: 100%;
  height: 100%;
}

.network-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: #fdfafb;
  border-top: 1px solid #ebeff5;
  flex-wrap: wrap;
}

.network-modal-footer p {
  margin: 0;
  font-size: 13px;
  color: #4a525d;
  max-width: 580px;
}

.network-modal-footer .app-apply-btn {
  flex: 0 0 auto;
  width: auto;
  height: 42px;
  padding: 0 22px;
}

@keyframes fade-in-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  #job-offers-view {
    width: calc(100% - 24px);
    margin: 16px auto 60px;
  }
  .career-jobs-header-row {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .job-offers-toggle-wrapper {
    width: 100%;
  }
  .job-offers-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .job-toggle-btn {
    justify-content: center;
  }
  .career-job-card-body {
    padding: 18px;
  }
  .career-job-facts {
    grid-template-columns: 1fr;
  }
  .career-job-footer {
    padding: 16px 18px !important;
    flex-direction: column;
    align-items: stretch;
  }
  .airline-applications-grid {
    grid-template-columns: 1fr;
  }
  .career-network-map-wrap {
    height: 280px;
  }
  .network-modal-map-wrap {
    width: calc(100% - 32px);
    margin: 12px 16px 16px;
    height: 300px;
  }
  .network-modal-header,
  .network-modal-footer {
    padding: 16px;
  }
  .network-modal-badges {
    padding: 12px 16px 0;
  }
}
