/* ==========================================================================
   ABI BIKES - DATE-TIME SELECTION & HUB MODAL STYLES
   Scoped styles exclusively for modals and schedule trigger.
   Strictly preserves all existing site fonts, colors, and layout.
   ========================================================================== */

/* ── BACKGROUND PAGE SCROLL LOCK (Prevents background page scrolling while preserving scroll position) ── */
body.abi-modal-open {
    overflow: hidden !important;
}

/* ── SWEETALERT2 ELEVATION OVER ALL MODALS ── */
.swal2-container,
div:where(.swal2-container),
div.swal2-container,
body.swal2-shown .swal2-container {
    z-index: 99999999 !important;
}

.swal2-popup,
div:where(.swal2-container) div:where(.swal2-popup) {
    z-index: 100000000 !important;
    border-radius: 22px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
}

/* ── MODAL BACKDROP & CARD ── */
.abi-modal-backdrop {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.abi-modal-backdrop.show,
#dateTimeModalBackdrop.show,
#wheelPickerBackdrop.show,
#vehicleHubModalBackdrop.show,
#ongoingRideModalBackdrop.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.abi-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: abiModalPop 0.25s ease-out;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

@keyframes abiModalPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── APP UI TRIP SCHEDULE MODAL ── */
.abi-modal-card.app-schedule-card {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1E293B;
    background: #ffffff;
    border-radius: 28px;
    max-width: 440px;
    width: 100%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    border: none;
    margin: auto;
    box-sizing: border-box;
    animation: abiModalPop 0.25s ease-out;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

/* Modal Title: uses website serif font ("PT Serif") as requested */
.app-modal-title {
    font-family: "PT Serif", serif !important;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.app-modal-subtitle,
.app-section-header,
.app-field-sub,
.app-field-select,
.app-field-input,
.app-field-value,
.app-pill-badge,
.btn-app-available,
.wheel-title,
.wheel-subtitle,
.wheel-item-row,
.wheel-chip-label,
.wheel-chip-value,
.wheel-confirm-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── PRESERVE FONT AWESOME ICONS ACCROSS MODALS ── */
.abi-modal-card.app-schedule-card i,
.abi-modal-card.app-schedule-card .fa,
.abi-modal-card.app-schedule-card .fas,
.abi-modal-card.app-schedule-card .far,
.abi-modal-card.app-schedule-card .fa-solid,
.abi-modal-card.app-schedule-card .fa-regular,
.wheel-picker-card i,
.wheel-picker-card .fa,
.wheel-picker-card .fas,
.wheel-picker-card .far,
.wheel-picker-card .fa-solid,
.wheel-picker-card .fa-regular {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    display: inline-block;
}

.abi-modal-card.app-schedule-card .far,
.abi-modal-card.app-schedule-card .fa-regular,
.wheel-picker-card .far,
.wheel-picker-card .fa-regular {
    font-weight: 400 !important;
}

.abi-modal-card.app-schedule-card .fas,
.abi-modal-card.app-schedule-card .fa-solid,
.wheel-picker-card .fas,
.wheel-picker-card .fa-solid {
    font-weight: 900 !important;
}

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

.app-modal-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #D8EC62;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    flex-shrink: 0;
}

.app-modal-badge i {
    font-size: 20px;
    color: #1E293B;
    line-height: 1;
}

.app-modal-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748B;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.app-btn-close {
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.app-btn-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* ── SECTION HEADERS & DOTS ── */
.app-section-header {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #334155;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.app-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.bg-dot-green { background: #84CC16; }
.bg-dot-blue { background: #3B82F6; }
.bg-dot-red { background: #EF4444; }

/* ── INPUT CARDS ── */
.app-input-card {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    min-width: 0;
    box-sizing: border-box;
}

.app-input-card:focus-within,
.app-input-card:hover {
    border-color: #94A3B8;
}

.app-card-icon {
    font-size: 19px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.app-card-icon.text-blue { color: #3B82F6 !important; }
.app-card-icon.text-red { color: #EF4444 !important; }

.app-card-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
    min-width: 0;
}

.app-field-sub {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
}

/* ── CUSTOM CITY DROPDOWN ── */
.app-city-dropdown-wrapper {
    position: relative;
    width: 100%;
    z-index: 1050;
}

.app-city-dropdown-wrapper.open {
    z-index: 999999 !important;
}

.app-city-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 18px;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 9999999 !important;
    display: none;
    overflow: hidden;
    animation: abiDropdownSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-city-dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes abiDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.app-city-dropdown-inner {
    max-height: 220px;
    overflow-y: auto;
    padding: 8px;
}

.app-city-dropdown-inner::-webkit-scrollbar {
    width: 5px;
}

.app-city-dropdown-inner::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.app-city-option {
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 600;
    font-size: 14px;
    color: #1E293B;
}

.app-city-option:hover {
    background: #F4F7E6;
    color: #111827;
}

.app-city-option.selected {
    background: #EDF5C8;
    color: #111827;
    font-weight: 700;
}

.city-option-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 12px;
    transition: all 0.15s ease;
}

.app-city-option:hover .city-option-icon,
.app-city-option.selected .city-option-icon {
    background: #D8EC62;
    color: #1E293B;
}

.city-option-name {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
}

.city-option-check {
    color: #65A30D;
    font-size: 13px;
}

#cityChevron {
    transition: transform 0.2s ease;
}

.app-city-dropdown-wrapper.open #cityChevron {
    transform: rotate(180deg);
}

.app-field-value.text-muted {
    color: #94A3B8 !important;
    font-weight: 600 !important;
}

/* Strictly hide native dropdown chevron so only single custom chevron displays */
.app-field-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    cursor: pointer !important;
}

.app-field-select::-ms-expand {
    display: none !important;
}

.app-field-select option {
    font-weight: 500;
    color: #1E293B;
    background: #ffffff;
}

.app-field-input {
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
    outline: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: 0;
    cursor: pointer;
    line-height: 1.2;
}

.app-field-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.55;
    padding: 0;
    margin: 0;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.app-field-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.app-field-value {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
    white-space: nowrap;
}

.app-card-arrow {
    color: #94A3B8;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    margin-left: 2px;
}

.app-schedule-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* ── PILL BADGE ── */
.app-pill-badge {
    border: 1.5px solid #E2E8F0;
    border-radius: 50px;
    padding: 5px 16px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

/* ── AVAILABLE VEHICLES BUTTON ── */
.btn-app-available {
    background-color: #D8EC62;
    color: #2D3748;
    border: none;
    border-radius: 16px;
    padding: 15px;
    width: 100%;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(216, 236, 98, 0.4);
}

.btn-app-available:hover {
    background-color: #cbdf4e;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(216, 236, 98, 0.6);
}

.btn-app-available:active {
    transform: translateY(0);
}

.btn-app-available:disabled {
    opacity: 0.88;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-app-available .btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-app-available .btn-loader.d-none {
    display: none !important;
}

/* ── WHEEL TIME PICKER STYLES ── */
#wheelPickerBackdrop {
    z-index: 10000005 !important;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#wheelPickerBackdrop.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10000005 !important;
}

.wheel-picker-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 320px;
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 16px 18px 18px 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    border: 1px solid #E2E8F0;
    margin: auto;
    box-sizing: border-box;
    animation: abiModalPop 0.2s ease-out;
    overscroll-behavior: contain;
    touch-action: pan-y;
    z-index: 10000010 !important;
}

.wheel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.wheel-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wheel-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #C6D646;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1C1E;
    font-size: 13px;
}

.wheel-title {
    font-size: 15px;
    font-weight: 700;
    color: #1C1C1E;
    line-height: 1.2;
}

.wheel-subtitle {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.2;
    margin-top: 1px;
}

.wheel-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wheel-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* Drum Roller */
.wheel-roller-wrapper {
    height: 180px;
    position: relative;
    margin: 10px 0;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.wheel-center-capsule {
    position: absolute;
    top: 72px; /* (180 - 36) / 2 */
    left: 0;
    right: 0;
    height: 36px;
    border: 1.5px solid #C6D646;
    background: #EDF5C8;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
    box-sizing: border-box;
}

.wheel-scroll-container {
    height: 180px;
    box-sizing: border-box;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    padding: 0;
    margin: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.wheel-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.wheel-spacer-top,
.wheel-spacer-bottom {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.wheel-item-row {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px;
    font-weight: 500;
    color: #94A3B8;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: color 0.15s ease, font-size 0.15s ease;
    z-index: 2;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.wheel-item-row.active {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1C1C1E !important;
}

.wheel-item-row.near {
    font-size: 14.5px;
    font-weight: 600;
    color: #64748B;
}

.wheel-item-row.past-slot {
    opacity: 0.35;
    color: #94A3B8 !important;
}

/* Duration Alert Modal matching Native App UI */
.app-duration-alert-popup {
    border-radius: 24px !important;
    padding: 28px 24px 24px 24px !important;
    max-width: 360px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28) !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
}

.app-duration-alert-popup .swal2-icon.swal2-warning {
    border-color: #FBBF24 !important;
    color: #F59E0B !important;
    width: 66px !important;
    height: 66px !important;
    margin: 4px auto 16px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-width: 3px !important;
    border-radius: 50% !important;
}

.app-duration-alert-popup .swal2-icon.swal2-warning .swal2-icon-content {
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 66px !important;
    color: #F59E0B !important;
}

.app-duration-alert-popup .swal2-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.app-duration-alert-popup .swal2-html-container {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #4B5563 !important;
    line-height: 1.45 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 8px !important;
    text-align: center !important;
}

.app-duration-alert-popup .swal2-actions,
.app-duration-alert-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 16px auto 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.app-duration-alert-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 220px !important;
    min-width: 150px !important;
    height: 48px !important;
    min-height: 48px !important;
    line-height: 1 !important;
    padding: 0 24px !important;
    background: #FF8A00 !important;
    background-color: #FF8A00 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.app-duration-alert-btn:hover {
    background: #E67E00 !important;
    background-color: #E67E00 !important;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.5) !important;
    transform: translateY(-1px) !important;
}

.app-duration-alert-btn:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.4) !important;
}

.app-duration-alert-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.35), 0 4px 14px rgba(255, 138, 0, 0.4) !important;
}

.wheel-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 3;
}

