/* ==========================================================================
   HOMEPAGE BOOKING FORM (Om Taxi Service 2.0 Dynamic Theme) - assets/css/form.css
   ========================================================================== */

:root {
    --ots-primary: var(--theme, var(--primary-color, #5F2DED));
    --ots-primary-dark: #471ac9;
    --ots-primary-light: rgba(95, 45, 237, 0.08);
    --ots-accent: var(--theme, var(--primary-color, #5F2DED));
    --ots-accent-dark: #471ac9;
    --ots-dark: var(--dark, #170F2F);
    --ots-text: #1e293b;
    --ots-muted: #64748b;
    --ots-border: #cbd5e1;
    --ots-border-focus: var(--theme, var(--primary-color, #5F2DED));
    --ots-bg-light: #f8fafc;
    --ots-bg-hover: #f1f5f9;
    --ots-card-bg: #ffffff;
    --ots-radius-sm: 8px;
    --ots-radius-md: 14px;
    --ots-radius-lg: 18px;
    --ots-radius-xl: 24px;
    --ots-shadow-card: 0 24px 55px -12px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(0, 0, 0, 0.06);
    --ots-shadow-hover: 0 24px 50px -8px rgba(95, 45, 237, 0.22);
}

/* ── FORM CONTAINER (Over Hero Slider) ── */
.home-booking-form {
    position: absolute;
    z-index: 3;
    margin-top: 0;
    margin-bottom: 0;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
}

/* ── ELEVATED, BIGGER SERVICE TABS (Top Bar) ── */
.ots-tabs-header-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: -1px;
    position: relative;
    z-index: 10;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.ots-tabs-header-wrap::-webkit-scrollbar {
    display: none;
}

.ots-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    background: #ffffff;
    padding: 6px;
    border-radius: 20px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
    border: 1.5px solid var(--ots-border);
    border-bottom: none;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-bottom: 10px;
}
.ots-tabs-nav::-webkit-scrollbar {
    display: none;
}

.ots-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 26px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    user-select: none;
    position: relative;
    min-width: 130px;
    flex-shrink: 0;
    background-image: none;
}

.ots-tab-icon {
    font-size: 22px;
    color: #64748b;
    transition: color 0.2s ease;
}

.ots-tab-label {
    font-family: var(--font-primary, sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.ots-tab-sub {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: -3px;
}

.ots-tab-btn:hover {
    background: var(--ots-bg-hover);
}
.ots-tab-btn:hover .ots-tab-icon {
    color: var(--ots-primary);
}

.ots-tab-btn.active {
    background: var(--ots-primary-light);
    border-color: var(--ots-primary);
    box-shadow: 0 4px 14px rgba(95, 45, 237, 0.18);
}
.ots-tab-btn.active .ots-tab-icon {
    color: var(--ots-primary);
    transform: scale(1.1);
}
.ots-tab-btn.active .ots-tab-title {
    color: var(--ots-primary);
}
.ots-tab-btn.active .ots-tab-sub {
    color: var(--ots-primary-dark);
}

.ots-badge-new {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background: #ef4444;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

/* ── MAIN CARD CONTAINER ── */
.ots-form-card {
    background: var(--ots-card-bg);
    border-radius: var(--ots-radius-xl);
    box-shadow: var(--ots-shadow-card);
    border: 1.5px solid var(--ots-border);
    position: relative;
    overflow: visible;
    padding: 0;
}

/* ── SUB-BAR (One-Way vs Round-Trip Mini Tabs) ── */
.ots-sub-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.ots-radio-pills {
    display: inline-flex;
    background: #ffffff;
    padding: 4px;
    border-radius: 16px;
    border: 1.5px solid var(--ots-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    gap: 6px;
}

.ots-radio-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 22px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    border: 1.5px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    user-select: none;
    background-image: none;
    min-width: 90px;
}

.ots-radio-pill i {
    font-size: 17px;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ots-radio-pill:hover {
    background: var(--ots-bg-hover);
}
.ots-radio-pill:hover i {
    color: var(--ots-primary);
}

.ots-radio-pill.active {
    background: var(--ots-primary-light);
    border-color: var(--ots-primary);
    color: var(--ots-primary);
    box-shadow: 0 2px 8px rgba(95, 45, 237, 0.16);
}
.ots-radio-pill.active i {
    color: var(--ots-primary);
    transform: scale(1.1);
}

.ots-sub-hint {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ── TAB PANELS ── */
.ots-panel {
    display: none;
    padding: 10px;
}
.ots-panel.active {
    display: block;
    animation: otsFadeIn 0.25s ease-out;
}

@keyframes otsFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── FORM GRID / ROW ── */
.ots-form-grid {
    display: grid;
    grid-template-columns: 2.7fr 1.15fr 1fr 160px;
    border: 1px solid var(--ots-border);
    border-radius: var(--ots-radius-lg);
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.ots-grid-roundway {
    grid-template-columns: 2.3fr 0.95fr 0.95fr 0.95fr 150px;
}

.ots-grid-airport {
    grid-template-columns: 1.25fr 1.35fr 1.35fr 1.1fr 0.95fr 150px;
}

.ots-grid-local {
    grid-template-columns: 1.25fr 1.35fr 1.1fr 1fr 160px;
}

.ots-grid-chardham {
    grid-template-columns: 1.15fr 1.6fr 1fr 1fr 1fr 150px;
}

/* ── ROUTE FIELDS GROUP (FROM + SWAP + TO) ── */
.ots-route-group {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 1.5px solid var(--ots-border);
    min-width: 0;
}

.ots-route-group .ots-field-box:first-child {
    border-right: 1.5px solid var(--ots-border);
}
.ots-route-group .ots-field-box:last-child {
    border-right: none;
}

/* ── PERFECTLY CENTERED SWAP BUTTON ── */
.ots-swap-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--ots-border);
    color: var(--ots-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background-image: none;
}
.ots-swap-btn:hover {
    background: var(--ots-primary);
    border-color: var(--ots-primary);
    color: #ffffff;
    transform: translate(-50%, -50%) rotate(180deg) scale(1.12);
}

/* ── FORM FIELD BLOCK (Search Box) ── */
.ots-field-box {
    position: relative;
    padding: 12px 18px;
    border-right: 1.5px solid var(--ots-border);
    transition: background 0.18s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82px;
    background: #ffffff;
    min-width: 0;
    cursor: pointer;
}

.ots-field-box:first-child {
    border-radius: var(--ots-radius-lg) 0 0 var(--ots-radius-lg);
}

.ots-field-box:hover {
    background: #f8fafc;
}

.ots-field-box.is-focused,
.ots-field-box:focus-within,
.ots-field-box.is-open {
    background: #faf8ff;
}

.ots-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 4px;
    white-space: nowrap;
}
.ots-label i {
    color: var(--ots-primary);
    font-size: 13px;
}

.ots-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ots-dark);
    outline: none;
    box-shadow: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.ots-input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.ots-picker-val {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ots-dark);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ots-sub-text {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── SEARCH SUBMIT BUTTON ── */
.ots-btn-search {
    background: var(--ots-accent);
    color: #ffffff;
    border: none;
    border-radius: 0 var(--ots-radius-lg) var(--ots-radius-lg) 0;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    background-image: none;
    user-select: none;
}
.ots-btn-search i {
    font-size: 20px;
}
.ots-btn-search:hover {
    background: var(--ots-accent-dark);
    color: #ffffff;
}

/* ── CUSTOM DROPDOWNS (ZERO <select><option>) ── */
.ots-custom-select-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.ots-custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    min-width: 0;
}

.ots-cs-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--ots-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    max-width: 100%;
    display: block;
}

.ots-cs-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    margin-left: 6px;
    flex-shrink: 0;
}

.ots-custom-select-wrap.is-open .ots-cs-arrow {
    transform: rotate(180deg);
    color: var(--ots-primary);
}

.ots-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    max-width: min(460px, calc(100vw - 32px));
    width: max-content;
    background: #ffffff;
    border: 1px solid var(--ots-border);
    border-radius: var(--ots-radius-md);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
    z-index: 99999;
    padding: 8px;
    display: none;
    flex-direction: column !important;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    box-sizing: border-box;
}
.ots-custom-select-wrap.is-open .ots-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    animation: otsDropIn 0.2s ease-out;
}

@keyframes otsDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ots-dropdown-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid var(--ots-border, #e2e8f0);
    border-radius: 8px;
    margin-bottom: 6px;
    position: sticky;
    top: 0;
    z-index: 5;
}
.ots-dropdown-search i {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}
.ots-dropdown-search-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 13px !important;
    width: 100% !important;
    color: #1e293b !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.ots-dropdown-search-input::placeholder {
    color: #94a3b8;
    font-size: 12px;
}
.ots-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.ots-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}
.ots-dropdown-item:hover {
    background: #faf8ff;
    border-color: #ede9fe;
}
.ots-dropdown-item.active {
    background: var(--ots-primary-light);
    border-color: var(--ots-primary);
}

.ots-di-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ots-primary);
    font-size: 15px;
    flex-shrink: 0;
}
.ots-dropdown-item.active .ots-di-icon {
    background: var(--ots-primary);
    color: #ffffff;
}

