/* ================================================================
   calatorie.css
   Shared stylesheet for all travel / calatorie pages.
   Covers: asigurare-medicala-calatorie.php  +  travel-checkout.php

   NOTE: The 8 chosen-dropdown custom properties
   (--bg-chosen, --focus-and-hover-color, --input-border-color,
   --search-border-color, --white, --bg-selected-item-color,
   --bg-disabled-input-color, --text-disabled-input-color)
   are already declared in style.css (compiled from style.sass)
   and are intentionally omitted here.
   ================================================================ */

/* ─── 0. Brand font ────────────────────────────────────────────────
   The base body font is Bootstrap's system stack; epolite applies the custom
   "Segoe" webfont only to a fixed element list (h1-h3, li, button, span,
   label, input, select) in style.sass — never to body/div/p. The travel
   partials render lots of text in div/p/custom containers, so it fell back to
   the system font. Set the brand font once on the flow wrapper and let it
   inherit; elements with their own font-family (e.g. "Segoe-Semi-Bold") keep it. */
.e-travel-flow {
  font-family: "Segoe", "Open Sans", system-ui, sans-serif;
}

/* ─── 1. CSS custom properties ─────────────────────────────────── */
:root {
  /* Brand palette */
  --base-color: #0d967e;
  --base-color-darker: #00826c;
  --base-color-lighter: #cdeae6;
  --base-soft: #e4faf7;
  --base-soft-2: #f2fffd;
  --contrast-color: #f7c244;

  /* Neutrals */
  --custom-gray: #F2F3F5;
  --custom-gray-darker: #9E9E9E;
  --gray-line: #E4E4E4;
  --gray-border: #ced4da;

  /* Text */
  --text-color: #333333;
  --text-strong: #1f2937;
  --label-muted: #6b7280;
  --alert-color: #EF2809;

  /* Tabler-icon design tokens (used by offers step components) */
  --ti-bg: #f5f6f7;
  --ti-surface: #ffffff;
  --ti-border: #e5e7eb;
  --ti-text: #111827;
  --ti-text-soft: #374151;
  --ti-muted: #6b7280;
  --ti-accent: #0e7a70;
  --ti-accent-soft: #eef7f6;
  --ti-radius-card: 14px;
  --ti-radius-btn: 10px;

  /* Chosen dropdown widget (calculator form) */
  --option-height: 32px;
  --number-of-options: 6;
  --chosen-list-max-height: calc(var(--option-height) * var(--number-of-options));
}

/* ─── 2. Page-level base ────────────────────────────────────────── */
body {
  background-color: var(--custom-gray);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
     >>> SEO ADDITIONS — append this whole block to calatorie.css <<<
     (uses existing brand tokens; no new variables)
     ════════════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
}

#steps-holder,
#e-acoperire {
  scroll-margin-top: 90px;
}

/* CTA buttons — large + outline variants of the existing .e-btn-lp */
.e-btn-lp-lg {
  min-width: 0;
  height: 52px;
  padding: 0 40px;
  font-size: 18px;
}

.e-btn-lp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  background: #fff;
  color: var(--base-color-darker);
  border: 1.5px solid var(--base-color);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.e-btn-lp-outline:hover {
  background: var(--base-soft);
  color: var(--base-color-darker);
}

/* Hero CTA group */
.e-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.e-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.e-subcta {
  font-size: 14px;
  color: var(--label-muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.e-subcta svg {
  color: var(--base-color);
  flex: 0 0 auto;
}

.e-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.e-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.e-trust svg {
  color: var(--base-color);
  flex: 0 0 auto;
}

/* SEO content blocks */
.e-seo-block {
  margin-bottom: 42px;
}

.e-seo-h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--base-color-darker);
  margin: 0 0 14px;
}

.e-seo-lead {
  font-size: 15.5px;
  color: var(--text-color);
  line-height: 1.65;
  margin: 0 0 18px;
}

.e-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.e-feat {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 20px;
}

.e-feat-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--base-soft);
  color: var(--base-color-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.e-feat h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 6px;
}

.e-feat p {
  font-size: 14px;
  color: var(--label-muted);
  line-height: 1.55;
  margin: 0;
}

/* CTA band */
.e-cta-band {
  background: linear-gradient(135deg, var(--base-soft) 0%, var(--base-soft-2) 100%);
  border: 1px solid var(--base-color-lighter);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  margin: 38px 0;
}

