:root {
  --primary-orange: linear-gradient(45deg, #FFA100, #B02486);
  --secondary-purple: #a12b89;
  --primary-magenta: #b02486;
  --text-dark: #1a1a1a;
  --text-muted: #7a7a7a;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
  --white: #ffffff;
}
/*:root {
            --primary-orange: linear-gradient(45deg, #FFA100, #B02486);
            --primary-magenta: #B02486;
            --bg-light: #f9fafb;
            --border-color: #e5e7eb;
            --text-dark: #1f2937;
            --text-muted: #6b7280;
        } */

/* ============================================================
       SCOPED RESET
       Sirf humare booking widget (#c247 ke andar) ke liye reset.
       Poore WordPress admin page ko touch nahi karta.
       ============================================================ */
#c247 * {
  box-sizing: border-box;
}

#c247 {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Buttons, inputs aur selects par WordPress/Bootstrap ke default
       border/shadow/padding ko force reset karte hain, taake humari
       apni classes (.select-btn, .confirm-btn, .form-row select, etc.)
       neeche jaake bina rukawat ke apply ho sakein. */
#c247 button,
#c247 input,
#c247 select {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
}

#c247 button {
  border: none;
  background: none;
  cursor: pointer;
}

/* --- TOP STEP PROGRESS BAR --- */
.step-progress {
  background: var(--primary-orange);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: rgba(255, 255, 255, 0.7);
  padding: 15px 10%;
  text-align: left;
}

.step {
  padding: 5px 10px;
}

.step.active {
  color: var(--white);
  font-weight: bold;
}

.step-num {
  font-size: 2rem;
  display: block;
  line-height: 1;
  margin-top: 5px;
}