.ots-di-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.ots-di-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ots-dark);
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}
.ots-di-sub {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    white-space: normal;
    word-break: break-word;
}
.ots-di-price {
    font-size: 12px;
    font-weight: 800;
    color: #166534;
    background: #dcfce7;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ==========================================================================
   DROPDOWN LOCATION SEARCH (DIRECTLY UNDER INPUT FIELD)
   ========================================================================== */
.ots-loc-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--ots-border);
    border-radius: var(--ots-radius-md);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
    z-index: 999999;
    padding: 12px;
    display: none;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.ots-field-box.is-open .ots-loc-dropdown {
    display: block;
    animation: otsDropIn 0.2s ease-out;
}

.ots-sec-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ots-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.ots-loc-chip {
    padding: 5px 12px;
    border-radius: 18px;
    background: #f1f5f9;
    border: 1px solid var(--ots-border);
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    background-image: none;
}
.ots-loc-chip:hover {
    background: var(--ots-primary-light);
    border-color: var(--ots-primary);
    color: var(--ots-primary);
}

.ots-pred-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.ots-pred-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ots-pred-item:hover {
    background: #faf8ff;
    border-color: #ede9fe;
}
.ots-pred-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid var(--ots-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ots-primary);
    font-size: 12px;
    flex-shrink: 0;
}
.ots-pred-info {
    flex-grow: 1;
    overflow: hidden;
}
.ots-pred-main {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ots-dark);
    line-height: 1.2;
}
.ots-pred-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.ots-history-wrap {
    border-top: 1.5px dashed var(--ots-border);
    padding-top: 10px;
}
.ots-history-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ots-history-item:hover {
    background: #f8fafc;
}
.ots-history-ico {
    color: #94a3b8;
    font-size: 13px;
}
.ots-history-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   CUSTOM DATE & TIME PICKER MODAL (ZERO <SELECT><OPTION>)
   ========================================================================== */
