/* ─── AXA Holidays brand palette (from logo "AXA HOLYDAYS long.png") ──────────
   Purple petal #6D2C8C  ·  Magenta petal #D14F8C  ·  Teal petal #3AB8C8
   Sun #F7B844  ·  "AXA" wordmark teal #3AB8C8  ·  "HOLIDAYS" wordmark #F39A1A
   Tagline magenta #D14F8C ("Experienta ta oriunde in lume")
   Override Bootstrap primary so existing btn-primary, alerts, links pick up brand teal. */
:root {
  --axa-purple:    #6D2C8C;
  --axa-pink:      #D14F8C;
  --axa-pink-soft: #F4D7E5;
  --axa-teal:      #3AB8C8;
  --axa-teal-soft: #DBF1F4;
  --axa-yellow:    #F7B844;
  --axa-orange:    #F39A1A;
  --axa-dark:      #1F2937;

  --bs-primary:    #3AB8C8;
  --bs-primary-rgb: 58,184,200;
  --axa: #3AB8C8;
}
body { background: #f6f8fb; color: var(--axa-dark); }
a { color: var(--axa-teal); }
a:hover { color: var(--axa-purple); }
.btn-primary { background: var(--axa-teal); border-color: var(--axa-teal); }
.btn-primary:hover, .btn-primary:focus { background: #2fa3b2; border-color: #2fa3b2; }

/* ─── Fixed brand header ──────────────────────────────────────────────────────
   FIXED (not sticky) so it always stays pinned regardless of the flex/h-100 body
   layout. `.axa-header` reserves the navbar's height in the normal flow so page
   content doesn't slide underneath the fixed bar. Glass-blur background + brand
   gradient hairline at the bottom. */
/* `flex: 0 0 66px` keeps the reserved space FIXED — without it, the header (a flex child of the
   d-flex/h-100 body) shrinks when page content is tall, letting the hero slide under the fixed nav. */
.axa-header { display: block; flex: 0 0 66px; height: 66px; }
.axa-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  min-height: 66px;
  background: #ffffff !important;        /* solid white → logo always crisp, whatever scrolls behind */
  border-bottom: 0;
  padding: .45rem 1.6rem;
  box-shadow: 0 2px 12px rgba(16,24,40,.10);
}
.axa-navbar::after {
  /* Brand gradient hairline under the navbar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--axa-purple) 0%, var(--axa-pink) 45%, var(--axa-teal) 100%);
}
.axa-brand { padding: 0 !important; margin-right: 1.5rem; display: inline-flex; align-items: center; }
.axa-brand img {
  height: 50px;
  filter: drop-shadow(0 1px 2px rgba(16,24,40,.10));
}
.axa-navbar .nav-link {
  color: var(--axa-dark) !important;
  font-weight: 600; padding: .5rem .9rem !important;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.axa-navbar .nav-link:hover, .axa-navbar .nav-link:focus {
  color: var(--axa-purple) !important;
  background: var(--axa-pink-soft);
}
.axa-navbar .nav-item.dropdown .nav-link::after { color: var(--axa-purple); }
.axa-navbar .dropdown-menu {
  border: 0; border-radius: .85rem;
  box-shadow: 0 10px 28px rgba(16,24,40,.14);
  padding: .35rem;
}
.axa-navbar .dropdown-item {
  border-radius: .55rem; padding: .5rem .75rem; font-weight: 500;
}
.axa-navbar .dropdown-item:hover, .axa-navbar .dropdown-item:focus {
  background: var(--axa-pink-soft); color: var(--axa-purple);
}
/* legacy fallback (old class name still used somewhere) */
.bg-dark.navbar { background: rgba(255,255,255,.85) !important; }
.bg-dark.navbar .navbar-brand, .bg-dark.navbar .nav-link { color: var(--axa-dark) !important; }

/* ─── Page hero (used on /provider/index and similar landing pages) ──────── */
.page-hero {
  background: linear-gradient(135deg, var(--axa-purple) 0%, var(--axa-pink) 55%, var(--axa-teal) 100%);
  border-radius: 1.1rem; color: #fff;
  padding: 1.6rem 1.8rem; margin-bottom: 1.5rem;
  box-shadow: 0 10px 24px rgba(109,44,140,.18);
}
.page-hero-body { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.page-hero-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 .25rem; letter-spacing: -.02em; color: #fff; }
.page-hero-sub { font-size: .95rem; opacity: .92; margin: 0; max-width: 60ch; color: #fff; }
.page-hero-sub strong { color: #fff; background: rgba(255,255,255,.18); padding: 0 .35rem; border-radius: .35rem; }
.page-hero-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.page-stat {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.18); border-radius: .85rem;
  padding: .75rem 1.2rem; min-width: 110px;
}
.page-stat .num { font-size: 1.6rem; font-weight: 800; line-height: 1; color: #fff; }
.page-stat .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; opacity: .9; }

.section-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--axa-purple); font-weight: 700; margin: 1.75rem 0 .75rem; }

/* ─── "All providers" hero card (aggregate search) ─────────────────────────── */
.all-providers-card-link { display: block; text-decoration: none; color: inherit; }
.all-providers-card {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: #fff; border-radius: 1rem; padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  border: 0; border-left: 6px solid var(--axa-teal);
  box-shadow: 0 4px 14px rgba(16,24,40,.08);
  transition: transform .15s, box-shadow .15s;
}
.all-providers-card-link:hover .all-providers-card {
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,24,40,.12);
}
.all-providers-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--axa-purple), var(--axa-pink));
  border-radius: 1rem; color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 10px rgba(109,44,140,.25);
}
.all-providers-body { flex-grow: 1; min-width: 220px; }
.all-providers-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--axa-dark); }
.all-providers-body p { color: #6b7280; font-size: .92rem; }
.all-providers-body strong { color: var(--axa-purple); font-weight: 700; }
.all-providers-actions { display: flex; gap: .5rem; flex-shrink: 0; flex-wrap: wrap; }

/* ─── Brand button styles (used on provider cards + landing) ──────────────── */
.btn-axa-primary, .btn-axa-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.1rem; min-height: 38px;
  border-radius: 999px; font-weight: 700; font-size: .88rem;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn-axa-primary {
  background: linear-gradient(135deg, var(--axa-purple), var(--axa-pink));
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(109,44,140,.25);
}
.btn-axa-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(109,44,140,.35); color: #fff; }
.btn-axa-secondary {
  background: #fff; color: var(--axa-teal) !important;
  border-color: var(--axa-teal);
}
.btn-axa-secondary:hover { background: var(--axa-teal); color: #fff !important; transform: translateY(-1px); }
.btn-axa-primary.is-disabled, .btn-axa-secondary.is-disabled {
  opacity: .45; pointer-events: none; box-shadow: none;
}

/* ─── Provider grid cards ─────────────────────────────────────────────────── */
.provider-grid .provider-card {
  border: 0; border-radius: 1rem; height: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,24,40,.07);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
  border-top: 4px solid var(--axa-teal);
}
.provider-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16,24,40,.12); }
.provider-card.provider-card-disabled { opacity: .55; border-top-color: #c5c7d0; }
.provider-card.provider-card-disabled:hover { transform: none; box-shadow: 0 2px 8px rgba(16,24,40,.07); }
.provider-card-head {
  padding: 1rem 1.1rem .35rem; display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start;
}
.provider-card-title-wrap { min-width: 0; flex-grow: 1; }
.provider-card-title {
  font-size: 1.05rem; font-weight: 700; color: var(--axa-dark);
  margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.provider-card-code {
  font-size: .72rem; color: #6b7280; font-weight: 500;
  background: #f4f6fa; padding: .1rem .5rem; border-radius: .35rem;
  display: inline-block; margin-top: .25rem;
}
.provider-status {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .55rem; border-radius: 999px; font-weight: 700; flex-shrink: 0;
}
.provider-status.status-on  { background: #d1fae5; color: #047857; }
.provider-status.status-off { background: #f3f4f6; color: #6b7280; }

.provider-card-body { padding: .35rem 1.1rem 1rem; flex-grow: 1; }
.provider-meta { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .75rem; }
.provider-chip {
  font-size: .68rem; padding: .2rem .55rem; border-radius: .45rem;
  background: var(--axa-teal-soft); color: var(--axa-teal);
  font-weight: 600;
}
.provider-stat {
  display: flex; align-items: baseline; gap: .35rem; margin-top: .35rem;
}
.provider-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--axa-purple); line-height: 1; }
.provider-stat .lbl { font-size: .8rem; color: #6b7280; }

.provider-card-actions {
  padding: 0 1.1rem 1rem; display: flex; flex-direction: column; gap: .4rem;
  border-top: 1px solid #f1f3f7; padding-top: .85rem; margin-top: .5rem;
}
.provider-card-actions .btn-axa-primary,
.provider-card-actions .btn-axa-secondary { width: 100%; }
.provider-toggle {
  width: 100%; border: 1px dashed #e5e7eb; background: transparent;
  border-radius: .65rem; padding: .4rem; font-size: .78rem; font-weight: 600; color: #6b7280;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.provider-toggle.is-on:hover  { background: #fef3c7; color: #b45309; border-color: #fcd34d; border-style: solid; }
.provider-toggle.is-off:hover { background: #d1fae5; color: #047857; border-color: #34d399; border-style: solid; }

/* ─── Top tabs: Offers (catalogue) / Deals (priced) ───────────────────────── */
.nav-pills.axa-tabs { gap: .4rem; background: #fff; padding: .35rem; border-radius: 999px; display: inline-flex; box-shadow: 0 1px 4px rgba(16,24,40,.06); border: 1px solid #eef0f5; margin-bottom: 1rem; }
.nav-pills.axa-tabs .nav-link {
  border-radius: 999px;
  padding: .5rem 1.2rem;
  color: var(--axa-purple); font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 0;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.nav-pills.axa-tabs .nav-link:hover { background: var(--axa-teal-soft); color: var(--axa-purple); }
.nav-pills.axa-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--axa-purple), var(--axa-pink));
  color: #fff;
  box-shadow: 0 3px 10px rgba(109,44,140,.35);
}

/* ─── Hero search (offers + deals) ────────────────────────────────────────── */
.hero-search {
  background: linear-gradient(135deg, var(--axa-purple) 0%, var(--axa-pink) 60%, var(--axa-teal) 100%);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(109,44,140,.18);
}
.hero-search .hero-tabs { display: flex; gap: .35rem; margin-bottom: .85rem; flex-wrap: wrap; }
.hero-search .hero-tab {
  flex: 0 1 auto;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem;
  background: rgba(255,255,255,.6);
  color: var(--axa-dark);
  border: 0; border-radius: .75rem .75rem 0 0;
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  transition: background .15s;
}
.hero-search .hero-tab:hover { background: rgba(255,255,255,.85); color: var(--axa-purple); }
.hero-search .hero-tab.active { background: #fff; color: var(--axa-purple); box-shadow: 0 -2px 8px rgba(0,0,0,.08); }
.hero-search .hero-tab .hero-tab-icon { font-size: 1.05rem; line-height: 1; }
.hero-search .hero-controls {
  background: #fff;
  border-radius: 0 .75rem .75rem .75rem;
  padding: .85rem;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr auto;
  gap: .55rem;
  align-items: stretch;
}
@media (max-width: 900px) { .hero-search .hero-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hero-search .hero-controls { grid-template-columns: 1fr; } }
.hero-search .hero-field {
  background: #f4f6fa;
  border: 0;
  border-radius: .65rem;
  padding: .45rem .85rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.hero-search .hero-field label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; font-weight: 600; margin: 0; }
.hero-search .hero-field .form-control,
.hero-search .hero-field .form-select,
.hero-search .hero-field .ts-control { background: transparent !important; border: 0 !important; padding: 0; font-weight: 600; min-height: 1.6rem; box-shadow: none !important; }
.hero-search .hero-field .ts-wrapper { background: transparent; border: 0; min-height: 1.6rem; }
.hero-search .hero-field .ts-wrapper.single .ts-control { padding-left: 0; padding-right: 0; }
.hero-search .hero-cta {
  background: var(--axa-purple);
  color: #fff;
  border: 0; border-radius: 999px;
  padding: 0 1.6rem;
  font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .15s, transform .15s;
}
.hero-search .hero-cta:hover { background: var(--axa-pink); transform: translateY(-1px); }
.hero-search .hero-actions { display: flex; gap: .5rem; align-items: stretch; }

/* 5-column variant for Flights / Flight+Hotel / Packages — drops the inline CTA so the row stays tidy */
.hero-search .hero-controls.hero-controls-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hero-search .hero-controls.hero-controls-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .hero-search .hero-controls.hero-controls-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px)  { .hero-search .hero-controls.hero-controls-5 { grid-template-columns: 1fr; } }

/* Bottom row for the 5-col tabs: contains the action buttons (Search + Reset) */
.hero-search .hero-cta-row {
  display: flex; justify-content: flex-end; gap: .5rem;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.18);
}

/* ─── Flights results table ───────────────────────────────────────────────── */
.flights-table thead th {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .05em;
  color: #6b7280; font-weight: 700; border-bottom: 2px solid #eef0f5; white-space: nowrap;
}
.flights-table td { vertical-align: middle; }
.flights-table .flight-airline { font-weight: 700; color: var(--axa-dark); }
.flights-table .flight-num {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--axa-teal-soft); color: var(--axa-teal);
  padding: .15rem .55rem; border-radius: .4rem; font-weight: 700; font-size: .85rem;
}
.flights-table .flight-airport { font-weight: 800; color: var(--axa-purple); font-size: 1.05rem; line-height: 1; }
.flights-table .flight-airport-name { font-size: .76rem; color: #6b7280; margin-top: .15rem; }
.flights-table .flight-time { font-size: .76rem; color: #475569; margin-top: .2rem; }
.flights-table .flight-arrow { color: var(--axa-pink); font-size: 1.4rem; font-weight: 700; }
.flights-table .flight-date { font-weight: 600; color: var(--axa-dark); font-size: .85rem; white-space: nowrap; }

/* "Extra" toggle row below the controls (DUS-INTORS / DOAR DUS / DIRECTE / FLEXIBIL) */
.hero-search .hero-extra-row {
  display: flex; flex-wrap: wrap; gap: 1.1rem;
  margin-top: .65rem; padding: .55rem .85rem;
  background: rgba(255,255,255,.85); border-radius: .65rem;
  color: var(--axa-dark); font-size: .87rem; font-weight: 600;
}
.hero-search .hero-radio, .hero-search .hero-check {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; user-select: none;
}
.hero-search .hero-radio input[type="radio"],
.hero-search .hero-check input[type="checkbox"] {
  accent-color: var(--axa-purple);
  width: 1rem; height: 1rem;
}
.hero-search .hero-radio:hover span,
.hero-search .hero-check:hover span { color: var(--axa-purple); }

/* ── Reset button — shared style for hero + power-user filter card ─────────
   Solid white pill, purple text + purple border, brand-coloured fill on hover.
   Readable on the hero gradient (purple/pink/teal) AND on the white filter card. */
.btn-axa-reset, .hero-search .hero-reset {
  background: #fff; color: var(--axa-purple);
  border: 1.5px solid var(--axa-purple); border-radius: 999px;
  padding: 0 1.1rem; min-height: 38px;
  font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 1px 4px rgba(109,44,140,.18);
}
.btn-axa-reset:hover, .hero-search .hero-reset:hover {
  background: var(--axa-purple); color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 10px rgba(109,44,140,.3);
}
.btn-axa-reset:active, .hero-search .hero-reset:active { transform: translateY(0); }

/* ─── Power-user filter card (sits under the hero on /offers and /deals) ──── */
.filter-card-compact {
  border: 0; border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  padding: 0;
  border-top: 3px solid var(--axa-teal);
}
.filter-card-compact .card-body { padding: 1rem 1.1rem; }
.filter-card-compact .form-label {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--axa-purple); font-weight: 700; margin: 0 0 .3rem;
  display: inline-flex; align-items: center; gap: .25rem;
}
.filter-card-compact .form-select, .filter-card-compact .form-control {
  border: 1px solid #e5e7eb; border-radius: .55rem;
  background-color: #f8f9fc;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.filter-card-compact .form-select:focus, .filter-card-compact .form-control:focus {
  border-color: var(--axa-teal); background-color: #fff;
  box-shadow: 0 0 0 .2rem rgba(58,184,200,.15);
}
.filter-card-compact .ts-wrapper.single .ts-control { background: #f8f9fc; border: 1px solid #e5e7eb; border-radius: .55rem; }
.filter-card-compact .ts-wrapper.focus .ts-control { border-color: var(--axa-teal); background: #fff; box-shadow: 0 0 0 .2rem rgba(58,184,200,.15); }
.filter-card-compact .btn-primary { border-radius: 999px; box-shadow: 0 1px 4px rgba(58,184,200,.3); min-height: 38px; padding: 0 1.4rem; font-weight: 700; }
.filter-card-compact .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(58,184,200,.4); }

/* ─── Bootstrap pagination — full AXA brand treatment ──────────────────────── */
.axa-pager { display: flex; justify-content: center; margin: 1.5rem 0 .5rem; }
.pagination-axa {
  background: #fff;
  padding: .35rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(16,24,40,.08);
  gap: .25rem;
  flex-wrap: wrap;
  display: inline-flex;
}
.pagination-axa .page-item .page-link {
  border: 0;
  border-radius: .65rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .9rem;
  color: var(--axa-dark);
  background: transparent;
  transition: background .15s, color .15s, transform .12s;
}
.pagination-axa .page-item .page-link:hover {
  background: linear-gradient(135deg, var(--axa-teal-soft), var(--axa-pink-soft));
  color: var(--axa-purple);
  transform: translateY(-1px);
}
.pagination-axa .page-item.active .page-link {
  background: linear-gradient(135deg, var(--axa-purple), var(--axa-pink));
  color: #fff;
  box-shadow: 0 4px 12px rgba(109,44,140,.35);
}
.pagination-axa .page-item.active .page-link:hover { transform: none; }
.pagination-axa .page-item.disabled .page-link {
  color: #c5c7d0; background: transparent; cursor: not-allowed;
}
.pagination-axa .page-item:first-child .page-link,
.pagination-axa .page-item:last-child .page-link {
  font-weight: 700;
  color: var(--axa-teal);
  padding: 0 1.1rem;
}
.pagination-axa .page-item:first-child.disabled .page-link,
.pagination-axa .page-item:last-child.disabled .page-link { color: #c5c7d0; }
.pagination-axa .page-link:focus { box-shadow: 0 0 0 .2rem rgba(58,184,200,.25); outline: 0; }

/* Old default pagination override (for any rogue widget still rendering plain `.pagination`) */
.pagination { --bs-pagination-color: var(--axa-teal); --bs-pagination-hover-color: var(--axa-purple);
  --bs-pagination-active-bg: var(--axa-purple); --bs-pagination-active-border-color: var(--axa-purple); }

/* ─── Empty-tab callout (when no offers match the selected product type) ──── */
.tab-empty {
  background: linear-gradient(135deg, var(--axa-teal-soft) 0%, var(--axa-pink-soft) 100%);
  border: 0; border-radius: 1rem; padding: 2rem 1.5rem; text-align: center;
  margin: 1.5rem 0;
}
.tab-empty .tab-empty-icon { font-size: 3rem; line-height: 1; }
.tab-empty h5 { color: var(--axa-purple); font-weight: 700; margin: .75rem 0 .25rem; }
.tab-empty p { color: var(--axa-dark); margin: 0; }

/* ─── Package list (hotel sidebar): richer rows + "Vezi detalii" affordance ── */
.package-list .pkg-row { padding: .75rem 0; border-top: 1px solid #f1f3f7; }
.package-list .pkg-row:first-child { border-top: 0; }
.package-list .pkg-title { font-weight: 600; color: var(--axa-dark); }
.package-list .pkg-meta { color: #64748b; font-size: .82rem; line-height: 1.5; }
.package-list .pkg-meta-chip { display: inline-flex; align-items: center; gap: .25rem; margin-right: .5rem; }
.package-list .pkg-price { font-weight: 800; color: var(--axa-purple); font-size: 1.05rem; line-height: 1; }
.package-list .pkg-actions { display: flex; gap: .35rem; margin-top: .35rem; }
.package-list .pkg-actions .btn { padding: .25rem .65rem; font-size: .78rem; }

/* ─── Breadcrumbs (brand-coloured chevrons + subtle hover) ─────────────────── */
.breadcrumb {
  --bs-breadcrumb-divider: '›';
  --bs-breadcrumb-divider-color: var(--axa-teal);
  --bs-breadcrumb-item-active-color: var(--axa-purple);
  background: #fff; padding: .55rem .9rem; border-radius: .65rem;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  margin-bottom: 1rem; font-size: .82rem;
}
.breadcrumb-item a { color: #6b7280; text-decoration: none; transition: color .12s; }
.breadcrumb-item a:hover { color: var(--axa-teal); }
.breadcrumb-item.active { color: var(--axa-purple); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--axa-teal); font-weight: 600; padding: 0 .55rem; }

/* ─── Modal: live-offer detail (provider_ref expanded as key-value rows) ─── */
.modal-offer .modal-dialog { max-width: 880px; }                    /* override modal-lg cap for richer content */
.modal-offer .modal-content { border: 0; border-radius: 1rem; overflow: hidden; box-shadow: 0 25px 60px rgba(16,24,40,.25); }
.modal-offer .modal-header {
  background: linear-gradient(135deg, var(--axa-purple), var(--axa-pink));
  color: #fff; border: 0; padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: .5rem;
}
.modal-offer .modal-header .modal-title { color: #fff; font-weight: 700; line-height: 1.25; font-size: 1.1rem; }
.modal-offer .modal-subtitle { color: #fff; opacity: .9; }
.modal-offer .modal-price-badge {
  background: rgba(255,255,255,.95); color: var(--axa-purple);
  font-weight: 800; font-size: 1.05rem;
  padding: .45rem .85rem; border-radius: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  white-space: nowrap;
}
.modal-offer .modal-price-badge small { color: #6b7280; font-weight: 600; }
.modal-offer .modal-header .btn-close { filter: invert(1) brightness(2); opacity: .85; }
.modal-offer .modal-header .btn-close:hover { opacity: 1; }
.modal-offer .modal-body { padding: 1.4rem; background: #fafbfd; }
.modal-offer .modal-footer { padding: .85rem 1.4rem; background: #fff; border-top: 1px solid #f1f3f7; }

/* Each section (Transport/Cazare/Ocupare/Pret/Referinte) — card-ish on white */
.modal-offer .kv-section { background: #fff; border-radius: .75rem; padding: .9rem 1rem; height: 100%;
  border: 1px solid #eef0f5; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.modal-offer .kv-section-title { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem;
  color: var(--axa-teal); font-weight: 700; margin: 0 0 .55rem; }
.modal-offer .kv-grid { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
.modal-offer .kv-grid dt { color: #6b7280; font-weight: 500; font-size: .82rem; }
.modal-offer .kv-grid dd { margin: 0; font-weight: 600; word-break: break-word; font-size: .9rem; color: var(--axa-dark); }
/* Provider refs section often has long opaque IDs — force wrap so it doesn't blow the column */
.modal-offer .kv-section.kv-section-refs .kv-grid dd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; word-break: break-all; }



.stat-card { border: 0; border-radius: .75rem; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.stat-card .num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat-card .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #667085; }
.filter-card { border: 0; border-radius: .75rem; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.grid-view table { margin-bottom: 0; }
.grid-view th { white-space: nowrap; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.summary { color: #667085; font-size: .85rem; margin-bottom: .5rem; }

/* hotel imagery */
.hotel-hero { height: 340px; object-fit: cover; }
.thumb-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-strip .thumb { width: 104px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; transition: transform .12s; }
.thumb-strip .thumb:hover { transform: scale(1.04); }
.hotel-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e7eb; }
.hotel-thumb-ph { width: 56px; height: 42px; display: flex; align-items: center; justify-content: center; background: #eef2f7; border-radius: 6px; color: #94a3b8; }
.facility-badge { background: #eef2f7; color: #334155; border: 1px solid #e2e8f0; font-weight: 500; }
.hotel-desc { line-height: 1.55; }
.hotel-desc h3, .hotel-desc h4 { font-size: 1rem; font-weight: 600; margin: .75rem 0 .25rem; }

/* deal cards */
.deal-card { border: 0; border-radius: .75rem; overflow: hidden; box-shadow: 0 1px 3px rgba(16,24,40,.08); transition: transform .12s, box-shadow .12s; }
.deal-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,24,40,.13); }
.deal-img { position: relative; height: 150px; background-color: #e2e8f0; background-position: center; background-size: cover; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; }
.deal-img-ph { font-size: 2rem; color: #94a3b8; }
.deal-price { position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.96); color: #0f172a; font-weight: 700; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,.25); }
/* provider badge in aggregate (All providers) deals — top-left of the image */
.deal-provider { position: absolute; left: 8px; top: 8px; background: rgba(13,110,253,.92); color: #fff; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.deal-card h6 { font-size: .92rem; line-height: 1.2; }
/* All-providers aggregate card on the provider index */
.all-providers-card { background: linear-gradient(135deg, #f5f9ff 0%, #eef4ff 100%); }

/* package list: clickable items */
.package-list .list-group-item { transition: background .12s; }
.package-list .list-group-item:hover { background: #f5f9ff; cursor: pointer; }
.package-list a:hover .fw-medium { color: #0d6efd; }

/* disabled provider card (greyed out, deals/offers buttons inactive) */
.provider-card-disabled { opacity: .65; }
.provider-card-disabled .card-title { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }

/* hotel detail: sticky right sidebar (offers/packages stays visible while scrolling description) */
.hotel-sidebar { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.hotel-sidebar::-webkit-scrollbar { width: 6px; }
.hotel-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }

/* lightbox affordance + "+N more" tile */
.hero-link, .thumb-link { cursor: zoom-in; display: inline-block; text-decoration: none; }
.thumb-more {
    width: 104px; height: 78px; display: inline-flex; align-items: center; justify-content: center;
    background: #0f172a; color: #fff; font-weight: 700; border-radius: 8px;
    text-decoration: none; transition: transform .12s, background .12s;
}
.thumb-more:hover { background: #1e293b; color: #fff; transform: scale(1.04); }

/* gallery lightbox modal */
.gallery-modal .modal-content { background: #0b0f17; }
.gallery-modal .gallery-img { max-height: 78vh; max-width: 100%; object-fit: contain; background: #000; }
.gallery-modal .carousel-control-prev, .gallery-modal .carousel-control-next { width: 7%; opacity: .9; }
.gallery-modal .carousel-control-prev-icon, .gallery-modal .carousel-control-next-icon {
    background-color: rgba(0,0,0,.45); border-radius: 50%; padding: 22px; background-size: 50% 50%;
}
.gallery-modal .modal-header { background: rgba(0,0,0,.4); }

/* map modal iframe */
.map-iframe { width: 100%; height: 70vh; min-height: 420px; border: 0; display: block; }

/* ── Provider pricing adjustment (Comision % XOR Discount %) — provider/index cards ───────────── */
.provider-pricing {
  margin: .65rem .9rem .15rem;
  padding: .6rem .7rem .65rem;
  background: linear-gradient(180deg, #faf8fc 0%, #f4f0f8 100%);
  border: 1px solid #e9e2f1;
  border-radius: .65rem;
}
.pricing-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .45rem;
}
.pricing-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--axa-purple);
}
.pricing-pill {
  font-size: .68rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; line-height: 1.4;
}
.pricing-pill.pill-up   { background: #e7f6ec; color: #157347; border: 1px solid #bfe5cd; }
.pricing-pill.pill-down { background: #fdeef3; color: var(--axa-pink); border: 1px solid #f3cede; }
.pricing-pill.pill-none { background: #fff; color: #98a2b3; border: 1px solid #e4e7ec; font-weight: 600; }
.pricing-row { display: flex; align-items: end; gap: .45rem; }
.pricing-field { flex: 1 1 0; min-width: 0; }
.pricing-field label {
  display: block; font-size: .66rem; font-weight: 600; color: #6b7280;
  margin-bottom: .15rem; letter-spacing: .02em;
}
.pricing-input {
  display: flex; align-items: stretch; background: #fff;
  border: 1px solid #ddd3ea; border-radius: .45rem; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.pricing-input:focus-within {
  border-color: var(--axa-purple);
  box-shadow: 0 0 0 3px rgba(109, 44, 140, .12);
}
.pricing-input input {
  flex: 1 1 0; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: .3rem 0 .3rem .55rem; font-size: .85rem; font-weight: 600; color: #1f2937;
  -moz-appearance: textfield; appearance: textfield;
}
.pricing-input input::-webkit-outer-spin-button,
.pricing-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pricing-input input::placeholder { color: #c3c9d4; font-weight: 500; }
.pricing-input span {
  display: flex; align-items: center; padding: 0 .5rem;
  font-size: .75rem; font-weight: 700; color: var(--axa-purple); background: #f4eef9;
  border-left: 1px solid #e9e2f1;
}
.pricing-or {
  align-self: center; padding-bottom: .1rem;
  font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #b6a8c8;
}
.pricing-save {
  align-self: stretch; border: 0; border-radius: .45rem; padding: 0 .8rem;
  background: linear-gradient(135deg, var(--axa-purple) 0%, var(--axa-pink) 100%);
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; cursor: pointer;
  transition: filter .15s, transform .1s;
}
.pricing-save:hover { filter: brightness(1.12); }
.pricing-save:active { transform: scale(.97); }

/* ── Destination cards (/destination) — front-end-style country tiles ─────────────────────────── */
.dest-card {
  position: relative; overflow: hidden; border-radius: 1.4rem;
  aspect-ratio: 4 / 4.6; min-height: 300px;
  background-color: #2b2340; background-size: cover; background-position: center;
  box-shadow: 0 6px 22px rgba(40, 20, 60, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(40, 20, 60, .22); }
.dest-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,18,.18) 0%, rgba(10,8,18,0) 34%, rgba(10,8,18,.78) 100%);
}
.dest-card-noimg { background-image: linear-gradient(150deg, var(--axa-purple) 0%, var(--axa-pink) 60%, var(--axa-teal) 120%); }
.dest-card-link { position: absolute; inset: 0; z-index: 1; }
.dest-badge {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  padding: .3rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.28);
}
.dest-edit {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .85rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .15s, background .15s;
}
.dest-card:hover .dest-edit { opacity: 1; }
.dest-edit:hover { background: rgba(255,255,255,.45); }
.dest-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1rem 1.1rem 1.05rem; color: #fff;
  pointer-events: none;   /* clicks fall through to the card link; arrow re-enables below */
}
.dest-name { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.dest-tagline {
  margin: .15rem 0 0; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dest-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; }
.dest-price { font-size: .82rem; color: rgba(255,255,255,.92); }
.dest-price b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.dest-price small { font-size: .72rem; color: rgba(255,255,255,.75); }
.dest-price-muted { font-weight: 600; color: rgba(255,255,255,.8); }
.dest-arrow {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #fff; color: #1f2937; font-size: 1.15rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .15s, background .15s, color .15s;
}
.dest-arrow:hover { transform: scale(1.08); background: var(--axa-purple); color: #fff; }
.dest-edit-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: .75rem; }

/* destination toolbar search (icon-in-input, brand focus) + stacked card badges */
.dest-search { position: relative; }
.dest-search-icon { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: .8rem; }
.dest-search input { padding-left: 1.9rem; }
.dest-search input:focus { border-color: var(--axa-purple); box-shadow: 0 0 0 3px rgba(109, 44, 140, .12); }
.dest-badges {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: .35rem;
}
.dest-badges .dest-badge { position: static; }
.dest-badge-soft { font-size: .66rem; font-weight: 600; padding: .22rem .6rem; background: rgba(20,16,30,.34); border-color: rgba(255,255,255,.18); }

/* hotels badge = PRIMARY card badge (white pill, brand text), destinations pill below it */
.dest-badge-hotels {
  background: rgba(255,255,255,.94); color: var(--axa-purple);
  font-size: .8rem; font-weight: 800; padding: .35rem .8rem;
  border: 0; box-shadow: 0 3px 12px rgba(0,0,0,.22);
}

/* floating toast (destination save etc.) — slides in top-right, self-dismisses */
.axa-toast {
  position: fixed; top: 84px; right: 1.25rem; z-index: 2000;
  min-width: 260px; max-width: 420px; margin: 0;
  box-shadow: 0 10px 30px rgba(40, 20, 60, .22);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}
.axa-toast.show { opacity: 1; transform: translateY(0); }

/* ── Bell notifications (cron_run feed) ───────────────────────────────────────────────────────── */
.notif-card.notif-unseen { border-left: 4px solid #dc3545; }
.notif-error pre {
  background: #fdf0f2; border: 1px solid #f3cdd3; border-radius: .5rem;
  padding: .6rem .8rem; font-size: .78rem; color: #842029;
  white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto;
}
.notif-output {
  background: #f6f5fa; border: 1px solid #e6e2ef; border-radius: .5rem;
  padding: .6rem .8rem; font-size: .75rem; color: #444;
  white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow: auto;
}
.axa-bell .nav-link { font-size: 1.05rem; }
.axa-bell .badge { font-size: .6rem; margin-left: -2px; }
