/* =============================================
   Booking Car Widget — bcw-* namespace
   ============================================= */

:root {
  --bcw-primary: #FF6B2B;
  --bcw-primary-light: #FF8C55;
  --bcw-accent: #00C2E0;
  --bcw-accent-dark: #00A8C4;
  --bcw-text: #1A2233;
  --bcw-muted: #6B7897;
  --bcw-border: #E2E8F0;
  --bcw-bg: #FFFFFF;
  --bcw-bg-input: #F7F9FC;
  --bcw-radius: 12px;
  --bcw-radius-sm: 8px;
  --bcw-shadow: 0 4px 24px rgba(26,34,51,0.10);
  --bcw-shadow-lg: 0 8px 40px rgba(26,34,51,0.16);
  --bcw-transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

.bcw-wrapper {
  font-family: 'Inter';
  border-radius: 20px;
  box-shadow: var(--bcw-shadow-lg);
  overflow: visible;
  margin: 0 auto;
}
/* Ẩn tất cả panels mặc định */

#bcw-paypal-panel {
    display: none;
}
#bcw-card-panel {
    display: none;
}
#bcw-bank-panel {
    display: none;
}

#bcw-paypal-panel.active {
    display: block !important;
}
#bcw-card-panel.active {
    display: block !important;
}
#bcw-bank-panel.active {
    display: flex !important;
    flex-direction: column !important;
}
/* ═══════════════════════════════════════════════════════════
   FIX: Ẩn card button container khỏi PayPal - ĐÚNG
   ═══════════════════════════════════════════════════════════ */

#bcw-paypal-panel #bcw-card-button-container {
  display: none !important;
}

#bcw-card-panel #bcw-paypal-button-container {
  display: none !important;
}

/* Khoảng cách 20px dưới Terms & Conditions */
.bcw-s2-terms {
  margin-bottom: 20px !important;
}

#bcw-paypal-panel .bcw-s2-notice {
  margin-top: 20px !important;
}

#bcw-card-panel .bcw-s2-notice {
  margin-top: 20px !important;
}
/* ═══════════════════════════════════════
   Payment Panels — chỉ JS điều khiển
   ═══════════════════════════════════════ */
.bcw-s2-panel {
    display: none;
}

/* ---- Tabs ---- */
.bcw-tabs {
  display: flex;
  background: #42CDE7;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  width: 430px;
}
.bcw-tabs .bcw-tab:hover {
    background-color: transparent;
    color: #403b37 !important;
    box-shadow: none !important;
    transform: none !important;
}
.bcw-tab {
  width: 246px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  background: #42CDE7;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--bcw-transition);
  position: relative;
}
.bcw-tab svg { width: 18px; height: 18px; }
.bcw-tab svg.active { width: 18px; height: 18px; }
.bcw-tab.active {
  width: 246px;
  background: #fff !important;
  color: #403B37 !important;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}
.bcw-tab:not(.active):hover { color: #D1D5DB; }
.bcw-tab:nth-child(2).active { background: var(--bcw-accent); color: #fff; }

/* ---- Body ---- */
.bcw-body {
  padding: 20px 28px 28px;
  background: #fff;
  border-radius: 0px 10px 10px 10px;
}

/* ---- Fields Row ---- */
.bcw-fields {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.bcw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.searchcode{
	padding: 20px !important;
}
.bcw-field-from, .bcw-field-to { flex: 2.5; min-width: 160px; }
.bcw-field-date { flex: 1.5; min-width: 170px; }
.bcw-field-guests { flex: 0 0 auto; min-width: 120px; }
.bcw-field-luggages { flex: 0 0 auto; min-width: 120px; }

/* ---- Luggages ---- */
.bcw-luggages-wrap {
  cursor: pointer;
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  background: var(--bcw-bg-input);
  padding: 12px 14px 12px 38px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--bcw-transition);
  min-height: 46px;
}
.bcw-luggages-wrap:hover, .bcw-luggages-wrap.open { border-color: var(--bcw-primary); }
.bcw-luggages-value { font-size: 14px; color: var(--bcw-text); flex: 1; }
.bcw-luggages-toggle {
  background: none; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; color: var(--bcw-muted);
  transition: transform var(--bcw-transition);
}
.bcw-luggages-toggle svg { width: 16px; height: 16px; }
.bcw-luggages-wrap.open .bcw-luggages-toggle { transform: rotate(180deg); }
.bcw-luggages-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bcw-bg);
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  box-shadow: var(--bcw-shadow);
  padding: 14px 16px;
  z-index: 100;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* FIX: bỏ min-width cứng */
  min-width: 306px!important;
  max-width: 306px!important;
  width: 100%;
  box-sizing: border-box;
}
.bcw-luggages-wrap.open .bcw-luggages-panel { display: flex; }
.bcw-luggages-count { font-size: 16px; font-weight: 700; color: var(--bcw-text); min-width: 20px; text-align: center; }
.bcw-luggages-btn {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: var(--bcw-primary); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--bcw-transition); font-weight: 700;
}
.bcw-luggages-btn:hover { background: var(--bcw-primary-light); }

.bcw-label {
  font-family:'Inter'; font-size: 16px; font-weight: 400;
  color: #736E68; letter-spacing: 0.05em;
}

/* ---- Input Wrap ---- */
.bcw-input-wrap { position: relative; display: flex; align-items: center; }
.bcw-icon {
  position: absolute; left: 12px; width: 18px; height: 18px;
  color: #FF7A0F; pointer-events: none; flex-shrink: 0; z-index: 1;
}
.bcw-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  background: #F8F8F8;
  font-size: 14px; color: var(--bcw-text); outline: none;
  transition: all var(--bcw-transition); font-family: inherit;
  box-sizing: border-box;
}
.bcw-input::placeholder { color: #B0B8CC; }
.bcw-input:focus {
  border-color: var(--bcw-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,43,0.12);
}

/* Date display field */
.bcw-date-display {
  width: 100%; padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--bcw-border); border-radius: var(--bcw-radius-sm);
  background: #F8F8F8; font-size: 14px; color: var(--bcw-text); outline: none;
  transition: all var(--bcw-transition); font-family: inherit;
  box-sizing: border-box; cursor: pointer; display: flex;
  align-items: center; user-select: none; min-height: 46px;
}
.bcw-date-display:hover, .bcw-date-display.active {
  border-color: var(--bcw-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,43,0.12);
}

/* ---- Swap button ---- */
.bcw-swap {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid #fff; background: var(--bcw-bg);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 2px; transition: all var(--bcw-transition);
  color: var(--bcw-muted); padding: 0;
}
.bcw-swap svg { width: 24px; height: 24px; }
.bcw-swap:hover { border-color: var(--bcw-primary); color: var(--bcw-primary); }

