.enquiry-wizard-card {
    border: 0;
    border-radius: 1rem;
    overflow: visible;
    box-shadow: 0 0.5rem 2rem rgba(15, 23, 42, 0.08);
}

.enquiry-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 1.25rem 1rem 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.enquiry-stepper .step-item {
    flex: 1 1 0;
    min-width: 5.5rem;
    max-width: 9rem;
    text-align: center;
    position: relative;
}

.enquiry-stepper .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: calc(50% + 1.25rem);
    width: calc(100% - 2.5rem);
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.enquiry-stepper .step-item.done:not(:last-child)::after,
.enquiry-stepper .step-item.active:not(:last-child)::after {
    background: var(--brand-primary, #0d6efd);
}

.enquiry-stepper .step-circle {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: #e9ecef;
    color: #6c757d;
    position: relative;
    z-index: 1;
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
}

.enquiry-stepper .step-item.active .step-circle {
    background: var(--brand-primary, #0d6efd);
    border-color: var(--brand-primary, #0d6efd);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.enquiry-stepper .step-item.done .step-circle {
    background: var(--brand-secondary, #198754);
    border-color: var(--brand-secondary, #198754);
    color: #fff;
}

.enquiry-stepper .step-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.2;
}

.enquiry-stepper .step-item.active .step-label {
    color: #212529;
}

.enquiry-wizard-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.enquiry-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-secondary, #1d3557);
    border-bottom: 2px solid rgba(13, 110, 253, 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.enq-map-panel {
    /* border-radius: 0.75rem; */
    overflow: hidden;
    /* border: 1px solid #dee2e6; */
    /* background: #f8f9fa; */
}

.enq-map {
    min-height: 280px;
    height: 100%;
    width: 100%;
}

@media (min-width: 992px) {
    .enq-map {
        min-height: 420px;
    }
}

.enq-route-stats .stat-box {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
    text-align: center;
    border: 1px solid #e9ecef;
}

.enq-route-stats .stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0.15rem;
}

.enq-route-stats .stat-value {
    font-weight: 700;
    font-size: 1rem;
    color: #212529;
}

.wizard-review-grid {
    display: grid;
    gap: 0.65rem 1rem;
}

.wizard-review-grid .review-row {
    display: grid;
    grid-template-columns: minmax(7rem, 38%) 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #e9ecef;
}

.wizard-review-grid .review-row:last-child {
    border-bottom: 0;
}

.wizard-review-grid .review-label {
    color: #6c757d;
    font-weight: 500;
}

.wizard-review-grid .review-value {
    font-weight: 600;
    color: #212529;
}

.enquiry-field-req::after {
    content: ' *';
    color: #dc3545;
}

.enquiry-trip-fields .col-md-6,
.enquiry-trip-fields .col-12 {
    position: relative;
}

.enquiry-waypoints-wrap {
    width: 100%;
    position: relative;
}

.enquiry-waypoints-wrap .select2-container {
    width: 100% !important;
}

.enquiry-waypoints-wrap .select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 2px 6px;
}

.enquiry-waypoints-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

/* Waypoints: search only in #enq-waypoints-autocomplete (same as webapp), not Select2 inline field */
.enquiry-waypoints-wrap .select2-search--inline {
    display: none !important;
}

.enquiry-waypoints-wrap .select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 4px;
    min-height: 30px;
}

.enquiry-wizard .enq-input-h38,
.enquiry-wizard .form-select.enq-input-h38,
.enquiry-wizard .form-control.enq-input-h38 {
    min-height: 38px !important;
    height: 38px !important;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

/* Select2 single — match 38px inputs (pickup city, vehicle type) */
body[data-page="enquiry"] .select2-container--default .select2-selection--single,
.enquiry-wizard .select2-container--default .select2-selection--single,
.enquiry-public-form .select2-container--default .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;
    border-color: #ced4da;
    box-sizing: border-box;
}

body[data-page="enquiry"] .select2-container--default .select2-selection--single .select2-selection__rendered,
.enquiry-wizard .select2-container--default .select2-selection--single .select2-selection__rendered,
.enquiry-public-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding-left: 0.75rem;
    padding-right: 1.75rem;
}

body[data-page="enquiry"] .select2-container--default .select2-selection--single .select2-selection__arrow,
.enquiry-wizard .select2-container--default .select2-selection--single .select2-selection__arrow,
.enquiry-public-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    top: 0;
    right: 4px;
}

body[data-page="enquiry"] .select2-container,
.enquiry-wizard .select2-container,
.enquiry-public-form .select2-container {
    width: 100% !important;
}

/* No × clear on pickup city / vehicle type dropdowns */
body[data-page="enquiry"] .select2-selection__clear,
.enquiry-wizard .select2-selection__clear,
.enquiry-public-form .select2-selection__clear {
    display: none !important;
}

.enq-place-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 10050;
    margin-top: 2px;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.enquiry-waypoints-wrap .enq-place-suggest {
    top: auto;
    margin-top: 4px;
}

.enq-place-suggest-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    transition: background-color 0.15s ease;
    user-select: none;
}

.enq-place-suggest-item:first-child {
    border-top: none;
}

.enq-place-suggest-item:hover,
.enq-place-suggest-item.is-active {
    background: #f0f6ff;
}

.enq-place-suggest-item.is-active {
    background: #e7f0ff;
}

.enq-place-suggest-pin {
    flex-shrink: 0;
    opacity: 0.55;
}

.enq-place-suggest-main {
    display: block;
    font-weight: 600;
    color: #212529;
}

.enq-place-suggest-sub {
    display: block;
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}

.enq-place-suggest-loading,
.enq-place-suggest-empty {
    padding: 10px 12px;
    font-size: 13px;
    color: #6c757d;
}

.select2-hidden-accessible + .select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    border-color: #ced4da;
}

/* Google Places — keep dropdown above sticky map column */
body[data-page="enquiry"] #enquiry-wizard-main {
    position: relative;
    z-index: 20;
}

body[data-page="enquiry"] #enquiry-map-column {
    z-index: 1;
}

#enq-pickuploc,
#enq-destinationcity,
#enq-waypoints-autocomplete {
    position: relative;
}

.pac-container {
    z-index: 10050 !important;
}

/* OSM pac-style lists + Google dropdown: map must not steal clicks */
body.enq-places-dropdown-open #map,
body.enq-places-dropdown-open .enq-map {
    pointer-events: none;
}

.enquiry-waypoints-wrap .select2-container--default .select2-selection--multiple {
    overflow: visible;
}

.enquiry-wizard .input-group-text {
    min-height: 38px !important;
}

.enquiry-wizard textarea.form-control {
    min-height: 80px !important;
    height: auto !important;
}

body[data-page="enquiry"] .js-enquiry-now-wrap {
    display: none !important;
}

.numeric-only::-webkit-outer-spin-button,
.numeric-only::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.enq-datetime-trigger {
    cursor: pointer;
    background-color: #fff;
}

body[data-page="enquiry"] .daterangepicker {
    z-index: 10060 !important;
}