.ots-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 16px;
}
.ots-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.ots-modal-sheet {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ots-modal-overlay.is-active .ots-modal-sheet {
    transform: translateY(0) scale(1);
}

.ots-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1.5px solid var(--ots-border);
}
.ots-modal-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ots-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ots-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-image: none;
}

.ots-modal-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    animation: otsDropIn 0.2s ease-out;
}

.ots-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ots-border-subtle, #f1f5f9);
    background: #ffffff;
}

.ots-modal-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ots-dark, #0f172a);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ots-modal-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ots-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ots-modal-body {
    padding: 12px 16px 16px;
}

.ots-date-strip-wrap {
    margin-bottom: 12px;
}

.ots-month-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 2px 6px;
    background: #f8fafc;
    border: 1px solid var(--ots-border, #e2e8f0);
    border-radius: var(--ots-radius-pill, 20px);
}

.ots-month-current {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ots-dark, #0f172a);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    user-select: none;
}

.ots-month-nav-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--ots-border, #e2e8f0);
    color: var(--ots-dark, #0f172a);
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-image: none;
}

.ots-month-nav-btn:hover:not(:disabled) {
    background: var(--ots-primary);
    color: #ffffff;
    border-color: var(--ots-primary);
}

.ots-month-nav-btn:disabled,
.ots-month-nav-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.ots-date-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.ots-date-strip::-webkit-scrollbar {
    display: none;
}