/* ---- Guests ---- */
.bcw-guests-wrap {
  cursor: pointer; border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm); background: #F8F8F8;
  padding: 12px 14px 12px 38px; position: relative;
  display: flex; align-items: center; gap: 4px;
  transition: all var(--bcw-transition); min-height: 46px;
}
.bcw-guests-wrap:hover, .bcw-guests-wrap.open { border-color: var(--bcw-primary); }
.bcw-guests-value { font-size: 14px; color: var(--bcw-text); flex: 1; }
.bcw-guests-toggle {
  background: none; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; color: var(--bcw-muted);
  transition: transform var(--bcw-transition);
}
.bcw-guests-toggle svg { width: 16px; height: 16px; }
.bcw-guests-wrap.open .bcw-guests-toggle { transform: rotate(180deg); }
.bcw-guests-panel {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bcw-bg); border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm); box-shadow: var(--bcw-shadow);
  padding: 14px 16px; z-index: 100;
  flex-direction: row; align-items: center; justify-content: space-between;
  gap: 12px;
	min-width: 306px !important;
    max-width: 306px !important;
  /* FIX: bỏ min-width: 310px cứng */
  min-width: unset;
  width: 100%;
  box-sizing: border-box;
}
.bcw-guests-wrap.open .bcw-guests-panel { display: flex;min-width: 320px !important;
    max-width: 320px !important; }
.bcw-guests-panel-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bcw-guests-panel-title { font-size: 13px; font-weight: 600; color: var(--bcw-text); white-space: nowrap; }
.bcw-guests-panel-desc { font-size: 11px; color: var(--bcw-muted); white-space: nowrap; }
.bcw-guests-panel-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bcw-guests-btn {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: var(--bcw-primary); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--bcw-transition); font-weight: 700;
}
.bcw-guests-btn:hover { background: var(--bcw-primary-light); }
.bcw-guests-count { font-size: 16px; font-weight: 700; color: var(--bcw-text); min-width: 20px; text-align: center; }

/* ---- Search Button ---- */
.bcw-search-btn {
  display: flex; align-items: center; gap: 8px;
  background: #42CDE7; color: #fff; border: none;
  border-radius: var(--bcw-radius-sm); font-size: 16px; font-weight: 400;
  cursor: pointer; white-space: nowrap; transition: all var(--bcw-transition);
  font-family: inherit; flex-shrink: 0; min-height: 46px;
}
.bcw-search-btn svg { width: 18px; height: 18px; }
.bcw-search-btn:hover {
  background: var(--bcw-accent-dark); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,194,224,0.35);
}
.bcw-search-btn:active { transform: translateY(0); }

/* ---- Autocomplete Dropdown ---- */
.bcw-dropdown-section {
/*   font-size:10px; font-weight:700; letter-spacing:0.08em;
  color:var(--bcw-muted); padding:8px 14px 4px;
  background:#F8FAFC; border-bottom:1px solid var(--bcw-border);
  text-transform:uppercase; */
	display:none
}
.bcw-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 420px;          /* tăng width cố định */
  min-width: 100%;       /* ít nhất bằng input */
  background: var(--bcw-bg);
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  box-shadow: var(--bcw-shadow-lg);
  z-index: 1000;
  max-height: 360px;     /* tăng từ 280px */
  overflow-y: auto;
  display: none;
}
.bcw-dropdown.visible { display: block; }