.step-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- BOOKING BAR --- */
.booking-summary-bar {
  background: linear-gradient(45deg, #B02486, #FFA100);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 15px 10%;
  font-size: 0.9rem;
}

.info-group {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  row-gap: 8px;
}

.info-block {
  min-width: 180px;
}

.info-block span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.edit-booking {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

/* --- BREADCRUMB --- */
.breadcrumb {
  padding: 20px 5%;
  color: var(--secondary-purple);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin: 20px 40px;
  color: var(--primary-magenta);
  text-decoration: none;
  font-size: 14px;
}
/* --- MAIN LAYOUT CONTAINER --- */
.main-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  /* padding: 0 5% 100px 5%; */
  max-width: 1600px;
  margin: 0 auto;
}

/* --- SIDEBAR FILTERS --- */
.sidebar {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.clear-btn {
  color: var(--secondary-purple);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}

.clear-btn.disabled {
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.65;
  pointer-events: none;
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-section label {
  font-size: 0.85rem;
  font-weight: 600;
}

.select-custom,
#c247 .sidebar select.form-control {
  font-size: 14px !important;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237A7A7A'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

/* Target tags / Pill Buttons */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pill-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.pill {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 5px;
  border-radius: 20px;
  text-align: center;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.pill.active {
  background-color: var(--secondary-purple);
  color: var(--white);
  border-color: var(--secondary-purple);
}

/* Range Slider */
.range-container {
  margin-top: 10px;
}

.range-slider {
  width: 100%;
  accent-color: var(--text-dark);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-top: 5px;
  font-weight: 500;
}

/* --- CARS LISTINGS GRID --- */
.listings-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  width: 100%;
}

/* --- VEHICLE CARD DESIGN --- */
.car-card {
  background: linear-gradient(180deg, #eaeaea 0%, #f5f5f5 100%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  font-size: 0.9rem;
}

/* Layout modifications for Selected State Card */
.car-card.selected {
  background: var(--primary-orange);
  grid-row: span 2;
}

.card-content {
  padding: 16px 16px 0;
}

.car-card.selected .card-content {
  color: var(--white);
}

.car-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.car-title span {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.car-card.selected .car-title span {
  color: rgba(255, 255, 255, 0.8);
}

.car-class {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.car-card.selected .car-class {
  color: rgba(255, 255, 255, 0.9);
}

.car-specs {
  display: flex;
  gap: 9px;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
  flex-wrap: wrap;
}

.car-card.selected .car-specs {
  color: rgba(255, 255, 255, 0.9);
}

.car-img-wrapper {
  padding: 6px 14px;
  text-align: center;
}

.car-img {
  max-width: 85%;
  height: auto;
  object-fit: contain;
  margin: 8px 0;
}

.card-footer-action {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  margin-top: auto;
  gap: 8px;
  flex-wrap: wrap;
}

.offer-badge {
  background-color: var(--secondary-purple);
  color: var(--white);
  font-size: 0.62rem;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
  width: 67px;
}

.price-box {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.car-card.selected .price-box {
  color: var(--white);
}

.price-box .strike {
  text-decoration: line-through;
  margin-right: 4px;
}

.price-actual {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.car-card.selected .price-actual {
  color: var(--white);
}

.select-btn {
  border: 1px solid #fb6a27 !important;
  color: var(--primary-orange);
  background: var(--white);
  padding: 6px 18px;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.select-btn:hover {
  background: var(--primary-orange) !important;
  color: var(--white);
}

.selected-btn-active {
  background-color: rgba(0, 0, 0, 0.15);
  border: none;
  color: var(--white);
  padding: 8px 0;
  width: 100%;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

/* --- SELECTED EXTENDED PANEL --- */
.selected-booking-form,
.total-summary-box {
  display: none;
  /* Initially hide form and summary details */
}

.car-card.selected .selected-booking-form {
  display: block;
  /* Show form only in selected card */
  background: var(--white);
  margin: 0 16px 16px 16px;
  border-radius: 8px;
  padding: 14px;
  color: var(--text-dark);
}

.car-card.selected .total-summary-box {
  display: block;
  /* Show total summary only in selected card */
  text-align: center;
  color: var(--white);
  padding: 0 16px 16px 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.form-row:last-of-type {
  border-bottom: none;
}

.form-row label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.form-row .val {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 3px;
}

/* Editable form controls inside booking form (location/date/time).
       IMPORTANT: The pickup/dropoff date inputs use the datetimepicker
       jQuery plugin which renders as a plain <input class="form-control">
       (type="text"), NOT type="date"/type="time". So we target
       .form-row input.form-control directly, otherwise this rule never
       matches and the input falls back to Bootstrap/WP default styling. */
.form-row select,
.form-row input[type="date"],
.form-row input[type="time"],
.form-row input.form-control {
  width: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  margin-top: 3px;
  padding: 2px 0 !important;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-row select:focus,
.form-row input[type="date"]:focus,
.form-row input[type="time"]:focus,
.form-row input.form-control:focus {
  color: var(--secondary-purple);
}

/* Custom dropdown arrow for select boxes */
.form-row select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237A7A7A'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 14px;
  padding-right: 18px;
}

/* Make native date/time picker icon visible and clickable across full field */
.form-row input[type="date"]::-webkit-calendar-picker-indicator,
.form-row input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: opacity(0.6);
}

.total-summary-box p {
  font-size: 0.68rem;
  margin-bottom: 4px;
}

.total-summary-box .total-price {
  font-size: 1.4rem;
  font-weight: 700;
}

.confirm-btn {
  width: 100%;
  background: linear-gradient(90deg, #ffa100, #b02486);
  border: 1px solid var(--white) !important;
  color: var(--white);
  padding: 10px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-size: 0.85rem;
}

/* Load More Button */
.load-more {
  background: linear-gradient(90deg, #ffa100, #b02486); !important;
  color: #ffffff !important;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* --- STICKY FOOTER ACTION --- */
.sticky-footer {
  /* position: sticky; */
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-orange);
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.next-step-btn {
  background: linear-gradient(90deg, #ffa100, #b02486); !important;
  color: var(--white);
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .step-progress,
  .booking-summary-bar {
    padding: 15px 5%;
  }

  .booking-summary-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .edit-booking {
    align-self: flex-end;
  }
}

#c247 .filter-section .form-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#c247 .filter-section .form-group label {
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

#c247 .filter-section .form-group select {
  flex: 1;
  min-width: 0;
}

#c247 .pill {
  font-size: 12px;
}

.bootstrap-datetimepicker-widget {
  position: absolute !important;
  z-index: 9999;
  background: #fff !important;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  overflow: hidden;
  animation: fadeInCalendar 0.2s ease;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
  border-radius: 8px;
}

.bootstrap-datetimepicker-widget table td:hover,
.bootstrap-datetimepicker-widget table th:hover {
  background: #f2994a !important;
  color: #fff !important;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: #f2994a !important;
  color: #fff !important;
  border-radius: 8px;
}

.bootstrap-datetimepicker-widget .picker-switch {
  font-weight: 600;
  color: #f2994a;
}

.bootstrap-datetimepicker-widget .btn {
  border-radius: 8px;
}

.bootstrap-datetimepicker-widget table td:hover,
.bootstrap-datetimepicker-widget table th:hover,
.bootstrap-datetimepicker-widget .day:hover,
.bootstrap-datetimepicker-widget .month:hover,
.bootstrap-datetimepicker-widget .year:hover,
.bootstrap-datetimepicker-widget .decade:hover {
  background: #fff !important;
  color: #333 !important;
  /* ya apna text color */
}

@keyframes fadeInCalendar {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2nd page */
/* Card General Styling */
.card {
  background: white;
  border-radius: 8px;
  /* border: 1px solid var(--border-color); */
  padding: 20px;
  margin-bottom: 15px;
}

/* Sidebar Styling */
.car-info .car-type {
  font-size: 12px;
  color: var(--text-muted);
}

.car-info h2 {
  font-size: 20px;
  margin: 5px 0;
}

.car-info .similar {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: normal;
}

.car-specs {
  display: flex;
  gap: 15px;
  color: var(--text-muted);
  font-size: 13px;
  margin: 10px 0;
}

.car-img {
  width: 100%;
  height: auto;
  margin: 15px 0;
}

.min-age {
  font-size: 12px;
  color: var(--text-muted);
}

/* Promo section */
.promo-section {
  background-color: #fae8ff;
  /* border: 1px solid #f5d0fe; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.saving-text {
  color: var(--primary-magenta);
}

.view-offers {
  color: var(--primary-magenta);
  cursor: pointer;
  font-size: 12px;
}

.promo-amount {
  font-weight: bold;
  color: var(--primary-magenta);
}

/* Price Details */
.price-details h3 {
  margin-bottom: 15px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.price-row.discount {
  color: var(--primary-magenta);
}

.price-row.total {
  font-size: 16px;
  margin-top: 10px;
}

.total-price {
  color: var(--primary-magenta);
  font-size: 22px;
  font-weight: bold;
}

.view-policies {
  color: var(--primary-magenta);
  font-size: 12px;
  display: inline-block;
  margin-top: 10px;
}

.rental-policy {
  font-size: 13px;
  margin-top: 10px;
}

/* Credit Card Notice (shown only on Review Booking) */
.credit-notice {
  background-color: #fae8ff;
  border: 1px solid #f5d0fe;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.credit-notice .notice-icon {
  color: var(--primary-magenta);
  font-size: 14px;
  margin-top: 2px;
}

.credit-notice strong {
  font-size: 13px;
  color: var(--text-dark);
  display: block;
}

.credit-notice p {
  font-size: 12px;
  color: var(--primary-magenta);
  margin-top: 4px;
  line-height: 1.5;
}
/* Switch Offer Banner (shown only on Features Selection) */
.switch-offer {
  background-color: #f2972c;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.check-offer-btn {
  background: var(--primary-magenta);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 15px;
  width: 100%;
  cursor: pointer;
}

/* Features Selection - main content area */
.alert-banner-parent-1 {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-magenta);
  padding: 15px;
  border-radius: 4px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-icon {
  color: var(--primary-magenta);
  font-size: 20px;
  margin-top: 3px;
}

.alert-banner-parent-1 strong {
  color: var(--primary-magenta);
}

.alert-banner-parent-1 p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

.close-alert-parent-1 {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}

.selection-section-parent-1 h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.option-card-parent-1 {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-card-parent-1.selected,
.option-card-parent-1.selected-parent-1 {
  border: 2px solid var(--primary-orange);
  background-color: #d1d5db;
}

.option-info-parent-1 {
  display: flex;
  flex-direction: column;
}

.option-title-row-parent-1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stars-parent-1 {
  color: var(--primary-orange);
  font-size: 12px;
  white-space: nowrap;
}

.danger-text-parent-1 {
  color: #dc2626;
  font-size: 13px;
}

.safe-text-parent-1 {
  color: var(--primary-magenta);
  font-size: 13px;
}

.sub-price-parent-1,
.sub-text-parent-1 {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

.option-right-parent-1 {
  text-align: right;
}

.danger-text-parent-1,
.add-price-parent-1 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.protection-link-parent-1 {
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
}

.selection-section-parent-1.features-locked {
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  position: relative;
}

/* Review Booking - main content area */
.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-card {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 20px 25px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.section-header h3 .needed-note {
  color: var(--primary-magenta);
  font-weight: 500;
  font-size: 13px;
  margin-left: 4px;
}

.edit-link {
  color: var(--primary-magenta);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-list {
  display: flex;
  flex-direction: column;
}

.field-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.field-row:last-child {
  border-bottom: none;
}

.field-row.with-select select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}

.field-row input[type="text"],
.field-row input[type="tel"],
.field-row input[type="email"] {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
}

.field-row .field-label {
  font-size: 11px;
  color: var(--primary-magenta);
  display: block;
  margin-bottom: 4px;
}

.agreement-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.agreement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.agreement-row:last-child {
  border-bottom: none;
}

.agreement-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agreement-label i {
  color: var(--text-muted);
  font-size: 13px;
}

.agreement-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  flex-shrink: 0;
}

.agreement-checkbox.checked {
  background-color: var(--primary-magenta);
  border-color: var(--primary-magenta);
  color: white;
  font-size: 12px;
}

/* Bottom Sticky Footer (single, shared) */
.bottom-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--primary-orange);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.status-text {
  color: white;
  margin-right: 20px;
  font-weight: bold;
}

.next-btn {
  background-color: var(--primary-magenta);
  color: white;
  border: none;
  height: 100%;
  padding: 0 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.next-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.next-btn i {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ============ PROCEED-WITH-BOOKING MODAL ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: white;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-card.wide {
  max-width: 760px;
}

.modal-card.narrow {
  max-width: 620px;
}

.modal-header {
  background: linear-gradient(
    to right,
    var(--primary-orange),
    var(--primary-magenta)
  );
  color: white;
  padding: 16px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.proceed-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 30px 25px;
}

.proceed-option {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.proceed-option + .proceed-option {
  border-left: 1px solid var(--border-color);
}

.proceed-option h4 {
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.proceed-option.existing h4 {
  color: var(--primary-orange);
}

.proceed-option.new h4 {
  color: var(--primary-magenta);
}

.proceed-option.guest h4 {
  color: var(--text-muted);
}

.proceed-option p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.proceed-btn {
  border: none;
  border-radius: 5px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.proceed-btn:hover {
  opacity: 0.9;
}

.proceed-btn.btn-orange {
  background: var(--primary-orange);
  color: white;
}

.proceed-btn.btn-magenta {
  background: var(--primary-magenta);
  color: white;
}

.proceed-btn.btn-gray {
  background: #e5e7eb;
  color: var(--text-dark);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 25px;
  padding: 25px 30px;
}

.modal-divider {
  background-color: var(--border-color);
}

.modal-intro h4 {
  color: var(--primary-magenta);
  font-size: 15px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.modal-intro p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-form .field {
  margin-bottom: 16px;
}

.modal-form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 6px 2px;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
}

.modal-form input::placeholder {
  color: #c7c7c7;
}

.modal-form input:focus {
  outline: none;
  border-bottom-color: var(--primary-magenta);
}

.otp-btn {
  border: 1.5px solid var(--primary-magenta);
  background: white;
  color: var(--primary-magenta);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 26px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}

.otp-btn:hover {
  background: var(--primary-magenta);
  color: white;
}

.otp-verify h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.otp-verify .otp-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

.otp-verify .otp-number {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 18px;
}

.otp-inputs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.otp-box {
  width: 42px;
  height: 42px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.otp-box:focus {
  outline: none;
  border-color: var(--primary-magenta);
  background: white;
}

.resend-otp {
  font-size: 12px;
  color: var(--primary-magenta);
  cursor: pointer;
  text-decoration: underline;
  margin-left: 4px;
  white-space: nowrap;
}

.proceed-otp-btn {
  border: 1.5px solid var(--primary-magenta);
  background: white;
  color: var(--primary-magenta);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 40px;
  border-radius: 30px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.proceed-otp-btn:hover {
  background: var(--primary-magenta);
  color: white;
}

.congrats-header {
  background: linear-gradient(to right, #7a1a63, var(--primary-magenta));
}

.congrats-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 25px;
  padding: 30px;
  align-items: center;
}

.congrats-text h4 {
  color: var(--primary-magenta);
  font-size: 18px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.congrats-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.congrats-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-proceed-btn {
  border: 1.5px solid var(--primary-magenta);
  background: white;
  color: var(--primary-magenta);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.close-proceed-btn:hover {
  background: var(--primary-magenta);
  color: white;
}

@media (max-width: 560px) {
  .congrats-body {
    grid-template-columns: 1fr;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-divider {
    display: none;
  }
}

/* Orange theme (Existing customer / login) */
.modal-header.header-orange {
  background: linear-gradient(to right, var(--primary-orange), #ffbb45);
}
.modal-intro.intro-orange h4 {
  color: var(--primary-orange);
}
.otp-btn.btn-outline-orange {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}
.otp-btn.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: white;
}
.modal-form input.input-orange:focus {
  border-bottom-color: var(--primary-orange);
}
.otp-verify.theme-orange .otp-box:focus {
  border-color: var(--primary-orange);
  background: white;
}
.proceed-otp-btn.btn-outline-orange {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}
.proceed-otp-btn.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: white;
}
.congrats-header.header-orange-solid {
  background: linear-gradient(to right, var(--primary-orange), #ffbb45);
}
.congrats-text.text-orange h4 {
  color: var(--primary-orange);
}
.close-proceed-btn.btn-outline-orange {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}
.close-proceed-btn.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: white;
}

/* Gray theme (Guest) */
.modal-header.header-gray {
  background: linear-gradient(to right, #e9eaec, #d3d6db);
  color: var(--text-dark);
}
.modal-header.header-gray .modal-close {
  color: var(--text-dark);
}
.modal-intro.intro-gray h4 {
  color: var(--text-muted);
}
.otp-btn.btn-outline-gray,
.proceed-otp-btn.btn-outline-gray,
.close-proceed-btn.btn-outline-gray {
  border-color: var(--text-muted);
  color: var(--text-muted);
}
.otp-btn.btn-outline-gray:hover,
.proceed-otp-btn.btn-outline-gray:hover,
.close-proceed-btn.btn-outline-gray:hover {
  background: var(--text-muted);
  color: white;
}
.modal-form input.input-gray:focus {
  border-bottom-color: var(--text-muted);
}
.congrats-text.text-gray h4 {
  color: var(--text-muted);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .progress-bar {
    padding: 10px 0;
  }
  .step-num {
    font-size: 16px;
  }
  .step-label {
    font-size: 9px;
    text-align: center;
  }
  .booking-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 20px;
    font-size: 13px;
  }
  .divider {
    display: none;
  }
  .edit-btn {
    align-self: flex-end;
    margin-top: -35px;
  }
  .back-link {
    margin: 15px 20px;
    font-size: 13px;
  }
  .main-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    /* padding: 0 15px; */
    gap: 15px;
  }
  .card,
  .section-card {
    padding: 15px;
  }
  .alert-banner-parent-1 {
    flex-direction: column;
    gap: 10px;
  }
  .close-alert-parent-1 {
    align-self: flex-end;
    margin-top: -10px;
  }
  .option-card-parent-1 {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px;
  }
  .option-right-parent-1 {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .danger-text-parent-1 {
    text-align: left;
  }
  .option-title-row-parent-1 {
    gap: 6px;
  }
  .agreement-row {
    font-size: 13px;
  }
  .bottom-footer {
    height: 56px;
  }
  .status-text {
    margin-right: 10px;
    font-size: 14px;
  }
  .next-btn {
    padding: 0 20px;
    font-size: 14px;
    gap: 8px;
    flex: 1;
    justify-content: center;
  }
  .proceed-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px;
  }
  .proceed-option {
    padding: 0;
  }
  .proceed-option + .proceed-option {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
  }
}

@media (max-width: 480px) {
  .step-label {
    font-size: 8px;
  }
  .car-info h2 {
    font-size: 18px;
  }
  .total-price {
    font-size: 18px;
  }
  .switch-offer h3 {
    font-size: 15px;
  }
}






.vs-sidebar {
    width: 324px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: Arial, sans-serif;
    padding: 0 !important;
    background-color: #fff !important;
}

.vs-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* ---- Car info card ---- */
.vs-car-info {
    padding-bottom: 12px;
}

.vs-car-type {
    font-size: 11px;
    color: #a3a3a3;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

.vs-car-title {
    margin: 4px 0 12px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.vs-similar {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    margin-left: 6px;
}

.vs-car-specs {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vs-car-specs i {
    margin-right: 5px;
    color: #777;
}

.vs-car-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Promo card ---- */
.vs-promo-card {
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(90deg, #f6ecf9, #fdf6fb) !important;
    border: 1px solid #ecdcef;
    border-bottom: none;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important;
    padding: 16px 18px !important;
    gap: 6px;
}

.vs-promo-row-top {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.vs-promo-row-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.vs-promo-title {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.vs-view-offers {
    color: #a0158a;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.vs-saving-text {
    color: #a0158a;
    font-weight: 500;
    font-size: 13px;
}

.vs-promo-amount {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* ---- Price details card ---- */
.vs-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #1a1a1a;
}

.vs-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.vs-discount-value {
    color: #d6006e !important;
    font-weight: 600;
}

.vs-inclusive-tag {
    color: #999;
    font-size: 12px;
    margin-left: 4px;
}

.vs-row-value {
    font-weight: 500;
    color: #333;
}

.vs-hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0 14px;
}

.vs-total-row {
    align-items: center;
    margin-bottom: 16px;
}

.vs-total-label small {
    color: #999;
    font-size: 11px;
    font-weight: 400;
}

.vs-total-label strong {
    font-size: 15px;
    color: #1a1a1a;
}

.vs-total-price {
    color: #d6006e;
    font-weight: 800;
    font-size: 18px;
}

.vs-view-policies {
    display: block;
    text-align: right;
    color: #d6006e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* ---- Switch offer banner ---- */
.vs-switch-offer {
  visibility: hidden;
    background: linear-gradient(135deg, #ff9a1f, #ff5b00);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.vs-switch-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    line-height: 1.35;
    color: #fff;
    max-width: 80%;
}

.vs-check-offer-btn {
    background: #fff;
    color: #d6006e;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}





/* NEW: outer wrapper carries the single rounded box + shadow */
.vs-main-card {
    background: #fff;
    border-radius: 16px;
    /* box-shadow: 0 1px 8px rgba(0,0,0,0.06); */
    overflow: hidden;
}

/* Individual cards ab apna background/radius/shadow nahi denge */
.vs-car-info,
.vs-promo-card,
.vs-price-card {
    /* border-radius: 0 !important; */
    box-shadow: none !important;
    /* background: transparent !important; */
}

/* .vs-price-card {
    border-top: 1px solid #f2f2f2;
} */



.vs-promo-card {
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(90deg, #f6ecf9, #fdf6fb) !important;
    border: 1px solid #ecdcef;
    border-bottom: none;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important;
    padding: 16px 18px !important;
    gap: 6px;
    position: relative;
    z-index: 1;
}

/* NEW: price-details card ab promo-card ke sath jud kar ek box banayega */
.vs-price-card {
    background: #fff !important;
    border: 1px solid #ecdcef !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: none !important;
    padding: 18px !important;
    margin-top: -14px !important; /* .vs-sidebar ke gap:14px ko cancel karne ke liye */
}


.agreement-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.agreement-checkbox {
    position: relative;
}

.agreement-checkbox i {
    display: none;
}

.agreement-checkbox:has(.agreement-input:checked) i {
    display: inline-block;
}

.agreement-checkbox:has(.agreement-input:checked) {
    background: #B02486;
    border-color: #B02486;
}

.agreement-checkbox:has(.agreement-input:checked) i {
    color: #fff;
}

.sort-filters-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sort-filters-group .filter-section {
    background: #f8f9fb;
/*     padding: 14px 20px; */
/*     border-radius: 8px; */
}

.sort-filters-group .form-group {
    display: flex;
    align-items: center;
	gap: 13px;
/*     justify-content: space-between; */
    width: 136%;
}

.sort-filters-group label {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.sort-filters-group .form-control {
    width: 260px;
    max-width: 60%;
    border: 1px solid #e0e0e6;
    border-radius: 5px;
    background-color: #ffffff;
    padding: 8px 10px;
    font-size: 15px;
    color: #1a1a2e;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23555' stroke-width='2' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.sort-filters-group .form-control:focus {
    outline: none;
    border-color: #999;
}
.intl-tel-input .country-list {
    font-size: 12px !important;
}
.option-card-parent-1.disabled {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .step-progress {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        padding: 12px 8px !important;
    }

    .step-progress .step {
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-width: 0 !important;
    }

    .step-progress .step-num {
        order: 1 !important;
        font-size: 11px !important;
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        margin: 0 auto 4px auto !important;
    }

    .step-progress .step-title {
        order: 2 !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        word-break: break-word !important;
        display: block !important;
        width: 100% !important;
    }
}



.agreement-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.agreement-radio .agreement-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.agreement-radio i {
    opacity: 0;
    color: #007bff; /* apni theme color daal dein */
    font-size: 16px;
}

.agreement-radio .agreement-input:checked ~ i {
    opacity: 1;
}