/* ========== Base container – card style ========== */
.synocab-booking-form1 {
  width: 100%;
  max-width: 1140px;
  display: block;
  margin: 24px auto 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid #eef0f2;
  overflow: hidden;
}
.synocab-booking-form1 *:not(.glyphicon) {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
/* Consistent left alignment for all form labels (Journey + Options) */
.synocab-booking-form1 .control-label {
  background: none;
  padding: 8px 0 6px 20px;
  font-weight: 500;
  color: #4a5568;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.synocab-booking-form1 .synocab-input-row > .col-md-6 .control-label,
.synocab-booking-form1 .synocab-input-row > .col-md-3 .control-label {
  padding-left: 0;
}
.synocab-booking-form1 .synocab-date-time-row .synocab-input-field .control-label {
  padding-left: 20px;
}
/* Left column: uniform content padding so all labels align */
.synocab-booking-form1 .form-section > .row > .col-md-6:first-child {
  padding-left: 24px;
  padding-right: 24px;
}
.synocab-booking-form1 .form-section .row.synocab-input-row {
  margin-left: 0;
  margin-right: 0;
}
.synocab-booking-form1 .synocab-input-row > .col-md-6,
.synocab-booking-form1 .synocab-input-row > .col-md-3 {
  padding-left: 20px;
  padding-right: 20px;
}
.synocab-booking-form1 .synocab-input-row > .col-md-6:first-child,
.synocab-booking-form1 .synocab-input-row > .col-md-3:first-child {
  padding-left: 20px;
}
.synocab-booking-form1 .form-section {
  padding: 24px 28px 28px;
}
@media (max-width: 768px) {
  .synocab-booking-form1 .form-section {
    padding: 18px 16px 22px;
  }
  .synocab-booking-form1 .form-section > .row > .col-md-6:first-child {
    padding-left: 16px;
    padding-right: 16px;
  }
  .synocab-booking-form1 .synocab-input-row > .col-md-6,
  .synocab-booking-form1 .synocab-input-row > .col-md-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .synocab-booking-form1 .synocab-input-row > .col-md-6:first-child,
  .synocab-booking-form1 .synocab-input-row > .col-md-3:first-child {
    padding-left: 16px;
  }
  .synocab-booking-form1 .control-label {
    padding-left: 16px;
  }
  .synocab-booking-form1 .synocab-date-time-row .synocab-input-field .control-label {
    padding-left: 16px;
  }
}
.synocab-booking-form1 .form-section .row {
  margin: 0;
}
.synocab-booking-form1 .synocab-select-input {
  -webkit-appearance: none;
}
.synocab-booking-form1 .synocab-select-input:active, .synocab-booking-form1 .synocab-select-input:focus {
  outline: 0;
}
.synocab-booking-form1 a.synocab-button {
  padding: 10px 25px;
  border-radius: 40px;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: none;
  font-size: 0.85rem;
  text-decoration: none !important;
}
.synocab-booking-form1 a.synocab-button.-inverted {
  background: #fff;
}
.synocab-booking-form1 a.synocab-button:hover, .synocab-booking-form1 a.synocab-button:active, .synocab-booking-form1 a.synocab-button:focus {
  background: #fff;
}
.synocab-booking-form1 .synocab-required {
  color: #f00;
}
/* ========== Top wizard – number above, text below; active highlighted, rest light ========== */
.synocab-booking-form1 .synocab-cart-steps.synocab-wizard-oneline {
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px 28px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  max-width: 100%;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list li {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
}
.synocab-booking-form1 .synocab-cart-steps .cart-step-link {
  cursor: default;
  color: #94a3b8;
  box-shadow: none;
  font-weight: 500;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 4px;
  text-decoration: none !important;
  width: 100%;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
.synocab-booking-form1 .synocab-cart-steps .cart-step-link:hover,
.synocab-booking-form1 .synocab-cart-steps .cart-step-link:active,
.synocab-booking-form1 .synocab-cart-steps .cart-step-link:focus {
  color: #94a3b8;
  text-decoration: none;
  background: transparent !important;
  outline: none;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .cart-step-link {
  color: inherit;
  background: transparent !important;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .cart-step-link:hover {
  cursor: pointer;
  background: transparent !important;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step {
  text-transform: none;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step:after,
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step:before {
  display: none;
}
/* Inactive steps: light circle and light text */
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step .synocab-section-number {
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: -1;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step .synocab-section-title {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: 100%;
  background: none !important;
  margin: 0;
  padding: 0;
}
/* Active step: number highlighted via inline style (primary color), title uses same color */
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .synocab-section-number {
  color: #fff;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .synocab-section-title {
  color: inherit;
  font-weight: 600;
}
@media (max-width: 768px) {
  .synocab-booking-form1 .synocab-cart-steps.synocab-wizard-oneline {
    padding: 16px 16px 18px;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list {
    gap: 16px;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list li {
    min-width: 100px;
    max-width: none;
  }
  .synocab-booking-form1 .synocab-cart-steps .cart-step-link {
    font-size: 0.8rem;
    gap: 8px;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-cart-step .synocab-section-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-section-title {
    white-space: normal;
    line-height: 1.25;
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-wizard-list li {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .synocab-booking-form1 .synocab-cart-steps .synocab-section-title {
    white-space: normal;
    font-size: 0.7rem;
  }
}
/* ========== Map – rounded, contained ========== */
.synocab-booking-form1 .synocab-form-map {
  height: 380px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin-top: 12px;
}
.synocab-booking-form1 .synocab-header-row {
  margin-top: 24px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  box-sizing: border-box;
}
.synocab-booking-form1 .synocab-header-row:first-child {
  margin-top: 0;
}
.synocab-booking-form1 .synocab-header-row .synocab-header {
  margin: 0;
  color: #1e293b;
  padding: 0 0 10px 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 100%;
  border-bottom: 2px solid currentColor;
  box-sizing: border-box;
}
.synocab-booking-form1 .synocab-input-group {
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}
.synocab-booking-form1 .synocab-input-group:last-child {
  margin-bottom: 0;
}
.synocab-booking-form1 .synocab-input-row {
  border: 1px solid #e5e7eb;
  border-top: 0;
  margin: 0;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}
.synocab-booking-form1 .synocab-input-row:first-child {
  border-top: 1px solid #e5e7eb;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.synocab-booking-form1 .synocab-input-row:last-child {
  border-bottom: 1px solid #e5e7eb;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
/* Collection row: align input + waypoint button so button sits at right corner */
.synocab-booking-form1 .synocab-input-row:has(.synocab-waypoint-actions-container) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.synocab-booking-form1 .synocab-input-row:has(.synocab-waypoint-actions-container) .control-label {
  width: 100%;
  flex: 0 0 100%;
}
.synocab-booking-form1 .synocab-input-row:has(.synocab-waypoint-actions-container) .synocab-form-input.synocab-waypoints-active {
  flex: 1;
  min-width: 0;
  width: auto !important;
}
.synocab-booking-form1 .synocab-input-row:has(.synocab-waypoint-actions-container) .synocab-waypoint-actions-container {
  flex: 0 0 auto;
  margin-left: auto;
}
.synocab-booking-form1 .synocab-input-row.synocab-waypoint-row {
  border-left: 4px solid #e5e7eb;
}
/* Date + Time in one row on desktop */
.synocab-booking-form1 .synocab-date-time-group.synocab-input-row {
  border: none;
  padding: 0;
  margin: 0 -1px 0 0;
}
.synocab-booking-form1 .synocab-date-time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}
.synocab-booking-form1 .synocab-date-time-row .synocab-input-field {
  flex: 1;
  min-width: 0;
  border-right: 1px solid #e5e7eb;
}
.synocab-booking-form1 .synocab-date-time-row .synocab-input-field:last-child {
  border-right: 0;
}
.synocab-booking-form1 .synocab-date-time-row .synocab-input-field .control-label {
  padding-left: 15px;
}
.synocab-booking-form1 .synocab-date-time-row .synocab-input-field .synocab-form-input {
  border: 0;
  border-radius: 0;
}
@media (max-width: 576px) {
  .synocab-booking-form1 .synocab-date-time-row {
    flex-direction: column;
  }
  .synocab-booking-form1 .synocab-date-time-row .synocab-input-field {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .synocab-booking-form1 .synocab-date-time-row .synocab-input-field:last-child {
    border-bottom: 0;
  }
}
.synocab-booking-form1 .synocab-input-row > .col-md-6 {
  border-right: 1px solid #e5e7eb;
}
.synocab-booking-form1 .synocab-input-row > .col-md-6:last-child {
  border-right: 0;
}
@media (max-width: 992px) {
  .synocab-booking-form1 .synocab-input-row > .col-md-6 {
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
}
.synocab-booking-form1 .synocab-input-row > .col-md-3 {
  border-right: 1px solid #e5e7eb;
}
.synocab-booking-form1 .synocab-input-row > .col-md-3:last-child {
  border-right: 0;
}
/* ========== Distance & Journey Time – prominent cards ========== */
.synocab-booking-form1 .synocab-journey-stats.synocab-stats-cards {
  margin-top: 16px;
  display: block;
}
.synocab-booking-form1 .synocab-journey-stats .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 -6px;
}
.synocab-booking-form1 .synocab-map-stats {
  flex: 1;
  min-width: 120px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
@media (max-width: 992px) {
  .synocab-booking-form1 .synocab-map-stats {
    border: 1px solid #e5e7eb;
  }
}
.synocab-booking-form1 .synocab-map-stats .synocab-map-stats-details {
  padding: 18px 20px;
  text-align: center;
}
.synocab-booking-form1 .synocab-map-stats .synocab-map-stats-details .synocab-map-stat-title {
  color: #64748b;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 6px;
}
.synocab-booking-form1 .synocab-map-stats .synocab-map-stats-details .synocab-map-stat-text {
  color: #1e293b;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}
.synocab-booking-form1 .synocab-waypoint-actions-container {
  display: inline-block;
  width: 40px;
}
.synocab-booking-form1 .synocab-waypoint-actions-container a.synocab-add-waypoint,
.synocab-booking-form1 .synocab-waypoint-actions-container a.synocab-remove-waypoint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.synocab-booking-form1 .synocab-waypoint-actions-container a.synocab-add-waypoint:hover,
.synocab-booking-form1 .synocab-waypoint-actions-container a.synocab-remove-waypoint:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.synocab-booking-form1 .synocab-waypoint-actions-container.-waypoint {
  width: 77px;
}
.synocab-booking-form1 .synocab-waypoint-actions-container.-waypoint a.synocab-add-waypoint {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.synocab-booking-form1 .synocab-waypoint-actions-container.-waypoint a.synocab-remove-waypoint {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -6px;
  padding-left: 13px;
  padding-right: 13px;
}
.synocab-booking-form1 input.synocab-form-input,
.synocab-booking-form1 select.synocab-form-input {
  display: block;
  height: 46px;
  width: 100%;
  padding: 10px 15px 10px;
  border: 0;
  color: #1e293b;
  background-color: #fff;
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  transition: box-shadow 0.2s, background 0.2s;
}
.synocab-booking-form1 input.synocab-form-input::placeholder {
  color: #94a3b8;
}
.synocab-booking-form1 input.synocab-form-input.synocab-waypoints-active,
.synocab-booking-form1 select.synocab-form-input.synocab-waypoints-active {
  display: inline-block;
  width: calc(100% - 52px);
}
.synocab-booking-form1 input.synocab-form-input.synocab-waypoints-active.synocab-form-waypoint,
.synocab-booking-form1 select.synocab-form-input.synocab-waypoints-active.synocab-form-waypoint {
  width: calc(100% - 84px);
}
.synocab-booking-form1 input.synocab-form-input.synocab-field-error,
.synocab-booking-form1 select.synocab-form-input.synocab-field-error {
  background: #fef2f2;
}
.synocab-booking-form1 input.synocab-form-input.synocab-field-error:focus,
.synocab-booking-form1 select.synocab-form-input.synocab-field-error:focus {
  background: #fef2f2;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}
.synocab-booking-form1 input.synocab-form-input:focus,
.synocab-booking-form1 select.synocab-form-input:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}
.synocab-booking-form1 .synocab-back-button-container {
  margin-top: 20px;
}
.synocab-booking-form1 .synocab-trip-preview {
  padding: 20px;
  background: #f9f9f9;
}
.synocab-booking-form1 .synocab-trip-preview .synocab-trip-preview-header {
  text-transform: none;
  letter-spacing: normal;
  color: #293642;
}
.synocab-booking-form1 .synocab-trip-preview .synocab-trip-preview-title {
  text-transform: uppercase;
  color: #999999;
  font-size: 0.8rem;
  margin-top: 30px;
}
.synocab-booking-form1 .synocab-trip-preview .synocab-trip-preview-text {
  color: #293642;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item:last-child {
  border-bottom: 0;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-price {
  display: inline-block;
  padding-right: 30px;
  font-size: 1.4rem;
  font-weight: 500;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-book-button {
  display: inline-block;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #293642;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-features {
  margin-top: 10px;
  margin-left: 0 !important;
  list-style: none;
  font-size: 0.9rem;
  padding-left: 0;
  color: #95a5a6;
}
@media (max-width: 709px) {
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-features {
    margin-left: 0;
  }
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-features li i {
  margin-right: 5px;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-icons {
  margin-top: 20px;
  margin-right: 20px;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-icon {
  text-align: right;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #95a5a6;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-icon-number {
  display: inline-block;
  width: 40px;
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-image-column {
  padding: 0;
}
@media (max-width: 992px) {
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-image-column {
    text-align: center;
  }
}
.synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-details-column {
  padding-left: 30px;
  padding-right: 0;
}
@media (max-width: 992px) {
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-details-column {
    margin-top: 20px;
    padding-left: 0;
  }
}
.synocab-booking-form1 .synocab-autocomplete-warning {
  background: #e74c3c;
  color: #fff;
  padding: 2px 10px;
  font-size: 0.8rem;
}

/* ========== CTA – full-width area, prominent button ========== */
.synocab-booking-form1 .synocab-cta-row {
  margin-top: 28px;
  padding-top: 24px;
}
.synocab-booking-form1 .synocab-cta-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit {
  margin: 0;
  padding: 14px 40px;
  font-size: 0.95rem;
  border-radius: 10px;
  min-width: 220px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.2s;
}
.synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
@media (max-width: 576px) {
  .synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit {
    width: 100%;
    min-width: 0;
  }
}
.synocab-booking-form1-section1-submit {
  margin-top: 20px;
}
#synocab_booking_form1_section2_submit {
  margin-top: 20px;
}

/* ========== Form1 theme – primary #0e3bd5, secondary #72eeab ========== */
.synocab-booking-form1 .synocab-button {
  background: #d16637 !important;
  border: 2px solid #d16637 !important;
  color: #fff !important;
}
.synocab-booking-form1 .synocab-button:hover,
.synocab-booking-form1 .synocab-button:active,
.synocab-booking-form1 .synocab-button:focus {
  background: #72eeab !important;
  border-color: #72eeab !important;
  color: #d16637 !important;
}
.synocab-booking-form1 .synocab-button.-inverted {
  background: #fff !important;
  border-color: #d16637 !important;
  color: #d16637 !important;
}
.synocab-booking-form1 .synocab-button.-inverted:hover {
  background: #d16637 !important;
  border-color: #d16637 !important;
  color: #fff !important;
}
.synocab-booking-form1 .synocab-map-stats .synocab-map-stat-val {
  color: #d16637 !important;
}
.synocab-booking-form1 .synocab-header-row .synocab-header {
  border-bottom-color: #d16637 !important;
  color: #1e293b;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .synocab-section-number {
  background: #d16637 !important;
  color: #fff !important;
}
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .cart-step-link,
.synocab-booking-form1 .synocab-cart-steps .synocab-cart-step.active .synocab-section-title {
  color: #d16637 !important;
}
.synocab-booking-form1 .synocab-cart-steps li.active {
  border-color: #d16637 !important;
}
.synocab-booking-form1 a.synocab-add-waypoint,
.synocab-booking-form1 a.synocab-remove-waypoint {
  color: #d16637 !important;
}
.synocab-booking-form1 a.synocab-add-waypoint:hover,
.synocab-booking-form1 a.synocab-remove-waypoint:hover {
  background: #d16637 !important;
  color: #fff !important;
}
.synocab-booking-form1 .synocab-vehicle-item .synocab-vehicle-price {
  color: #d16637!important;
}
.synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit {
  background: #d16637 !important;
  border-color: #d16637 !important;
  color: #fff !important;
}
.synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit:hover {
  background: #72eeab !important;
  border-color: #72eeab !important;
  color: #d16637 !important;
}

/* ========== Error message – softer, readable ========== */
.synocab-booking-form1 .synocab-error .alert {
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  padding: 14px 18px;
}

/* ========== Calendar (datepicker) – exact match to reference: neat, compact, clean ========== */
/* Compact size, white bg, dark gray text, blue-violet (#6A5ACD) selected, square cells, light gray nav. */
#ui-datepicker-div.ui-datepicker,
.synocab-datepicker-form1.ui-datepicker {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px;
  padding: 0;
  width: 17em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
#ui-datepicker-div.ui-datepicker.ui-widget-content,
.synocab-datepicker-form1.ui-datepicker.ui-widget-content {
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
}
/* Header: compact, thin separator */
#ui-datepicker-div .ui-datepicker-header,
.synocab-datepicker-form1 .ui-datepicker-header {
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 10px 40px 8px;
  position: relative;
  min-height: 2.4em;
}
#ui-datepicker-div .ui-datepicker-title,
.synocab-datepicker-form1 .ui-datepicker-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1f2937 !important;
  letter-spacing: 0;
  line-height: 2.4em;
  margin: 0;
}
/* Prev/Next: compact circular buttons, light gray bg, dark gray arrows */
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next,
.synocab-datepicker-form1 .ui-datepicker-prev,
.synocab-datepicker-form1 .ui-datepicker-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}
#ui-datepicker-div .ui-datepicker-prev,
.synocab-datepicker-form1 .ui-datepicker-prev {
  left: 8px;
  background: #e5e7eb;
  color: #6b7280;
}
#ui-datepicker-div .ui-datepicker-next,
.synocab-datepicker-form1 .ui-datepicker-next {
  right: 8px;
  background: #e5e7eb;
  color: #6b7280;
}
#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover,
.synocab-datepicker-form1 .ui-datepicker-prev:hover,
.synocab-datepicker-form1 .ui-datepicker-next:hover {
  background: #d1d5db;
  color: #374151;
}
#ui-datepicker-div .ui-datepicker-prev .ui-icon,
#ui-datepicker-div .ui-datepicker-next .ui-icon,
.synocab-datepicker-form1 .ui-datepicker-prev .ui-icon,
.synocab-datepicker-form1 .ui-datepicker-next .ui-icon {
  display: none;
}
#ui-datepicker-div .ui-datepicker-prev::after,
.synocab-datepicker-form1 .ui-datepicker-prev::after {
  content: '\2039';
}
#ui-datepicker-div .ui-datepicker-next::after,
.synocab-datepicker-form1 .ui-datepicker-next::after {
  content: '\203A';
}
#ui-datepicker-div .ui-datepicker-prev::after,
#ui-datepicker-div .ui-datepicker-next::after,
.synocab-datepicker-form1 .ui-datepicker-prev::after,
.synocab-datepicker-form1 .ui-datepicker-next::after {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}
/* Day labels: M T W T F S S – bold, dark gray, slightly smaller than month */
#ui-datepicker-div .ui-datepicker-calendar,
.synocab-datepicker-form1 .ui-datepicker-calendar {
  width: 100%;
  margin: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 2px;
}
#ui-datepicker-div .ui-datepicker-calendar thead th,
.synocab-datepicker-form1 .ui-datepicker-calendar thead th {
  padding: 6px 0 8px;
  font-weight: 700;
  font-size: 0.6875rem;
  color: #1f2937;
  text-align: center;
  border: none;
  background: transparent;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
#ui-datepicker-div .ui-datepicker-calendar thead th span,
.synocab-datepicker-form1 .ui-datepicker-calendar thead th span {
  padding: 0;
}
/* Day cells: square, uniform padding and spacing */
#ui-datepicker-div .ui-datepicker-calendar td,
.synocab-datepicker-form1 .ui-datepicker-calendar td {
  border: none;
  padding: 2px;
  text-align: center;
  vertical-align: middle;
}
#ui-datepicker-div .ui-datepicker-calendar td:not(.ui-datepicker-other-month):not(.ui-state-disabled) a,
#ui-datepicker-div .ui-datepicker-calendar td:not(.ui-datepicker-other-month):not(.ui-state-disabled) span,
.synocab-datepicker-form1 .ui-datepicker-calendar td:not(.ui-datepicker-other-month):not(.ui-state-disabled) a,
.synocab-datepicker-form1 .ui-datepicker-calendar td:not(.ui-datepicker-other-month):not(.ui-state-disabled) span {
  background: #fff !important;
  color: #1f2937 !important;
  border-color: transparent !important;
}
#ui-datepicker-div .ui-datepicker-calendar td a,
#ui-datepicker-div .ui-datepicker-calendar td span,
.synocab-datepicker-form1 .ui-datepicker-calendar td a,
.synocab-datepicker-form1 .ui-datepicker-calendar td span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  margin: 0 auto;
  padding: 0;
  border-radius: 6px;
  border: none !important;
  background: transparent !important;
  color: #1f2937 !important;
  font-weight: 400;
  font-size: 0.75rem;
  text-decoration: none;
  line-height: 1;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s;
}
/* Inactive (other month): light gray text */
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-other-month span,
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-other-month a,
.synocab-datepicker-form1 .ui-datepicker-calendar td.ui-datepicker-other-month span,
.synocab-datepicker-form1 .ui-datepicker-calendar td.ui-datepicker-other-month a {
  width: auto;
  height: auto;
  min-width: 0;
  background: #fff !important;
  color: #9ca3af !important;
}
/* Selected: solid blue-violet square, white bold number, slightly rounded */
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active,
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-highlight.ui-state-active,
.synocab-datepicker-form1 .ui-datepicker-calendar td a.ui-state-active,
.synocab-datepicker-form1 .ui-datepicker-calendar td a.ui-state-default.ui-state-highlight.ui-state-active {
  background: #6A5ACD !important;
  color: #fff !important;
  border-color: transparent !important;
  font-weight: 700;
  border-radius: 6px;
}
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-hover,
.synocab-datepicker-form1 .ui-datepicker-calendar td a.ui-state-hover {
  background: rgba(106, 90, 205, 0.14) !important;
  color: #5b4bb8 !important;
}
#ui-datepicker-div .ui-datepicker-calendar td.ui-state-disabled span,
.synocab-datepicker-form1 .ui-datepicker-calendar td.ui-state-disabled span {
  width: auto;
  height: auto;
  min-width: 0;
  background: transparent !important;
  color: #d1d5db !important;
}
/* Today when not selected: white, dark gray */
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-highlight,
.synocab-datepicker-form1 .ui-datepicker-calendar td a.ui-state-default.ui-state-highlight {
  background: #fff !important;
  color: #1f2937 !important;
  border-color: transparent !important;
}

/* ========== Responsive: multiple breakpoints for small screens ========== */
/* Map: shorter on small screens to reduce scroll and keep form usable */
@media (max-width: 768px) {
  .synocab-booking-form1 .synocab-form-map {
    height: 280px;
    margin-top: 10px;
  }
  .synocab-booking-form1 .form-section > .row > .col-md-6:last-child {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 480px) {
  .synocab-booking-form1 .synocab-form-map {
    height: 220px;
    border-radius: 8px;
  }
  .synocab-booking-form1 {
    margin-left: 8px;
    margin-right: 8px;
    max-width: calc(100% - 16px);
  }
  .synocab-booking-form1 .synocab-journey-stats .row {
    gap: 8px;
    margin: 0;
  }
  .synocab-booking-form1 .synocab-map-stats {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .synocab-booking-form1 .synocab-map-stats .synocab-map-stats-details {
    padding: 12px 16px;
  }
  .synocab-booking-form1 .synocab-map-stats .synocab-map-stats-details .synocab-map-stat-text {
    font-size: 1.15rem;
  }
}

/* Section 2 (vehicle selection): trip preview and back button stack cleanly */
@media (max-width: 991px) {
  .synocab-booking-form1 .form-section.form-section1 .row > .col-md-3 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .synocab-booking-form1 .form-section.form-section1 .row > .col-md-9 {
    width: 100%;
    max-width: 100%;
  }
  .synocab-booking-form1 .form-section.form-section1 .synocab-trip-preview {
    padding: 16px;
  }
  .synocab-booking-form1 .form-section.form-section1 .synocab-back-button-container {
    margin-top: 12px;
  }
  .synocab-booking-form1 .form-section.form-section1 .synocab-back-button-container .synocab-form-back-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    min-height: 44px;
    box-sizing: border-box;
  }
}

/* Vehicle cards: book button and price block stack on very small screens */
@media (max-width: 576px) {
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .row {
    margin-left: 0;
    margin-right: 0;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-image-column {
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-details-column {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .pull-right {
    float: none !important;
    width: 100%;
    margin-top: 12px;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-book-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-price {
    padding-right: 0;
    font-size: 1.25rem;
    flex: 1;
    min-width: 0;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-book-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    min-height: 44px;
    box-sizing: border-box;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-icons {
    margin-top: 12px;
    margin-right: 0;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item {
    padding: 16px 0;
  }
  .synocab-booking-form1 .synocab-vehicles-list .synocab-vehicle-item .synocab-vehicle-name {
    font-size: 1.1rem;
  }
}

/* Touch-friendly controls on small screens (assume touch) */
@media (max-width: 768px) {
  .synocab-booking-form1 input.synocab-form-input,
  .synocab-booking-form1 select.synocab-form-input {
    min-height: 46px;
    font-size: 16px;
  }
  .synocab-booking-form1 .synocab-cta-button.synocab-booking-form1-section1-submit {
    min-height: 48px;
    padding: 14px 24px;
  }
}
@media (max-width: 480px) {
  .synocab-booking-form1 input.synocab-form-input,
  .synocab-booking-form1 select.synocab-form-input {
    min-height: 48px;
  }
}

/* Trip preview text: prevent long addresses from overflowing */
.synocab-booking-form1 .synocab-trip-preview .synocab-trip-preview-text {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Error/alert blocks: full width and readable on small screens */
@media (max-width: 576px) {
  .synocab-booking-form1 .synocab-error .alert,
  .synocab-booking-form1 .synocab-booking-error .alert,
  .synocab-booking-form1 .synocab-server-error .alert {
    margin-left: 0;
    margin-right: 0;
    padding: 12px 14px;
  }
  .synocab-booking-form1 .synocab-cta-row {
    margin-top: 20px;
    padding-top: 20px;
  }
}