.ots-date-pill {
    flex: 0 0 54px;
    min-width: 54px;
    padding: 6px 3px;
    background: #f8fafc;
    border: 1.5px solid var(--ots-border, #e2e8f0);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    background-image: none;
}
.ots-dp-day {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: capitalize;
    color: #64748b;
    margin-bottom: 1px;
}
.ots-dp-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--ots-dark, #0f172a);
    line-height: 1.1;
}
.ots-dp-year {
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
}
.ots-date-pill.active {
    background: var(--ots-primary);
    border-color: var(--ots-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.ots-date-pill.active .ots-dp-day,
.ots-date-pill.active .ots-dp-num,
.ots-date-pill.active .ots-dp-year {
    color: #ffffff;
}

.ots-custom-time-container {
    background: #f8fafc;
    border: 1px solid var(--ots-border, #e2e8f0);
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.ots-time-section-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ots-time-chips-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 6px;
}
.ots-time-chips-scroll::-webkit-scrollbar {
    display: none;
}

.ots-time-chip {
    flex: 0 0 42px;
    height: 32px;
    padding: 3px 6px;
    background: #ffffff;
    border: 1.5px solid var(--ots-border, #e2e8f0);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ots-dark, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    background-image: none;
}
.ots-time-chip:hover {
    border-color: var(--ots-primary);
}
.ots-time-chip.active {
    background: var(--ots-primary);
    border-color: var(--ots-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Disabled/Inactive Past Time Chips */
.ots-time-chip.disabled {
    opacity: 0.25;
    pointer-events: none;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    text-decoration: line-through;
}

.ots-ampm-row {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}
.ots-ampm-btn {
    flex: 1;
    padding: 6px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1.5px solid var(--ots-border, #e2e8f0);
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: none;
}
.ots-ampm-btn.active {
    background: var(--ots-primary);
    border-color: var(--ots-primary);
    color: #ffffff;
}

.ots-trip-preview {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 6px 12px;
    margin-bottom: 10px;
}
.ots-tp-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #166534;
}
.ots-tp-value {
    font-size: 13px;
    font-weight: 800;
    color: #14532d;
    margin-top: 1px;
}

.ots-btn-done {
    width: 100%;
    padding: 10px;
    background: var(--ots-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background-image: none;
}
.ots-btn-done:hover {
    background: var(--ots-primary-dark);
}

/* ── SCROLL LOCK FOR MODALS ── */
body.ots-modal-open,
html.ots-modal-open {
    overflow: hidden;
    touch-action: none;
}

/* ── MOBILE LOCATION SEARCH BOTTOM SHEET MODAL ── */
.ots-loc-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ots-loc-modal-overlay.is-active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.ots-loc-modal-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 560px;
    height: auto;
    max-height: 80vh;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ots-loc-modal-overlay.is-active .ots-loc-modal-sheet {
    transform: translateY(0);
}

/* ── Universal Pull Bar for Mobile Bottom Sheets ── */
.enq-mobile-handle {
    display: none;
}

@media (max-width: 991px) {
    .enq-mobile-handle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 0 4px !important;
        width: 100% !important;
        cursor: grab !important;
        touch-action: none !important;
        user-select: none !important;
        z-index: 25 !important;
        background: transparent !important;
    }
    .enq-mobile-handle span {
        display: block !important;
        width: 48px !important;
        height: 5px !important;
        background: var(--second, var(--accent-color, #F2277E)) !important;
        border-radius: 6px !important;
        transition: transform 0.2s ease, width 0.2s ease, opacity 0.2s ease !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    }
    .enq-mobile-handle:hover span,
    .enq-mobile-handle:active span {
        transform: scaleX(1.15) !important;
        opacity: 0.9 !important;
    }
}

.ots-loc-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px 12px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.ots-loc-modal-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ots-loc-modal-back {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #1e293b;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.ots-loc-modal-back:hover,
.ots-loc-modal-back:active {
    background: #f1f5f9;
}

.ots-loc-modal-title {
    font-family: var(--font-primary, sans-serif);
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.ots-loc-modal-close {
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
}
.ots-loc-modal-close:hover,
.ots-loc-modal-close:active {
    background: #e2e8f0;
    color: #0f172a;
}

.ots-loc-modal-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 12px;
    background: #ffffff;
    border-bottom: 1px solid var(--ots-border, #cbd5e1);
    position: relative;
}

.ots-loc-search-ico {
    font-size: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

.ots-loc-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    background: transparent;
    padding: 6px 0;
}
.ots-loc-search-input::-webkit-search-decoration,
.ots-loc-search-input::-webkit-search-cancel-button,
.ots-loc-search-input::-webkit-search-results-button,
.ots-loc-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    display: none;
}
.ots-loc-search-input::placeholder {
    color: #94a3b8;
}

.ots-loc-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ots-loc-modal-body {
    flex: 0 1 auto;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 24px;
}

/* ── RESPONSIVE MOBILE STYLING ── */

/* Enquiry Modal Textarea & Layout Support */
.enq-textarea-box {
    align-items: flex-start !important;
}
.enq-textarea-box i:first-child {
    top: 12px !important;
    position: absolute !important;
}
textarea.enq-input {
    height: 64px !important;
    resize: none !important;
    padding-top: 9px !important;
    line-height: 1.4 !important;
}