.wheel-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 3;
}

.wheel-selected-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 5px 12px;
    margin: 6px auto 14px auto;
    width: fit-content;
    gap: 6px;
}

.wheel-selected-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C6D646;
}

.wheel-chip-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
}

.wheel-chip-value {
    font-size: 12px;
    font-weight: 800;
    color: #1C1C1E;
}

.wheel-confirm-btn {
    background-color: #C6D646;
    color: #1C1C1E;
    border: none;
    border-radius: 14px;
    height: 44px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(198, 214, 70, 0.35);
}

.wheel-confirm-btn:hover {
    background-color: #b7c73a;
    transform: translateY(-1px);
}

/* ── STYLISH TRENDING CALENDAR PICKER STYLES ── */
#calendarPickerBackdrop {
    z-index: 10000005 !important;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#calendarPickerBackdrop.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10000005 !important;
}

.calendar-picker-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 340px;
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 18px 20px 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    border: 1px solid #E2E8F0;
    margin: auto;
    box-sizing: border-box;
    animation: abiModalPop 0.2s ease-out;
    overscroll-behavior: contain;
    touch-action: pan-y;
    z-index: 10000010 !important;
    user-select: none;
    -webkit-user-select: none;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.calendar-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #C6D646;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1C1E;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(198, 214, 70, 0.35);
    flex-shrink: 0;
}

