/* =========================================================
   STEP 1 — PIXEL-CLOSE OVERRIDES (scoped to .cbp-wrap)
   ========================================================= */

.cbp-wrap,
.cbp-wrap *{
  box-sizing: border-box !important;
  font-family: "Montserrat", Arial, sans-serif !important;
}

/* page spacing (matches screenshot: content starts under header) */
.cbp-wrap{
  width: 100% !important;
  max-width: 980px !important;
  margin: 22px auto !important;
  padding: 0 14px !important;
  overflow-x: hidden !important;
}

/* headings: STEP 1 OF 4 + YOUR JOURNEY + subtitle */
.cbp-step-kicker{
  max-width: 760px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #2E7DFF !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px !important;
}

.cbp-h1{
  max-width: 760px !important;
  margin: 0 0 10px !important;
  font-size: 56px !important;
  line-height: 2.02 !important;
  font-weight: 400 !important;
  letter-spacing: .01em !important;
  color: #0B0B0B !important;
}

.cbp-h2-sub{
  max-width: 760px !important;
  margin: 0 0 18px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #0B0B0B !important;
}

/* Stepper row (same width as card like screenshot) */
.cbp-stepper{
  width: 100% !important;
  max-width: 760px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

.cbp-stepper .cbp-step{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #7C8798 !important;
}

.cbp-stepper .cbp-dot{
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #C9D3E3 !important;
  background: #fff !important;
  color: #7C8798 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

.cbp-stepper .cbp-line{
  flex: 1 1 auto !important;
  min-width: 46px !important;
  height: 2px !important;
  background: #C9D3E3 !important;
}

.cbp-stepper .is-active .cbp-dot{
  background: #2E7DFF !important;
  border-color: #2E7DFF !important;
  color: #fff !important;
}
.cbp-stepper .is-active span:last-child{
  color: #0B0B0B !important;
}

/* Card */
.cbp-card{
  width: 100% !important;
  max-width: 760px !important;
  background: #fff !important;
  border: 1px solid #E6EBF3 !important;
  border-radius: 8px !important;
  padding: 18px 18px 16px !important;
  box-shadow: 0 8px 26px rgba(16,24,40,.08) !important;
}

/* card title row */
.cbp-card-title{
  margin: 0 0 14px !important;
}
.cbp-card-title-left{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.cbp-card-logo,
.cbp-card-logo-placeholder{
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
}
.cbp-card-logo-placeholder{
  background: #EEF3FF !important;
  border: 1px solid #D7E4FF !important;
}
.cbp-card-title-text{
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  color: #0B0B0B !important;
}

/* Tabs (exact feel: active light-blue fill, both have border) */
.cbp-tabs{
  display: flex !important;
  gap: 18px !important;
  margin: 0 0 16px !important;
}
.cbp-tab{
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 14px 12px !important;
  border-radius: 2px !important;
  border: 2px solid #2E7DFF !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
.cbp-tab.is-active{
  background: #EAF2FF !important;
  color: #2E7DFF !important;
}

/* Panels show/hide */
.cbp-panel{ display:none !important; }
.cbp-panel.is-active{ display:block !important; }

/* Labels */
.cbp-label{
  display:block !important;
  margin: 0 0 8px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0B0B0B !important;
}

/* Inputs (sharp corners + grey border like screenshot) */
.cbp-input{
  width: 100% !important;
  height: 52px !important;
  border-radius: 2px !important;
  border: 1px solid #3E3E3E !important;
  background: #fff !important;
  padding: 0 52px 0 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  outline: none !important;
}
.cbp-input::placeholder{
  color: #9AA3B2 !important;
  font-weight: 500 !important;
}
.cbp-field{ margin: 0 0 14px !important; }

/* right “target” icon look */
.cbp-input-wrap{ position: relative !important; }
.cbp-pin{
  position:absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  border: 2px solid #111 !important;
  opacity: .65 !important;
}
.cbp-pin:after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform: translate(-50%,-50%) !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  border: 2px solid #111 !important;
  opacity: .65 !important;
}

/* hide postcodes for the clean screenshot look */
.cbp-postcodes{ display:none !important; }

/* Big CTA button */
.cbp-btn-primary{
  width: 100% !important;
  height: 56px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #2E7DFF !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  margin-top: 6px !important;
}
.cbp-arrow{
  font-size: 18px !important;
  line-height: 1 !important;
}

/* message text */
.cbp-msg{
  margin-top: 10px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* Mobile safety */
@media (max-width: 840px){
  .cbp-step-kicker,
  .cbp-h1,
  .cbp-h2-sub,
  .cbp-stepper,
  .cbp-card{
    max-width: 100% !important;
  }
  .cbp-h1{ font-size: 44px !important; }
  .cbp-stepper .cbp-line{ min-width: 18px !important; }
}
/* ================================
   STEP 2 — CARS (matches screenshot)
   ================================ */

#cbp-step-2{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
}

.cbp-stepper-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin: 0 0 18px;
}

/* left stepper uses step1 styles; just ensure same width feel */
.cbp-stepper{
  max-width: 760px;
}

.cbp-cars-available{
  font-weight: 700;
  color: #111827;
  font-size: 14px;
  white-space: nowrap;
}

.cbp-cars-list{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.cbp-vehicle-card{
  background:#fff;
  border:1px solid #e6ebf3;
  border-radius:10px;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
  padding: 18px;
  display:grid;
  grid-template-columns: 1.1fr 1fr 0.75fr;
  gap: 18px;
  align-items: center;
}

.cbp-vehicle-title{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.cbp-vehicle-meta{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  color:#111827;
  font-weight:700;
  font-size: 13px;
  margin-bottom: 14px;
}
.cbp-meta-item{
  display:flex;
  align-items:center;
  gap: 8px;
}
.cbp-meta-ico{
  font-size: 14px;
  opacity: .9;
}

.cbp-vehicle-image-wrap{
  width: 100%;
}
.cbp-vehicle-image{
  width: 100%;
  max-width: 360px;
  height: auto;
  display:block;
}

.cbp-benefits{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color:#111827;
}
.cbp-benefits li{
  display:flex;
  align-items:center;
  gap: 10px;
}
.cbp-check{
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid #9aa3b2;
  display:grid;
  place-items:center;
  font-size: 12px;
  color:#111827;
  opacity:.9;
}

.cbp-price-box{
  background:#f3f4f6;
  border-radius:10px;
  padding: 18px;
  text-align:left;
}
.cbp-price-label{
  color:#111827;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cbp-price-value{
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 14px;
  color:#111827;
}

/* button same pill look */
.cbp-select-car-btn{
  height: 46px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

/* footer back button */
.cbp-step2-footer{
  display:flex;
  justify-content:flex-end;
  margin-top: 10px;
}
.cbp-back-btn{
  background:#eef3ff;
  border:1px solid #2E7DFF;
  color:#2E7DFF;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor:pointer;
}

/* responsive */
@media (max-width: 980px){
  .cbp-vehicle-card{
    grid-template-columns: 1fr;
  }
  .cbp-price-box{ text-align:left; }
  .cbp-stepper-top{
    flex-direction:column;
    align-items:flex-start;
  }
}
.cbp-vehicle-desc{
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.55;
  margin-bottom: 12px;
}
.cbp-vehicle-desc p{ margin: 0 0 8px; }
/* ================================
   STEP 3 UI (matches screenshot)
   ================================ */

.cbp-step3 .cbp-card{ max-width:760px; }

.cbp-step3-title{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cbp-choose-time{
  justify-content: center !important;
  gap: 10px !important;
  letter-spacing: .08em !important;
}

.cbp-phone-grid{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}

.cbp-checks{
  margin-top: 12px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  font-weight: 700;
}
.cbp-checkline{
  display:flex;
  align-items:center;
  gap: 10px;
}
.cbp-checkline input{ width:18px; height:18px; }

.cbp-box{
  margin-top: 14px;
  border: 1px solid #e6ebf3;
  border-radius: 10px;
  padding: 12px;
}
.cbp-box-title{
  font-weight: 900;
  margin-bottom: 10px;
}

.cbp-note{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* Buttons row */
#cbp_back_to_step2{
  margin-top: 14px;
  width: 100%;
}
#cbp_save_step3{
  margin-top: 10px;
  width: 100%;
}

/* ===== Modal (Choose Time) ===== */
.cbp-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
}
.cbp-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}
.cbp-modal-card{
  position: relative;
  width: 520px;
  max-width: calc(100% - 24px);
  margin: 80px auto;
  background:#fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.cbp-modal-head{
  font-weight: 900;
  text-align:center;
  margin-bottom: 10px;
}

.cbp-modal-month{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin-bottom: 10px;
}
.cbp-month-title{
  font-size: 22px;
  font-weight: 900;
}
.cbp-month-next{
  border: 1px solid #111;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.cbp-cal-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align:center;
  padding: 6px 0;
}
.cbp-cal-day{
  padding: 10px 0;
  border-radius: 6px;
  cursor:pointer;
  font-weight: 800;
}
.cbp-cal-day.is-muted{ opacity:.25; cursor:default; }
.cbp-cal-day.is-selected{ background:#2E7DFF; color:#fff; }

.cbp-time-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 14px;
}
.cbp-time-label{
  font-weight: 800;
  margin-bottom: 6px;
}
.cbp-modal{ z-index: 999999 !important; }
/* ================================
   STEP 4 UI
   ================================ */

.cbp-step4 .cbp-card{ max-width:760px; }

.cbp-step4-title{
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cbp-summary-strip{
  display:flex;
  gap: 14px;
  align-items:center;
  background:#d9ecff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.cbp-summary-strip-img{
  width: 90px;
  min-width: 90px;
}
.cbp-summary-strip-img img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 6px;
}

.cbp-summary-strip-text{
  flex:1;
  min-width: 0;
}

.cbp-summary-topline{
  font-weight: 900;
  font-size: 14px;
  line-height: 1.3;
}
.cbp-summary-date{
  font-weight: 700;
}

.cbp-summary-route{
  margin-top: 6px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
}
.cbp-arrow{
  margin: 0 8px;
  font-weight: 900;
}

.cbp-billing-title{
  font-size: 18px;
  font-weight: 900;
  margin: 10px 0 10px;
}

.cbp-total-box{
  margin-top: 14px;
  border-top: 1px solid #e6ebf3;
  padding-top: 12px;
}

.cbp-total-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  font-weight: 900;
  font-size: 16px;
}
.cbp-total-amount{
  font-size: 28px;
  font-weight: 900;
}

.cbp-sub-row{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color:#374151;
}

#cbp_back_to_step3{
  margin-top: 14px;
  width: 100%;
}

#cbp_checkout_btn{
  margin-top: 10px;
  width: 100%;
}
/* Make intl-tel-input stretch full width inside your form */
.cbp-step3 .iti {
  width: 100% !important;
  display: block !important;
}

