/* =============================================================================
   vessels-frontend.css — vbf- class system
   Professional booking form stylesheet — full rewrite
   ============================================================================= */

/* ── RESET ──────────────────────────────────────────────────────────────────── */
.vessels-booking *,
.vessels-booking *::before,
.vessels-booking *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BASE WRAPPER ───────────────────────────────────────────────────────────── */
.vessels-booking {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 15px;
  color: #1a2332;
  line-height: 1.6;
  background: #FFFFFF;
  max-width: 1170px;
  margin: 0 auto;
  padding: 10px 0px 20px;
}

/* ── ACCESSIBILITY ──────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── NOTICES ────────────────────────────────────────────────────────────────── */
.vbf-notice {
  padding: 12px 16px; border-radius: 6px;
  font-size: 14px; margin: 0 0 20px;
}
.vbf-notice--error {
  background: #fef2f2; border: 1px solid #fca5a5;
  border-left: 4px solid #c0392b; color: #991b1b;
}
.vbf-notice--info {
  background: #e8f5f9; border: 1px solid #a5d4e0;
  border-left: 4px solid #2d8ca8; color: #0f5068;
}
.vbf-field-hint { font-size: 12px; color: #94a3b8; margin-top: 5px; }

/* ── SECTIONS ───────────────────────────────────────────────────────────────── */
.vbf-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 15px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.vbf-section__title {
  font-size: 17px; font-weight: 700;
  color: #1e3a5f; margin-bottom: 6px; letter-spacing: -.2px;
}
.vbf-section > .vbf-field-hint { margin-bottom: 20px; }

/* ── MODE SWITCHER ──────────────────────────────────────────────────────────── */
#vessels-booking-wrap .vbf-mode-switcher {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 14px; margin-bottom: 24px;
  width: 100%;
}
#vessels-booking-wrap .vbf-mode-btn {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 16px;
  width: 100%; min-height: 90px;
  background: #fff !important; border: 2px solid #e2e8f0 !important; border-radius: 14px !important;
  font-size: 15px !important; font-weight: 700 !important; color: #1a2332 !important;
  cursor: pointer; transition: border-color .2s, background .2s, color .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  line-height: 1.2 !important; text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  font-family: inherit;
  margin: 0;
}
#vessels-booking-wrap .vbf-mode-btn:hover {
  border-color: #2d8ca8 !important; color: #2d8ca8 !important;
}
#vessels-booking-wrap .vbf-mode-btn--active {
  border-color: #1e3a5f !important; background: #1e3a5f !important; color: #fff !important;
}
#vessels-booking-wrap .vbf-mode-btn--active:hover {
  border-color: #142d4a !important; background: #142d4a !important; color: #fff !important;
}
#vessels-booking-wrap .vbf-mode-btn__icon {
  font-size: 26px; line-height: 1;
  pointer-events: none;
  display: block;
}

/* ── VESSEL GRID ────────────────────────────────────────────────────────────── */
.vbf-vessel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* ── VESSEL CARD WRAP ───────────────────────────────────────────────────────── */
.vbf-vessel-card-wrap { display: flex; flex-direction: column; }