.calendar-main-heading {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.calendar-sub-badge {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    line-height: 1.2;
    margin-top: 2px;
}

.calendar-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* Month Navigation Bar */
.calendar-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 6px 10px;
    margin: 12px 0 10px 0;
}

.calendar-current-month {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.2px;
}

.calendar-nav-arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calendar-nav-arrow:hover {
    background: #C6D646;
    color: #1C1C1E;
    border-color: #C6D646;
}

/* Weekday Headers */
.calendar-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
    text-align: center;
}

.calendar-weekdays-row span {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 0;
}

/* Days Grid */
.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 12px;
}

.calendar-day-cell {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    box-sizing: border-box;
}

.calendar-day-cell:hover:not(.disabled-day):not(.selected-day) {
    background: #F1F5F9;
    color: #0F172A;
}

.calendar-day-cell.today-day:not(.selected-day)::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C6D646;
}

.calendar-day-cell.selected-day {
    background: #C6D646 !important;
    background-color: #C6D646 !important;
    color: #1C1C1E !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 10px rgba(198, 214, 70, 0.45) !important;
}

.calendar-day-cell.disabled-day {
    opacity: 0.22 !important;
    color: #94A3B8 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.calendar-day-cell.other-month-day {
    opacity: 0.18;
    pointer-events: none;
}

/* Selected Date Chip */
.calendar-selected-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 5px 12px;
    margin: 0 auto 12px auto;
    width: fit-content;
    gap: 6px;
}

.calendar-selected-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C6D646;
}

.calendar-chip-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
}

.calendar-chip-value {
    font-size: 12px;
    font-weight: 800;
    color: #1C1C1E;
}

/* Confirm Button */
.calendar-confirm-btn {
    background-color: #C6D646;
    color: #1C1C1E;
    border: none;
    border-radius: 14px;
    height: 44px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(198, 214, 70, 0.35);
}

.calendar-confirm-btn:hover {
    background-color: #b7c73a;
    transform: translateY(-1px);
}

/* ── HUB MODAL STYLES ── */
.hub-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.hub-card-item {
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.hub-card-item:hover,
.hub-card-item.selected {
    border-color: #9EB71D;
    background: rgba(158, 183, 29, 0.08);
}

.hub-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hub-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
}

.hub-card-item:hover .hub-icon-circle,
.hub-card-item.selected .hub-icon-circle {
    background: #9EB71D;
    color: #060402;
}

.hub-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #111111;
}