.cbp-step3 .iti__tel-input,
.cbp-step3 .iti input[type="tel"] {
  width: 100% !important;
  box-sizing: border-box;
}

/* Optional: make it look exactly like your .cbp-input */
.cbp-step3 .iti input[type="tel"] {
  height: 44px;              /* match your input height if different */
  border-radius: 6px;        /* match your theme */
}

/* Ensure the flag dropdown area doesn't break your layout */
.cbp-step3 .iti__flag-container {
  z-index: 2;
}
/* --- CBP + intl-tel-input fixes (Step 3) --- */
.cbp-step3 .iti {
  width: 100%;
  display: block;
}

.cbp-step3 .iti input[type="tel"],
.cbp-step3 .iti input.cbp-phone {
  width: 100% !important;
  box-sizing: border-box;
}

/* Your cbp-input padding overrides the plugin padding.
   This restores spacing for the flag + dial code area. */
.cbp-step3 .iti--allow-dropdown input[type="tel"],
.cbp-step3 .iti--separate-dial-code input[type="tel"],
.cbp-step3 .iti--allow-dropdown input.cbp-phone,
.cbp-step3 .iti--separate-dial-code input.cbp-phone {
  padding-left: 110px !important;   /* adjust 100–120 if needed */
}

/* Align the flag/dial-code vertically */
.cbp-step3 .iti__flag-container,
.cbp-step3 .iti__selected-flag {
  display: flex;
  align-items: center;
}

