/* BS WP Native UI v3.0.0 */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&family=Jura:wght@400;600&display=swap');
:root{
  --bs-primary:#0797f6;
  --bs-accent:#ffc800;
  --bs-bg:#f6f8fb;
  --bs-card:#ffffff;
  --bs-text:#0f172a;
  --bs-muted:#64748b;
  --bs-border:rgba(15,23,42,.12);
  --bs-shadow: 0 18px 50px rgba(2,8,23,.10);
  --bs-shadow2: 0 10px 25px rgba(2,8,23,.08);
  --bs-radius:20px;
}

.bs-app{ color:var(--bs-text); }
.bs-shell{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

.bs-card{
  background: linear-gradient(180deg, #fff, #fff) padding-box,
              linear-gradient(135deg, rgba(7,151,246,.35), rgba(255,200,0,.25)) border-box;
  border: 1px solid transparent;
  border-radius: var(--bs-radius);
  box-shadow: var(--bs-shadow);
}

.bs-search{
  padding: 18px;
  position: relative;
  border-radius: calc(var(--bs-radius) - 2px);
  overflow: visible !important;
}
.bs-grid, .bs-field, .bs-inputwrap{ overflow: visible !important; }
.bs-search:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(7,151,246,.18), transparent 60%),
    radial-gradient(600px 220px at 90% 0%, rgba(255,200,0,.14), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.bs-search > *{ position:relative; z-index:1; }

.bs-grid{
  display:grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 12px;
  align-items:center;
  width:100%;
}

.bs-grid .bs-inputwrap{
  width:100%;
  min-width:0;                  /* щоб не ламалось на вузьких екранах */
  height:56px;               /* = bs-input */
  display:flex;
  align-items:center;
}

.bs-grid .bs-swap{
  height:56px;
  width:44px;
  justify-self:center;          /* центр у своїй колонці */
  align-self:center;
  justify-content:center;
  align-items:center;
  display:flex;
}

@media (max-width: 700px){
  .bs-grid{
    grid-template-columns: 1fr;  /* в один стовпець */
  }
  .bs-grid .bs-swap{
    justify-self:end;            /* або center, як хочеш */
  }
}

/*
  У твоєму HTML всередині .bs-grid зараз 5 елементів:
  (Звідки / Swap / Куди / Дата / Пасажири).
  На десктопі робимо 5 колонок, щоб “Дата” не з’їжджала на новий ряд.
*/
@media (min-width: 861px){
  .bs-grid{
    grid-template-columns: minmax(260px, 1fr) 64px minmax(260px, 1fr) 170px 160px;
    align-items: end;
  }
}

@media (max-width: 860px){
  .bs-grid{ grid-template-columns: 1fr; }
  .bs-swap{ display:flex; justify-content:center; }
}

.bs-field{ position:relative; }
.bs-label{
  display:block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  color: var(--bs-text);
  margin: 0 0 8px;
}

.bs-inputwrap{ position:relative; }
.bs-ico{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15,23,42,.55);
  pointer-events:none;
}

.bs-input{
  width:100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--bs-border);
  background: rgba(255,255,255,.92);
  padding: 0 14px 0 42px;
  outline:none;
  box-shadow: 0 0 0 rgba(7,151,246,0);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  font-size: 16px;
}
select.bs-input{ padding-left: 14px; }
.bs-input:focus{
  border-color: rgba(7,151,246,.55);
  box-shadow: 0 0 0 6px rgba(7,151,246,.14);
  background:#fff;
}

