
/* v1.0.4.23 – Türkçe etiketler, Step-2 detay akordeon, marka/model satırı */
:root{
  --ecab-bg:#F8FAFC;
  --ecab-card:#FFFFFF;
  --ecab-text:#0F172A;
  --ecab-text2:#334155;
  --ecab-muted:#64748B;
  --ecab-help:#94A3B8;
  --ecab-border:#E2E8F0;
  --ecab-border2:#CBD5E1;
  --ecab-primary:#2563EB;
  --ecab-primary-hover:#1D4ED8;
  --ecab-soft:#EFF6FF;
}

.ecab-ffa{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.ecab-ffa__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fafafa;border-bottom:1px solid #e5e7eb}
.ecab-ffa__steps{display:flex;gap:8px}
.ecab-ffa__step{width:28px;height:28px;border-radius:999px;display:flex;align-items:center;justify-content:center;border:1px solid #d1d5db;color:#374151;background:#fff}
.ecab-ffa__step.is-active{border-color:#111827;color:#fff;background:#111827}
.ecab-ffa__title{font-weight:700;color:#111827}
.ecab-ffa__body{padding:16px}
.ecab-ffa__grid{display:grid;grid-template-columns:1fr;gap:12px}
.ecab-ffa__card{border:1px solid #e5e7eb;border-radius:14px;padding:14px}
.ecab-ffa__row{display:grid;grid-template-columns:1fr;gap:6px}
.ecab-ffa__label{font-size:14px;color:#111827;font-weight:700;letter-spacing:.2px}
.ecab-ffa__input, .ecab-ffa__select{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:10px}
.ecab-ffa__actions{display:flex;gap:10px;margin-top:12px}
.ecab-ffa__btn{padding:10px 14px;border-radius:12px;border:1px solid #111827;background:#111827;color:#fff;cursor:pointer}
.ecab-ffa__btn.secondary{background:#fff;color:#111827}
.ecab-ffa__muted{color:#6b7280;font-size:12px}

/* In-field helper overlay for native date/time inputs (mobile-friendly).
   We avoid relying on placeholder because many browsers ignore it for type=date/time.
*/
.ecab-ffa__inphwrap{position:relative}
.ecab-ffa__inph{display:none;position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--ecab-help);font-size:13px;line-height:1;pointer-events:none;white-space:nowrap;opacity:.9}
.ecab-ffa__inphwrap[data-has-value="1"] .ecab-ffa__inph{display:none !important;}

@media (max-width:1023px){
  /* Let the page scroll naturally on mobile; avoid inner clipping/scroll conflicts */
  .ecab-ffa{overflow:visible}
  .ecab-ffa__body{padding-bottom:calc(16px + 24px + env(safe-area-inset-bottom))}

  .ecab-ffa__inph{display:block}

  /* Mobile tap affordance: make input borders more visible */
  .ecab-ffa__input, .ecab-ffa__select{
    padding:14px 12px;
    min-height:48px;
    border:2px solid var(--ecab-border2);
    border-radius:12px;
    background:#fff;
    box-shadow:0 1px 2px rgba(15,23,42,.08);
  }
  .ecab-ffa__input:focus, .ecab-ffa__select:focus{
    outline:none;
    border-color:#111827;
    box-shadow:0 0 0 3px rgba(17,24,39,.12);
  }

}
.ecab-ffa__error{color:#b91c1c;font-size:12px;margin-top:6px}
.ecab-ffa__summary{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.ecab-ffa__pill{font-size:12px;padding:6px 10px;border-radius:999px;background:#f3f4f6;border:1px solid #e5e7eb}

/* --- Step-1 layout --- */
.ecab-ffa__row2col{display:grid;grid-template-columns:1fr;gap:12px}
.ecab-ffa__row3col{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:768px){
  .ecab-ffa__row2col{grid-template-columns:1fr 1fr}
  .ecab-ffa__row3col{grid-template-columns:1.1fr 1.4fr .9fr}
}

.ecab-ffa__field{display:flex;flex-direction:column;gap:8px}

/* Ensure action area has breathing room so the CTA is never visually cramped on mobile */
@media (max-width:1023px){
  .ecab-ffa__actions{margin-bottom:16px}
}

/* Switch */
.ecab-ffa__switch{display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none}
.ecab-ffa__switch-input{display:none}
.ecab-ffa__switch-slider{width:46px;height:26px;border-radius:999px;background:#e5e7eb;position:relative;display:inline-block;transition:all .2s ease}
.ecab-ffa__switch-slider:after{content:'';position:absolute;width:22px;height:22px;border-radius:999px;background:#fff;top:2px;left:2px;transition:all .2s ease;box-shadow:0 1px 2px rgba(0,0,0,.15)}
.ecab-ffa__switch-input:checked + .ecab-ffa__switch-slider{background:#111827}
.ecab-ffa__switch-input:checked + .ecab-ffa__switch-slider:after{left:22px}
.ecab-ffa__switch-text{font-size:14px;color:#111827;font-weight:600}

/* Passenger popover */
.ecab-ffa__paxbtn{width:100%;justify-content:center}
.ecab-ffa__popover{position:absolute;left:0;right:0;top:48px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px;z-index:20;box-shadow:0 10px 30px rgba(0,0,0,.08);max-height:260px;overflow-y:auto;}

/* Desktop: keep popover opening downwards (portal on desktop avoids clipping) */
@media (min-width: 1024px){
  .ecab-ffa__popover:not(.ecab-ffa__popover--portal){ top:48px; bottom:auto; }
}

/* Desktop portal popover (attached to body) */
.ecab-ffa__popover.ecab-ffa__popover--portal{
  position: fixed;
  left: 0; top: 0; /* JS will override */
  right: auto; bottom: auto;
  max-height: none;
  overflow: visible;
  z-index: 2147483647 !important;
  pointer-events: auto;
  isolation: isolate;

  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
/* Step-2: make pickup time + shuttle per-person price more prominent */
.ecab-ffa__vehicle-row-line--pickup{font-weight:800; font-size:15px;}
.ecab-ffa__pickup-badge{display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border-radius:999px; background:#111827; color:#fff; font-weight:800; font-size:12px; line-height:1.4;}
.ecab-ffa__pickup-value{font-weight:900; font-size:16px; letter-spacing:.2px;}
.ecab-ffa__vehicle-row-line--perperson{font-weight:800;}
.ecab-ffa__counter-row{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;border-bottom:1px solid #f3f4f6}
.ecab-ffa__counter-row:last-child{border-bottom:none}
.ecab-ffa__counter-label{font-weight:600;color:#111827;font-size:14px}
.ecab-ffa__counter-ctrl{display:flex;align-items:center;gap:8px}
.ecab-ffa__iconbtn{width:30px;height:30px;border-radius:10px;border:1px solid #d1d5db;background:#fff;cursor:pointer}
.ecab-ffa__counter-val{min-width:22px;text-align:center;font-weight:700;color:#111827}

/* --- Step-2 centered summary + vehicle cards --- */

/* --- Step-2: Row style vehicle cards (modern layout like reference screenshot) --- */
.ecab-ffa__vehicle-row{
  display:grid;
  grid-template-columns: 180px 1fr 220px;
  gap:16px;
  align-items:center;
}
.ecab-ffa__vehicle-row-left{
  width:100%;
}
.ecab-ffa__vehicle-row-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  border:1px solid #e5e7eb;
  object-fit:cover;
  background:#f3f4f6;
}
.ecab-ffa__vehicle-row-mid{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.ecab-ffa__vehicle-row-model{
  font-weight:700;
  color:#111827;
  font-size:14px;
  line-height:1.25;
}
.ecab-ffa__vehicle-row-icons{
  display:flex;
  gap:14px;
  align-items:center;
  color:#111827;
}
.ecab-ffa__vehicle-row-line{
  color:#111827;
  font-size:14px;
}
.ecab-ffa__vehicle-row-line--muted{
  color:#6b7280;
  font-size:12px;
}
.ecab-ffa__vehicle-row-badges{
  margin-top:6px;
}
.ecab-ffa__vehicle-row-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:8px;
  background:#111827;
  color:#fff;
  font-weight:800;
  font-size:12px;
  letter-spacing:.4px;
}
.ecab-ffa__vehicle-row-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}
.ecab-ffa__vehicle-row-price{
  font-size:34px;
  font-weight:900;
  color:#111827;
  line-height:1;
}
.ecab-ffa__vehicle-row-btn{
  width: 200px;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  background: #d97706;
  color: #fff;
}
.ecab-ffa__vehicle-row-btn:hover{
  filter: brightness(.97);
}

@media (max-width: 720px){
  .ecab-ffa__vehicle-row{
    grid-template-columns: 1fr;
    align-items:start;
  }
  .ecab-ffa__vehicle-row-right{
    align-items:stretch;
  }
  .ecab-ffa__vehicle-row-btn{
    width:100%;
  }
  .ecab-ffa__vehicle-row-price{
    font-size:28px;
    text-align:left;
    width:100%;
  }
}

.ecab-ffa__top-summary{text-align:center}
.ecab-ffa__summary-title{font-weight:800;color:#111827;font-size:16px}
.ecab-ffa__summary-sub{color:#374151;font-size:13px;margin-top:6px}

.ecab-ffa__vehicle-card{display:grid;grid-template-columns:1fr;gap:10px}
.ecab-ffa__vehicle-img{width:100%;height:160px;border-radius:12px;border:1px solid #e5e7eb;object-fit:cover}
.ecab-ffa__vehicle-title{font-weight:800;color:#111827;font-size:15px}
.ecab-ffa__pickup-wrap{display:grid;grid-template-columns:1fr;gap:8px;padding:10px;border:1px dashed #e5e7eb;border-radius:12px;background:#fafafa}
.ecab-ffa__pickup-label{font-size:12px;color:#6b7280}
.ecab-ffa__pickup-wrap .ecab-ffa__pickup-value{font-weight:700;color:#111827}
.ecab-ffa__price{font-weight:800;color:#111827;font-size:14px}

.ecab-ffa__card[style*="position:relative"]{background:#fff}


/* v1.0.4.20 – Vehicle image optimized inside card (thumbnail layout) */
.ecab-ffa__vehicle-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  align-items:start;
}
.ecab-ffa__vehicle-card > :not(.ecab-ffa__vehicle-img){
  grid-column:2;
}
.ecab-ffa__vehicle-img{
  width:120px;
  height:90px;
  object-fit:cover;
  display:block;
  border-radius:12px;
  border:1px solid #e5e7eb;
}
@media (max-width:768px){
  .ecab-ffa__vehicle-card{
    grid-template-columns:1fr;
  }
  .ecab-ffa__vehicle-card > :not(.ecab-ffa__vehicle-img){
    grid-column:auto;
  }
  .ecab-ffa__vehicle-img{
    width:100%;
    height:140px;
  }
}



/* Global surfaces */
.ecab-ffa__app, .ecab-ffa__container, .ecab-ffa__wrapper{
  background: var(--ecab-bg);
  color: var(--ecab-text2);
}

/* --- Step-3: Two-column layout (left sticky summary + right form) --- */
.ecab-step3__layout{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ecab-step3__summary{
  position: relative;
}

.ecab-step3__right{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.ecab-step3__section-title{
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

/* --- Step-3: Route box (Seçiminiz > Rota Bilgileri) --- */
.ecab-step3__route{
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}
.ecab-step3__route-line{ display:flex; gap:8px; align-items:flex-start; margin: 2px 0; }
.ecab-step3__route-label{ font-weight: 900; color:#111827; white-space:nowrap; }
.ecab-step3__route-value{ font-weight: 800; color:#111827; overflow:hidden; text-overflow:ellipsis; }

/* --- Step-3: Total line in "Seçiminiz" --- */
.ecab-step3__total{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.ecab-step3__total-label{ font-weight: 900; color:#111827; }
.ecab-step3__total-value{ font-weight: 900; color:#111827; }

/* --- Step-3: Actions (Geri / Rezervasyonu Tamamla) terms ALTINDA, sticky DEĞİL --- */
.ecab-step3__actions{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 12px;
}
.ecab-step3__actions .ecab-step3__footer-back{ min-width: 110px; }
.ecab-step3__actions .ecab-step3__footer-submit{ flex: 1; }

/* Legacy fixed footer styles kept disabled (no longer used) */
.ecab-step3__page{ padding-bottom: 16px; }
.ecab-step3__footer{ display:none; }

/* --- Searchable dropdown (combobox) --- */
.ecab-combo{ position: relative; }
.ecab-combo__list{
  position:absolute;
  left:0; right:0;
  top: calc(100% + 6px);
  z-index: 50;
  max-height: 260px;
  overflow:auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(2,6,23,.10);
  display:none;
}
.ecab-combo__item{
  padding: 10px 12px;
  cursor:pointer;
  font-size: 13px;
  color:#111827;
}
.ecab-combo__item:hover{ background:#f3f4f6; }

/* Phone row (dial + number) */
.ecab-step3__phone-row{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
@media (min-width: 640px){
  .ecab-step3__phone-row{ grid-template-columns: minmax(220px, 0.9fr) 1.1fr; }
}


.ecab-step3__2col{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ecab-step3__toggle{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 700;
  color: #111827;
}

.ecab-step3__toggle input{ transform: scale(1.1); }

.ecab-step3__radio-row{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}

.ecab-step3__radio{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 700;
  color: #111827;
}

.ecab-step3__pax-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ecab-step3__pax-card{
  padding: 12px;
}

.ecab-step3__pay{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 10px;
  background: #fff;
}

.ecab-step3__pay input{ margin-top: 3px; }

.ecab-step3__pay-title{
  font-weight: 900;
  color: #111827;
}

.ecab-step3__pay-desc{
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.ecab-step3__terms{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 13px;
  color: #111827;
}

.ecab-step3__terms input{ margin-top: 3px; }

@media(min-width: 980px){
  .ecab-step3__layout{
    grid-template-columns: 380px 1fr;
    align-items:start;
  }
  .ecab-step3__summary{
    position: sticky;
    top: 14px;
  }
  .ecab-step3__2col{ grid-template-columns: 1fr 1fr; }
  .ecab-step3__pax-grid{ grid-template-columns: 1fr 1fr; }
}

/* Cards */
.ecab-ffa__card, .ecab-ffa__vehicle-card, .ecab-ffa__summary{
  background: var(--ecab-card);
  border: 1px solid var(--ecab-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Summary */
.ecab-ffa__summary{
  text-align:center;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.ecab-ffa__summary .ecab-ffa__summary-title{
  color: var(--ecab-text);
  font-weight: 700;
}
.ecab-ffa__summary .ecab-ffa__summary-sub{
  color: var(--ecab-muted);
}

/* Inputs */
.ecab-ffa__field label{
  color: var(--ecab-text2);
  font-weight: 600;
}
.ecab-ffa__field .ecab-ffa__help{
  color: var(--ecab-help);
}
.ecab-ffa__field input,
.ecab-ffa__field select,
.ecab-ffa__field textarea{
  background: var(--ecab-card);
  border: 1px solid var(--ecab-border2);
  color: var(--ecab-text2);
  border-radius: 10px;
  padding: 10px 12px;
}
.ecab-ffa__field input::placeholder{
  color: var(--ecab-help);
}
.ecab-ffa__field input:focus,
.ecab-ffa__field select:focus,
.ecab-ffa__field textarea:focus{
  outline: none;
  border-color: var(--ecab-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Primary buttons */
.ecab-ffa__btn-primary, .ecab-ffa__btn--primary, button.ecab-ffa__primary{
  background: var(--ecab-primary);
  color: #fff;
  border: 1px solid var(--ecab-primary);
  border-radius: 10px;
}
.ecab-ffa__btn-primary:hover, .ecab-ffa__btn--primary:hover, button.ecab-ffa__primary:hover{
  background: var(--ecab-primary-hover);
  border-color: var(--ecab-primary-hover);
}

/* Price emphasis */
.ecab-ffa__price, .ecab-ffa__total, .ecab-ffa__vehicle-price{
  color: var(--ecab-primary);
  font-weight: 800;
}

/* Pickup time emphasis inside card */
.ecab-ffa__pickup-time strong, .ecab-ffa__pickup-time .value{
  color: var(--ecab-primary);
  font-weight: 800;
}

/* Accordion */
.ecab-ffa__accordion-toggle{
  color: var(--ecab-primary);
  font-weight: 700;
}
.ecab-ffa__accordion-body{
  background: var(--ecab-bg);
  border: 1px solid var(--ecab-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}
.ecab-ffa__accordion-body h4, .ecab-ffa__accordion-body .title{
  color: var(--ecab-text);
  font-weight: 700;
}
.ecab-ffa__accordion-body p, .ecab-ffa__accordion-body .line{
  color: var(--ecab-text2);
}


/* --- Global blocking overlay (Lütfen bekleyiniz) --- */
#ecab-ffa-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17,24,39,.35);
  backdrop-filter: blur(2px);
}
.ecab-ffa__overlay-inner{
  width: min(92vw, 420px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 44px rgba(2,6,23,.22);
  padding: 18px 16px;
  display:flex;
  gap: 12px;
  align-items:center;
}
.ecab-ffa__spinner{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  border-top-color: #111827;
  animation: ecabSpin 0.8s linear infinite;
}
.ecab-ffa__overlay-text{
  font-weight: 800;
  color: #111827;
  font-size: 14px;
}
@keyframes ecabSpin{ to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
 * Step-2 Desktop Premium (KİLİTLİ REFERANS)
 * - ≥1024px narrow centered container (max-width:860px)
 * - Shuttle above private (render order)
 * - No business logic / formatting
 * ------------------------------------------------------------ */

.ecab-step2d__wrap{
  width: 100%;
}

.ecab-step2d__pagehead{
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px 14px;
  background: #fff;
}

.ecab-step2d__tabs{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.ecab-step2d__tab{
  appearance:none;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  padding:8px 14px;
  border-radius:9999px;
  font-weight:700;
  cursor:pointer;
}
.ecab-step2d__tab.is-active{
  border-color:#ff7a00;
  color:#ff7a00;
  background:rgba(255,122,0,.10);
}

.ecab-step2d__badge{
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(255,122,0,.12);
  color: #b45309;
  font-weight: 900;
  font-size: 12px;
  width: fit-content;
}
.ecab-step2d__page-title{
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.ecab-step2d__page-sub{
  color: #374151;
  font-size: 14px;
  margin-top: 4px;
}

.ecab-step2d__footer{
  display:flex;
  justify-content:flex-start;
}

.ecab-step2d__card{
  padding: 0;
  overflow: hidden;
}

@media (min-width: 768px){
  .ecab-step2d__card{
    min-height: 120px;
  }
}
.ecab-step2d__header{
  padding: 10px 14px;
}
.ecab-step2d__title{
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.ecab-step2d__sub{
  margin-top: 4px;
  color: #374151;
  font-size: 12px;
}
.ecab-step2d__hr{
  height: 1px;
  background: #e5e7eb;
}

.ecab-step2d__content{
  display:grid;
  grid-template-columns: 188px 1fr;
  gap: 12px;
  padding: 8px 12px 10px;
  align-items:start;
}
.ecab-step2d__left{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  gap: 6px;
}
.ecab-step2d__img{
  width: 176px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}
.ecab-step2d__img--empty{
  background: transparent;
  border: none;
}


/* Image container with title overlay (compact) */
.ecab-step2d__imgwrap{
  position: relative;
  width: 176px;
}
.ecab-step2d__imgtitle{
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecab-step2d__imgsub{
  width: 176px;
  font-size: 12px;
  line-height: 1.1;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Box title row (badge on the right) */
.ecab-step2d__box-title--row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 8px;
}
.ecab-step2d__badge--inline{
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
}

.ecab-step2d__badge--danger{
  background: #dc2626;
  color: #ffffff;
  border-color: #b91c1c;
}

@media (max-width: 767px){
  .ecab-step2d__imgwrap, .ecab-step2d__imgsub{ width: 100%; }
  .ecab-step2d__img{ width: 100%; height: 180px; }
  .ecab-step2d__imgtitle{ font-size: 16px; }
}

.ecab-step2d__right{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.ecab-step2d__pax{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  color: #374151;
  font-size: 12px;
}
.ecab-step2d__pax--compact{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecab-step2d__pax-line strong{ color:#111827; }

.ecab-step2d__unit-top{
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}
.ecab-step2d__unit-inline{
  color:#374151;
  font-size: 12px;
}

.ecab-step2d__mid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ecab-step2d__box{
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 8px;
  background: #fafafa;
}
.ecab-step2d__box-title{
  font-weight: 800;
  color: #111827;
  font-size: 12px;
}
.ecab-step2d__box-value{
  margin-top: 2px;
  color: #374151;
  font-size: 13px;
}

.ecab-step2d__action{
  display:flex;
  align-items:center;
  justify-content: flex-end;
  gap: 12px;
}
.ecab-step2d__action-price{
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}
.ecab-step2d__btn{
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 12px;
  height: 36px;
  min-width: 104px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}
.ecab-step2d__btn:hover{ filter: brightness(.97); }

@media (min-width: 1024px){
  .ecab-step2d__wrap{
    max-width: 1100px;
    margin: 0 auto;
  }
}

@media (max-width: 1023px){
  .ecab-step2d__content{
    grid-template-columns: 1fr;
  }
  .ecab-step2d__img{ width: 100%; height: 140px; }
  .ecab-step2d__action{ justify-content: space-between; }
}

/* ============================
   STEP-3 Modern UX (UI-only)
   Append-only styles (safe)
   ============================ */
.ecab-step3__page{
  padding: 18px 0 6px;
}
.ecab-step3__layout{
  gap: 18px;
}
.ecab-step3__page .ecab-ffa__card{
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.ecab-step3__page .ecab-step3__section-title{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  color: #111827;
}
.ecab-step3__page .ecab-ffa__muted{
  color:#6b7280;
}
.ecab-step3__page .ecab-ffa__input{
  height: 48px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: all .18s ease;
}
.ecab-step3__page textarea.ecab-ffa__input{
  height: auto;
  padding: 12px 14px;
}
.ecab-step3__page .ecab-ffa__input:focus{
  background:#fff;
  border-color:#f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,.14);
}
.ecab-step3pro__label-row{
  display:flex;
  gap:10px;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom: 6px;
}
.ecab-step3pro__label{
  font-size: 13px;
  font-weight: 800;
  color:#374151;
}
.ecab-step3pro__req{
  color:#f97316;
  font-weight: 900;
}
.ecab-step3pro__help{
  font-size: 12px;
  color:#6b7280;
  font-weight: 700;
}
.ecab-step3pro__field{
  margin-top: 10px;
}
.ecab-step3pro__terms-wrap{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.ecab-step3pro__kvkk-note{
  font-size: 12px;
  color:#6b7280;
  line-height: 1.45;
}
.ecab-step3pro__kvkk-link{
  color:#c2410c;
  font-weight: 900;
  text-decoration: none;
}
.ecab-step3pro__kvkk-link:hover{ text-decoration: underline; }
.ecab-step3pro__terms-links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ecab-step3pro__pill{
  display:inline-flex;
  align-items:center;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background:#fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  color:#374151;
  text-decoration:none;
}
.ecab-step3pro__pill:hover{ background:#f9fafb; }


/* --- Step-3 Legal Modals (Mesafeli Satış / KVKK) --- */
.ecab-legalmodal__overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index: 999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
}
.ecab-legalmodal__modal{
  width: min(920px, 100%);
  max-height: min(84vh, 760px);
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  display:flex;
  flex-direction: column;
}
.ecab-legalmodal__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  gap: 12px;
}
.ecab-legalmodal__title{
  font-weight: 900;
  font-size: 14px;
  color:#111827;
}
.ecab-legalmodal__close{
  appearance:none;
  border:0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color:#111827;
  cursor:pointer;
  padding: 0 6px;
}
.ecab-legalmodal__body{
  padding: 16px;
  overflow:auto;
}
.ecab-legalmodal__footer{
  padding: 12px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display:flex;
  justify-content:flex-end;
}
.ecab-legalmodal__ok{
  border: 1px solid #e5e7eb;
  background:#fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor:pointer;
}
.ecab-legalmodal__ok:hover{ background:#f9fafb; }

.ecab-legalmodal__doc h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 900;
  color:#111827;
}
.ecab-legalmodal__doc h4{
  margin: 14px 0 6px 0;
  font-size: 13px;
  font-weight: 900;
  color:#111827;
}
.ecab-legalmodal__doc p{
  margin: 0 0 10px 0;
  font-size: 12px;
  line-height: 1.55;
  color:#374151;
}
.ecab-legalmodal__doc ol{
  margin: 8px 0 12px 18px;
  padding: 0;
  font-size: 12px;
  line-height: 1.55;
  color:#374151;
}
.ecab-legalmodal__tablewrap{ overflow:auto; }
.ecab-legalmodal__table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.ecab-legalmodal__table th,
.ecab-legalmodal__table td{
  border:1px solid rgba(0,0,0,0.10);
  padding: 10px;
  vertical-align: top;
  text-align: left;
}
.ecab-legalmodal__table th{
  background:#f9fafb;
  font-weight: 900;
}

@media (max-width: 640px){
  .ecab-legalmodal__overlay{ padding: 0; }
  .ecab-legalmodal__modal{ width: 100%; max-height: 100vh; border-radius: 0; }
}


/* --- Step-4 Confirmation (append-only UI) --- */
.ecab-ffa__success{
  background:#e8f7ee;
  border:1px solid #bfe7cc;
  padding:12px 14px;
  border-radius:10px;
  font-weight:700;
}
.ecab-ffa__success-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.ecab-ffa__kv{ display:flex; flex-direction:column; gap:6px; }
.ecab-ffa__kvrow{ display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-bottom:1px solid rgba(0,0,0,0.06); }
.ecab-ffa__kvrow:last-child{ border-bottom:0; }
.ecab-ffa__k{ font-weight:700; min-width:160px; }
.ecab-ffa__v{ flex:1; text-align:left; }
.ecab-ffa__totalbar{ margin-top:12px; padding-top:12px; border-top:1px solid rgba(0,0,0,0.08); }



/* ===== TekTransfer Step-1 Single Row Bar + Pax Pill/Popover (v1.3.16) ===== */
:root{
  --tt-accent:#FF7000;
  --tt-accent-hover:#FF914D;
  --tt-accent-soft:#FFF1E8;
}

.ecab-ffa__step1bar{
  display:flex;
  align-items:stretch;
  gap:0;
  background:var(--ecab-card);
  border:1px solid var(--ecab-border);
  border-radius:16px;
  overflow:visible;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}

/* Step-1 only: Spot headline (centered, bold) */
.ecab-ffa__step1spot{
  display:none;
  text-align:center;
  font-weight:700;
  font-size:30px;      /* approved range: 28–32px */
  line-height:1.25;    /* approved range: 1.2–1.3 */
  color:#111;
  margin:0 0 18px 0;
}
.ecab-ffa.is-step1 .ecab-ffa__step1spot{ display:block; }

@media (max-width: 1024px){
  .ecab-ffa__step1spot{ font-size:24px; }
}
@media (max-width: 768px){
  .ecab-ffa__step1spot{ font-size:20px; padding:0 16px; }
}

.ecab-ffa__seg{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 12px;
  min-height:72px;
  border-right:1px solid rgba(0,0,0,.08);
  position:relative;
}

.ecab-ffa__seg:last-child{ border-right:0; }

.ecab-ffa__seg--from{ flex: 1.35; }
.ecab-ffa__seg--to{ flex: 1.35; }
.ecab-ffa__seg--flight{ flex: 1.05; }
.ecab-ffa__seg--pax{ flex: 0.80; }
.ecab-ffa__seg--return{ flex: 1.05; }
.ecab-ffa__seg--cta{ flex: 0 0 170px; padding:0; }

.ecab-ffa__swapbtn{
  /* UX (KİLİTLİ): Swap button slimmer on desktop to give address inputs more room */
  flex:0 0 44px;
  border:0;
  border-right:1px solid rgba(0,0,0,.08);
  background:#ff7a00;
  cursor:pointer;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.ecab-ffa__swapbtn:hover{ background:#e56d00; }
.ecab-ffa__swapbtn:active{ transform:scale(0.98); }

.ecab-ffa__seg .ecab-ffa__label{
  font-size:12px;
  color:var(--ecab-muted);
  margin-bottom:6px;
}

.ecab-ffa__seg .ecab-ffa__input{
  height:40px;
  padding:0;
  border:0;
  background:transparent;
  font-weight:600;
  color:var(--ecab-text);
}
.ecab-ffa__seg .ecab-ffa__input:focus{ outline:none; box-shadow:none; }

.ecab-ffa__seg--cta .ecab-ffa__cta{
  width:100%;
  height:100%;
  border-radius:0;
  font-size:16px;
  font-weight:800;
  background:var(--tt-accent);
}
.ecab-ffa__seg--cta .ecab-ffa__cta:hover{ background:var(--tt-accent-hover); }

/* Flight head: label left, return switch right */
.ecab-ffa__flighthead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ecab-ffa__flighthead .ecab-ffa__switch{ margin-left:auto; }


/* Return (mobile-stable inline expand) */
.ecab-ffa__return-expand{ margin-top:0; }
.ecab-ffa__return-oneway{ margin-top:10px; }
@media (max-width: 900px){
  /* keep switch row compact; expand content stacks naturally via .ecab-ffa__row2col */
  .ecab-ffa__seg--return .ecab-ffa__flighthead{ padding-bottom:4px; }
}

/* Pax pill */
.ecab-ffa__paxwrap{ position:relative; }
.ecab-ffa__paxpill{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:44px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  background:var(--tt-accent);
  color:#fff;
  font-weight:800;
  box-shadow:0 10px 22px rgba(255,112,0,.25);
}
.ecab-ffa__paxpill:hover{ background:var(--tt-accent-hover); }
.ecab-ffa__paxpill-ico{ font-size:16px; }
.ecab-ffa__paxpill-txt{ font-size:14px; }

/* Pax popover */
.ecab-ffa__paxpop{
  position:absolute;
  left:0;
  right:0;
  top:54px;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:12px;
  z-index:50;
  box-shadow:0 18px 40px rgba(15,23,42,.18);
}

/* Desktop portal overlay (pax popup rendered outside containers to avoid Elementor slider stacking/overflow issues) */
.ecab-ffa__paxoverlay{
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 2147483646 !important;
  pointer-events: auto;
}

.ecab-ffa__paxpop.ecab-ffa__paxpop--portal{
  position: fixed;
  left: 0;
  top: 0; /* JS sets final top/left/width */
  right: auto;
  bottom: auto;
  max-width: none;
  width: auto;
  z-index: 2147483647 !important;
}
/* Mobile/Tablet: open upward (prevents being covered by below-the-bar content like sliders) */
@media (max-width: 1023px){
  .ecab-ffa__paxpop{ top:auto; bottom:54px; }
}

/* Desktop: Make pax popup comfortably large (no scroll; all rows visible) */
@media (min-width: 1024px){
  .ecab-ffa__paxpop{
    /* UX (KİLİTLİ): Desktop pax popup opens downward like a dropdown, left-aligned and input-width */
    width:100%;
    max-width:none;
    left:0;
    right:0;
    top:54px;
    bottom:auto;
    transform:none;
    padding:20px;
  }
  .ecab-ffa__paxrow{ padding:12px 8px; }
  .ecab-ffa__paxactions{ margin-top:14px; }
}

/* Step-1 only: hide header (1-2-3 steps + title) for Uber-style compact search */
.ecab-ffa.is-step1 .ecab-ffa__header{ display:none; }

/* Desktop only: make Step-1 bar sticky on homepage */
@media (min-width: 1024px){
  .ecab-ffa.is-step1 .ecab-ffa__step1bar{
    position: sticky;
    top: var(--tt-sticky-top, 0px);
    z-index: 1000;
  }
}

.ecab-ffa__paxrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 6px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.ecab-ffa__paxrow:last-of-type{ border-bottom:0; }

.ecab-ffa__paxlbl{ font-weight:700; color:var(--ecab-text); }
.ecab-ffa__paxctrl{ display:flex; align-items:center; gap:10px; }

.ecab-ffa__paxstep{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.10);
  background:#f9fafb;
  cursor:pointer;
  font-size:18px;
  font-weight:800;
  line-height:1;
  color:#111 !important; /* + / − must be visible (black) */
}
.ecab-ffa__paxstep:hover{ background:var(--tt-accent-soft); border-color:rgba(255,112,0,.35); }

.ecab-ffa__paxval{
  width:26px;
  text-align:center;
  font-weight:800;
  color:var(--ecab-text);
}

.ecab-ffa__paxactions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.ecab-ffa__btn--accent{
  background:var(--tt-accent) !important;
  color:#fff !important;
}
.ecab-ffa__btn--accent:hover{ background:var(--tt-accent-hover) !important; }

/* Responsive: stack on mobile */
@media (max-width: 900px){
  .ecab-ffa__step1bar{
    flex-direction:column;
    border-radius:18px;
  }
  .ecab-ffa__seg{
    border-right:0;
    border-bottom:1px solid rgba(0,0,0,.08);
  }
  .ecab-ffa__swapbtn{
    width:100%;
    border-right:0;
    border-bottom:1px solid rgba(0,0,0,.08);
    min-height:48px;
  }
  .ecab-ffa__seg--cta{ flex:unset; border-bottom:0; }
  .ecab-ffa__seg--cta .ecab-ffa__cta{ height:56px; }
}


/* === v1.3.31-step2-shuttle-variants: Step-2 pickup focus + centered title/meta === */
@media (min-width: 768px) {
  .ecab-step2d__righthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
  }
  .ecab-step2d__righttitle {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    text-align: center;
  }
  .ecab-step2d__rightsub {
    font-size: 13px;
    line-height: 1.15;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

.ecab-step2d__pickupbadge {
  background: #16a34a;
  color: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 96px;
}
.ecab-step2d__pickupbadge-time {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}
.ecab-step2d__pickupbadge-date {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.1;
}

/* Flight-kind badge (domestic/international) stays red pill */
.ecab-step2d__badge--inline {
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}


@media (max-width:1023px){
  /* iOS Safari: prevent input focus zoom */
  .ecab-ffa__input{ font-size:16px; }
}

.ecab-ffa__ac-option.is-active{
  background: rgba(0,0,0,0.04);
}