.e-cta-band h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--base-color-darker);
  margin: 0 0 8px;
}

.e-cta-band p {
  font-size: 15px;
  color: var(--text-color);
  margin: 0 0 20px;
}

/* How it works */
.e-steps3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.e-step3 {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 22px 20px;
}

.e-step3-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--base-color);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.e-step3 h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 6px;
}

.e-step3 p {
  font-size: 14px;
  color: var(--label-muted);
  line-height: 1.55;
  margin: 0;
}

/* Price table */
.e-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 6px 0 16px;
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  overflow: hidden;
}

.e-price-table th,
.e-price-table td {
  padding: 13px 16px;
  text-align: center;
  font-size: 15px;
}

.e-price-table thead th {
  background: var(--base-color);
  color: #fff;
  font-weight: 700;
}

.e-price-table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.e-price-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-strong);
  text-align: left;
}

.e-price-val {
  color: var(--base-color-darker);
  font-weight: 700;
}

/* FAQ — native <details>, no JS */
.e-faq details {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.e-faq details[open] {
  border-color: var(--base-color-lighter);
}

.e-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.e-faq summary::-webkit-details-marker {
  display: none;
}

.e-faq summary:hover {
  color: var(--base-color-darker);
}

.e-faq-plus {
  flex: 0 0 auto;
  color: var(--base-color);
  transition: transform .2s;
}

.e-faq details[open] summary {
  color: var(--base-color-darker);
}

.e-faq details[open] .e-faq-plus {
  transform: rotate(45deg);
}

.e-faq-a {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--text-color);
  line-height: 1.65;
}

/* Sticky mobile CTA */
.e-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: #fff;
  border-top: 1px solid var(--gray-line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .10);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.e-sticky-price {
  font-size: 12.5px;
  color: var(--label-muted);
  line-height: 1.25;
}

.e-sticky-price strong {
  display: block;
  font-size: 14px;
  color: var(--base-color-darker);
  font-weight: 700;
}

.e-sticky-cta .e-btn-lp {
  min-width: 0;
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
  box-shadow: none;
  white-space: nowrap;
}

@media (min-width:992px) {
  .e-sticky-cta {
    display: none;
  }
}

@media (max-width:991px) {
  .e-seo-end-pad {
    padding-bottom: 88px;
  }
}

/* Hide the sticky CTA while the calculator form (#travel-form-outer) is on screen.
     Pure CSS via scroll-driven animations. Gated behind @supports so any
     browser without it just keeps the bar always-visible (safe fallback). */
@supports (animation-timeline: view()) {
  @media (max-width:991px) {
    #travel-form-outer {
      view-timeline: --calc-form block;
    }

    .e-sticky-cta {
      animation: sticky-when-form-offscreen both;
      animation-timeline: --calc-form;
      animation-range: cover 0% cover 100%;
    }

    @keyframes sticky-when-form-offscreen {

      /* form off-screen (range edges) -> shown; form in view (middle) -> hidden */
      0%,
      100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      2%,
      98% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(120%);
      }
    }
  }
}

@media (max-width:575px) {
  .e-seo-h2 {
    font-size: 22px;
  }

  .e-btn-lp-lg,
  .e-btn-lp-outline {
    width: 100%;
  }
}

/* ─── 3. Shared Bootstrap overrides ────────────────────────────── */
/* Override of .e-check-label defined in style.css (different values needed here) */
.e-check-label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-color);
  cursor: pointer;
}

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

.form-check-input:focus {
  border-color: var(--base-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 150, 126, 0.20);
}

/* ─── 4. Shared chip component ──────────────────────────────────── */
.coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
}

.chip svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.chip--on {
  background: var(--base-soft);
  color: var(--base-color-darker);
  border-color: #d6ebe8;
}

.chip--off {
  background: #f4f5f6;
  color: #9ca3af;
  border-color: #ececef;
}


/* ================================================================
   OFFERS PAGE — asigurare-medicala-calatorie.php
   ================================================================ */

/* ─── Card shell ────────────────────────────────────────────────── */
.demo-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 15px;
  padding: 36px 28px;
  margin-bottom: 22px;
}

.demo-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--custom-gray-darker);
  margin-bottom: 22px;
  text-align: center;
}

.ti-section-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.ti {
  line-height: 1;
}