.bs-swapbtn{
  height:44px;
  width:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid var(--bs-border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--bs-shadow2);
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bs-swapbtn:hover{ transform: translateY(-1px); box-shadow: 0 16px 35px rgba(2,8,23,.12); border-color: rgba(7,151,246,.65); }

.bs-btn{
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--bs-border);
  background: rgba(255,255,255,.85);
  padding: 0 18px;
  font-weight: 800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.bs-btn:hover{ transform: translateY(-1px); box-shadow: var(--bs-shadow2); }

.bs-btn-primary:hover{
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(7,151,246,.35), inset 0 -2px 0 rgba(0,0,0,.15);
}

.bs-btn-primary:active{
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(7,151,246,.25), inset 0 2px 0 rgba(0,0,0,.2);
}

.bs-btn-primary:focus{
  outline: none;
}

.bs-btn-primary:focus-visible{
  box-shadow: 0 0 0 3px rgba(7,151,246,.35), 0 6px 14px rgba(7,151,246,.28);
}

.bs-btn-ghost{
  background: rgba(255,255,255,.80);
}

.bs-advanced{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(15,23,42,.18);
  background: rgba(246,248,251,.75);
}
.bs-advanced-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 860px){
  .bs-advanced-grid{ grid-template-columns: 1fr; }
}
.bs-checks{ display:flex; gap: 12px; align-items:center; }
.bs-check{
  display:flex;
  gap: 10px;
  align-items:center;
  font-weight: 700;
  color: var(--bs-muted);
  user-select:none;
}
.bs-check input{ transform: scale(1.1); }

.bs-results{ margin-top: 18px; }

/* Suggestions dropdown */
.bs-suggest{
  position:absolute;
  left:0; right:0;
  top: calc(100% + 8px);
  background:#fff;
  border: 1px solid var(--bs-border);
  border-radius: 16px;
  box-shadow: var(--bs-shadow2);
  overflow:hidden;
  z-index: 999999;
}
.bs-suggest:empty{ display:none; }

/* Modal (під твій JS) */
.bs-modal{
  position: fixed;
  inset: 0;
  background: rgba(2,8,23,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 9999;
}
.bs-modal-dialog{
  width: min(980px, 100%);
  background:#fff;
  border-radius: 22px;
  box-shadow: var(--bs-shadow);
  overflow:hidden;
}
.bs-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bs-border);
  background: linear-gradient(135deg, rgba(7,151,246,.08), rgba(255,200,0,.08));
}
.bs-modal-title{ font-weight: 900; }
.bs-modal-close{
  height: 42px; width: 42px;
  border-radius: 14px;
  border: 1px solid var(--bs-border);
  background:#fff;
  cursor:pointer;
}
.bs-modal-body{ padding: 16px; max-height: min(72vh, 720px); overflow:auto; }

/* Дрібні хелпери для твоїх блоків (картки рейсів/оформлення) */
.bussystem-card{
  margin-top: 14px;
  background:#fff;
  border-radius: 18px;
  border: 1px solid var(--bs-border);
  box-shadow: var(--bs-shadow2);
  overflow:hidden;
}
.bs-card{ border-radius: 18px; }
.bs-muted{ color: var(--bs-muted); }

.bussystem-btn-outline,
.bs-btn-large{
  border-radius: 16px !important;
}

/* Не даємо темам ламати box-sizing */
#bussystem-app, #bussystem-app * { box-sizing: border-box; }

/* WP autop страховка лише всередині нашого віджета */
#bussystem-app .bs-field br,
#bussystem-app .bs-inputwrap br { display: none !important; }

#bussystem-app p:empty { display:none !important; margin:0 !important; padding:0 !important; }

/* WP autop страховка тільки в межах віджета */
#bussystem-app p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* p з &nbsp; не вважається :empty, тому дублюємо */
#bussystem-app p {
  margin-block: 0; /* на всяк випадок, щоб не робило “дірки” */
}

/* не даємо <br> ламати форму */
#bussystem-app .bs-field br,
#bussystem-app .bs-inputwrap br,
#bussystem-app .bs-grid br,
#bussystem-app .bs-actions br,
#bussystem-app .bs-advanced br {
  display: none !important;
}


/* ---- Icons: мінімалізм (без градієнтів) ---- */
#bussystem-app i.fa-solid,
#bussystem-app i.fa-regular,
#bussystem-app i.fa-light,
#bussystem-app i.fa-thin{
  color: rgba(15,23,42,.55);
  transition: color .15s ease, opacity .15s ease, transform .15s ease;
}

/* іконки в полях — підсвічуємо при фокусі */
#bussystem-app .bs-inputwrap:focus-within .bs-ico i{
  color: rgba(7,151,246,.92);
}