.hub-city {
    font-size: 0.78rem;
    color: #666666;
    margin: 0;
}

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 576px) {
    .package-preset-chips {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-schedule-grid {
        grid-template-columns: 1fr;
    }
    .abi-modal-card {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .abi-modal-backdrop {
        padding: 12px 10px;
    }

    .abi-modal-card.app-schedule-card {
        padding: 20px 16px;
        border-radius: 22px;
        max-height: calc(100vh - 24px);
    }

    .app-modal-header {
        margin-bottom: 16px;
    }

    .app-modal-badge {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .app-modal-badge i {
        font-size: 18px;
    }

    .app-modal-title {
        font-size: 1.2rem !important;
    }

    .app-modal-subtitle {
        font-size: 0.76rem;
    }

    .app-btn-close {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .app-section-header {
        font-size: 10.5px;
        margin-bottom: 6px;
    }

    .app-schedule-row {
        gap: 8px;
        grid-template-columns: 1.35fr 1fr;
    }

    .app-input-card {
        padding: 9px 10px;
        gap: 8px;
        border-radius: 14px;
    }

    .app-card-icon {
        font-size: 17px;
        width: 20px;
        height: 20px;
    }

    .app-field-sub {
        font-size: 10px;
        margin-bottom: 1px;
    }

    .app-field-select {
        font-size: 14px !important;
    }

    .app-field-input {
        font-size: 12.5px;
    }

    .app-field-value {
        font-size: 13px;
    }

    .app-card-arrow {
        font-size: 11px;
    }

    .app-pill-badge {
        padding: 4px 12px;
        font-size: 11px;
    }

    .btn-app-available {
        padding: 13px;
        font-size: 14px;
        border-radius: 14px;
        margin-top: 14px !important;
    }

    .wheel-picker-card {
        max-width: 300px;
        width: calc(100% - 24px);
        padding: 14px 14px 16px 14px;
        border-radius: 20px;
    }

    .calendar-picker-card {
        max-width: 310px;
        width: calc(100% - 24px);
        padding: 16px 16px 18px 16px;
        border-radius: 20px;
    }

    .app-duration-alert-popup {
        max-width: 320px !important;
        width: calc(100% - 24px) !important;
        padding: 24px 18px 20px 18px !important;
        border-radius: 20px !important;
    }
    .app-duration-alert-popup .swal2-icon.swal2-warning {
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto 14px auto !important;
    }
    .app-duration-alert-popup .swal2-icon.swal2-warning .swal2-icon-content {
        font-size: 34px !important;
        line-height: 58px !important;
    }
    .app-duration-alert-popup .swal2-title {
        font-size: 19px !important;
        margin-bottom: 8px !important;
    }
    .app-duration-alert-popup .swal2-html-container {
        font-size: 13.5px !important;
        margin-bottom: 16px !important;
        padding: 0 4px !important;
    }
    .app-duration-alert-btn {
        max-width: 200px !important;
        min-width: 140px !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 15px !important;
    }

    /* Hub Modal Sheet Responsive on <= 480px */
    .hub-modal-sheet {
        max-width: 100% !important;
        width: 100% !important;
        padding: 18px 14px !important;
        border-radius: 20px !important;
        max-height: calc(100vh - 24px) !important;
        margin: auto !important;
    }

    .hub-modal-title {
        font-size: 16px !important;
    }

    .hub-modal-subtitle {
        font-size: 11.5px !important;
    }

    .hub-vehicle-card {
        padding: 10px 10px !important;
        border-radius: 14px !important;
        margin-bottom: 10px !important;
    }

    .hub-vehicle-thumb-box {
        width: 60px !important;
        height: 48px !important;
    }

    .hub-vehicle-name {
        font-size: 13px !important;
    }

    .hub-vehicle-rate {
        font-size: 12.5px !important;
    }

    .hub-vehicle-deposit {
        font-size: 10px !important;
    }

    .hub-timing-badge {
        padding: 3px 6px !important;
    }

    .hub-timing-badge .timing-text {
        font-size: 9.5px !important;
    }

    .hub-timing-edit-btn {
        font-size: 10px !important;
    }

    .hub-section-label {
        font-size: 10px !important;
    }

    .hub-list-wrap {
        max-height: 200px !important;
    }

    .hub-card-item {
        padding: 9px 10px !important;
        margin-bottom: 7px !important;
        border-radius: 12px !important;
    }

    .hub-icon-circle {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .hub-name {
        font-size: 12.5px !important;
    }

    .hub-sub-text {
        font-size: 10px !important;
    }

    .hub-select-arrow {
        width: 24px !important;
        height: 24px !important;
        font-size: 10px !important;
        margin-left: 6px !important;
    }

    .trust-badge-text {
        font-size: 10px !important;
    }
}

/* Extra small mobile screens (e.g. 320px - 360px) */
@media (max-width: 360px) {
    .abi-modal-backdrop {
        padding: 8px 6px;
    }

    .abi-modal-card.app-schedule-card {
        padding: 16px 10px;
        border-radius: 18px;
        max-height: calc(100vh - 16px);
    }

    .app-schedule-row {
        gap: 6px;
        grid-template-columns: 1.3fr 1fr;
    }

    .app-input-card {
        padding: 7px 8px;
        gap: 6px;
        border-radius: 12px;
    }

    .app-card-icon {
        font-size: 15px;
        width: 18px;
        height: 18px;
    }

    .app-field-sub {
        font-size: 9.5px;
    }

    .app-field-input {
        font-size: 11.5px;
    }

    .app-field-value {
        font-size: 12px;
    }

    .app-card-arrow {
        font-size: 10px;
    }

    .app-pill-badge {
        font-size: 10.5px;
        padding: 4px 10px;
    }

    .btn-app-available {
        padding: 12px;
        font-size: 13.5px;
    }

    .wheel-picker-card {
        max-width: 280px;
        width: calc(100% - 16px);
        padding: 12px 12px 14px 12px;
        border-radius: 18px;
    }

    .calendar-picker-card {
        max-width: 285px;
        width: calc(100% - 16px);
        padding: 14px 12px 16px 12px;
        border-radius: 18px;
    }

    .calendar-day-cell {
        height: 32px;
        font-size: 12px;
        border-radius: 8px;
    }

    .app-duration-alert-popup {
        max-width: 290px !important;
        width: calc(100% - 16px) !important;
        padding: 20px 14px 18px 14px !important;
        border-radius: 18px !important;
    }
    .app-duration-alert-popup .swal2-icon.swal2-warning {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 12px auto !important;
    }
    .app-duration-alert-popup .swal2-icon.swal2-warning .swal2-icon-content {
        font-size: 28px !important;
        line-height: 50px !important;
    }
    .app-duration-alert-popup .swal2-title {
        font-size: 17px !important;
        margin-bottom: 6px !important;
    }
    .app-duration-alert-popup .swal2-html-container {
        font-size: 12.5px !important;
        margin-bottom: 14px !important;
    }
    .app-duration-alert-btn {
        max-width: 180px !important;
        min-width: 130px !important;
        height: 40px !important;
        min-height: 40px !important;
        font-size: 14px !important;
    }

    /* Hub Modal Sheet Responsive on <= 360px */
    .hub-modal-sheet {
        padding: 14px 10px !important;
        border-radius: 16px !important;
        max-height: calc(100vh - 16px) !important;
        margin: auto !important;
    }

    .hub-modal-title {
        font-size: 14.5px !important;
    }

    .hub-modal-subtitle {
        font-size: 10.5px !important;
    }

    .hub-vehicle-card {
        padding: 8px 8px !important;
        border-radius: 12px !important;
    }

    .hub-vehicle-thumb-box {
        width: 50px !important;
        height: 42px !important;
    }

    .hub-vehicle-name {
        font-size: 12px !important;
    }

    .hub-vehicle-rate {
        font-size: 11.5px !important;
    }

    .hub-vehicle-deposit {
        font-size: 9.5px !important;
    }

    .hub-timing-badge {
        padding: 2px 5px !important;
    }

    .hub-timing-badge .timing-text {
        font-size: 9px !important;
    }

    .hub-card-item {
        padding: 7px 8px !important;
        margin-bottom: 6px !important;
    }

    .hub-icon-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }

    .hub-name {
        font-size: 11.5px !important;
    }

    .hub-sub-text {
        font-size: 9px !important;
    }

    .hub-select-arrow {
        width: 22px !important;
        height: 22px !important;
        font-size: 9px !important;
        margin-left: 4px !important;
    }
}

/* Landscape / short height viewport adjustments */
@media (max-height: 650px) {
    .abi-modal-card.app-schedule-card,
    .hub-modal-sheet {
        padding: 14px 16px !important;
        max-height: calc(100vh - 16px) !important;
    }

    .hub-list-wrap {
        max-height: 150px !important;
    }

    .app-modal-header {
        margin-bottom: 8px;
    }

    .app-section-header {
        margin-bottom: 3px;
    }

    .app-input-card {
        padding: 7px 10px;
    }

    .btn-app-available {
        padding: 10px;
        margin-top: 8px !important;
    }

    .wheel-picker-card {
        padding: 12px 16px 14px 16px;
        max-height: calc(100vh - 16px);
    }

    .wheel-header {
        padding-bottom: 8px;
    }

    .wheel-selected-chip {
        margin: 4px auto 10px auto;
        padding: 3px 10px;
    }

    .wheel-confirm-btn {
        height: 38px;
    }

    .calendar-picker-card {
        padding: 12px 16px 14px 16px;
        max-height: calc(100vh - 16px);
    }

    .calendar-header {
        padding-bottom: 8px;
    }

    .calendar-nav-bar {
        margin: 8px 0 6px 0;
        padding: 4px 8px;
    }

    .calendar-days-grid {
        margin-bottom: 8px;
    }

    .calendar-day-cell {
        height: 30px;
    }

    .calendar-selected-chip {
        margin: 2px auto 8px auto;
    }

    .calendar-confirm-btn {
        height: 38px;
    }
}

/* ── VEHICLE HUB SELECTION MODAL STYLES (Matching App VehicleHubSelectionModal.jsx) ── */
.hub-modal-sheet {
    max-width: 480px !important;
    width: 100% !important;
    border-radius: 28px !important;
    padding: 22px 24px !important;
    background: #FFFFFF !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    animation: abiModalPop 0.25s ease-out;
    box-sizing: border-box !important;
    margin: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-width: 0 !important;
}

.hub-header-tag {
    background-color: #F1F5F9;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 4px;
}

.hub-header-tag i {
    font-size: 10px;
    color: #1C1C1E;
}

.hub-modal-title {
    font-size: 19px;
    font-weight: 800;
    color: #1C1C1E;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.hub-modal-subtitle {
    font-size: 12.5px;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.35;
    word-break: break-word;
}

/* Vehicle Preview Card */
.hub-vehicle-card {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 14px;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.hub-vehicle-thumb-box {
    width: 74px;
    height: 54px;
    border-radius: 10px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.hub-vehicle-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hub-vehicle-info {
    min-width: 0 !important;
    flex: 1 1 auto;
    overflow: hidden;
}

.hub-vehicle-name {
    font-size: 14px;
    font-weight: 800;
    color: #1C1C1E;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-vehicle-rate {
    font-size: 13.5px;
    font-weight: 800;
    color: #1C1C1E;
    white-space: nowrap;
}

.hub-vehicle-rate .rate-sub {
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
}

.hub-vehicle-deposit {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748B;
    white-space: nowrap;
}

.hub-timing-badge {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 4px 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 4px;
}

.hub-timing-badge .timing-badge-inner {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.hub-timing-badge .timing-clock-icon {
    font-size: 10px;
    flex-shrink: 0;
    margin-right: 5px;
}

.hub-timing-badge .timing-text {
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    display: inline-block;
}

.hub-timing-edit-btn {
    border: none;
    background: transparent;
    color: #65A30D;
    font-size: 10.5px;
    font-weight: 700;
    padding: 0 2px;
    cursor: pointer;
    text-decoration: underline;
    flex-shrink: 0;
    white-space: nowrap;
}

.hub-timing-edit-btn:hover {
    color: #4d7c0f;
}

.hub-section-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748B;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    word-break: break-word;
    line-height: 1.35;
}

/* Hub List Cards */
.hub-list-wrap {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 2px;
    width: 100%;
    box-sizing: border-box;
    overscroll-behavior: contain;
}

.hub-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 11px 14px;
    margin-bottom: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.hub-card-item:hover {
    border-color: #C6D646;
    background-color: #FAFCEE;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 214, 70, 0.2);
}

.hub-card-item.selected {
    border-color: #C6D646;
    background-color: #F8FBEA;
    box-shadow: 0 3px 10px rgba(198, 214, 70, 0.25);
}

.hub-info-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.hub-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #EDF5C8;
    border: 1px solid #C6D646;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1C1E;
    font-size: 14px;
    flex-shrink: 0;
}

.hub-details {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.hub-name {
    font-size: 14px;
    font-weight: 800;
    color: #1C1C1E;
    line-height: 1.25;
    word-break: break-word;
}

.hub-sub-row {
    flex-wrap: nowrap;
    overflow: hidden;
}

.hub-dot-available {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #16A34A;
    display: inline-block;
    flex-shrink: 0;
}

.hub-sub-text {
    font-size: 11px;
    color: #64748B;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.hub-select-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.hub-card-item:hover .hub-select-arrow,
.hub-card-item.selected .hub-select-arrow {
    background-color: #EDF5C8;
    color: #1C1C1E;
}

.trust-badge-row {
    border-top: 1px solid #F1F5F9;
}

.trust-badge-text {
    font-size: 11px;
    font-weight: 600;
    color: #16A34A;
}

.hub-empty-wrapper {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* ====================================================
   HUB CATALOG FILTER BAR RESPONSIVE STYLES
   ==================================================== */
.hub-filter-bar {
    width: 100%;
}

.hub-filter-container {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 50px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hub-filter-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
}

.hub-filter-label i {
    color: #1E293B;
    font-size: 13px;
}

.hub-chips-scroll-track {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.hub-chips-scroll-track::-webkit-scrollbar {
    display: none;
}

.hub-chips-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Hub Catalog Filter Chips */
.hub-filter-chip {
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.hub-filter-chip:hover {
    border-color: #C6D646;
    color: #1E293B;
    background: #FAFCEE;
}

.hub-filter-chip.active {
    background: #C6D646 !important;
    background-color: #C6D646 !important;
    border-color: #C6D646 !important;
    color: #1C1C1E !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(198, 214, 70, 0.45);
}

/* Desktop View: Centered sleek pill */
@media (min-width: 992px) {
    .hub-filter-bar {
        text-align: center;
    }
    .hub-filter-container {
        margin: 0 auto;
        border-radius: 50px;
    }
}

/* Mobile & Tablet: Card container spanning width with smooth horizontal swipe */
@media (max-width: 991px) {
    .hub-filter-container {
        display: flex;
        width: 100%;
        border-radius: 16px;
        padding: 8px 12px;
        gap: 8px;
        box-sizing: border-box;
    }

    .hub-filter-label {
        font-size: 11.5px;
        padding-right: 8px;
        border-right: 1.5px solid #E2E8F0;
    }

    .hub-chips-scroll-track {
        flex-grow: 1;
        min-width: 0;
        gap: 6px;
    }

    .hub-chips-wrapper {
        gap: 6px;
    }

    .hub-filter-chip {
        padding: 5px 12px;
        font-size: 11.5px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hub-filter-container {
        padding: 6px 10px;
        border-radius: 14px;
        gap: 6px;
    }

    .hub-filter-label {
        font-size: 11px;
        padding-right: 6px;
    }

    .hub-filter-chip {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 14px;
    }
}

/* ── ONGOING RIDE MODAL & BANNER (Matching React Native OngoingRideNoticeModal.jsx) ── */
.ongoing-ride-modal-card {
    max-width: 420px;
    border-radius: 32px;
    padding: 30px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.ongoing-icon-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(198, 214, 70, 0.25);
    border: 1.5px solid rgba(198, 214, 70, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ongoing-icon-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1C1C1E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ongoing-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #C6D646;
    animation: ongoingPulse 1.6s infinite;
}

@keyframes ongoingPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.ongoing-pill-text {
    font-size: 10px;
    font-weight: 800;
    color: #C6D646;
    letter-spacing: 0.8px;
}

.ongoing-modal-title {
    font-size: 19px;
    font-weight: 800;
    color: #1C1C1E;
}

.ongoing-modal-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

.ongoing-context-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px 16px;
}

/* ====================================================
   HERO RENTAL SCHEDULE TRIGGER & RESPONSIVE SEARCH BAR
   ==================================================== */
.hero-schedule-trigger {
    background-color: #ffffff !important;
    cursor: pointer;
    border: 2px solid var(--primary-color) !important;
    border-radius: 10px;
    height: 55px;
    padding: 0 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

.hero-schedule-trigger:hover {
    border-color: #7d9316 !important;
    box-shadow: 0 4px 15px rgba(158, 183, 29, 0.25);
}

.hero-schedule-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.hero-clock-icon-wrap {
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-schedule-content {
    min-width: 0;
    flex-grow: 1;
    overflow: hidden;
}

.schedule-placeholder-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Desktop Inline Row */
.hero-schedule-inline {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-schedule-inline .schedule-dt-text {
    font-weight: 700;
    color: #111827;
}

.hero-schedule-inline .schedule-arrow-symbol {
    color: var(--primary-color);
    font-weight: 800;
    margin: 0 6px;
}

.hero-schedule-inline .schedule-dur-badge {
    font-weight: 700;
    color: #4B5563;
    font-size: 0.88rem;
    margin-left: 4px;
}

/* CHANGE Button / Badge */
.hero-change-badge {
    background-color: var(--primary-color) !important;
    color: #1C1C1E !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    letter-spacing: 0.5px;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(158, 183, 29, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-schedule-trigger:hover .hero-change-badge {
    background-color: #b2ce21 !important;
    transform: scale(1.03);
}

.hero-duration-pill-label {
    background: rgba(198, 214, 70, 0.2);
    border: 1px solid rgba(198, 214, 70, 0.5);
    color: #C6D646;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Tablet & Mobile (<= 991px): 2 Neat Stacked Rows so NO text is ever hidden or crowded */
@media (max-width: 991px) {
    .search-wrapper {
        padding: 24px 20px !important;
    }

    .hero-schedule-trigger {
        height: auto !important;
        min-height: 56px;
        padding: 7px 10px;
        gap: 6px;
    }

    .hero-schedule-left {
        align-items: center;
        gap: 6px;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Hide redundant clock icon on mobile so date and PM have 100% full horizontal space */
    .hero-clock-icon-wrap {
        display: none !important;
    }

    .hero-schedule-stacked {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        min-width: 0;
    }

    .hero-schedule-row {
        display: flex;
        align-items: center;
        gap: 5px;
        line-height: 1.25;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: visible;
    }

    .hero-tag-lbl {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.4px;
        padding: 1.5px 4px;
        border-radius: 4px;
        flex-shrink: 0;
        text-transform: uppercase;
        line-height: 1.1;
    }

    .hero-tag-lbl.pickup-lbl {
        background-color: #EBF8FF;
        color: #0284C7;
        border: 1px solid #BAE6FD;
    }

    .hero-tag-lbl.dropoff-lbl {
        background-color: #FFF7ED;
        color: #EA580C;
        border: 1px solid #FFEDD5;
    }

    .hero-val-text {
        font-size: 11.5px;
        font-weight: 700;
        color: #1E293B;
        letter-spacing: -0.2px;
        white-space: nowrap;
    }

    .hero-dur-tag {
        font-size: 9.5px;
        font-weight: 700;
        background: #F1F5F9;
        color: #475569;
        padding: 1px 5px;
        border-radius: 6px;
        border: 1px solid #E2E8F0;
        margin-left: 2px;
        flex-shrink: 0;
    }

    .hero-change-badge {
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .navbar-brand img {
        max-height: 48px;
    }
}

@media (max-width: 768px) {
    .search-form-section {
        padding: 24px 0 15px 0 !important;
    }

    .search-wrapper {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 480px) {
    .search-wrapper {
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }

    .search-label {
        font-size: 0.88rem;
        margin-bottom: 6px;
    }

    .search-input {
        font-size: 0.95rem;
    }

    .hero-schedule-trigger {
        min-height: 54px;
        padding: 6px 9px;
        gap: 5px;
    }

    .hero-val-text {
        font-size: 11px;
        letter-spacing: -0.25px;
    }

    .hero-tag-lbl {
        font-size: 8px;
        padding: 1px 3.5px;
    }

    .hero-change-badge {
        font-size: 9.5px !important;
        padding: 3.5px 7px !important;
        border-radius: 5px !important;
    }

    .btn-search-ride {
        height: 50px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* Vehicle Tab Pills on Mobile (Side-by-side) */
    .nav-pills {
        gap: 8px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }

    .nav-pills .nav-link {
        padding: 9px 18px !important;
        font-size: 0.92rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
        border-radius: 30px !important;
    }

    /* Navbar on small screens */
    .navbar {
        top: 8px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 8px 0 !important;
        border-radius: 12px !important;
    }

    .navbar-brand img {
        max-height: 42px !important;
    }

    /* Floating call/whatsapp buttons */
    .float-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
        bottom: 20px !important;
    }

    .call-float {
        left: 14px !important;
    }

    .whatsapp-float {
        right: 14px !important;
    }
}

@media (max-width: 360px) {
    .search-wrapper {
        padding: 14px 10px !important;
    }

    .hero-schedule-trigger {
        padding: 5px 7px;
    }

    .hero-val-text {
        font-size: 10px;
        letter-spacing: -0.3px;
    }

    .hero-change-badge {
        font-size: 9px !important;
        padding: 3px 5px !important;
    }

    .nav-pills .nav-link {
        padding: 7px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* ====================================================
   VEHICLE CATALOG CARD RESPONSIVE STYLES
   Fixes specs layout & price vs "Book Now" overlap
   ==================================================== */
.specs-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    background-color: #f9f9f9 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    border-left: 4px solid var(--primary-color) !important;
}

.specs-container .spec-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 0.92rem !important;
    color: var(--secondary-color) !important;
}

.specs-container .spec-item i {
    color: var(--primary-color) !important;
    width: 22px !important;
    text-align: center !important;
    margin-right: 6px !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
}

.card-footer-custom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 0 0 0 !important;
    margin-top: 16px !important;
    border-top: 2px dashed #eaeaea !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.price-section {
    min-width: 0 !important;
    flex: 0 1 auto !important;
    text-align: left !important;
}

.price-section h5 {
    margin: 0 !important;
    color: var(--secondary-color) !important;
    font-weight: 900 !important;
    font-size: 1.45rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-align: left !important;
}

.price-section small {
    color: #888 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    text-align: left !important;
}

.ride-btn {
    background-color: var(--button-background-color) !important;
    color: var(--white-color) !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    text-align: center !important;
}

@media (max-width: 576px) {
    .vehicle-card .card-body {
        padding: 16px 14px !important;
    }

    .vehicle-title {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
    }

    .trip-count {
        padding: 5px 12px !important;
        font-size: 0.78rem !important;
        margin-bottom: 12px !important;
    }

    .specs-container {
        padding: 8px 10px !important;
        gap: 6px 10px !important;
    }

    .specs-container .spec-item {
        font-size: 0.84rem !important;
    }

    .specs-container .spec-item i {
        font-size: 0.95rem !important;
        width: 18px !important;
        margin-right: 5px !important;
    }

    .card-footer-custom {
        padding: 12px 0 0 0 !important;
        margin-top: 12px !important;
        gap: 8px !important;
        text-align: left !important;
    }

    .price-section {
        text-align: left !important;
    }

    .price-section h5 {
        font-size: 1.28rem !important;
        text-align: left !important;
    }

    .price-section small {
        font-size: 0.74rem !important;
        text-align: left !important;
    }

    .ride-btn {
        padding: 9px 16px !important;
        font-size: 0.86rem !important;
        gap: 5px !important;
        margin-left: auto !important;
        text-align: center !important;
    }
}

@media (max-width: 360px) {
    .vehicle-card .card-body {
        padding: 14px 10px !important;
    }

    .vehicle-title {
        font-size: 1.12rem !important;
    }

    .specs-container {
        padding: 7px 8px !important;
        gap: 4px 8px !important;
    }

    .specs-container .spec-item {
        font-size: 0.78rem !important;
    }

    .card-footer-custom {
        padding: 10px 0 0 0 !important;
        margin-top: 10px !important;
        gap: 6px !important;
        text-align: left !important;
    }

    .price-section {
        text-align: left !important;
    }

    .price-section h5 {
        font-size: 1.15rem !important;
        text-align: left !important;
    }

    .price-section small {
        font-size: 0.7rem !important;
        text-align: left !important;
    }

    .ride-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        gap: 4px !important;
        margin-left: auto !important;
        text-align: center !important;
    }
}