/* ════════════════════════════════════════════════════════════════
     >>> COVERAGE SELECTOR — append to calatorie.css <<<
     ════════════════════════════════════════════════════════════════ */

/* shared little header above either variant */
.coverage-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--base-color-darker);
  margin-bottom: 4px;
}

.coverage-label i {
  color: var(--base-color);
  font-size: 17px;
}

.coverage-hint {
  font-size: 13.5px;
  color: var(--label-muted);
  margin: 0 0 18px;
  text-align: center;
}

/* ── A) selectable pill group ─────────────────────────────────── */
.coverage-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: var(--custom-gray);
  border-radius: 999px;
}

.coverage-option {
  position: relative;
  margin: 0;
  display: block;
}

.coverage-option__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.coverage-option__pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.coverage-option__amount {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.coverage-option__amount i {
  font-size: 16px;
  color: var(--custom-gray-darker);
}

.coverage-option__meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--label-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.coverage-option__pill:hover {
  background: #fff;
}

.coverage-option__input:checked+.coverage-option__pill {
  background: #fff;
  border-color: var(--base-color);
  box-shadow: 0 2px 6px rgba(13, 150, 126, .16);
}

.coverage-option__input:checked+.coverage-option__pill .coverage-option__amount {
  color: var(--base-color-darker);
}

.coverage-option__input:checked+.coverage-option__pill .coverage-option__amount i {
  color: var(--base-color);
}

.coverage-option__input:checked+.coverage-option__pill .coverage-option__meta {
  color: var(--base-color);
}

.coverage-option__input:focus-visible+.coverage-option__pill {
  outline: 2px solid var(--base-color);
  outline-offset: 2px;
}

/* ── B) single fixed amount (informational badge) ─────────────── */
.coverage-single {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--base-soft-2);
  border: 1.5px solid var(--base-color-lighter);
  border-radius: 14px;
}

.coverage-single__ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
  background: var(--base-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coverage-single__ic i {
  font-size: 20px;
}

.coverage-single__txt {
  text-align: left;
  line-height: 1.25;
}

.coverage-single__value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--base-color-darker);
  letter-spacing: -.01em;
}

.coverage-single__sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--label-muted);
}

@media (max-width:480px) {
  .coverage-group {
    flex-direction: column;
    border-radius: 18px;
    width: 100%;
  }

  .coverage-option,
  .coverage-option__pill {
    width: 100%;
  }

  .coverage-option__pill {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .coverage-option__meta {
    margin-left: 4px;
  }
}

.e-card-small-rad {
  border-radius: 0.938rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.10);
  background: #fff;
}

@media (max-width: 520px) {
  .e-card-small-rad {
    padding: 1.25rem 1rem !important;
  }
}

.e-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--base-color-lighter);
  color: var(--base-color-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.e-lp-step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-strong);
}

/* ─── Form inputs ───────────────────────────────────────────────── */
.ep-input-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}

.ep-input-group label.e-mandatory::after {
  content: ' *';
  color: var(--alert-color);
}

.form-control,
.form-select {
  height: 42px;
  border-radius: 7px;
  border: 1px solid var(--gray-border);
  font-size: 15px;
  color: var(--text-strong);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--base-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 150, 126, 0.20);
}

.form-section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}

/* ─── Travelers stepper ─────────────────────────────────────────── */
.travelers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.travelers-header label {
  margin: 0;
}

.stepper {
  display: inline-flex;
  align-items: center;
  background: var(--custom-gray);
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--base-color-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background .15s, color .15s, transform .1s;
}

.stepper-btn:hover:not(:disabled) {
  background: var(--base-color);
  color: #fff;
}

.stepper-btn:active:not(:disabled) {
  transform: scale(.94);
}

.stepper-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  background: transparent;
  box-shadow: none;
}

.stepper-val {
  min-width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

/* ─── Age input cards ───────────────────────────────────────────── */
.age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.age-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s, background .15s;
}

.age-card:hover {
  border-color: #b6d6d1;
}

.age-card.is-filled {
  border-color: var(--base-color);
  background: var(--base-soft-2);
}

.age-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.age-card-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--custom-gray-darker);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.age-card.is-filled .age-card-num {
  color: var(--base-color-darker);
}

.age-card-remove {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--custom-gray-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s;
}