.bcw-dropdown-item {
  display: flex;
  align-items: flex-start;    /* flex-start thay vì center */
  gap: 10px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background var(--bcw-transition);
  border-bottom: 1px solid #F1F5F9;
}
.bcw-dropdown-item:last-child { border-bottom: none; }
.bcw-dropdown-item:hover,
.bcw-dropdown-item.highlighted { background: #FFF5F0; }

.bcw-dropdown-item__icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
  margin-top: 2px;        /* căn với dòng đầu của text */
}
.bcw-dropdown-item__icon.airport  { background:#FFF0E8; color:var(--bcw-primary); }
.bcw-dropdown-item__icon.hotel    { background:#E8F4FF; color:#3B82F6; }
.bcw-dropdown-item__icon.station  { background:#F0FFF4; color:#10B981; }
.bcw-dropdown-item__icon.landmark { background:#FDF0FF; color:#8B5CF6; }
.bcw-dropdown-item__icon.place    { background:#F3F4F6; color:#6B7280; }

.bcw-dropdown-item__info {
  flex: 1;
  min-width: 0;           /* bắt buộc để text wrap đúng */
}

.bcw-dropdown-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bcw-text);
  white-space: normal;    /* bỏ nowrap */
  word-break: break-word;
  line-height: 1.4;
  overflow: visible;      /* bỏ hidden */
  text-overflow: unset;   /* bỏ ellipsis */
}
.bcw-dropdown-item__name mark {
  background: none;
  color: var(--bcw-primary);
  font-weight: 700;
}

.bcw-dropdown-item__addr {
  font-size: 12px;
  color: var(--bcw-muted);
  margin-top: 3px;
  white-space: normal;    /* bỏ nowrap */
  word-break: break-word;
  line-height: 1.4;
  overflow: visible;      /* bỏ hidden */
  text-overflow: unset;   /* bỏ ellipsis */
}

.bcw-dropdown-item__badge {
  font-size: 11px; font-weight: 600; color: var(--bcw-muted);
  background: #F1F5F9; border-radius: 4px; padding: 2px 6px;
  white-space: nowrap;
  align-self: flex-start;   /* căn trên thay vì center */
  margin-top: 2px;
  flex-shrink: 0;
}
.bcw-dropdown-item__badge.nearby { color:#10B981; background:#F0FFF4; }
.bcw-dropdown-item__badge.osm    { color:#059669; background:#ECFDF5; border:1px solid #A7F3D0; }

/* Mobile — dropdown full width */
@media (max-width: 768px) {
	.bcw-s2-notice{
		font-size: 14px;
	}
  .bcw-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
	.bcw-cal-days {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0px;
    margin-left: -10px;
}
}
/* ====================================================
   DATE-TIME PICKER MODAL
   ==================================================== */
.bcw-dt-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 9998;
  align-items: center; justify-content: center;
}
.bcw-dt-overlay.open { display: flex; animation: bcw-fade-in 0.15s ease; }
@keyframes bcw-fade-in { from{opacity:0} to{opacity:1} }
.bcw-dt-modal {
  background: var(--bcw-bg); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden; width: 750px; max-width: calc(100vw - 32px);
  display: flex; flex-direction: column;
  animation: bcw-slide-up 0.2s ease;
  font-family: 'DM Sans','Nunito',-apple-system,sans-serif;
}
@keyframes bcw-slide-up {
  from { transform:translateY(16px); opacity:0; }
  to   { transform:translateY(0);    opacity:1; }
}
.bcw-dt-body { display: flex; min-height: 0; }
.bcw-dt-col-left { flex: 1 1 0; border-right: 1px solid var(--bcw-border); display: flex; flex-direction: column; }
.bcw-dt-col-right { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 20px; }
.bcw-cal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid var(--bcw-border); }
.bcw-cal-title { font-size: 16px; font-weight: 700; color: #403B37; }
.bcw-cal-nav { display: flex; gap: 6px; }
.bcw-cal-nav-btn {
  width: 28px; height: 28px; border: 1.5px solid #fff; border-radius: 7px;
  background: var(--bcw-bg); cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: #FF7A0F;
  transition: all var(--bcw-transition); font-size: 28px; line-height: 1;
}
.bcw-cal-nav-btn:hover { border-color: var(--bcw-primary); color: var(--bcw-primary); }
.bcw-cal-grid { padding: 10px 14px 14px; flex: 1; }
.bcw-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 4px; }
.bcw-cal-weekday {
  text-align: center; font-size: 13px; font-weight: 700; color: #3C3C434D;
  padding: 4px 0; text-transform: uppercase; letter-spacing: 0.03em;
}
.bcw-cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.bcw-cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 18px; font-weight: 400; color: #403B37;
  cursor: pointer; transition: all var(--bcw-transition); border: none;
  background: transparent; font-family: inherit;
}
.bcw-cal-day:hover:not(.disabled):not(.selected) { background: #ffefe2; color: #FF7A0F; }
.bcw-cal-day.today { color: #FF7A0F; font-weight: 700; }
.bcw-cal-day.selected { background: #ffefe2; color: #FF7A0F; font-weight: 700; }
.bcw-cal-day.disabled { color: #C8D0DE; cursor: not-allowed; pointer-events: none; }
.bcw-cal-day.other-month { color: #C8D0DE; }
.bcw-time-section { flex: 1; }
.bcw-time-label { font-size: 16px; font-weight: 400; color: #736E68; margin-bottom: 6px; }
.bcw-time-note { font-size: 12px; color: #736E68; font-weight: 400; margin-bottom: 14px; line-height: 1.55; }
.bcw-time-selects { display: flex; align-items: center; gap: 6px; }
.bcw-time-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.bcw-time-select-modal {
  width: 100%; box-sizing: border-box; padding: 10px 28px 10px 12px;
  border: 1.5px solid var(--bcw-border); border-radius: var(--bcw-radius-sm);
  background: var(--bcw-bg-input); font-size: 16px; font-weight: 600;
  color: #403B37; outline: none; cursor: text; font-family: inherit;
  appearance: none; -webkit-appearance: none;
}
.bcw-time-select-modal:focus {
  border-color: var(--bcw-primary); background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,43,0.12);
}
.bcw-time-arrow {
  position: absolute; right: 8px; width: 14px; height: 14px;
  color: var(--bcw-muted); pointer-events: none; flex-shrink: 0;
  transition: transform var(--bcw-transition);
}
.bcw-time-input-wrap:focus-within .bcw-time-arrow { color: var(--bcw-primary); transform: rotate(180deg); }
.bcw-time-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--bcw-bg); border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm); box-shadow: var(--bcw-shadow-lg);
  z-index: 10000; max-height: 126px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: var(--bcw-border) transparent;
}
.bcw-time-dropdown::-webkit-scrollbar { width: 4px; }
.bcw-time-dropdown::-webkit-scrollbar-track { background: transparent; }
.bcw-time-dropdown::-webkit-scrollbar-thumb { background: var(--bcw-border); border-radius: 2px; }
.bcw-time-dropdown.open { display: block; }
.bcw-time-option {
  padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--bcw-text);
  text-align: center; cursor: pointer; transition: background var(--bcw-transition);
}
.bcw-time-option:hover { background: #FFF0E8; color: var(--bcw-primary); }
.bcw-time-option.active { background: var(--bcw-primary); color: #fff; font-weight: 700; }
.bcw-time-colon { font-size: 20px; font-weight: 700; color: var(--bcw-muted); flex-shrink: 0; }

button:hover { background: inherit; color: inherit; border: inherit; box-shadow: none; }

.bcw-dt-footer { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; margin-top: 16px; }
.bcw-dt-today-btn {
  font-size: 12px; font-weight: 600; color: var(--bcw-muted);
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 0; text-align: left; transition: color var(--bcw-transition);
}
.bcw-dt-today-btn:hover, .bcw-dt-today-btn.active { color: #fff; }
.bcw-dt-footer-actions { display: flex; gap: 15px; justify-content: flex-end; }
.bcw-dt-cancel-btn {
  padding: 10px 0; background: transparent; color: var(--bcw-muted);
  border: 1.5px solid #fff; border-radius: var(--bcw-radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit;
  transition: all var(--bcw-transition); text-transform: uppercase;
}
.bcw-dt-cancel-btn:hover { border-color: var(--bcw-muted); color: var(--bcw-text); }
.bcw-dt-confirm-btn {
  padding: 10px 20px; background: #42CDE7; color: #fff; border: none;
  border-radius: var(--bcw-radius-sm); font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all var(--bcw-transition);
  letter-spacing: 0.03em;
}
.bcw-dt-confirm-btn:hover { background: var(--bcw-accent-dark); box-shadow: 0 4px 12px rgba(0,194,224,0.30); }
.bcw-cal-timezone { padding: 8px 14px 12px; font-size: 11px; color: var(--bcw-muted); border-top: 1px solid var(--bcw-border); }

@media (max-width: 640px) {
  .bcw-dt-modal { width: calc(100vw - 32px); max-width: 360px; }
  .bcw-dt-body { flex-direction: column; }
  .bcw-dt-col-left { border-right: none; border-bottom: 1px solid var(--bcw-border); }
  .bcw-dt-col-right { width: auto; padding: 16px; }
  .bcw-dt-footer { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 0; border-top: none; padding-top: 10px; }
  .bcw-dt-footer-actions { flex-shrink: 0; }
  .bcw-dt-cancel-btn, .bcw-dt-confirm-btn { flex: none; padding: 10px 20px; }
}

/* ---- Private form ---- */
.bcw-body--hidden { display: none; }
.bcw-field-route { flex: 4; min-width: 200px; }

/* ---- Tour guide radio row ---- */
.bcw-tour-guide {
  display: flex; align-items: center; gap: 20px; padding-top: 14px;
  font-size: 14px; color: #403B37; font-weight: 500;
}
.bcw-tour-guide-label { flex-shrink: 0; }
.bcw-radio-option {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: #736E68; user-select: none;
}
.bcw-radio-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bcw-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--bcw-transition); background: var(--bcw-bg); position: relative;
}
.bcw-radio-dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bcw-primary); opacity: 0; transition: opacity var(--bcw-transition);
}
.bcw-radio-option input[type="radio"]:checked + .bcw-radio-dot { border-color: var(--bcw-primary); }
.bcw-radio-option input[type="radio"]:checked + .bcw-radio-dot::after { opacity: 1; }

/* ====================================================
   RESPONSIVE — 768px
   ==================================================== */
@media (max-width: 768px) {
  .bcw-body { padding: 18px 16px 20px; border-radius: 0px 0px 10px 10px; }
	.bcw-s2-tab{
		padding: 10px 12px!important;
	}
  .bcw-fields { flex-direction: column; gap: 12px; }
  .bcw-field,
  .bcw-field-from,
  .bcw-field-to,
  .bcw-field-date,
  .bcw-field-guests,
  .bcw-field-luggages { flex: none; width: 100%; min-width: 0; }

  .bcw-swap { display: none; }
  .bcw-search-btn { width: 100%; justify-content: center; }
  .bcw-tab { padding: 14px 16px; font-size: 12px; }
  .bcw-dt-modal { width: calc(100vw - 32px); max-width: 340px; }
  .bcw-tour-guide {
    order: -1; display: flex; gap: 20px; padding-top: 14px;
    font-size: 14px; color: #403B37; font-weight: 500;
    flex-direction: row; flex-wrap: wrap;
  }

  /* =============================================
     FIX ①: Stepper — bỏ gap: 90px cứng
     ============================================= */
  .bcw-stepper {
    gap: 12px!important;
    padding: 20px 16px 16px;
    margin-bottom: 20px;
	justify-content: flex-start!important; /* bỏ center ngang */
    align-items: flex-start!important;
  }
  .bcw-step-num {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }
  .bcw-step-label { font-size: 13px; }
  .bcw-step-arrow { font-size: 20px; margin-bottom: 20px; }

  /* =============================================
     FIX ②: Phone wrap — min-width: 0
     ============================================= */
  .bcw-phone-wrap { display: flex; gap: 8px; }
  .bcw-phone-wrap select {
    min-width: 0;
    width: auto;
    flex: 0 0 100px;
  }
  .bcw-phone-wrap input {
    min-width: 0;
    flex: 1;
    width: auto;
  }

  /* =============================================
     FIX ③: Contact options — cho phép xuống hàng
     ============================================= */
  .bcw-contact-opt {
    white-space: normal;
    padding: 6px 10px;
  }

  /* =============================================
     FIX ④: Add-on row — min-width: 0
     ============================================= */
  .bcw-addon-info { min-width: 0; }
  .bcw-addon-title, .bcw-addon-desc { word-break: break-word; }

  /* =============================================
     FIX ⑤: Promo — nút APPLY xuống dòng riêng
     ============================================= */
  #bcw-promo-input {
    padding: 20px 110px 20px 14px!important;
    width: 100%;
    box-sizing: border-box;
  }
  #bcw-apply-promo {
	top: 36%!important;
    position: static;
    transform: none;
    display: block;
    width: auto;
    margin-top: 8px;
    border-radius: 8px;
    padding: 0px;
    text-align: center;
  }

  /* =============================================
     FIX ⑥: Car summary & payment — bỏ width cứng
     ============================================= */
  .bcw-card.bcw-car-summary,
  .bcw-card.bcw-payment-summary {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Pickup layout — stack 1 cột */
  .bcw-pickup-layout { grid-template-columns: 1fr; }
}

/* ====================================================
   RESPONSIVE — 480px
   ==================================================== */
@media (max-width: 480px) {
  /* FIX: Tabs fluid, không cứng 430px */
  .bcw-tabs { border-radius: 16px 16px 0 0; width: 100%; }
  .bcw-tab, .bcw-tab.active { width: 50%; flex: 1; }
  .bcw-wrapper { border-radius: 16px; }
}

/* ═══════════════════════════════════════════════════════════
 *  BCW PICKUP PAGE STYLES
 * ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ── Stepper ── */
.bcw-stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 90px; margin-bottom: 36px; padding: 28px 28px 22px;
  background: transparent; border-radius: 0; border: none; box-shadow: none;
}
.bcw-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; color: #c0c0c0; font-size: 16px; font-weight: 700; text-align: center;
}
.bcw-pickup-right { padding-top: 40px; }
.bcw-step.active { color: #1a1a1a; }
.bcw-step-num {
  font-family: 'Labrada'; width: 50px; height: 50px; border-radius: 50%;
  border: 2px dotted #ddd; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 48px; color: #ccc; padding-bottom: 16px;
  background: #fff; flex-shrink: 0;
}
.bcw-step.active .bcw-step-num { border-color: #444; color: #222; background: #fff; }
.bcw-step-label { line-height: 1.4; font-weight: 400; }
.bcw-step.active .bcw-step-label { font-weight: 700; }
.bcw-step-arrow { color: #ccc; font-size: 30px; margin: 0 4px; margin-bottom: 32px; flex-shrink: 0; }
.bcw-step-arrow.active { color: #403B37; font-size: 30px; margin: 0 4px; margin-bottom: 32px; flex-shrink: 0; }

/* ── Layout ── */
.bcw-pickup-wrap { margin: 0 auto; padding: 32px 20px; min-height: 100vh; }
.bcw-pickup-layout {
  display: grid; grid-template-columns: 1fr 330px;
  gap: 0px; align-items: start;
}
.bcw-card.bcw-car-summary {
  background:#fff; border: 1px dotted #42CDE7;
  margin-bottom: 20px; width: 400px;
}
@media (max-width: 860px) {
	.bcw-pickup-layout { 
		grid-template-columns: 1fr;
}
.bcw-pickup-wrap {
    /* margin: 0 auto; */
    padding: 0px!important;
    min-height: 100vh;
}}

/* ── Card ── */
.bcw-card { padding: 20px; margin-bottom: 0px; }
.bcw-card-title { font-size: 20px; font-weight: 700; margin: 0 0 18px 0; color: #403B37; letter-spacing: -.2px; }

/* ── Form ── */
.bcw-form-row { display: flex; gap: 10px; margin-bottom: 18px; }
@media (max-width: 600px) { .bcw-form-row { flex-direction: column; } }
.bcw-form-group.imput { display: flex; flex-direction: column; gap: 7px; }
.bcw-form-group label { font-family: Inter; font-size: 16px; font-weight: 400; color: #403B37; letter-spacing: -.1px; margin-bottom: 10px; }
.Tips { font-size: 16px; color: #736E68; }
.bcw-form-group:has(#bcw-email) { width: 100% !important; }
.bcw-form-row:has(.bcw-form-group--phone) { display: block; }
.bcw-phone-wrap .bcw-form-group { display: flex; gap: 10px; width: 100%; }
.bcw-phone-wrap select { width: 30%; }
.bcw-phone-wrap input { width: 70%; }
.bcw-phone-wrap select, .bcw-phone-wrap input { flex: 1; }
.bcw-req { color: #e53e3e; margin-left: 2px; }
.bcw-form-group input[type="text"],
.bcw-form-group input[type="email"],
.bcw-form-group input[type="tel"],
.bcw-form-group textarea,
#bcw-special-request,
#bcw-promo-input {
  border: 1.5px solid #e8e8e8; border-radius: 10px; padding: 11px 14px;
  font-size: 14px; font-family: 'Poppins', sans-serif; color: #333; outline: none;
  transition: border-color .2s, box-shadow .2s; width: 100%; box-sizing: border-box;
}
.bcw-form-group input:focus, #bcw-special-request:focus, #bcw-promo-input:focus {
  border-color: #ff6b35; background: #fff; box-shadow: 0 0 0 3px rgba(255,107,53,.08);
}
.bcw-field-error { border-color: #e53e3e !important; background: #fff5f5 !important; }

/* ── Phone ── */
.bcw-phone-wrap { display: flex; }
.bcw-phone-country {
  border: 1.5px solid #e8e8e8; border-radius: 10px; padding: 11px 10px;
  font-size: 13px; font-family: 'Poppins', sans-serif; background: #fafafa;
  outline: none; cursor: pointer; flex-shrink: 0; color: #333; width: 100%;
  transition: border-color .2s;
}
.bcw-phone-country:focus { border-color: #ff6b35; }
.bcw-phone-wrap input { flex: 1; }

/* ── Contact method ── */
.bcw-contact-options { display: flex !important; flex-wrap: wrap; gap: 0px; margin-top: 0px; }
.bcw-contact-opt {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 13px; color: #555; padding: 7px 14px; border-radius: 100px;
  transition: all .18s; font-weight: 500;
}
.bcw-contact-opt input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px;
  border: 1px solid #736E68; border-radius: 4px; position: relative; cursor: pointer;
}
label.bcw-contact-opt { font-weight: 700 !important; font-size: 16px; color: #403B37; }
.bcw-contact-opt input:checked { background: #FF7A0F; border-color: #FF7A0F; }
.bcw-contact-opt input:checked::after {
  content: ""; position: absolute; left: 4px; top: 0px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.bcw-contact-icon { font-size: 15px; order: 2; }
.bcw-contact-opt:hover { opacity: 0.8; }

/* ── Add-on rows ── */
.bcw-addon-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px; border-bottom: 1px solid #f5f5f5;
  background: #fff; margin-bottom: 15px; border-radius: 6px;
}
.bcw-addon-row:last-child { border-bottom: none; padding-bottom: 0; }
/* FIX ④ already applied here: min-width: 0 */
.bcw-addon-info { flex: 1; min-width: 0; }
.bcw-addon-title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 5px; }
.bcw-addon-desc { font-size: 12px; color: #736E68; line-height: 1.6; }
#chair { font-size: 16px; }
.bcw-addon-control { flex-shrink: 0; }

/* ── Radio group ── */
.bcw-radio-group { display: flex; gap: 8px; }
.bcw-radio-opt {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 16px; font-weight: 400; padding: 7px 18px; border-radius: 100px;
  transition: all .18s; position: relative; color:#736E68;
}
.bcw-radio-opt input[type="radio"] { position: absolute; opacity: 0; }
.bcw-radio-dot { width: 14px; height: 14px; border: 2px solid #ccc; border-radius: 50%; position: relative; }
.bcw-radio-opt input[type="radio"]:checked ~ .bcw-radio-dot { border-color: #FF7A0F; }
.bcw-radio-opt input[type="radio"]:checked ~ .bcw-radio-dot::after {
  content: ""; width: 6px; height: 6px; background: #FF7A0F; border-radius: 50%;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.bcw-radio-opt input[type="radio"]:checked ~ .bcw-radio-dot,
.bcw-radio-opt input[type="radio"]:checked ~ .bcw-radio-dot + * { color: #FF7A0F; background: #FF7A0F; }

#bcw-child-minus, #bcw-child-plus {
  display: flex; text-align: center; justify-content: center;
  background: #FF7A0F; border: 1px solid #FF7A0F; color: #fff;
  font-size: 18px; border-radius: 8px; width: 36px; height: 36px;
}

/* ── Counter ── */
.bcw-counter { display: flex; align-items: center; gap: 12px; border: 1px solid #DCEBED; padding: 4px; border-radius: 10px; }
.bcw-counter-btn {
  width: 32px; height: 32px; border-radius: 8px; border: none; background: #ff6b35;
  color: #fff; font-size: 20px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .1s; line-height: 1;
}
.bcw-counter-btn:hover { background: #e5571f; transform: scale(1.05); }
#bcw-child-count { font-size: 16px; font-weight: 400; min-width: 24px; text-align: center; color: #222; }

/* ── Promo ── */
#bcw-special-request { resize: vertical; }
.bcw-promo-label { font-size: 12px; color: #736E68; margin: 0 0 10px 0; font-weight: 400; font-style: italic; margin-top: -10px; }
.bcw-promo-row { position: relative; width: 100%; }
#bcw-promo-input {
  width: 100%;
  /* Desktop: chừa chỗ cho nút APPLY absolute */
  padding: 12px 110px 12px 14px;
  border: 1px solid #e5e7eb; border-radius: 8px; outline: none; font-size: 14px;
}
#bcw-apply-promo {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: #42CDE7; border: none; color: #fff; padding: 10px 40px;
  border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.bcw-apply-btn:hover { background: #38b2c7; }
#bcw-promo-msg { font-size: 12px; margin-top: 8px; }

/* ── Car summary sidebar ── */
.bcw-car-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.bcw-car-name { font-size: 20px; font-weight: 700; color: #1a1a1a; letter-spacing: -.2px; }
.bcw-car-model { font-size: 12px; color: #999; margin-top: 3px; }
.bcw-car-thumb { width: 88px; height: 58px; object-fit: contain; border-radius: 8px; padding: 4px; }
.bcw-car-badges { display: flex; gap: 8px; margin-bottom: 18px; }
.bcw-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 5px 13px; font-size: 12px; color: #403B37; font-weight: 400; }
.bcw-info-block { margin-bottom: 16px; }
.bcw-info-label { font-size: 16px; font-weight: 700; color: #403B37; letter-spacing: .8px; margin-bottom: 6px; }
.bcw-info-value { font-size: 14px; color: #403B37; background: #f7f7f5; padding: 9px 13px; border-radius: 8px; font-weight: 400; border: 1px solid #DCEBED; }
.bcw-route { display: flex; flex-direction: column; gap: 0; background: #f7f7f5; border: 1px solid #DCEBED; border-radius: 8px; }
.bcw-route-from, .bcw-route-to { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #403B37; padding: 10px 13px; font-weight: 400; line-height: 1.4; }
.bcw-route-from { border-radius: 8px 8px 0 0; border-bottom: 1px solid #efefef; }
.bcw-route-to   { border-radius: 0 0 8px 8px; }
.bcw-route-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.bcw-route-icon--from { color: #ff9800; }
.bcw-route-icon--to   { color: #ff6b35; }
.bcw-cancel-note { font-size: 12px; color: #736E68; margin: 14px 0 0 0; font-style: italic; line-height: 1.6; }

/* ── Payment summary ── */
.bcw-payment-rows { display: flex; flex-direction: column; gap: 11px; margin: 14px 0; }
.bcw-payment-row { display: flex; justify-content: space-between; font-size: 16px; color: #403B37; font-weight: 400; border-bottom: 1px solid #DCEBED; }
.bcw-payment-row:has(> span.discounts) { border-bottom: none !important; }
.bcw-discount span:first-child { font-size: 13px; }
.bcw-payment-row--sub { font-weight: 400; color: #403B37; font-size: 16px; }
.bcw-payment-rows:first-of-type { background: #fff; padding: 16px 24px; }
.bcw-payment-row span:last-child { font-weight: 700; font-size: 20px; }
.bcw-payment-rows:not(:first-of-type) .bcw-payment-row span:last-child { padding-right: 25px; }
.discounts { font-size: 12px; color: #403B37; font-weight: 400; }
.diver { border: 0 !important; border-top: 1px solid #42CDE7 !important; height: 1px; background: none; }
.bcw-payment-divider { height: 1px; margin: 6px 0; }
.bcw-card.bcw-payment-summary { border: 2px dotted #42CDE7; background: #EFFEFF; padding: 20px; width: 400px; }

/* ── Book Today button ── */
.bcw-book-today-btn {
  display: block; width: 100%; padding: 12px; background: #DD5552; color: #fff;
  border-radius: 6px; text-align: center; font-size: 15px; font-weight: 400;
  letter-spacing: .5px; text-decoration: none; margin-top: 22px;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
}
.bcw-book-today-btn:hover {
  background: #DD5552; color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,107,53,.45);
}

/* ── Step done state ── */
.bcw-step--done .bcw-step-num { background: #42CDE7; color: #fff; padding-top: 14px; font-size: 30px; border: 1px solid; }
.bcw-step--done .bcw-step-label { color: #42CDE7; font-weight: 700; }

/* Step 2 layout */
.bcw-step2-wrap { padding: 0 0 40px; }
.bcw-stepper--step2 { margin-bottom: 28px; }
.bcw-step2-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .bcw-step2-layout { grid-template-columns: 1fr; } }

.bcw-s2-summary { background: #f9fbff; border: 1px dashed var(--bcw-border); }
.bcw-s2-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; color: var(--bcw-text); border-bottom: 1px solid var(--bcw-border); }
.bcw-s2-row:last-child { border-bottom: none; }
.bcw-s2-row span:last-child { font-weight: 700; color: #403B37; font-size: 20px; }

.bcw-s2-tabs { display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #f0faff !important;
    border: 1px solid #e1f3fd !important;
    border-radius: 50px !important;
    padding: 6px !important;
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
	margin-bottom: 25px !important;}
.bcw-s2-tab { display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-radius: 6px;
    transition: font-size 0.15s ease-out, font-weight 0.15s ease-out;
    backface-visibility: hidden;}
.bcw-s2-tab.active,
.bcw-s2-tab.hover{ background: #00bcd4;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35); }
.bcw-s2-tab:hover:not(.active) { border-color: #ccc; color: var(--bcw-text); }
/* .bcw-s2-panel { display: block; } */
.bcw-s2-panel { display: none !important; }
.bcw-s2-panel.active { display: block !important; }

.bcw-s2-notice {
	display: block!important;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f5fe 100%);
    border: 1px solid #b8dff7;
    border-left: 4px solid #009cde;
    border-radius: 8px;
    padding: 13px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #1a4a6b;
    line-height: 1.6; }
.tern { color: #403B37; font-size: 16px; font-weight: 700; }
.bcw-s2-notice p { margin: 0 0 6px; }
.bcw-s2-notice p:last-child { margin-bottom: 0; }

.bcw-s2-terms { font-size: 13px; color: var(--bcw-muted); line-height: 1.6; }
.bcw-s2-terms label { align-items: flex-start; gap: 8px; cursor: pointer; }
.bcw-s2-terms input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.bcw-s2-terms a { color: #42CDE7 !important;
    text-decoration: underline !important; }

.bcw-bank-table { background: #fff; border: 1px solid var(--bcw-border); border-radius: var(--bcw-radius-sm); overflow: hidden; margin-bottom: 20px; font-size: 13px; }
.bcw-bank-row { display: flex; align-items: center; padding: 11px 14px; gap: 12px; }
.bcw-bank-row:last-child { border-bottom: none; }
.bcw-bank-row--amount { background: #fff8e1; }
.bcw-bank-label { width: 130px; flex-shrink: 0; font-weight: 600; color: #555; }
.bcw-bank-val { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--bcw-text); word-break: break-all; }
.bcw-bank-row--amount .bcw-bank-val span { font-weight: 700; font-size: 15px; color: #FF6B2B; }

.bcw-copy-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--bcw-border); border-radius: 6px; background: #fff; color: var(--bcw-muted); font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all var(--bcw-transition); }
.bcw-copy-btn:hover { border-color: #42CDE7; color: #42CDE7; }

.bcw-receipt-section { margin-bottom: 20px; }
.bcw-receipt-section h4 { font-size: 13px; font-weight: 700; color: var(--bcw-text); margin: 0 0 10px; }
.bcw-upload-box { border: 2px dashed #ffc08a; border-radius: var(--bcw-radius-sm); padding: 28px 20px; text-align: center; cursor: pointer; transition: border-color var(--bcw-transition); background: #fffbf5; }
.bcw-upload-box:hover { border-color: #FF6B2B; }
.bcw-upload-icon { margin-bottom: 10px; }
.bcw-upload-box p { font-size: 13px; color: var(--bcw-muted); margin: 0 0 12px; }
.bcw-upload-trigger { display: inline-block; padding: 8px 20px; background: #FF6B2B; color: #fff; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background var(--bcw-transition); }
.bcw-upload-trigger:hover { background: #e55a1f; }
.bcw-remove-receipt { display: inline-block; margin-top: 8px; padding: 5px 14px; background: #fee2e2; color: #c0392b; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background var(--bcw-transition); }
.bcw-remove-receipt:hover { background: #fecaca; }

.bcw-back-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 10px 20px; border: 2px solid var(--bcw-border); border-radius: var(--bcw-radius-sm); background: #fff; color: var(--bcw-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--bcw-transition); }
.bcw-back-btn:hover { border-color: #aaa; color: var(--bcw-text); }
#bcw-paypal-button-container { min-height: 60px; }

/* Trang Home */
body .elementor-element-33b7ff4 .bcw-wrapper,
body .elementor-element-f1e9f02 .bcw-wrapper { box-shadow: none !important; }
.bcw-field-flight {
  flex: 1.5;
  min-width: 160px;
}
.bcw-flight-wrap {
    margin-bottom: 15px;
}
/* ❌ Ẩn Flight Info ở Private */
.bcw-body[data-form="private"] .bcw-flight-info {
    display: none !important;
}

/* ✅ Chỉ hiện ở Airport */
.bcw-body[data-form="airport"] .bcw-flight-info {
    display: block;
}
.bcw-error {
  border: 2px solid red !important;
  background: #fff6f6;
}
/* ══ Route Car Select Dropdown ══ */
.bcw-route-wrap {
  position: relative;
}

.bcw-route-display {
  width: 100%;
  padding: 12px 36px 12px 38px;
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  background: #F8F8F8;
  font-size: 14px;
  color: #B0B8CC;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  transition: all var(--bcw-transition);
  min-height: 46px;
  user-select: none;
}
.bcw-route-display:hover,
.bcw-route-display.open {
  border-color: var(--bcw-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,43,0.12);
}
.bcw-route-display.has-value {
  color: var(--bcw-text);
  font-weight: 500;
}
.bcw-route-arrow {
  width: 16px; height: 16px;
  color: var(--bcw-muted);
  flex-shrink: 0;
  transition: transform var(--bcw-transition);
}
.bcw-route-display.open .bcw-route-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.bcw-route-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  min-width: 280px;
  background: #fff;
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  box-shadow: var(--bcw-shadow-lg);
  z-index: 1000;
  overflow: hidden;
}
.bcw-route-dropdown.open { display: block; }

/* Search inside dropdown */
.bcw-route-search-wrap {
  padding: 10px 12px;
  border-bottom: 1px solid var(--bcw-border);
}
.bcw-route-search {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1.5px solid var(--bcw-border);
  border-radius: var(--bcw-radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.bcw-route-search:focus { border-color: var(--bcw-primary); }

/* List */
.bcw-route-list {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bcw-border) transparent;
}
.bcw-route-list::-webkit-scrollbar { width: 4px; }
.bcw-route-list::-webkit-scrollbar-thumb {
  background: var(--bcw-border);
  border-radius: 2px;
}

/* Items */
.bcw-route-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--bcw-text);
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.bcw-route-item:last-child { border-bottom: none; }
.bcw-route-item:hover { background: #fff5f0; color: var(--bcw-primary); }
.bcw-route-item.selected {
  background: #fff0e8;
  color: var(--bcw-primary);
  font-weight: 600;
}
.bcw-route-item-icon {
  width: 30px; height: 30px;
  background: #fff0e8;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* Loading / Empty */
.bcw-route-loading,
.bcw-route-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  font-size: 13px;
  color: var(--bcw-muted);
}
/* ==========================================================================
   1. CSS CHO THANH 3 TAB PHƯƠNG THỨC THANH TOÁN (PAYMENT METHODS)
   ========================================================================== */

/* Khung bọc ngoài cùng chứa cả 3 tab */
.payment-tabs, 
.checkout-payment-methods {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #f0faff !important; /* Nền xanh nhạt dịu */
    border: 1px solid #e1f3fd !important;
    border-radius: 50px !important;       /* Bo tròn dạng viên thuốc */
    padding: 6px !important;
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
    margin-bottom: 25px !important;
}

/* Style chung cho từng Tab thành phần */
.payment-tabs .tab-item,
.checkout-payment-methods .payment-method-nav {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    border: none !important;
    background: transparent !important;   /* Mặc định trong suốt */
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #7bb5d8 !important;            /* Màu chữ xám xanh khi chưa chọn */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 40px !important;       /* Bo góc tab con bên trong */
}

/* --- TRẠNG THÁI ACTIVE (Tab đang được chọn - Ví dụ: Credit Card) --- */
.payment-tabs .tab-item.active,
.checkout-payment-methods .payment-method-nav.active {
    background: linear-gradient(135deg, #24c6dc, #19b5cc) !important; /* Dải màu gradient ngọc bích */
    color: #ffffff !important;            /* Chữ chuyển sang màu trắng */
    box-shadow: 0 4px 15px rgba(25, 181, 204, 0.3) !important; /* Đổ bóng nhẹ */
}

/* Tùy chỉnh chữ PayPal ở giữa (nếu tab chưa active thì giữ màu thương hiệu) */
.payment-tabs .tab-item:nth-child(2),
.checkout-payment-methods .payment-method-nav:nth-child(2) {
    color: #253b80 !important; 
}
.payment-tabs .tab-item.active:nth-child(2),
.checkout-payment-methods .payment-method-nav.active:nth-child(2) {
    color: #ffffff !important; 
}


/* ==========================================================================
   2. CSS CHO PHẦN NỘI DUNG PHÍA DƯỚI (BOX ĐIỀU KHOẢN & THÔNG BÁO BẢO MẬT)
   ========================================================================== */

/* Khung Chấp nhận Điều khoản & Chính sách bảo mật (Terms & Conditions) */
.checkout-terms-container,
.payment-content-wrapper .terms-box {
    background-color: #f7fcff !important;
    border: 1px solid #e6f5ff !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

/* Tùy chỉnh checkbox và link điều khoản */
.checkout-terms-container input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}
.checkout-terms-container a {
    color: #19b5cc !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.checkout-terms-container a:hover {
    text-decoration: underline !important;
}

/* Khung thông báo bảo mật "Secure payment via PayPal..." */
.secure-payment-notice,
.payment-content-wrapper .security-info {
    background-color: #e6f5ff !important; /* Nền xanh bảo mật */
    border-left: 4px solid #19b5cc !important; /* Vạch xanh bên trái đứng */
    border-top: 1px solid #d4eeff !important;
    border-right: 1px solid #d4eeff !important;
    border-bottom: 1px solid #d4eeff !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    color: #3b637a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 25px !important;
}

/* Nút bấm thanh toán màu đen lớn ở dưới cùng "Thẻ ghi nợ hoặc tín dụng" */
.submit-payment-btn,
.payment-content-wrapper .main-payment-button {
    background-color: #2c2c2c !important; /* Màu nền đen xám đen */
    color: #ffffff !important;
    width: 100% !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: background 0.2s ease !important;
}

.submit-payment-btn:hover {
    background-color: #1a1a1a !important; /* Tối hơn một chút khi di chuột vào */
}

/* Dòng chữ nhỏ "Được hỗ trợ bởi PayPal" dưới nút */
.payment-footer-brand {
    text-align: center !important;
    font-style: italic !important;
    color: #8c9ba5 !important;
    font-size: 13px !important;
    margin-top: 12px !important;
}
/* ==========================================================================
   1. ĐỒNG BỘ THANH 3 TAB PHƯƠNG THỨC THANH TOÁN (PAYMENT METHODS)
   ========================================================================== */

/* Khung viền bọc ngoài cùng của 3 tab trên trang xe */
.bcw-booking-payment-gateways,
.bcw-payment-gateways-container,
#bcw-payment-methods {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #f0faff !important; /* Nền xanh pastel nhạt */
    border: 1px solid #e1f3fd !important;
    border-radius: 50px !important;       /* Bo tròn viên thuốc */
    padding: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 30px !important;
}

/* Các tab thành phần (Credit Card, PayPal, Bank Transfer) */
.bcw-booking-payment-gateways .bcw-gateway-item,
.bcw-payment-gateways-container .payment-tab,
.bcw-payment-method-nav {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #7bb5d8 !important;            /* Màu chữ xanh xám mặc định */
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 40px !important;       /* Bo tròn tab con bên trong */
    transition: all 0.3s ease !important;
}

/* Ẩn các nút input/radio tròn mặc định nếu plugin tự sinh ra */
.bcw-booking-payment-gateways input[type="radio"] {
    display: none !important;
}

/* --- TRẠNG THÁI ACTIVE (Tab đang được chọn) --- */
.bcw-booking-payment-gateways .bcw-gateway-item.active,
.bcw-booking-payment-gateways input[type="radio"]:checked + label,
.bcw-payment-gateways-container .payment-tab.active,
.bcw-payment-method-nav.active {
    background: linear-gradient(135deg, #24c6dc, #19b5cc) !important; /* Màu xanh gradient ngọc bích */
    color: #ffffff !important;            /* Chữ chuyển sang màu trắng */
    box-shadow: 0 4px 15px rgba(25, 181, 204, 0.3) !important; /* Đổ bóng nhẹ */
}

/* Giữ màu xanh thương hiệu cho chữ PayPal ở tab giữa khi chưa active */
.bcw-gateway-item:nth-child(2) {
    color: #253b80 !important;
}
.bcw-gateway-item.active:nth-child(2),
.bcw-booking-payment-gateways input[type="radio"]:checked + label:nth-child(2) {
    color: #ffffff !important;
}


/* ==========================================================================
   2. ĐỒNG BỘ KHUNG NỘI DUNG (TERMS, SECURITY & SUBMIT BUTTON)
   ========================================================================== */

/* 2.1. Khung Chấp nhận Điều khoản & Chính sách bảo mật (Terms & Conditions) */
.bcw-booking-terms-privacy,
.bcw-terms-conditions-wrapper,
.bcw-form-group-terms {
    background-color: #f7fcff !important;
    border: 1px solid #e6f5ff !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

/* Tùy chỉnh checkbox và link điều khoản */
.bcw-terms-conditions-wrapper input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}
.bcw-terms-conditions-wrapper a {
    color: #19b5cc !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.bcw-terms-conditions-wrapper a:hover {
    text-decoration: underline !important;
}

/* 2.2. Khung thông báo bảo mật màu xanh "Secure payment via PayPal..." */
.bcw-payment-description,
.bcw-gateway-instruction-box,
.bcw-paypal-notice {
    background-color: #e6f5ff !important; /* Nền xanh bảo mật */
    border-left: 4px solid #19b5cc !important; /* Vạch dọc xanh ngọc bích bên trái */
    border-top: 1px solid #d4eeff !important;
    border-right: 1px solid #d4eeff !important;
    border-bottom: 1px solid #d4eeff !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    color: #3b637a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
    display: block !important;
}

/* 2.3. Nút bấm xác nhận đặt xe (Màu đen lớn - "Thẻ ghi nợ hoặc tín dụng") */
.bcw-booking-submit-button,
#bcw-place-order-btn,
.bcw-submit-form-btn {
    background-color: #2c2c2c !important; /* Đổi sang màu xám đen sang trọng */
    color: #ffffff !important;
    width: 100% !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: background 0.2s ease !important;
    box-shadow: none !important;
}

.bcw-booking-submit-button:hover,
#bcw-place-order-btn:hover {
    background-color: #1a1a1a !important; /* Tối hơn khi hover chuột */
}

/* 2.4. Dòng chữ nhỏ "Được hỗ trợ bởi PayPal" ở dưới cùng nút bấm */
.bcw-payment-footer-brand,
.bcw-supported-by-paypal {
    text-align: center !important;
    font-style: italic !important;
    color: #8c9ba5 !important;
    font-size: 13px !important;
    margin-top: 12px !important;
    display: block !important;
}
/* ── Ẩn Tour Guide chỉ ở Airport Transfer ── */
.bcw-body[data-form="airport"] ~ .bcw-tour-guide {
  display: none !important;
}

/* Hoặc nếu cấu trúc HTML khác, dùng: */
.bcw-wrapper:has(.bcw-body[data-form="airport"]:not(.bcw-body--hidden)) .bcw-tour-guide {
  display: none !important;
}

/* ✅ Hiển thị bình thường ở Private Car */
.bcw-body[data-form="private"]:not(.bcw-body--hidden) ~ .bcw-tour-guide {
  display: flex !important;
}
#dynamic-panel-bank {
  display: flex;
  flex-direction: column;
}
#dynamic-panel-bank #bcw-bank-panel {
  display: flex !important;
  flex-direction: column !important;
}

#dynamic-panel-bank:not(.active) #bcw-bank-panel {
  display: none !important;
}
/* PRIVATE TAB: Ẩn "To" location, chỉ hiện "From" */
 #bcw-pickup-page[data-bcw-tab="private"] #bcw-route-step1 .bcw-route-to {
  display: none !important;
}

/* PRIVATE TAB: Đổi icon từ máy bay → routing */
/* #bcw-pickup-page[data-bcw-tab="private"] #bcw-route-step1 .bcw-route-icon--from img {
  content: url('https://nicetriptravels.com/wp-content/uploads/2026/01/routing.svg');
}  */
#bcw-pickup-page[data-bcw-tab="private"] #bcw-step2-payment .bcw-route-to {
  display: none !important;
}

#bcw-pickup-page[data-bcw-tab="private"] #bcw-step2-payment .bcw-route-from img {
  content: url('https://nicetriptravels.com/wp-content/uploads/2026/01/routing.svg');
}
/* PRIVATE TAB: Change airplane icon to routing icon */
#bcw-pickup-page[data-bcw-tab="private"] #bcw-route-step1 .bcw-route-icon--from img {
  visibility: hidden;  /* Ẩn airplane icon */
}

#bcw-pickup-page[data-bcw-tab="private"] #bcw-route-step1 .bcw-route-icon--from::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url('https://nicetriptravels.com/wp-content/uploads/2026/01/routing.svg');
  background-size: 20px 20px;
}
/* ── BCW Phone Country Code searchable dropdown ── */
.bcw-phone-cc { position: relative; width: 50%!important; }
.bcw-phone-cc-display {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 14px; color: #374151;
  min-height: 46px; box-sizing: border-box;
}
.bcw-phone-cc.open .bcw-phone-cc-display,
.bcw-phone-cc-display:focus {
  border-color: #FF7A0F; outline: none;
  box-shadow: 0 0 0 3px rgba(255,122,15,.12);
}
.bcw-phone-cc-pin { display: inline-flex; flex-shrink: 0; }
.bcw-phone-cc-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcw-phone-cc-text strong { color: #FF7A0F; margin-right: 4px; }
.bcw-phone-cc-arrow { width: 16px; height: 16px; color: #9ca3af; transition: transform .2s; flex-shrink: 0; }
.bcw-phone-cc.open .bcw-phone-cc-arrow { transform: rotate(180deg); }

.bcw-phone-cc-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1000;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); display: none; overflow: hidden;
}
.bcw-phone-cc.open .bcw-phone-cc-dropdown { display: block; }
.bcw-phone-cc-search-wrap { padding: 10px; border-bottom: 1px solid #f1f1f1; }
.bcw-phone-cc-search {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; outline: none;
}
.bcw-phone-cc-search:focus { border-color: #FF7A0F; }
.bcw-phone-cc-list { max-height: 260px; overflow-y: auto; }
.bcw-phone-cc-list::-webkit-scrollbar { width: 6px; }
.bcw-phone-cc-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.bcw-phone-cc-item {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  cursor: pointer; font-size: 14px; border-bottom: 1px solid #f6f6f6;
}
.bcw-phone-cc-item:last-child { border-bottom: none; }
.bcw-phone-cc-item:hover, .bcw-phone-cc-item.active { background: #fff7f0; }
.bcw-phone-cc-item-pin { display: inline-flex; flex-shrink: 0; }
.bcw-phone-cc-item-code { color: #FF7A0F; font-weight: 700; }
.bcw-phone-cc-item-name { color: #374151; }
.bcw-phone-cc-empty { padding: 18px; text-align: center; color: #9ca3af; font-size: 13px; }
#bcw-back-to-step1{
	padding:13px 22px !important;background:transparent !important;color:#42CDE7 !important;border: 1px solid #42cde7 !important;border-radius:8px !important;font-size:15px !important;font-weight:700 !important;letter-spacing:0.05em;cursor:pointer;font-family:inherit;transition:background 0.2s ease;}
#bcw-back-to-step1:hover{background:#42CDE7 !important;color: #fff!important;}
@media (max-width: 767px) {
	#bcw-back-to-step1{
		padding: 8px 22px !important;
    margin: 0px 10px 20px;
	}
	.bcw-card {
		padding: 10px;
	}
	.bcw-step2-right {
    padding: 10px;
}
	#bcw-step2-payment .bcw-step2-right .bcw-car-summary,
  #bcw-step2-payment .bcw-step2-right .bcw-payment-summary {
    display: none !important;
  }
	/* ✅ Mã vùng (country code) và số điện thoại xuống hàng riêng */
	.bcw-form-group--phone .bcw-phone-wrap .bcw-form-group {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.bcw-form-group--phone .bcw-phone-cc,
	.bcw-form-group--phone #bcw-phone {
		width: 100%!important;
		box-sizing: border-box;
	}
	.bcw-bank-label {
    flex: 0 0 0px!important;
		font-size: 12px!important;
	}
	/* ✅ Bank table — giao diện dạng label trên, pill box dưới */
.bcw-bank-table {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bcw-bank-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
	text-align: left; 
}

.bcw-bank-label {
    font-size: 13px;
    font-weight: 600;
    color: #403B37;
    text-align: left;   /* ✅ THÊM MỚI */
    width: 100%;
	}

.bcw-bank-val {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    background: #F7FBFC;
    border: 1px solid #E3EEF0;
    border-radius: 10px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.bcw-bank-val span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #403B37;
}

.bcw-bank-val .bcw-copy-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #42CDE7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    text-transform: uppercase;
}

.bcw-bank-val .bcw-copy-btn:hover {
    opacity: 0.75;
}

.bcw-bank-val .bcw-copy-btn svg {
    flex-shrink: 0;
}

/* Copied feedback */
.bcw-bank-val .bcw-copy-btn.is-copied {
    color: #27ae60;
}
}