/* Keep dropdown above other elements */
.cbp-step3 .iti__country-list {
  z-index: 999999 !important;
}
/* =========================================================
   STEP 2 HEADING + WIDER LAYOUT
========================================================= */

/* Make step2 wider (like screenshot with 4 cars) */
.cbp-step2{
  max-width: 1180px !important;
}

/* Heading above the stepper */
.cbp-step2-heading{
  margin: 10px 0 10px !important;
}

/* smaller h1 for Step 2 */
.cbp-h1--small{
  font-size: 44px !important;
  line-height: 1.1 !important;
  margin: 6px 0 6px !important;
}

/* Stepper row full width now */
.cbp-stepper{
  max-width: 100% !important;
}

/* Cards wider + better spacing */
.cbp-vehicle-card{
  padding: 22px !important;
  grid-template-columns: 1.2fr 1fr 0.9fr !important;
  gap: 24px !important;
}

.cbp-vehicle-image{
  max-width: 420px !important;
}

/* Price box larger so it looks premium */
.cbp-price-box{
  padding: 22px !important;
}

.cbp-price-value{
  font-size: 38px !important;
}

/* Bottom back button area like screenshot */
.cbp-step2-footer{
  padding: 14px 0 26px !important;
}

/* Responsive */
@media (max-width: 1180px){
  .cbp-step2{ max-width: 100% !important; }
}
@media (max-width: 980px){
  .cbp-vehicle-card{
    grid-template-columns: 1fr !important;
  }
  .cbp-h1--small{ font-size: 36px !important; }
}