.age-card-remove:hover {
  background: var(--alert-color);
  color: #fff;
}

.age-card-input-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.age-card-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong);
  outline: none;
  padding: 0;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.age-card-input::-webkit-outer-spin-button,
.age-card-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.age-card-input::placeholder {
  color: #cbd5e1;
  font-weight: 400;
}

.age-card.is-filled .age-card-input {
  color: var(--base-color-darker);
}

.age-card-unit {
  font-size: 12px;
  color: var(--custom-gray-darker);
  font-weight: 500;
}

.age-card.is-filled .age-card-unit {
  color: var(--base-color-darker);
}

.age-add {
  border: 1.5px dashed #c6cace;
  background: transparent;
  border-radius: 12px;
  color: var(--base-color-darker);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  min-height: 76px;
  transition: border-color .15s, background .15s;
}

.age-add:hover:not(:disabled) {
  border-color: var(--base-color);
  background: var(--base-soft);
}

.age-add:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.age-add-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--base-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.travelers-hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--custom-gray-darker);
}

/* ─── Sport selection cards ─────────────────────────────────────── */
.sport-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 520px) {
  .sport-cards {
    grid-template-columns: 1fr;
  }
}

.sport-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 12px;
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  margin: 0;
}

.sport-card:hover {
  border-color: #b6d6d1;
}

.sport-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.sport-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--custom-gray);
  color: var(--custom-gray-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background .15s, color .15s;
}

.sport-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.2;
}

.sport-card-desc {
  font-size: 11.5px;
  color: var(--custom-gray-darker);
  line-height: 1.3;
}

.sport-card-tick {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--base-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s, transform .15s;
}

.sport-card:has(input:checked) {
  border-color: var(--base-color);
  background: var(--base-soft-2);
}

.sport-card:has(input:checked) .sport-card-icon {
  background: var(--base-color);
  color: #fff;
}

.sport-card:has(input:checked) .sport-card-tick {
  opacity: 1;
  transform: scale(1);
}

.sport-card input:focus-visible~.sport-card-icon {
  outline: 2px solid rgba(13, 150, 126, .35);
  outline-offset: 3px;
}

/* ─── Steps indicator + CTA button ─────────────────────────────── */
.e-lp-steps-indiactor {
  font-size: 14px;
  font-weight: 600;
  color: var(--custom-gray-darker);
}

.e-btn-lp {
  min-width: 200px;
  height: 44px;
  padding: 0 28px;
  border: 0;
  background: var(--base-color);
  color: #fff;
  border-radius: 30px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.10);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s;
}

.e-btn-lp:hover {
  background: var(--base-color-darker);
  color: #fff;
}

.e-btn-lp span {
  color: var(--contrast-color);
  font-weight: 700;
}

/* ─── Misc ──────────────────────────────────────────────────────── */
.inactive-link {
  pointer-events: none;
  cursor: pointer;
}

/* ─── Trip summary bar (offers step) ────────────────────────────── */
.trip-summary {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 20px;
}

.trip-summary__field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.trip-summary__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef7f6;
  color: #00826c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trip-summary__icon svg {
  width: 15px;
  height: 15px;
}

.trip-summary__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.trip-summary__value {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
}

.trip-summary__edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.trip-summary__edit:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.trip-summary__edit svg {
  width: 13px;
  height: 13px;
}

/* ─── Offer rows ────────────────────────────────────────────────── */
.offer-row {
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-card);
  padding: 18px 22px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.offer-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* ─── Insurer block ─────────────────────────────────────────────── */
.insurer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.insurer__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ti-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.insurer__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ti-text);
  white-space: nowrap;
}

/* ─── Plan name ─────────────────────────────────────────────────── */
.offer-plan__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ti-text);
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}

/* ─── Price column ──────────────────────────────────────────────── */
.offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
}

.offer-price__amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--ti-text);
  letter-spacing: -0.025em;
}

.offer-price__perday {
  font-size: 11.5px;
  color: var(--ti-muted);
  font-weight: 500;
}

.docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 10px;
}

.docs .lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--strong);
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--base-color-darker);
  text-decoration: none;
  white-space: nowrap;
}

.doc-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

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

/* ─── Offer action buttons ──────────────────────────────────────── */
.offer-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-offer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--ti-radius-btn);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn-offer svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.btn-offer--ghost {
  background: #fff;
  border-color: #d1d5db;
  color: var(--ti-text-soft);
}