/* іконки в swap/кнопках — трохи “техно” */
#bussystem-app .bs-swapbtn i,
#bussystem-app .bs-btn i{
  opacity: .92;
}

/* в primary-кнопках іконка */
#bussystem-app .bs-btn-primary i{
  color: #ffc800;
  font-size: 16px;
  transform: translateY(1px);
}

/* ---- Date field: нормальні відступи + іконка справа ---- */
#bussystem-date.bs-input{
  padding-left: 14px;
  padding-right: 46px;
}
.bs-inputwrap--date .bs-ico-right{
  left: auto;
  right: 12px;
}
.bs-inputwrap--date .bs-ico-right i{
  font-size: 16px;
}

/* ховаємо нативну іконку календаря, але залишаємо клікабельність */
#bussystem-date::-webkit-calendar-picker-indicator{
  opacity: 0;
  position: absolute;
  right: 0;
  width: 46px;
  height: 100%;
  cursor: pointer;
}

/* ---- Suggestions: нормальна візуалізація ---- */
.bs-suggest-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  cursor:pointer;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.bs-suggest-item:last-child{ border-bottom:0; }
.bs-suggest-item:hover{ background: rgba(7,151,246,.06); }
.bs-suggest-icon{ width: 22px; display:flex; justify-content:center; }
.bs-suggest-text{ font-weight:700; }
.bs-suggest-country{ color: var(--bs-muted); font-weight:700; }
.bs-suggest-match{ color: var(--bs-primary); }
.bs-suggest-item--loading{ color: var(--bs-muted); cursor: default; }


/* --- v5: підказки міст поверх кнопок/блоків (stacking context fix) --- */
#bussystem-app .bs-grid{ position:relative; z-index: 10; }
#bussystem-app .bs-actions{ position:relative; z-index: 2; }
#bussystem-app .bs-advanced{ position:relative; z-index: 2; }
#bussystem-app .bs-suggest{ z-index: 999999; }

