.ntbp-booking {
  --ntbp-primary: #2563eb;
  --ntbp-border: #d8e0ec;
  --ntbp-text: #142033;
  --ntbp-muted: #66758a;
  --ntbp-surface: #ffffff;
  --ntbp-soft: #f5f7fb;
  color: var(--ntbp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ntbp-booking * {
  box-sizing: border-box;
}

.ntbp-booking [hidden] {
  display: none !important;
}

.ntbp-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.ntbp-progress--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ntbp-progress button,
.ntbp-actions button,
.ntbp-card-action button,
.ntbp-booking [type="submit"] {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--ntbp-soft);
  color: var(--ntbp-text);
  font-weight: 700;
  cursor: pointer;
}

.ntbp-progress button.is-active,
.ntbp-actions button:not(:disabled),
.ntbp-card-action button,
.ntbp-booking [type="submit"] {
  background: var(--ntbp-primary);
  color: #fff;
}

.ntbp-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.ntbp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.ntbp-steps,
.ntbp-summary {
  background: var(--ntbp-surface);
  border: 1px solid var(--ntbp-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(32, 48, 78, .10);
}

.ntbp-steps {
  padding: 24px;
}

.ntbp-step {
  display: none;
}

.ntbp-step.is-active {
  display: block;
}

.ntbp-step h2,
.ntbp-summary h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.ntbp-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ntbp-booking label {
  display: grid;
  gap: 7px;
  color: var(--ntbp-muted);
  font-size: 14px;
  font-weight: 700;
}

.ntbp-booking input,
.ntbp-booking select,
.ntbp-booking textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ntbp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ntbp-text);
  font: inherit;
  padding: 10px 12px;
}

.ntbp-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ntbp-text);
}

.ntbp-check input,
.ntbp-payment-options input,
.ntbp-extra input {
  width: auto;
  min-height: 0;
}

.ntbp-map {
  display: grid;
  gap: 8px;
  min-height: 260px;
  margin: 0 0 20px;
  padding: 20px;
  border: 1px dashed #9bb8e9;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(20, 184, 166, .12)),
    #f8fbff;
}

.ntbp-map-canvas {
  width: 100%;
  min-height: 190px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eef7;
}

.ntbp-thank-you {
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--ntbp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(32, 48, 78, .10);
  text-align: center;
}

.ntbp-thank-you h2 {
  margin: 0 0 10px;
  color: var(--ntbp-primary);
}

.ntbp-thank-you a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ntbp-primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.ntbp-vehicle-grid,
.ntbp-extra-grid {
  display: grid;
  gap: 12px;
}

.ntbp-vehicle {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 126px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 16px 18px 16px 14px;
  border: 1px solid var(--ntbp-border);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.ntbp-vehicle::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: transparent; transition: background .18s ease; }

.ntbp-vehicle:hover,
.ntbp-vehicle:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ntbp-primary) 60%, white); box-shadow: 0 14px 34px rgba(32, 48, 78, .13); outline: none; }

.ntbp-vehicle.is-selected {
  border-color: var(--ntbp-primary);
  background: color-mix(in srgb, var(--ntbp-primary) 5%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ntbp-primary) 15%, transparent);
}

.ntbp-vehicle:hover::before,
.ntbp-vehicle.is-selected::before { background: var(--ntbp-primary); }

.ntbp-vehicle-icon {
  display: flex;
  min-height: 98px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #eef4ff, #e4edff);
  color: var(--ntbp-primary);
  font-weight: 800;
  line-height: 1;
}

.ntbp-vehicle--minivan .ntbp-vehicle-icon { background: linear-gradient(145deg, #f2edff, #e9e0ff); }
.ntbp-vehicle--minibus .ntbp-vehicle-icon { background: linear-gradient(145deg, #e9f9f5, #daf2ed); }
.ntbp-vehicle-icon > span { font-size: 43px; filter: drop-shadow(0 5px 6px rgba(28, 47, 79, .12)); }
.ntbp-vehicle-icon small { display: block; margin-top: 12px; color: #52647c; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.ntbp-vehicle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.ntbp-vehicle h3,
.ntbp-vehicle p,
.ntbp-vehicle ul {
  margin-top: 0;
}

.ntbp-vehicle h3 { margin-bottom: 7px; font-size: 19px; line-height: 1.2; }

.ntbp-vehicle-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.ntbp-vehicle-capacity span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ntbp-soft);
  color: var(--ntbp-muted);
  font-size: 12px;
  font-weight: 750;
}

.ntbp-vehicle-description { margin-bottom: 7px; color: #35445a; font-size: 13px; line-height: 1.5; }
.ntbp-features { margin-bottom: 0; color: var(--ntbp-muted); font-size: 12px; line-height: 1.45; }

.ntbp-card-action {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 14px;
  text-align: right;
}

.ntbp-card-action strong {
  color: #11243c;
  font-size: 19px;
}

.ntbp-select-hint { display: inline-flex; align-items: center; gap: 7px; color: var(--ntbp-primary); font-size: 12px; font-weight: 850; }
.ntbp-select-hint i { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-style: normal; opacity: .55; }
.ntbp-vehicle.is-selected .ntbp-select-hint i { background: var(--ntbp-primary); color: #fff; opacity: 1; }

.ntbp-extra {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ntbp-border);
  border-radius: 8px;
  color: var(--ntbp-text) !important;
}

.ntbp-extra select { grid-column: 2 / -1; }

.ntbp-extra small {
  display: block;
  margin-top: 4px;
  color: var(--ntbp-muted);
}

.ntbp-payment-options {
  display: grid;
  gap: 10px;
}

.ntbp-payment-method {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ntbp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ntbp-text) !important;
}

.ntbp-payment-method small {
  display: block;
  margin-top: 4px;
  color: var(--ntbp-muted);
  font-weight: 600;
}

.ntbp-summary {
  position: sticky;
  top: 32px;
  padding: 22px;
}

.ntbp-summary dl,
.ntbp-summary dd {
  margin: 0;
}

.ntbp-summary dl {
  display: grid;
  gap: 12px;
}

.ntbp-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ntbp-border);
}

.ntbp-summary dt {
  color: var(--ntbp-muted);
  font-weight: 700;
}

.ntbp-summary dd {
  text-align: right;
  font-weight: 800;
}

.ntbp-total {
  font-size: 20px;
  color: var(--ntbp-primary);
}

.ntbp-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.ntbp-actions button,
.ntbp-booking [type="submit"] {
  min-width: 130px;
  padding: 0 18px;
}

.ntbp-submit-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
}

.ntbp-submit-message.is-success {
  background: #eafaf1;
  color: #116b3a;
}

.ntbp-submit-message.is-error {
  background: #fff1f1;
  color: #a51d2d;
}

@media (max-width: 880px) {
  .ntbp-layout,
  .ntbp-field-grid,
  .ntbp-progress {
    grid-template-columns: 1fr;
  }

  .ntbp-summary {
    position: static;
  }

  .ntbp-vehicle {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-height: 112px;
    padding: 12px;
  }

  .ntbp-vehicle-icon { min-height: 86px; }
  .ntbp-vehicle-icon > span { font-size: 34px; }
  .ntbp-card-action { grid-column: 2; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; text-align: left; }
  .ntbp-select-hint { justify-self: end; }
}