.btn-offer--ghost:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: var(--ti-text);
}

.btn-offer--primary {
  background: var(--ti-accent);
  border-color: var(--ti-accent);
  color: #fff;
  font-weight: 700;
  padding: 9px 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.btn-offer--primary:hover {
  background: #00826c;
  border-color: #00826c;
}

/* ─── Chosen dropdown positioning fix ──────────────────────────── */
[class^="col-"],
[id="adressCheck"] {
  position: relative;
}

.e-chosen-wrapper {
  position: static;
}

/* INFO PAGE */
.e-info-decision {
  background: #f5faf9;
  border: 1px solid #e1ebe9;
  border-radius: 12px;
  padding: 14px 16px;
}

.e-info-dochead {
  margin-bottom: 14px;
}

.e-info-acc {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
}

.e-info-acc details {
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.e-info-acc details[open] {
  border-color: #cdeae6;
}

.e-info-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.e-info-acc summary::-webkit-details-marker {
  display: none;
}

.e-info-acc summary .n {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #e4faf7;
  color: #00826c;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.e-info-acc summary .chev {
  margin-left: auto;
  flex: 0 0 auto;
  color: #0D967E;
  transition: transform .2s;
}

.e-info-acc details[open] summary {
  color: #00826c;
}

.e-info-acc details[open] summary .chev {
  transform: rotate(180deg);
}

.e-info-acc .ab {
  padding: 2px 16px 14px 48px;
}

.e-info-acc .ab p {
  font-size: 14px;
  line-height: 1.62;
  margin: 0 0 9px;
}

.e-info-acc .ab ol {
  margin: 0 0 9px;
  padding-left: 18px;
}

.e-info-acc .ab li p {
  margin: 0 0 5px;
}

/* ================================================================
   CHECKOUT PAGE — travel-checkout.php
   ================================================================ */

/* ─── Page title ────────────────────────────────────────────────── */
.checkout-title {
  text-align: center;
  margin: 28px 0 36px;
}

.checkout-title h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--base-color-darker);
  margin: 0;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--contrast-color);
  letter-spacing: -0.01em;
}

/* ─── Section headings ──────────────────────────────────────────── */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  margin-top: 28px;
}

.section-heading:first-of-type {
  margin-top: 0;
}

.section-heading-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--base-color-lighter);
  color: var(--base-color-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.section-heading-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
}

/* ─── Collapsible info cards ────────────────────────────────────── */
.info-card {
  background: #fff;
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}

.info-card.is-open {
  border-color: var(--base-color);
  box-shadow: 0 2px 6px rgba(13, 150, 126, .06);
}

.info-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  gap: 12px;
  user-select: none;
}

.info-card-head:focus-visible,
.pay-head:focus-visible {
  outline: 2px solid var(--base-color);
  outline-offset: -2px;
  border-radius: 12px;
}

.info-card-head-label {
  font-size: 15px;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-card-head-label strong {
  color: var(--text-strong);
  font-weight: 600;
}

.info-card-head-label .value {
  color: var(--base-color-darker);
  font-weight: 600;
}

.info-card-head-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--custom-gray-darker);
  flex-shrink: 0;
}

.info-card-head-toggle .chev {
  transition: transform .25s;
  color: var(--base-color);
}

.info-card.is-open .info-card-head-toggle .chev {
  transform: rotate(180deg);
}

.info-card-body {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--gray-line);
}

.info-card-body-inner {
  padding-top: 14px;
}

/* ─── Field display grid ────────────────────────────────────────── */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

@media (max-width: 575px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  flex-wrap: wrap;
}

.field-label {
  color: var(--label-muted);
}

.field-value {
  color: var(--text-strong);
  font-weight: 600;
}

/* ─── Traveler count badge ──────────────────────────────────────── */
.trav-badge {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  background: var(--base-soft);
  color: var(--base-color-darker);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  vertical-align: middle;
}

/* ─── Payment method cards ──────────────────────────────────────── */
.pay-card {
  background: #fff;
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}

.pay-card.is-active {
  border-color: var(--base-color);
  box-shadow: 0 2px 6px rgba(13, 150, 126, .06);
}

.pay-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.pay-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}

.pay-card.is-active .pay-radio {
  border-color: var(--base-color);
}