/* ── VESSEL CARD ────────────────────────────────────────────────────────────── */
.vbf-vessel-card {
  display: block;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.vbf-vessel-card:hover {
  border-color: #2d8ca8;
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.vbf-vessel-card--selected {
  border-color: #1e3a5f !important;
  border-bottom-color: #e2e8f0 !important;
  border-radius: 10px 10px 0 0 !important;
  box-shadow: 0 0 0 3px rgba(30,58,95,.12) !important;
  transform: none !important;
}
.vbf-vessel-card__img {
  height: 140px;
  background: #dde6f0 center/cover no-repeat;
}
.vbf-vessel-card__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #b0bec5; background: #ecf1f6;
}
.vbf-vessel-card__body { padding: 14px 16px 16px; }
.vbf-vessel-card__name {
  font-size: 15px; font-weight: 700;
  color: #1e3a5f; margin-bottom: 4px;
}
.vbf-vessel-card__rate {
  font-size: 13px; color: #64748b; font-weight: 500;
}
.vbf-vessel-card__desc {
  font-size: 12px; color: #94a3b8;
  margin-top: 6px; line-height: 1.45;
}
.vbf-vessel-card__check {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: #1e3a5f; color: #fff; border-radius: 50%;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6);
  transition: opacity .18s, transform .18s;
}
.vbf-vessel-card--selected .vbf-vessel-card__check {
  opacity: 1; transform: scale(1);
}

/* ── VESSEL OPTIONS PANEL ───────────────────────────────────────────────────── */
.vbf-vessel-options {
  background: #f4f7fb;
  border: 2px solid #1e3a5f;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 20px 18px 18px;
}

/* ── FORM FIELD PRIMITIVES ──────────────────────────────────────────────────── */
.vbf-field-group { margin-bottom: 16px; }
.vbf-field-group:last-child { margin-bottom: 0; }
.vbf-label {
  display: block; font-size: 13px; font-weight: 600;
  color: #475569; margin-bottom: 6px; letter-spacing: .1px;
}
.vbf-required { color: #c0392b; margin-left: 2px; }

.vbf-input {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid #cbd5e1; border-radius: 6px;
  font-size: 14px; color: #1a2332; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none; font-family: inherit;
}
.vbf-input:focus {
  outline: none; border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}
.vbf-input::placeholder { color: #b0bec5; }
.vbf-input--error { border-color: #c0392b !important; }

.vbf-textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid #cbd5e1; border-radius: 6px;
  font-size: 14px; color: #1a2332; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical; min-height: 88px; font-family: inherit;
}
.vbf-textarea:focus {
  outline: none; border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}
.vbf-textarea::placeholder { color: #b0bec5; }

.vbf-select {
  width: 100%; padding: 10px 36px 10px 13px;
  border: 1.5px solid #cbd5e1; border-radius: 6px;
  font-size: 14px; color: #1a2332; background: #fff;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.vbf-select:focus {
  outline: none; border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}
.vbf-select:disabled { background-color: #f8fafc; color: #94a3b8; cursor: not-allowed; }

.vbf-field-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
}
.vbf-vessel-options .vbf-field-row {
grid-template-columns:1fr 1fr;
}
.vbf-vessel-options .vbf-guests-row{
grid-template-columns:1fr;
}

/* ── GUESTS STEPPER (per vessel) ────────────────────────────────────────────── */
.vbf-guests-row {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid #dde6ef;
}
.vbf-stepper {
  display: flex; align-items: center; gap: 16px; margin-top: 4px;
}
.vbf-stepper__btn {
  width: 38px; height: 38px;
  border: 1.5px solid #cbd5e1; border-radius: 50%;
  background: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #64748b; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.vbf-stepper__btn:hover {
  background: #e8f5f9; border-color: #2d8ca8; color: #1e3a5f;
}
.vbf-stepper__val {
  font-size: 22px; font-weight: 700;
  min-width: 36px; text-align: center; color: #1e3a5f;
}
.vbf-vessel-guests-hint {
  font-size: 12px; color: #94a3b8; margin-top: 6px;
}

/* ── ADD-ONS GRID ───────────────────────────────────────────────────────────── */
.vbf-addon-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.vbf-addon-group__title {
  grid-column: 1 / -1;
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: #398A96; padding-bottom: 8px;
  border-bottom: 1px solid #398A96;
  margin-bottom: 4px;
}
.vbf-addon-row {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
  gap: 12px;
}
.vbf-addon-row:hover {
  border-color: #2d8ca8;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.vbf-addon-row__info {
  display: flex; flex-direction: column; flex: 1;
}
.vbf-addon-row__name {
  font-size: 14px; font-weight: 600;
  color: #1a2332; line-height: 1.35;
}
.vbf-addon-row__price {
  font-size: 13px; color: #64748b; margin-top: 4px;
}
.vbf-addon-row__ctrl {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.vbf-qty-btn {
  width: 32px; height: 32px;
  border: 1.5px solid #cbd5e1; border-radius: 50%;
  background: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.vbf-qty-btn:hover {
  background: #e8f5f9; border-color: #2d8ca8; color: #1e3a5f;
}
.vbf-qty-val {
  font-size: 16px; font-weight: 700;
  min-width: 24px; text-align: center; color: #1e3a5f;
}

/* ── GRATUITY ───────────────────────────────────────────────────────────────── */
.vbf-gratuity-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px;
}
.vbf-gratuity-option { display: inline-flex; cursor: pointer; }
.vbf-gratuity-option input { display: none; }
.vbf-gratuity-option span {
  padding: 8px 18px;
  border: 1.5px solid #cbd5e1; border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 600;
  color: #64748b; cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.vbf-gratuity-option:hover span {
  border-color: #2d8ca8; color: #1e3a5f; background: #e8f5f9;
}
.vbf-gratuity-option input:checked + span {
  background: #1e3a5f; border-color: #1e3a5f; color: #fff;
}

/* ── ORDER SUMMARY ──────────────────────────────────────────────────────────── */
.vbf-order-summary {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 28px 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.vbf-order-summary .vbf-section__title { margin-bottom: 18px; }
.vbf-breakdown-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vbf-breakdown-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.vbf-breakdown-table tbody tr:last-child { border-bottom: none; }
.vbf-bd-label { padding: 9px 0; color: #64748b; }
.vbf-bd-amount { padding: 9px 0; text-align: right; font-weight: 600; color: #1a2332; }
.vbf-bd-section td { padding: 12px 0 5px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1e3a5f; border-bottom: 2px solid #dbe8f4 !important; }
.vbf-bd-subtotal td { padding: 7px 0 10px; font-weight: 700; color: #1a2332; border-bottom: 2px solid #e2e8f0 !important; }
.vbf-bd-subtotal .vbf-bd-amount { color: #1e3a5f; }
.vbf-bd-indent .vbf-bd-label { padding-left: 14px; font-size: 13px; }
.vbf-summary-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 0; margin-top: 10px;
  border-top: 2px solid #1e3a5f;
  font-size: 18px; font-weight: 800; color: #1e3a5f;
}
.vbf-summary-due-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0 0; margin-top: 6px;
  border-top: 1px dashed #c8d5e0;
  font-size: 14px; font-weight: 600; color: #27ae60;
}

/* ── YOUR DETAILS + PAYMENT 2-COL ROW ──────────────────────────────────────── */
.vbf-s2-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px; margin-bottom: 20px; align-items: start;
}

/* ── CARDS ──────────────────────────────────────────────────────────────────── */
.vbf-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 28px 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.vbf-card__title {
  font-size: 17px; font-weight: 700; color: #1e3a5f;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0; letter-spacing: -.2px;
}

/* ── PAYMENT TYPE TOGGLE ────────────────────────────────────────────────────── */
.vbf-payment-toggle {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.vbf-toggle-opt { display: block; cursor: pointer; }
.vbf-toggle-opt input { display: none; }
.vbf-toggle-opt__box {
  display: block; padding: 13px 14px;
  border: 2px solid #e2e8f0; border-radius: 10px;
  background: #fff; transition: border-color .2s, background .2s;
  text-align: center;
}
.vbf-toggle-opt__box strong {
  display: block; font-size: 13px; font-weight: 700;
  color: #1a2332; margin-bottom: 3px;
}
.vbf-toggle-opt__box small { display: block; font-size: 12px; color: #64748b; }
.vbf-toggle-opt:hover .vbf-toggle-opt__box { border-color: #2d8ca8; }
.vbf-toggle-opt--active .vbf-toggle-opt__box {
  border-color: #1e3a5f; background: #edf2f8;
}
.vbf-toggle-opt--active .vbf-toggle-opt__box strong { color: #1e3a5f; }

/* ── CARD FIELDS ────────────────────────────────────────────────────────────── */
.vbf-card-fields { margin-top: 4px; }
.vbf-card-number-wrap { position: relative; }
.vbf-card-number-wrap .vbf-input { padding-right: 100px; }
.vbf-card-icons {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%); display: flex; gap: 3px;
}
.vbf-ci {
  font-size: 9px; font-weight: 800; padding: 2px 5px;
  border-radius: 3px; background: #f1f5f9; color: #94a3b8;
  border: 1px solid #dde3ea; font-family: monospace;
  letter-spacing: .3px; transition: all .15s;
}
.vbf-ci--active.vbf-ci--visa  { background: #1a1f71; color: #f7b600; border-color: #1a1f71; }
.vbf-ci--active.vbf-ci--mc    { background: #eb001b; color: #fff;    border-color: #eb001b; }
.vbf-ci--active.vbf-ci--amex  { background: #2557a7; color: #fff;    border-color: #2557a7; }
.vbf-ci--disc { display: none !important; }

/* ── CAPTCHA + SECURE NOTE ──────────────────────────────────────────────────── */
.vbf-captcha-wrap { margin: 16px 0; }
.vbf-secure-note {
  font-size: 12px; color: #27ae60; margin-top: 14px;
  display: flex; align-items: flex-start; gap: 5px; line-height: 1.5;
  padding: 10px 12px; background: #f0faf4;
  border-radius: 6px; border: 1px solid #c3e6ce;
}

/* ── SUBMIT ─────────────────────────────────────────────────────────────────── */
.vbf-s2-submit-row { margin-top: 4px; }
.vbf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 12px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: background .2s, opacity .2s, transform .1s, box-shadow .2s;
  text-decoration: none; white-space: nowrap; font-family: inherit;
  letter-spacing: .1px;
}
.vbf-btn:active { transform: scale(.98); }
.vbf-btn--primary { background: #1e3a5f; color: #fff; }
.vbf-btn--primary:hover:not([disabled]) { background: #142d4a; }
.vbf-btn--ghost {
  background: transparent; color: #64748b;
  border: 1.5px solid #cbd5e1;
}
.vbf-btn--ghost:hover { background: #f1f5f9; }
.vbf-btn--block {
  width: 100%; padding: 18px; font-size: 17px;
  letter-spacing: .3px; border-radius: 10px;
  box-shadow: 0 4px 18px rgba(30,58,95,.28);
}
.vbf-btn--block:hover:not([disabled]) {
  box-shadow: 0 6px 24px rgba(30,58,95,.38);
  transform: translateY(-1px);
}
.vbf-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── SPINNER / PROCESSING ───────────────────────────────────────────────────── */
.vbf-spinner {
  display: inline-block; width: 15px; height: 15px;
  border: 2px solid rgba(0,0,0,.1); border-top-color: #1e3a5f;
  border-radius: 50%; animation: vbf-spin .7s linear infinite; flex-shrink: 0;
}
@keyframes vbf-spin { to { transform: rotate(360deg); } }
.vbf-processing {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 14px; color: #64748b; padding: 12px 0;
}

/* ── CONFIRMATION ───────────────────────────────────────────────────────────── */
.vbf-confirmation { text-align: center; padding: 56px 24px; max-width: 520px; margin: 0 auto; }
.vbf-confirmation__icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: #27ae60; color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: 0 4px 20px rgba(39,174,96,.35);
}
.vbf-confirmation h2 { font-size: 24px; color: #1e3a5f; margin-bottom: 12px; font-weight: 800; }
.vbf-confirmation p  { color: #64748b; font-size: 15px; line-height: 1.65; }

/* ── LEGACY STUBS (JS compatibility) ───────────────────────────────────────── */
.vbf-step-panel { display: block; }
.vbf-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.vbf-checking { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #64748b; }
.vbf-back-btn { margin-bottom: 16px; }
.vbf-price-preview__inner, .vbf-price-preview__label,
.vbf-price-preview__amount, .vbf-price-preview__breakdown,
.vbf-pb-row { display: none; }
.vbf-summary-table { width: 100%; border-collapse: collapse; }
.vbf-summary-table td { padding: 7px 4px; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.vbf-sum-key { color: #64748b; width: 42%; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vbf-addon-group { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .vessels-booking { padding: 20px 16px 48px; }
  .vbf-section, .vbf-card, .vbf-order-summary { padding: 22px 18px; }
  .vbf-s2-row { grid-template-columns: 1fr; }
  .vbf-vessel-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .vbf-addon-group { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vessels-booking { padding: 16px 12px 40px; }
  .vbf-section, .vbf-card, .vbf-order-summary { padding: 18px 14px; }
  .vbf-vessel-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vbf-vessel-card__img { height: 110px; }
  .vbf-addon-group { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vbf-field-row { grid-template-columns: 1fr; gap: 12px; }
  .vbf-payment-toggle { grid-template-columns: 1fr; gap: 8px; }
  #vessels-booking-wrap .vbf-mode-switcher { grid-template-columns: 1fr; gap: 10px; }
  .vbf-gratuity-grid { gap: 8px; }
}
@media (max-width: 380px) {
  .vbf-vessel-grid { grid-template-columns: 1fr; }
  .vbf-addon-group { grid-template-columns: 1fr; }
}
.vbf-guests-row{grid-template-columns:none;}
.vbf-vessel-addons-inner .vbf-addon-group {grid-template-columns:repeat(1, 1fr);}
.vbf-vessel-addons-inner .vbf-addon-row {flex-direction:row;}
div.vbf-sunsetswizzlecruise, div.vbf-sailsnorkeltour{grid-template-columns:repeat(2, 1fr);}
div.vbf-sunsetswizzlecruise .vbf-addon-row, div.vbf-sailsnorkeltour .vbf-addon-row{flex-direction:row;}
/* ── 3-COL MODE SWITCHER ────────────────────────────────────────────────────── */
/* Override the inline replacement above for mobile breakpoints */
@media (max-width: 600px) {
  #vessels-booking-wrap .vbf-mode-switcher {
    grid-template-columns: 1fr 1fr;
  }
  #vessels-booking-wrap #vbf-mode-custom {
    grid-column: 1 / -1;
  }
}
@media (max-width: 380px) {
  #vessels-booking-wrap .vbf-mode-switcher {
    grid-template-columns: 1fr;
  }
  #vessels-booking-wrap #vbf-mode-custom {
    grid-column: auto;
  }
}

/* ── STEP NAVIGATION (Next buttons) ─────────────────────────────────────────── */
.vbf-step-nav {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.vbf-btn--next {
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .15px;
}

/* ── CUSTOM AMOUNT BOX ──────────────────────────────────────────────────────── */
#vbf-custom-amount-section {
  margin: 20px 0 8px;
}
.vbf-custom-amount-box {
  background: #f4f7fb;
  border: 1.5px solid #c8d5e4;
  border-radius: 10px;
  padding: 22px 24px;
}
.vbf-custom-amount-box__title {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 4px;
}
.vbf-custom-amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 200px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.vbf-custom-amount-prefix {
  padding: 10px 13px;
  background: #f1f5f9;
  border-right: 1.5px solid #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
}
.vbf-custom-amount-input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
  box-shadow: none !important;
}
.vbf-custom-amount-input:focus {
  outline: none;
  box-shadow: none !important;
}
.vbf-custom-amount-input-wrap:focus-within {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}

/* ── STEP NAV: top-aligned previous (inside payment summary) ────────────────── */
.vbf-step-nav--top {
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 16px;
  margin-top: 0;
  margin-bottom: 4px;
  border-top: none;
  border-bottom: 1px solid #e2e8f0;
}

/* ── STEP NAV: both prev + next ─────────────────────────────────────────────── */
.vbf-step-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
}
/* Ghost prev button */
.vbf-btn--prev {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1px;
  color: #475569;
  border-color: #cbd5e1;
}
.vbf-btn--prev:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e3a5f;
}
.InfoPayBlock, .InfoPayBlock .vbf-field-row{grid-template-columns:1fr 1fr;}
.main-txt{width:100%; float:left;margin-bottom:20px;}
.vbf-s2-row--bottom, .InfoPayBlock .vbf-s2-col .vbf-field-row{grid-template-columns:1fr 1fr;}

/* ── CHARTER NEXT VALIDATION ERROR ─────────────────────────────────────────── */
.vbf-vessel-opts--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.15) !important;
  animation: vbf-shake .3s ease;
}
@keyframes vbf-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}
/* ── ADDON CHECKBOX ─────────────────────────────────────────────────────────── */
.vbf-addon-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.vbf-addon-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #1e3a5f;
  cursor: pointer;
  flex-shrink: 0;
}
.vbf-addon-checkbox:disabled {
  cursor: not-allowed;
  opacity: .8;
}
.vbf-addon-checkbox-note {
  font-size: 12px;
  font-weight: 600;
  color: #1a5c30;
  background: #d4edda;
  padding: 2px 8px;
  border-radius: 999px;
}