.bussystem-app {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.bussystem-app .bs-title,
.bussystem-app h1,
.bussystem-app h2,
.bussystem-app h3 {
  font-family: "Exo 2", "Manrope", system-ui, sans-serif;
}

body { font-family: "Exo 2", "Jura", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

.bs-route-card{
  background:#fff;
  border-radius:16px;
  padding:18px;
  margin:0 0 14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.bs-card-main{
  display:flex;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1.2fr) minmax(220px,1fr);
  gap:22px;
  align-items:start;
}

.bs-time{ font-size:26px; font-weight:900; line-height:1; }
.bs-date{ display:inline-block; margin-top:8px; padding:6px 10px; border-radius:999px; background:#f3f6ff; font-weight:700; font-size:13px; }
.bs-city{ margin-top:10px; font-size:20px; font-weight:800; }
.bs-station{ margin-top:6px; color:#444; line-height:1.35; }

.bs-col-road{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.bs-duration{ font-weight:800; margin-top:2px; }

.bs-road-line{
  margin-top:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  opacity:.9;
}

.bs-road-line .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--bs-accent);
}

.bs-road-line .bus-icon{ font-size:20px; }

.bs-col-action {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* або flex-start — нижче поясню */
  gap: 12px;                 /* <-- КЛЮЧОВЕ */
}

.bs-col-action{ text-align:right; }
.bs-price{
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-left: 22px;
  font-variant-numeric: tabular-nums;

  padding: 10px 14px;
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    #f2f9ff 0%,
    #e9f4ff 100%
  );

  border: 1px solid rgba(7,151,246,.22);

  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;

  color: #0b1b2b;
  white-space: nowrap;
  position: relative;
}

.bs-price::before{
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 99px;
  background: #ffc800;
}

.bs-price::after{
  content: "";
}

.bs-card:hover .bs-price{
  background: #eef7ff;
  border-color: rgba(7,151,246,.38);
}

@media (max-width: 640px){
  .bs-price{
    font-size: 22px;
    padding: 8px 12px 8px 22px;
  }
}

.bs-btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  border-color: transparent;
  background: linear-gradient(135deg, #0797f6 0%, #1aa3ff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 14px rgba(7,151,246,.28), inset 0 -2px 0 rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.bs-meta{ margin-top:10px; color:#333; }
.bs-muted{ color:#777; }

.bs-card-footer{
  border-top:1px solid #eee;
  margin-top:16px;
  padding-top:12px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}

.bussystem-details-btn{
  border:0;
  background:transparent;
  color:#1a4cff;
  font-weight:900;
  cursor:pointer;
  padding:0;
}

.badge{
  padding:8px 12px;
  border-radius:10px;
  font-weight:900;
  font-size:13px;
}

.badge.green{ background:#e7f6df; color:#2e7d32; }
.badge.red{ background:#fde3e3; color:#b71c1c; }

@media (max-width: 900px){
  .bs-card-main{ grid-template-columns:1fr; }
  .bs-col-action{ text-align:left; }
}

@media (max-width: 640px){
  .bs-btn-primary{
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* --- Cards: footer controls --- */
.bs-card-footer{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.bussystem-details-btn.bs-btn-mini{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(7,151,246,.25);
  background: rgba(7,151,246,.08);
  color: var(--bs-primary);
  font-weight:900;
  cursor:pointer;
}
.bussystem-details-btn.bs-btn-mini:hover{
  background: rgba(7,151,246,.12);
}

.bs-pill-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.55);
  color: var(--bs-text);
  font-weight:900;
  cursor:pointer;
}
.bs-pill-btn i{ color: var(--bs-muted); }
.bs-pill-btn:hover{ background: rgba(255,255,255,.75); }

.bs-pill-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background: rgba(255,200,0,.18);
  border:1px solid rgba(255,200,0,.35);
  color: #7a5b00;
  font-weight:950;
}

.bs-meta-row{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  padding-top:6px;
  border-top:1px solid rgba(15,23,42,.08);
}
.bs-meta-item{
  display:flex;
  gap:10px;
  align-items:center;
  color: var(--bs-muted);
  font-weight:800;
}
.bs-meta-item i{ color: var(--bs-muted); }
.bs-meta-item b{ color: var(--bs-text); }

/* --- Floating popover --- */
.bs-float-popover{
  position:fixed;
  z-index:9999;
  width:320px;
  padding:14px 14px 12px;
  border-radius:16px;
  background: rgba(10,16,28,.92);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  color:#e6eefc;
}
.bs-pop-title{
  font-weight:950;
  letter-spacing:.2px;
  margin-bottom:10px;
}
.bs-pop-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px 12px;
}
.bs-pop-item{
  display:flex;
  gap:10px;
  align-items:center;
  color: rgba(230,238,252,.92);
  font-weight:800;
}
.bs-pop-ico{
  width:30px;height:30px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(7,151,246,.14);
  border:1px solid rgba(7,151,246,.25);
  color: #79c7ff;
}
.bs-pop-note{
  color: rgba(230,238,252,.90);
  line-height:1.45;
}
.bs-pop-empty{ color: rgba(230,238,252,.75); }

/* --- Route visualization --- */
.bs-duration-label{
  font-weight:900;
  color: var(--bs-muted);
  text-align:center;
}
.bs-road-line{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:center;
}

.bs-road-line .dot{
  width:10px;
  height:10px;
  border-radius:99px;
  background: rgba(255,200,0,.9);
  box-shadow: 0 0 0 6px rgba(255,200,0,.20);
  flex: 0 0 auto;
}

.bs-road-line .line{
  flex:1;
  height:2px;
  background: linear-gradient(90deg, rgba(15,23,42,.10), rgba(15,23,42,.10));
  border-radius:99px;
}
.bs-road-line .bs-ico{
  position: static;
  z-index: 1;
  margin: 6px 0;
  width:34px;
  height:34px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(7,151,246,.10);
  border:1px solid rgba(7,151,246,.25);
  color: var(--bs-primary);
  flex: 0 0 auto;
  transform: translateY(1px);
}

/* --- Form actions stability + passengers label icon --- */
.bs-actions{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-top: 14px;
}
.bs-label i{
  margin-right:8px;
  color: var(--bs-muted);
}


/* --- Fix overflow / long text wrapping --- */
.bussystem-card, .bussystem-card *{ box-sizing: border-box; }
.bs-col-from, .bs-col-to{ min-width: 0; flex: 1 1 0; }
.bs-station{ overflow-wrap:anywhere; word-break: break-word; }
.bs-col-action{ min-width: 220px; }
@media(max-width: 860px){ .bs-col-action{ min-width: 0; } }

.bs-col-to{
  text-align: right;
}

/* --- E-ticket badge --- */
.bs-eticket{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left: auto;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  color: #0f172a;
  background: rgba(255,200,0,.22);
  border: 1px solid rgba(255,200,0,.55);
}
.bs-eticket i{ color: var(--bs-accent); }

@media (max-width: 900px){ .bs-card-main{ grid-template-columns: 1fr; } .bs-col-action{ text-align:left; } }


/* --- FIXES 2026-01-09 --- */
.bussystem-card .bs-card-main{ padding:18px 18px 0; }
.bussystem-card .bs-card-footer{ padding:12px 18px 16px; margin-top:0; }

.bs-card-main{
  grid-template-columns: minmax(0,1fr) 320px minmax(0,1fr) minmax(240px,1fr);
}

.bs-road-line{ gap:14px; }
.bs-road-line .line{ width:120px; height:4px; border-radius:999px; }
.bs-road-line .bs-ico i{ color: var(--bs-primary); }

.bs-card-footer{ align-items:stretch; }
.bs-card-footer button{ height:44px; }
.bs-card-footer .bs-pill-btn,
.bs-card-footer .bs-btn-mini{ display:inline-flex; align-items:center; }

.bs-actions .bs-btn{ height:56px; display:inline-flex; align-items:center; justify-content:center; }
.bs-actions .bs-btn i{ line-height:1; }

/* passenger select icon */
.bs-inputwrap select.bs-input{ padding-left:50px; }
.bs-ico.bs-ico-num{
  width:34px;height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#fff;
  background: var(--bs-primary);
}

/* passengers stepper inside inputwrap */
.bs-passengers-stepper{
  display:flex;
  align-items:center;
  gap:10px;
}

/* hide native select but keep it for form submit */
.bs-passengers-stepper #bussystem-passengers{
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:0;
  height:0;
}

/* plus/minus buttons */
.bs-step-btn{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight:900;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.bs-step-btn:hover{ border-color: rgba(7,151,246,.6); }

/* badge as main field */
.bs-passengers-badge{
  min-width:56px;
  height:56px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  font-size:18px;
}

.bs-passengers-stepper{ position:relative; }

/* FIX layout for passengers stepper */
.bs-passengers-stepper{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  position:relative;
}

/* прибрати можливі absolute/offset стилі у старого badge */
.bs-passengers-stepper #bs-passengers-badge{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  margin:0 !important;
}

/* зробити елементи однаковими по висоті */
.bs-passengers-stepper .bs-step-btn{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
}

.bs-passengers-stepper .bs-passengers-badge{
  height:56px;          /* щоб було в один ряд з кнопками */
  min-width:56px;
  flex:0 0 auto;
  border-radius:14px;
}

/* select ховаємо (як і було), але щоб точно не впливав */
.bs-passengers-stepper #bussystem-passengers{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:1px !important;
  height:1px !important;
  left:-9999px !important;
  top:auto !important;
}

/* stepper disabled look */
.bs-passengers-stepper .bs-step-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  border-color: rgba(0,0,0,.10);
}

.bs-passengers-stepper .bs-step-btn:not(:disabled):hover{
  border-color: rgba(7,151,246,.65);
}

.bs-passengers-stepper .bs-step-btn:not(:disabled):active{
  transform: translateY(1px);
}

/* swap container */
.bs-swap{
  width:44px;              /* ← рівно під кнопку */
  height:56px;             /* ← як bs-input */
  display:flex;
  align-items:center;      /* вертикальний центр */
  justify-content:center;  /* горизонтальний центр */
  flex:0 0 44px;           /* щоб flex не розтягував */
}