.pay-radio::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--base-color);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .15s, transform .15s;
}

.pay-card.is-active .pay-radio::after {
  opacity: 1;
  transform: scale(1);
}

.pay-label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.pay-icon {
  color: var(--label-muted);
  font-size: 22px;
  flex-shrink: 0;
}

.pay-body {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--gray-line);
  font-size: 14px;
  line-height: 1.55;
}

.pay-body p {
  margin: 14px 0 0;
}

.pay-body .accent {
  color: var(--base-color-darker);
  font-weight: 600;
}

/* ─── Summary panel ─────────────────────────────────────────────── */
.summary-panel {
  background: #fff;
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  padding: 24px;
}

.summary-logo {
  height: 36px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

.summary-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.summary-logo-fallback .lf-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--base-color-darker);
  color: var(--contrast-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.summary-logo-fallback .lf-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--base-color-darker);
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.summary-list li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.45;
}

.summary-list li:last-child {
  margin-bottom: 0;
}

.summary-list .summary-label {
  color: var(--label-muted);
}

.summary-list .summary-val {
  color: var(--text-strong);
  font-weight: 600;
}

.summary-total {
  border-top: 1px solid var(--gray-line);
  padding-top: 18px;
  margin-top: 4px;
}

.summary-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.summary-total-amount {
  color: var(--base-color-darker);
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.summary-checks {
  margin: 16px 0 18px;
}

.summary-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.summary-check input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.summary-check a {
  color: #2563eb;
  text-decoration: none;
}

.summary-check a:hover {
  text-decoration: underline;
}

/* ─── Order button ──────────────────────────────────────────────── */
.btn-order {
  width: 100%;
  height: 48px;
  background: var(--base-color);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, .10);
  transition: background .15s;
}

.btn-order:hover {
  background: var(--base-color-darker);
}

.btn-order:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/* ─── Footer notes + security ───────────────────────────────────── */
.summary-foot-note {
  font-size: 12.5px;
  color: var(--label-muted);
  line-height: 1.55;
  margin: 16px 0 0;
}

.summary-security {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--label-muted);
}

.summary-security-icon {
  color: var(--base-color);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 20px;
}

.summary-back {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--label-muted);
  text-decoration: none;
}

.summary-back:hover {
  color: var(--base-color-darker);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .summary-sticky {
    position: sticky;
    top: 24px;
  }
}

/* ─── Error message ─────────────────────────────────────────────── */
#co-msg {
  font-size: 13px;
  min-height: 18px;
}

/* ================================================================
   FULL-PAGE TRAVEL LOADER — "Călătorie prin nori"
   htmx adds .htmx-request to #ep-travel-loader while a request
   is in-flight and removes it on settle — no JS needed.
   ================================================================ */
.ep-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fdfb 0%, #e4faf7 60%, #cdeae6 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.ep-loader.htmx-request {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* ─── Sun ──────────────────────────────────────────────────────── */
.ep-loader-sun {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--contrast-color) 30%, rgba(247, 194, 68, 0) 70%);
  z-index: 1;
}

/* ─── Clouds ───────────────────────────────────────────────────── */
.ep-loader-cloud {
  position: absolute;
  animation: ep-drift linear infinite;
  pointer-events: none;
}

.ep-loader-cloud.c1 {
  top: 18%;
  right: -120px;
  animation-duration: 7s;
  animation-delay: 0s;
}

.ep-loader-cloud.c2 {
  top: 55%;
  right: -180px;
  animation-duration: 9s;
  animation-delay: -3s;
}

.ep-loader-cloud.c3 {
  top: 32%;
  right: -100px;
  animation-duration: 5s;
  animation-delay: -1s;
}

.ep-loader-cloud.c4 {
  top: 72%;
  right: -160px;
  animation-duration: 8s;
  animation-delay: -4s;
}

.ep-loader-cloud.c5 {
  top: 44%;
  right: -140px;
  animation-duration: 11s;
  animation-delay: -2.5s;
}

@keyframes ep-drift {
  to {
    right: 110%;
  }
}

/* ─── Plane ────────────────────────────────────────────────────── */
.ep-loader-plane {
  position: absolute;
  top: 40%;
  left: 50%;
  color: var(--base-color-darker);
  z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .10));
  animation: ep-bob 2.4s ease-in-out infinite;
}

@keyframes ep-bob {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -56%);
  }
}

.ep-loader-plane svg {
  display: block;
}

/* ─── Bottom text ──────────────────────────────────────────────── */
.ep-loader-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8vh;
  text-align: center;
  z-index: 4;
}

.ep-loader-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--base-color-darker);
  margin: 0 0 4px;
}

.ep-loader-sub {
  font-size: 14px;
  color: var(--label-muted);
  margin: 0;
  line-height: 1.5;
}

.ep-loader-dots {
  display: inline-flex;
  gap: 5px;
  margin-top: 12px;
}

.ep-loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--contrast-color);
  animation: ep-dot 1.2s ease-in-out infinite;
}

.ep-loader-dots span:nth-child(2) {
  animation-delay: .15s;
}

.ep-loader-dots span:nth-child(3) {
  animation-delay: .30s;
}

@keyframes ep-dot {

  0%,
  100% {
    opacity: .25;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .ep-loader-plane,
  .ep-loader-cloud,
  .ep-loader-dots span {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   Offer details · OFFCANVAS
   Bootstrap (.offcanvas) drives the slide + backdrop; the rules below
   only style the inner content swapped in by HTMX.
   ════════════════════════════════════════════════════════════════════ */
.travel-offcanvas {
  width: min(480px, 100%) !important;
  /* font-family: 'Open Sans', system-ui, sans-serif; */
  color: var(--text-color);
}

/* ─── Header ─────────────────────────────────────────────────────────── */
.ipid-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-line);
  flex: 0 0 auto;
}

.ipid-head-logo {
  font-weight: 800;
  font-size: 17px;
  color: var(--base-color-darker);
  flex: 0 0 auto;
}

.ipid-head-tt {
  flex: 1;
  min-width: 0;
}

.ipid-head-tt h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.25;
}

.ipid-head-tt span {
  font-size: 12.5px;
  color: var(--label-muted);
}

.ipid-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid var(--gray-line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--label-muted);
  transition: .15s;
}

.ipid-close:hover {
  background: #d92d20;
  border-color: #d92d20;
  color: #fff;
}

/* ─── Body (scroll) ──────────────────────────────────────────────────── */
.ipid-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* ─── Summary (keys / values) ────────────────────────────────────────── */
.ipid-sumrow {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: var(--base-soft-2);
  border: 1px solid var(--base-color-lighter);
  border-radius: 12px;
}

.ipid-sumrow .it {
  flex: 1;
  min-width: 120px;
}

.ipid-sumrow .k {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--custom-gray-darker);
}

.ipid-sumrow .v {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--base-color-darker);
}

/* ─── Collapsible sections (native <details>) ────────────────────────── */
.ipid-acc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ipid-acc details {
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  overflow: hidden;
}

.ipid-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ipid-acc summary::-webkit-details-marker {
  display: none;
}

.ipid-acc summary .ai {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--base-soft);
  color: var(--base-color-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ipid-acc summary .ar {
  margin-left: auto;
  color: var(--base-color);
  transition: transform .2s;
}

.ipid-acc details[open] summary .ar {
  transform: rotate(180deg);
}

.ipid-acc details[open] summary {
  color: var(--base-color-darker);
}

.ipid-acc .acc-body {
  padding: 0 16px 15px 62px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-color);
}

.ipid-acc .acc-body ul {
  margin: 0;
  padding-left: 18px;
}

.ipid-acc .acc-body li {
  margin-bottom: 5px;
}

/* ─── Footer documents (PDF) ─────────────────────────────────────────── */
.ipid-docs {
  border-top: 1px solid var(--gray-line);
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #fafbfc;
  flex: 0 0 auto;
}

.ipid-docs .doc-btn {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.ipid-docs .doc-btn:hover {
  border-color: var(--base-color);
  box-shadow: 0 2px 6px rgba(13, 150, 126, .12);
}

.ipid-docs .doc-ic {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: #fdecea;
  color: #d92d20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ipid-docs .doc-tt {
  line-height: 1.3;
  min-width: 0;
}

.ipid-docs .doc-tt b {
  display: block;
  font-size: 13.5px;
  color: var(--text-strong);
}

.ipid-docs .doc-tt span {
  font-size: 11.5px;
  color: var(--label-muted);
}

.ipid-docs .doc-dl {
  margin-left: auto;
  color: var(--base-color);
  flex: 0 0 auto;
}
