/* ================================================================
   ground-booking.css
   Merged from: map-page.css + landing-page.css + ground-details.css
   Owns: Map layout, filters, markers, landing sections, hero,
         trending, detail page, booking flow, success page.
   Duplicates removed: .page/.page.active (kept animated version),
                       .sticky-bottom-wa (kept booking version),
                       booking-flow block from map-page.css tail.
   ================================================================ */

/* Fix uSkinned modal backdrop z-index issues */
.modal-backdrop { z-index: 1050 !important; }
#resetPasswordModal { z-index: 1055 !important; }
#resetPasswordModal::before { display: none !important; }

/* ================================================================
   map-page.css
   Owns: Map layout, filters, search, bottom sheet, ground cards,
         responsive map behavior, marker styling.
   Merged from: google-map.css + bottom-sheet.css
   ================================================================ */

/* ================================================================
   GoogleMap Component - Reusable Styles
   Mobile-first, Bootstrap-compatible, dark-mode ready
   ================================================================ */

:root {
    --gmap-font: 'Inter', system-ui, -apple-system, sans-serif;
    --gmap-radius: 12px;
    --gmap-radius-sm: 8px;
    --gmap-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    --gmap-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --gmap-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --gmap-bg: #ffffff;
    --gmap-bg-hover: #f8f9fa;
    --gmap-text: #1f2937;
    --gmap-text-secondary: #4b5563;
    --gmap-border: #e5e7eb;
    --gmap-primary: #4285F4;
    --gmap-primary-light: #e8f0fe;

    /* Category color CSS vars */
    --gmap-cat-public: #4285F4;
    --gmap-cat-private: #EA4335;
    --gmap-cat-government: #34A853;
}

/* Wrapper */
.gmap-wrapper {
    container-type: inline-size;
    width: 100%;
}

/* Container */
.gmap-container {
    display: flex;
    width: 100%;
    height: 650px;
    border-radius: var(--gmap-radius);
    overflow: hidden;
    box-shadow: var(--gmap-shadow);
    font-family: var(--gmap-font);
    position: relative;
    background: var(--gmap-bg);
    container-type: inline-size;
}

/* Side Panel (Desktop) */
.gmap-panel {
    width: 380px;
    min-width: 380px;
    background: var(--gmap-bg);
    border-right: 1px solid var(--gmap-border);
    display: flex;
    flex-direction: column;
    transition: width var(--gmap-transition), min-width var(--gmap-transition), opacity var(--gmap-transition);
    z-index: 10;
    overflow: hidden;
}

.gmap-panel.collapsed {
    width: 0;
    min-width: 0;
    border-right: none;
    opacity: 0;
    pointer-events: none;
}

.gmap-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gmap-border);
    flex-shrink: 0;
}

.gmap-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gmap-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gmap-panel-title .material-symbols-rounded {
    color: var(--gmap-primary);
    font-size: 22px;
}

.gmap-panel-toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gmap-bg-hover);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--gmap-transition);
    color: var(--gmap-text-secondary);
}

.gmap-panel-toggle:hover {
    background: var(--gmap-border);
}

/* Search */
.gmap-search-wrapper {
    position: relative;
    padding: 14px 16px 8px;
    flex-shrink: 0;
}

.gmap-search-icon {
    position: absolute;
    left: 28px;
    top: calc(50% + 3px);
    transform: translateY(-50%);
    color: var(--gmap-text-secondary);
    font-size: 20px;
    pointer-events: none;
}

.gmap-search-input {
    width: 100%;
    padding: 10px 40px 10px 42px;
    border: 1.5px solid var(--gmap-border);
    border-radius: 40px;
    font-size: 14px;
    font-family: var(--gmap-font);
    color: var(--gmap-text);
    background: var(--gmap-bg);
    transition: border-color var(--gmap-transition), box-shadow var(--gmap-transition);
    outline: none;
}

.gmap-search-input:focus {
    border-color: var(--gmap-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.gmap-search-clear {
    position: absolute;
    right: 28px;
    top: calc(50% + 3px);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: var(--gmap-bg-hover);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gmap-text-secondary);
    font-size: 16px;
}

/* Quick Tags (Places Search shortcuts) */
.gmap-quick-tags {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 16px 12px;
    gap: 8px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--gmap-border);
}

.gmap-quick-tags::-webkit-scrollbar {
    height: 3px;
}

.gmap-quick-tags::-webkit-scrollbar-thumb {
    background: var(--gmap-border);
    border-radius: 2px;
}

.gmap-quick-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gmap-bg-hover);
    border: 1px solid var(--gmap-border);
    color: var(--gmap-text);
    cursor: pointer;
    transition: all var(--gmap-transition);
    white-space: nowrap;
}

.gmap-quick-tag:hover {
    background: var(--gmap-primary-light);
    border-color: var(--gmap-primary);
    color: var(--gmap-primary);
}

.gmap-qtag-icon {
    font-size: 14px;
}

/* Active Search Display */
.gmap-active-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gmap-primary-light);
    color: var(--gmap-primary);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.gmap-active-search-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gmap-primary);
    display: flex;
    align-items: center;
    padding: 2px;
}

/* Filter Chips */
.gmap-filter-section {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gmap-border);
    flex-shrink: 0;
}

.gmap-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.gmap-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gmap-text-secondary);
}

.gmap-filter-clear {
    font-size: 12px;
    color: var(--gmap-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.gmap-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gmap-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--gmap-border);
    background: var(--gmap-bg);
    cursor: pointer;
    transition: all var(--gmap-transition);
}

.gmap-chip.active {
    background: var(--gmap-primary-light);
    border-color: var(--gmap-primary);
    color: var(--gmap-primary);
}

.gmap-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Results List */
.gmap-results-list {
    flex: 1;
    overflow-y: auto;
}

.gmap-results-list::-webkit-scrollbar {
    width: 5px;
}

.gmap-results-list::-webkit-scrollbar-thumb {
    background: var(--gmap-border);
}

.gmap-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-bottom: 1px solid var(--gmap-border);
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background var(--gmap-transition);
}

.gmap-result-item:hover {
    background: var(--gmap-bg-hover);
}

.gmap-result-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gmap-result-emoji {
    font-size: 20px;
    flex-shrink: 0;
}

.gmap-result-info {
    flex: 1;
    min-width: 0;
}

.gmap-result-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gmap-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gmap-result-cat {
    font-size: 12px;
    color: var(--gmap-text-secondary);
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loading Spinner */
.gmap-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--gmap-text-secondary);
    font-size: 14px;
}

.gmap-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--gmap-border);
    border-top-color: var(--gmap-primary);
    border-radius: 50%;
    animation: gmap-spin 0.8s linear infinite;
}

@keyframes gmap-spin {
    to {
        transform: rotate(360deg);
    }
}

.gmap-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--gmap-text-secondary);
    text-align: center;
}

.gmap-no-results .material-symbols-rounded {
    font-size: 40px;
    opacity: 0.5;
    margin-bottom: 8px;
}

/* Results Count */
.gmap-results-count {
    padding: 12px 20px;
    border-top: 1px solid var(--gmap-border);
    font-size: 12px;
    color: var(--gmap-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Map Canvas */
.gmap-map-area {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gmap-map-canvas {
    width: 100%;
    flex: 1;
}

/* Panel Open Button (Desktop) */
.gmap-panel-open-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    width: 40px;
    height: 40px;
    background: var(--gmap-bg);
    border: 1px solid var(--gmap-border);
    border-radius: var(--gmap-radius-sm);
    box-shadow: var(--gmap-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gmap-text);
    transition: all var(--gmap-transition);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
}

.gmap-panel.collapsed~.gmap-map-area .gmap-panel-open-btn {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.gmap-panel-open-btn:hover {
    background: var(--gmap-bg-hover);
    color: var(--gmap-primary);
}

/* InfoWindow / Places Details Styling */
.gmap-place-detail-info {
    margin: -12px -12px 0;
    overflow: hidden;
    border-radius: var(--gmap-radius-sm);
}

.gmap-place-photo {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.gmap-info {
    font-family: var(--gmap-font);
    color: var(--gmap-text);
    width: 280px;
    /* Slimmer and more compact */
    max-width: 100%;
    box-sizing: border-box;
    padding-bottom: 4px;
}

.gmap-info-header {
    padding: 0 14px 8px;
}

.gmap-info-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.25;
    color: var(--gmap-text);
    padding-right: 24px;
    /* Ensure title doesn't overlap the close button */
}

.gmap-place-rating {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gmap-rating-count {
    color: var(--gmap-text-secondary);
    font-weight: 400;
}

.gmap-info-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: capitalize;
    display: inline-block;
    vertical-align: middle;
}

.gmap-info-distance {
    display: inline-flex;
    align-items: center;
    background: #E8F0FE;
    color: #1A73E8;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    vertical-align: middle;
}

.gmap-info-body {
    padding: 4px 14px 0;
}

.gmap-info-desc,
.gmap-info-contact,
.gmap-info-website,
.gmap-info-coords {
    font-size: 12px;
    margin: 0 0 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--gmap-text-secondary);
}

.gmap-info-desc {
    line-height: 1.4;
}

.gmap-info-desc>span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gmap-info-coords {
    font-family: monospace;
    font-size: 11.5px;
    margin-bottom: 12px;
}

.detail-icon {
    font-size: 16px;
    color: var(--gmap-text-secondary);
    margin-top: 1px;
    flex-shrink: 0;
}

.gmap-info-contact a,
.gmap-info-website a {
    color: var(--gmap-primary);
    text-decoration: none;
    word-break: break-all;
}

.gmap-info-contact a:hover,
.gmap-info-website a:hover {
    text-decoration: underline;
}

.gmap-info-hours {
    padding: 0 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gmap-detail-buttons {
    display: flex;
    gap: 8px;
    padding: 4px 14px 8px;
    flex-wrap: wrap;
}

.gmap-info-directions,
.gmap-view-google-maps,
.gmap-info-navigate {
    flex: 1;
    /* Make buttons stretch evenly */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    /* Modern rounded square look instead of pill */
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--gmap-transition), color var(--gmap-transition), opacity var(--gmap-transition);
}

.gmap-info-directions {
    background: var(--gmap-primary);
    color: #ffffff !important;
}

.gmap-info-directions * {
    color: #ffffff !important;
}

.gmap-info-directions:hover {
    background: #3367d6;
}

.gmap-view-google-maps {
    background: var(--gmap-bg-hover);
    border: 1px solid var(--gmap-border);
    color: var(--gmap-text) !important;
}

.gmap-view-google-maps * {
    color: var(--gmap-text) !important;
}

.gmap-view-google-maps:hover {
    background: var(--gmap-border);
}

.gmap-info-navigate {
    background: #34A853;
    color: #ffffff !important;
}

.gmap-info-navigate * {
    color: #ffffff !important;
}

.gmap-info-navigate:hover {
    background: #2b8c44;
}

.gmap-info-navigate.active-nav {
    background: #EA4335;
    color: #ffffff !important;
}

.gmap-info-navigate.active-nav * {
    color: #ffffff !important;
}

.gmap-info-navigate.active-nav:hover {
    background: #c53929;
}

.gmap-info-navigate.loading {
    opacity: 0.85;
    cursor: not-allowed;
}

/* Mobile specific controls */
.gmap-mobile-search-fab,
.gmap-mobile-filter-fab {
    display: none;
}

/* Bottom Sheet */
.gmap-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gmap-bg);
    border-radius: 20px 20px 0 0;
    box-shadow: var(--gmap-shadow-lg);
    transform: translateY(100%);
    transition: transform var(--gmap-transition);
    z-index: 30;
    max-height: 50%;
    overflow-y: auto;
    padding: 0 20px 24px;
    /* Removed top padding, will add to sticky handle */
}

.gmap-bottom-sheet.open {
    transform: translateY(0);
}

.gmap-bottom-sheet-handle {
    width: calc(100% + 40px);
    /* Account for parent's 20px left/right padding */
    margin: 0 -20px;
    height: 24px;
    background-color: var(--gmap-bg);
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gmap-bottom-sheet-handle::before {
    content: "";
    width: 36px;
    height: 4px;
    background: var(--gmap-border);
    border-radius: 2px;
}

.gmap-bottom-sheet-handle:active::before {
    background-color: var(--gmap-text-secondary);
}


.gmap-bottom-sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--gmap-transition);
}

.gmap-bottom-sheet-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Global Floating Map Controls */
.gmap-mobile-controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 15;
    transition: bottom var(--gmap-transition), right var(--gmap-transition);
}

.gmap-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #565a5c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
    user-select: none;
    outline: none;
}

.gmap-control-btn:hover {
    background: #f8f9fa;
    color: #1a73e8;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.gmap-control-btn:active {
    background: #f1f3f4;
    color: #1a73e8;
    transform: scale(0.95);
}

.gmap-control-btn .material-symbols-rounded {
    font-size: 20px;
    font-weight: 500;
}

.gmap-control-btn.loading {
    animation: gmap-pulse 1.2s infinite ease-in-out;
    color: #1a73e8;
}

@keyframes gmap-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================================================================
   Responsive Breakpoints
   ================================================================ */
@media (max-width: 991.98px) {
    .gmap-container {
        flex-direction: column;
        height: 50vh;
        min-height: 45vh;
        max-height: 60vh;
        border-radius: var(--gmap-radius);
        box-shadow: var(--gmap-shadow);
        border: 1px solid var(--gmap-border);
    }

    .gmap-panel {
        display: none;
    }

    /* Mobile Unified Header (Search Card + Scrollable Tags) */
    .gmap-mobile-header {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        z-index: 15;
        display: flex;
        flex-direction: column;
        gap: 8px;
        pointer-events: none;
    }

    .gmap-mobile-search-card {
        display: flex;
        align-items: center;
        background: var(--gmap-bg);
        border-radius: 24px;
        box-shadow: var(--gmap-shadow);
        border: 1px solid var(--gmap-border);
        padding: 4px 12px;
        pointer-events: auto;
    }

    .gmap-mobile-search-card .gmap-search-icon {
        position: static;
        transform: none;
        color: var(--gmap-text-secondary);
        font-size: 20px;
        margin-right: 8px;
    }

    .gmap-mobile-search-card .gmap-search-input {
        border: none;
        padding: 8px 4px;
        box-shadow: none;
        flex: 1;
        font-size: 14px;
        background: transparent;
        color: var(--gmap-text);
        outline: none;
    }

    .gmap-mobile-search-card .gmap-search-clear {
        position: static;
        transform: none;
        background: transparent;
        color: var(--gmap-text-secondary);
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }

    .gmap-mobile-quick-tags-container {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 4px 12px 4px 2px;
        margin-right: -12px;
        pointer-events: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .gmap-mobile-quick-tags-container::-webkit-scrollbar {
        display: none;
    }

    .gmap-mobile-quick-tags-container::after {
        content: "";
        display: block;
        flex: 0 0 16px;
    }

    .gmap-mobile-quick-tags-container .gmap-quick-tag,
    .gmap-mobile-quick-tags-container .gmap-chip {
        flex-shrink: 0;
        box-shadow: var(--gmap-shadow);
        background: var(--gmap-bg);
        border: 1px solid var(--gmap-border);
        border-radius: 16px;
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--gmap-text);
        transition: all var(--gmap-transition);
    }

    .gmap-mobile-quick-tags-container .gmap-quick-tag:active,
    .gmap-mobile-quick-tags-container .gmap-chip.active {
        background: var(--gmap-primary-light);
        border-color: var(--gmap-primary);
        color: var(--gmap-primary);
    }

    /* Bottom Sheet States */
    .gmap-bottom-sheet.peek {
        transform: translateY(calc(100% - 72px));
        overflow-y: hidden;
    }

    .gmap-bottom-sheet.open {
        transform: translateY(0);
        overflow-y: auto;
    }

    .gmap-bottom-sheet.open .gmap-header-chevron {
        transform: rotate(180deg);
    }

    /* Bottom Sheet Back Button */
    .gmap-bottom-sheet-back {
        margin-bottom: 12px;
        border-bottom: 1px solid var(--gmap-border);
        padding-bottom: 8px;
    }

    .gmap-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        color: var(--gmap-primary);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        transition: background var(--gmap-transition);
    }

    .gmap-back-btn:active {
        background: var(--gmap-primary-light);
    }

    /* Mobile Results Listing in Bottom Sheet */
    .gmap-mobile-results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0 12px;
        border-bottom: 1px solid var(--gmap-border);
        font-size: 13px;
        color: var(--gmap-text);
    }

    .gmap-bottom-sheet-clear-btn {
        background: transparent;
        border: none;
        color: var(--gmap-text-secondary);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
        border-radius: 50%;
        transition: background var(--gmap-transition), color var(--gmap-transition);
    }

    .gmap-bottom-sheet-clear-btn:active {
        background: var(--gmap-bg-hover);
        color: var(--gmap-primary);
    }

    .gmap-mobile-results-list {
        display: flex;
        flex-direction: column;
        margin-top: 4px;
        max-height: 112px !important;
        overflow-y: auto !important;
    }

    .gmap-mobile-results-list.has-expanded {
        max-height: none !important;
    }

    .gmap-mobile-results-list .gmap-result-item {
        padding: 8px 4px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        border: none;
        background: transparent;
        text-align: left;
    }

    .gmap-mobile-results-list .gmap-result-item:last-child {
        border-bottom: none;
    }

    /* Custom controls floating on Map (Mobile layout) */
    .gmap-controls-locate {
        right: 12px;
        bottom: 16px;
    }

    .gmap-controls-zoom {
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .gmap-bottom-sheet.peek~.gmap-controls-locate {
        bottom: calc(72px + 16px);
    }

    .gmap-bottom-sheet.open~.gmap-controls-locate {
        bottom: calc(50% + 16px);
    }

    /* Mobile Landmark Labels */
    .gmap-landmark-marker {
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 5px;
    }

    .gmap-landmark-pin {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    .gmap-landmark-title {
        font-size: 9.5px;
    }

    .gmap-landmark-contact {
        font-size: 8px;
    }

    .gmap-landmark-marker.selected {
        padding: 4px 8px 4px 4px;
        border-radius: 8px;
        background: var(--gmap-bg);
        border: 1px solid var(--gmap-primary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
}

/* Override Google InfoWindow padding */
.gm-style .gm-style-iw-c {
    border-radius: var(--gmap-radius) !important;
    padding: 0 !important;
    box-shadow: var(--gmap-shadow) !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
    padding: 12px !important;
}

/* Landmark Labels */
.gmap-landmark-marker {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: transform var(--gmap-transition), background var(--gmap-transition), border-color var(--gmap-transition), box-shadow var(--gmap-transition);
    white-space: nowrap;
    position: relative;
    transform-origin: center bottom;
    transform: translateY(-50%) scale(1);
    animation: gmapScaleFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes gmapScaleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.gmap-landmark-marker:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gmap-border);
    padding: 4px 8px 4px 4px;
    box-shadow: var(--gmap-shadow);
    z-index: 9991 !important;
}

.gmap-landmark-marker:hover .gmap-landmark-title,
.gmap-landmark-marker:hover .gmap-landmark-contact {
    text-shadow: none;
}

.gmap-landmark-marker.selected {
    transform: translateY(-50%) scale(1.08);
    background: var(--gmap-bg);
    border-color: var(--gmap-primary);
    padding: 6px 12px 6px 6px;
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.25);
    z-index: 10000 !important;
}

/* â”€â”€ Simple Pin Marker (No Text Label) â”€â”€ */
.gmap-simple-pin-marker {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
    position: relative;
    z-index: 9000;
}

.gmap-simple-pin-marker:hover {
    transform: scale(1.15);
    z-index: 9991 !important;
}

.gmap-simple-pin-marker.selected {
    transform: scale(1.3);
    z-index: 10000 !important;
}

.gmap-landmark-pin {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Custom Animated Cluster */
.gmap-cluster-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gmap-primary);
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid #FFF;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    animation: gmapScaleFadeInCluster 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gmap-cluster-marker:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@keyframes gmapScaleFadeInCluster {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.gmap-landmark-label {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
    text-align: left;
}

.gmap-landmark-title {
    font-family: var(--gmap-font);
    font-size: 11px;
    font-weight: 700;
    color: #202124;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    transition: text-shadow var(--gmap-transition);
}

.gmap-landmark-contact {
    font-family: var(--gmap-font);
    font-size: 9px;
    color: #5f6368;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    transition: text-shadow var(--gmap-transition);
}

.gmap-landmark-marker.selected .gmap-landmark-title {
    color: var(--gmap-text);
    text-shadow: none;
}

.gmap-landmark-marker.selected .gmap-landmark-contact {
    color: var(--gmap-text-secondary);
    text-shadow: none;
}

/* Cluster Hover Popup */
.gmap-cluster-hover-popup {
    padding: 2px 4px;
    font-family: var(--gmap-font);
    min-width: 150px;
    max-width: 250px;
}

.gmap-cluster-popup-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--gmap-text);
    margin-bottom: 6px;
    border-bottom: 1px solid var(--gmap-border);
    padding-bottom: 4px;
}

.gmap-cluster-popup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}

.gmap-cluster-popup-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gmap-cluster-item-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--gmap-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gmap-cluster-item-contact {
    font-size: 9px;
    color: var(--gmap-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide mobile-only elements on desktop viewports and style controls */
@media (min-width: 992px) {

    .gmap-mobile-header,
    .gmap-bottom-sheet,
    .gmap-bottom-sheet-overlay,
    .gmap-mobile-controls,
    .gmap-controls-locate,
    .gmap-controls-zoom {
        display: none !important;
    }
}

/* Custom Coordinate Routing Section */
.gmap-coordinate-router {
    margin: 12px;
    background: var(--gmap-bg);
    border: 1px solid var(--gmap-border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: var(--gmap-font);
}

.gmap-coord-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    background: #fafafa;
    user-select: none;
    transition: background 0.2s;
}

.gmap-coord-header:hover {
    background: #f0f0f0;
}

.gmap-coord-title {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--gmap-text);
    margin-left: 8px;
}

.gmap-coord-chevron {
    color: var(--gmap-text-secondary);
    font-size: 18px;
    transition: transform 0.2s ease-in-out;
}

.gmap-coord-chevron.expanded {
    transform: rotate(180deg);
}

.gmap-coord-body {
    padding: 12px;
    border-top: 1px solid var(--gmap-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gmap-coord-inputs {
    display: flex;
    gap: 8px;
}

.gmap-coord-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--gmap-border);
    border-radius: 6px;
    font-size: 12px;
    outline: none;
    width: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    font-family: var(--gmap-font);
    transition: border-color 0.2s;
}

.gmap-coord-input:focus {
    border-color: var(--gmap-primary);
}

.gmap-coord-btn {
    background: var(--gmap-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, transform 0.1s;
}

.gmap-coord-btn:hover {
    background: #1565C0;
}

.gmap-coord-btn:active {
    transform: scale(0.98);
}

/* Mobile responsiveness override for InfoWindow and details inside bottom sheet */
@media (max-width: 991.98px) {
    .gmap-info {
        width: 100% !important;
    }

    .gmap-detail-buttons {
        gap: 6px;
        padding: 8px 0px 10px;
    }

    .gmap-info-directions,
    .gmap-view-google-maps,
    .gmap-info-navigate {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 12px;
    }
}

/* ================================================================
   Real-Time Tracking - Blue Dot + Pulse Animation
   ================================================================ */

.gmap-tracking-dot {
    position: relative;
    width: 18px;
    height: 18px;
}

.gmap-tracking-dot-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4285F4;
    border: 2.5px solid #fff;
    box-shadow: 0 1px 6px rgba(66, 133, 244, 0.6);
    z-index: 2;
}

.gmap-tracking-dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.35);
    z-index: 1;
    animation: gmap-pulse 2s ease-out infinite;
}

@keyframes gmap-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

/* Tracking Status Bar */
.gmap-tracking-bar {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gmap-bg);
    border-radius: 24px;
    box-shadow: var(--gmap-shadow-lg);
    font-family: var(--gmap-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--gmap-text);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 90%;
}

.gmap-tracking-bar .gmap-tracking-live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34A853;
    animation: gmap-blink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes gmap-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.gmap-tracking-bar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    color: var(--gmap-text-secondary);
    transition: color 0.2s;
}

.gmap-tracking-bar-btn:hover {
    color: #EA4335;
}

@media (max-width: 767px) {
    .gmap-tracking-bar {
        top: 65px;
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
    }
}

/* ================================================================
   A-to-B Directions Panel
   ================================================================ */

.gmap-directions-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    /* Ensure it covers bottom sheet and search bar */
    background: var(--gmap-bg);
    display: flex;
    flex-direction: column;
    animation: gmap-slideUp 0.3s ease;
}

@keyframes gmap-slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gmap-directions-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--gmap-border);
    background: var(--gmap-bg);
}

.gmap-directions-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gmap-text-secondary);
    flex-shrink: 0;
    margin-top: 8px;
}

.gmap-directions-close:hover {
    color: var(--gmap-text);
}

.gmap-directions-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.gmap-directions-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.gmap-directions-input-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gmap-directions-input-dot.start {
    background: #34A853;
    border: 2px solid #2d9248;
}

.gmap-directions-input-dot.end {
    background: #EA4335;
    border: 2px solid #d33426;
}

.gmap-directions-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gmap-border);
    border-radius: var(--gmap-radius-sm);
    font-family: var(--gmap-font);
    font-size: 14px;
    color: var(--gmap-text);
    background: var(--gmap-bg);
    transition: border-color 0.2s;
    outline: none;
}

.gmap-directions-input:focus {
    border-color: var(--gmap-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.gmap-directions-input::placeholder {
    color: var(--gmap-text-secondary);
}

.gmap-directions-swap {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gmap-bg);
    border: 1.5px solid var(--gmap-border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gmap-text-secondary);
    z-index: 2;
    transition: all 0.2s;
}

.gmap-directions-swap:hover {
    border-color: var(--gmap-primary);
    color: var(--gmap-primary);
    background: var(--gmap-primary-light);
}

.gmap-directions-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.gmap-directions-autocomplete {
    position: absolute;
    top: 100%;
    left: 22px;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: var(--gmap-bg);
    border: 1px solid var(--gmap-border);
    border-radius: var(--gmap-radius-sm);
    box-shadow: var(--gmap-shadow);
    z-index: 25;
    margin-top: 2px;
}

.gmap-directions-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--gmap-font);
    color: var(--gmap-text);
    border-bottom: 1px solid var(--gmap-border);
    transition: background 0.15s;
}

.gmap-directions-autocomplete-item:last-child {
    border-bottom: none;
}

.gmap-directions-autocomplete-item:hover {
    background: var(--gmap-bg-hover);
}

.gmap-directions-autocomplete-item .material-symbols-rounded {
    font-size: 18px;
    color: var(--gmap-text-secondary);
    flex-shrink: 0;
}

.gmap-directions-go-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--gmap-radius-sm);
    background: var(--gmap-primary);
    color: #fff;
    font-family: var(--gmap-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    margin-top: 12px;
}

.gmap-directions-go-btn:hover {
    background: #1565C0;
    transform: translateY(-1px);
}

.gmap-directions-go-btn:disabled {
    background: var(--gmap-text-secondary);
    cursor: not-allowed;
    transform: none;
}

.gmap-directions-route-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--gmap-radius);
    background: var(--gmap-bg-hover);
    border: 1px solid var(--gmap-border);
}

.gmap-directions-route-card h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--gmap-text);
    font-family: var(--gmap-font);
}

.gmap-directions-eta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gmap-directions-eta-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(128, 128, 128, 0.1);
    font-size: 13px;
    font-weight: 600;
    color: var(--gmap-text);
    font-family: var(--gmap-font);
}

@media (max-width: 767px) {
    .gmap-directions-header {
        padding: 12px;
    }

    .gmap-directions-body {
        padding: 12px;
    }
}

.gmap-dir-route-card-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 1050;
    background: var(--gmap-bg);
    border-radius: var(--gmap-radius);
    box-shadow: var(--gmap-shadow-lg);
    padding: 14px 16px;
    font-family: var(--gmap-font);
    animation: gmap-slideUp 0.3s ease;
}

@media (max-width: 767px) {
    .gmap-dir-route-card-overlay {
        top: 75px;
        /* Clear the floating mobile search bar */
    }
}

/* Responsive Enhancements for Very Small Screens */
@media (max-width: 500px) {

    /* Hide secondary metadata */
    .gmap-result-cat,
    .gmap-info-desc,
    .gmap-info-contact,
    .gmap-info-website,
    .gmap-info-hours {
        display: none !important;
    }
}

@media (max-width: 400px) {

    /* Auto-collapse panels / compact view */
    .gmap-bottom-sheet.peek {
        transform: translateY(calc(100% - 50px));
        /* Smaller peek handle */
    }

    .gmap-bottom-sheet-handle {
        padding: 8px 0;
        /* thinner handle */
    }
}

/* Universal Floating Map Controls */
.gmap-custom-controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 15;
    right: 12px;
    bottom: 16px;
    pointer-events: auto;
    transition: bottom var(--gmap-transition), right var(--gmap-transition);
}

.gmap-bottom-sheet.peek~.gmap-custom-controls {
    bottom: calc(72px + 16px);
}

.gmap-bottom-sheet.open~.gmap-custom-controls {
    bottom: calc(50% + 16px);
}

.gmap-theme-control {
    position: relative;
}

.gmap-theme-menu {
    position: absolute;
    right: 48px;
    bottom: 0;
    background: var(--gmap-bg);
    border: 1px solid var(--gmap-border);
    border-radius: var(--gmap-radius);
    box-shadow: var(--gmap-shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 6px;
    gap: 4px;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    min-width: 140px;
    z-index: 20;
}

.gmap-theme-menu.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.gmap-theme-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: none;
    background: transparent;
    color: var(--gmap-text);
    font-family: var(--gmap-font);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    width: 100%;
    text-align: left;
}

.gmap-theme-option:hover {
    background: rgba(128, 128, 128, 0.1);
}

.gmap-theme-option.active {
    background: var(--gmap-primary-light, rgba(37, 99, 235, 0.1));
    color: var(--gmap-primary, #2563eb);
    font-weight: 600;
}

.gmap-theme-preview {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--gmap-border);
    flex-shrink: 0;
}

.gmap-theme-preview.standard {
    background: #c9e9f6;
}

.gmap-theme-preview.dark {
    background: #1f2937;
}

.gmap-theme-preview.retro {
    background: #fdf6e3;
}

.gmap-theme-preview.satellite {
    background: #1a5f7a;
}

/* Travel Modes Selector in directions inputs */
.gmap-travel-modes {
    display: flex;
    background: rgba(128, 128, 128, 0.08);
    border-radius: 20px;
    padding: 3px;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
}

.gmap-travel-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 18px;
    background: transparent;
    border: none;
    color: var(--gmap-text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
}

.gmap-travel-mode-btn:hover {
    color: var(--gmap-text);
}

.gmap-travel-mode-btn.active {
    background: var(--gmap-bg);
    color: var(--gmap-primary, #2563eb);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

/* Route Summary card highlighted transit badge */
.gmap-directions-eta-badge.active {
    background: var(--gmap-primary, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.gmap-directions-eta-badge.active span {
    color: #ffffff !important;
}

/* Custom Premium Toast Notifications */
.gmap-notification {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--gmap-font);
    z-index: 1100;
    animation: gmap-toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    pointer-events: none;
}

.gmap-notification.error {
    background: #ef4444;
}

.gmap-notification.fade-out {
    opacity: 0;
    transform: translate(-50%, -10px);
    transition: opacity 0.3s, transform 0.3s;
}

@keyframes gmap-toastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Custom CSS to style bottom-sheet below the map on mobile and constrain lists to 3 items */
.gmap-bottom-sheet {
    display: none;
}

.gmap-bottom-sheet-overlay {
    display: none;
}

@media (max-width: 991px) {

    .gmap-bottom-sheet,
    .gmap-bottom-sheet.peek,
    .gmap-bottom-sheet.open {
        display: block !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        transition: none !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin: 12px 0 0 0 !important;
        border-radius: 16px !important;
        border: 1px solid var(--gmap-border) !important;
        box-shadow: var(--gmap-shadow) !important;
        padding: 12px !important;
        z-index: 10 !important;
        background: var(--gmap-bg) !important;
    }

    .gmap-bottom-sheet-overlay {
        display: none !important;
    }

    .gmap-bottom-sheet-handle {
        display: none !important;
    }

    /* Constraint results list to max 3 items and make it scrollable */
    .gmap-mobile-results-list {
        max-height: 112px !important;
        /* Exactly 3 items at ~37px each */
        overflow-y: auto !important;
    }

    .gmap-mobile-results-list.has-expanded {
        max-height: none !important;
    }

    /* Ensure scrollbar is visible and nice */
    .gmap-mobile-results-list::-webkit-scrollbar {
        width: 6px !important;
        height: 6px !important;
        display: block !important;
    }

    .gmap-mobile-results-list::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .gmap-mobile-results-list::-webkit-scrollbar-thumb {
        background: var(--gmap-border) !important;
        border-radius: 3px !important;
    }

    .gmap-bottom-sheet-back {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid var(--gmap-border) !important;
    }

    /* Fix locate control position since bottom sheet doesn't overlap it anymore */
    .gmap-controls-locate {
        bottom: 16px !important;
    }
}





/* ================================================================
   landing-page.css
   Owns: Hero, Trending, CTA, How It Works, app layout,
         page transitions, responsive landing behavior.
   Merged from: landing-sections.css + sports-landing.css
   ================================================================ */

/* ================================================================
   Landing Sections Styles
   ================================================================ */

.discovery-grid-container {
    border-bottom: 1px solid var(--bs-border-color-translucent);
}



/* Fixes/adjustments for body state locking during navigation active */
body.nav-locked .gmap-tracking-bar {
    display: none !important;
}

.hide-scrollbar-component::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar-component {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.list-panel-container {
    /* Mirrors .list-panel height (75vh desktop) so both classes can be
       applied to the same element without height conflicts. */
    height: 75vh;
    overflow-y: auto;
}



/* ================================================================
   Sports Landing Styles (merged from sports-landing.css)
   ================================================================ */

/* Legacy custom variables removed in favor of Bootstrap variables */
.app * {
    box-sizing: border-box;
}

.app {
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bs-tertiary-bg);
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    color: var(--bs-body-color);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Page Transitions */
.page {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page.active {
    display: block;
    animation: smoothFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Navbar - Glassmorphism */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.logo {
    font-weight: 800;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #0f172a 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    color: var(--bs-success);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.search-loc {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 60px;
    padding: 10px 22px;
    box-shadow: var(--bs-box-shadow-sm);
    transition: 0.3s ease-in-out;
}

.search-loc:focus-within {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    border-color: var(--bs-success);
}

.search-loc i {
    color: var(--bs-success);
    font-size: 1.1rem;
}

.search-loc input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    width: 240px;
    outline: none;
    font-weight: 500;
    color: var(--bs-body-color);
}

.search-loc input::placeholder {
    color: var(--bs-secondary-color);
}

.nav-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-icons i {
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--bs-body-color);
    transition: 0.3s ease-in-out;
}

.nav-icons i:hover {
    color: var(--bs-success);
    transform: translateY(-2px);
}

.wa-support {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    border-radius: 40px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-support:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Map + Listing Grid */
.discovery-grid {
    background: transparent;
    position: relative;
    padding: 24px;
}

.map-panel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-panel .gmap-wrapper {
    height: 100%;
    width: 100%;
}

.map-panel .gmap-container {
    height: 100% !important;
    max-height: none !important;
    min-height: none !important;
    border-radius: 16px !important;
}

.list-panel {
    background: transparent;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

.list-panel::-webkit-scrollbar {
    width: 6px;
}

.list-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Filter Chips */
.filter-strip {
    padding: 16px 28px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bs-border-color-translucent);
    scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar {
    display: none;
}

.chip {
    background: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.chip i {
    font-size: 0.9rem;
    transition: 0.3s ease-in-out;
}

.chip:hover {
    border-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.chip.active {
    background: linear-gradient(135deg, var(--bs-success), var(--bs-success));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.chip.active i {
    color: white;
}

/* Desktop Ground Cards */
.ground-card {
    display: flex;
    gap: 16px;
    background: white;
    padding: 20px;
    margin: 12px 16px;
    border-radius: var(--bs-border-radius-xl);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--bs-box-shadow-sm);
}

.ground-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-success-bg-subtle);
}

.card-img {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f172a, #064e3b);
    border-radius: var(--bs-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.ground-card h4 {
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
}

.rating {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.price {
    font-weight: 800;
    color: var(--bs-success);
    font-size: 1.05rem;
}

.avail-badge {
    background: var(--bs-success-bg-subtle);
    color: var(--bs-success);
    font-size: 0.7rem;
    border-radius: 99px;
    padding: 4px 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Horizontal Cards */
.mobile-horizontal-cards {
    display: none;
    overflow-x: auto;
    gap: 16px;
    padding: 20px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bs-tertiary-bg) 100%);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mobile-horizontal-cards::-webkit-scrollbar {
    display: none;
}

.mobile-card {
    scroll-snap-align: start;
    min-width: 270px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--bs-box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: 0.3s ease-in-out;
}

.mobile-card.active-card {
    border-color: var(--bs-success);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3), 0 0 0 2px rgba(16, 185, 129, 0.2);
    transform: scale(1.02);
    z-index: 10;
}

.mobile-card:active {
    transform: scale(0.98);
}

.mobile-card h4 {
    margin: 0;
    font-weight: 800;
}

/* Sections & Trending */
.section {
    padding: 60px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.trend-card {
    background: white;
    border-radius: var(--bs-border-radius-xl);
    overflow: hidden;
    box-shadow: var(--bs-box-shadow);
    transition: 0.3s ease-in-out;
    border: 1px solid var(--bs-border-color-translucent);
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bs-box-shadow-lg);
}

.trend-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--bs-success-bg-subtle);
    position: relative;
}

.trend-card h3 {
    margin: 0 0 8px;
    font-weight: 800;
}

/* Live Availability Strip */
.live-strip {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 60px;
    padding: 16px 32px;
    display: flex;
    gap: 32px;
    overflow-x: auto;
    margin: 24px 0;
    color: white;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    scrollbar-width: none;
}

.live-strip::-webkit-scrollbar {
    display: none;
}

.live-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.95rem;
}

.green-pulse {
    width: 12px;
    height: 12px;
    background: var(--bs-success);
    border-radius: 50%;
    animation: smoothPulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
}

@keyframes smoothPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.85);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Detail Page Enhancements */
.detail-banner-new {
    height: 320px;
    background: linear-gradient(135deg, var(--bs-success), var(--bs-success));
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.2);
}

.detail-banner-new::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
    border-radius: 0 0 40px 40px;
}

.detail-banner-new>div {
    position: relative;
    z-index: 2;
}

.detail-banner-new h1 {
    margin: 0 0 8px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.gallery-thumbs {
    display: flex;
    gap: 16px;
    padding: 24px 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumbs>div {
    min-width: 90px;
    height: 90px;
    border-radius: var(--bs-border-radius-xl);
    background: white;
    box-shadow: var(--bs-box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 2px solid var(--bs-border-color-translucent);
    transition: 0.3s ease-in-out;
}

.gallery-thumbs>div:hover {
    transform: scale(1.05);
    border-color: var(--bs-success);
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.amenity-badge {
    background: white;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bs-body-color);
    box-shadow: var(--bs-box-shadow-sm);
    transition: 0.3s ease-in-out;
}

.amenity-badge:hover {
    background: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.amenity-badge i {
    color: var(--bs-success);
}


/* Buttons */
button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: 0.3s ease-in-out;
}

button:active {
    transform: scale(0.96);
}

.btn-wa-sm {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-wa-sm:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.date-pill {
    transition: 0.3s ease-in-out;
}

.date-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--bs-box-shadow-sm);
}

.slot-tile {
    transition: 0.3s ease-in-out;
}

.slot-tile:hover:not(.booked) {
    transform: translateY(-2px);
    border-color: var(--bs-success) !important;
    box-shadow: var(--bs-box-shadow-sm);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .map-panel {
        height: 55vh;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .map-panel .gmap-container {
        border-radius: 0 !important;
    }

    .list-panel {
        display: none;
    }

    .mobile-horizontal-cards {
        display: flex;
    }

    .sticky-nav {
        padding: 12px 16px;
    }

    .search-loc input {
        width: 140px;
    }

    .section {
        padding: 40px 20px;
    }

    .detail-banner-new {
        border-radius: 0 0 24px 24px;
        padding: 24px;
    }

    .detail-banner-new h1 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .mobile-horizontal-cards {
        display: none;
    }

    .map-panel {
        height: 100%;
        min-height: 75vh;
    }

    .list-panel {
        max-height: 75vh;
    }
}


/* ================================================================
   ground-details.css
   Owns: Detail layout, gallery, reviews, pricing, booking UI,
         responsive detail page, success page.
   Used by: GroundBookingDetails.cshtml (standalone MVC page)
   ================================================================ */

/* ================================================================
   Bottom Sheet and Booking Flow Styles
   ================================================================ */


.detail-page {
    background-color: #f9f9ff;
    min-height: 100vh;
    position: relative;
}

.detail-sticky-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7eefe;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    z-index: 50;
    position: sticky;
    top: 0;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f3ff;
    border-radius: 50%;
    cursor: pointer;
    color: #151c27;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #e2e8f8;
}

.detail-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #151c27;
}

.nav-spacer {
    width: 40px;
}

.detail-hero {
    position: relative;
    height: 320px;
    background: url('https://images.unsplash.com/photo-1632300873131-1dd749c83f97?q=80&w=329&auto=format&fit=crop') center/cover;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    overflow: hidden;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 28, 39, 0.9) 0%, rgba(21, 28, 39, 0.2) 60%, transparent 100%);
}

.detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px;
}

.detail-hero-name {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.detail-hero-loc {
    color: #dce2f3;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-rating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-body-container {
    padding: 24px;
}

.sec-block-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #151c27;
    margin-bottom: 16px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.amenity-card {
    background: white;
    border: 1px solid #e7eefe;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.amenity-icon {
    font-size: 1.5rem;
    color: #10b981;
    margin-bottom: 8px;
}

.amenity-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #575e70;
}

.date-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.date-scroll::-webkit-scrollbar {
    display: none;
}

.date-item {
    min-width: 70px;
    border-radius: 20px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.date-item-active {
    background: #10b981;
    color: white;
    border: none;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.date-item-inactive {
    background: white;
    color: #151c27;
    border: 1px solid #e7eefe;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.date-item-day {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.9;
}

.date-item-num {
    font-size: 1.4rem;
    font-weight: 800;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.slot-item {
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s;
}

.slot-item-booked {
    background: #f3f4f6;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    opacity: 0.7;
    cursor: not-allowed;
}

.slot-item-booked .slot-item-time {
    text-decoration: line-through;
}

.slot-item-selected {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
    cursor: pointer;
}

.slot-item-available {
    background: white;
    color: #151c27;
    border: 1px solid #e7eefe;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.slot-item-time {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.slot-item-price {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
}

.sticky-bottom-wa {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px 32px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.cta-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cta-price-label {
    color: #575e70;
    font-weight: 500;
}

.cta-price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #151c27;
}

.cta-btn {
    width: 100%;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-btn.active {
    background: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    pointer-events: auto;
    color: white;
    cursor: pointer;
}

.cta-btn.disabled {
    background: #9ca3af;
    box-shadow: none;
    pointer-events: none;
    color: white;
}

.cta-note {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 12px;
    color: #6b7280;
    font-weight: 500;
}

.detail-bottom-spacer {
    height: 180px;
}

.success-content {
    padding: 40px 20px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
}

.success-booking-card {
    margin-top: 16px;
    padding: 16px;
    background: #f0f3ff;
    border-radius: 16px;
    border: 1px solid #e7eefe;
    font-size: 1rem;
    color: #151c27;
    line-height: 1.6;
    text-align: left;
    display: inline-block;
    min-width: 240px;
}

.success-wa-btn {
    background: #25D366;
    padding: 16px 24px;
    border-radius: 40px;
    margin-top: 16px;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success-wa-btn:hover {
    background: #20ba5a;
}

.success-back-btn {
    margin-top: 24px;
    background: #10b981;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: all 0.2s;
}

.success-back-btn:hover {
    background: #0d9668;
}

/* ================================================================
   Success Page — Booking Confirmation
   Owns: Animations, hero, card slide-up, confetti, summary rows
   ================================================================ */


@keyframes successPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes successCheckIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successCardUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(200px) rotate(720deg);
        opacity: 0;
    }
}

.confetti-dot {
    animation: confettiFall 2.5s ease-in-out infinite;
}

.success-pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: successPulseRing 2s ease-out infinite;
}

.success-check-icon {
    animation: successCheckIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.success-card {
    animation: successCardUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.confetti-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: confettiFall 2.5s ease-in infinite;
    opacity: 0;
}

.success-hero-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e7eefe;
}

.success-hero-row:last-child {
    border-bottom: none;
}

/* ================================================================
   Project Theme Variables
   Scoped to components only, not duplicating Bootstrap vars
   ================================================================ */
:root {
    --primary: #10b981;
    --font-headline: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
}

/* Custom Semantic Classes */
.ground-card-hover {
    transition: all 0.3s ease;
}

.btn-interactive:active {
    transform: scale(0.95);
}

.trending-card-hover {
    transition: all 0.3s ease;
}

.card-thumb-sm {
    width: 2.5rem;
    height: 2.5rem;
}

.tracking-wider-bt {
    letter-spacing: 0.05em;
}

/* Custom Height Utilities */
.h-40vh {
    height: 40vh;
}

.min-h-35vh {
    min-height: 35vh;
}

/* GroundBookingDetails inline styles */
.glass-card {
    background: rgba(21, 32, 49, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.object-fit-cover {
    object-fit: cover;
}

@media (min-width: 768px) {
    .h-md-50vh {
        height: 50vh;
    }

    .position-md-sticky {
        position: sticky;
    }

    .top-md-24 {
        top: 6rem;
    }

    .top-md-20 {
        top: 5rem;
    }
}

.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 20px);
}


/* --- Card & Component Helpers --- */
.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.ground-card-hover:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
}

.trending-card-hover:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trending-card .trending-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.trending-card:hover .trending-overlay {
    background-color: transparent;
}

.transform-scale-110 {
    transform: scale(1.1);
}

/* ================================================================
   Bootstrap Migration - Semantic Component Classes
   Replaces Tailwind-like size/spacing utilities with named classes.
   All component-specific, no duplication with Bootstrap builtins.
   ================================================================ */

/* --- Navigation Bar --- */
.nav-bar-height {
    height: 2.5rem;
}

/* --- Icon Buttons --- */
.icon-btn {
    width: 2rem;
    height: 2rem;
}

.icon-btn-lg {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-circle-lg {
    width: 4rem;
    height: 4rem;
}

/* --- Search Bar --- */
.search-bar-desktop {
    width: 100%;
    max-width: 28rem;
}

.search-input {
    height: 2.5rem;
}

.search-bar-height {
    height: 2.5rem;
}

/* --- Desktop Sidebar List Card Thumb --- */
.card-thumb {
    width: 6rem;
    height: 6rem;
}

/* --- Detail Page Header --- */
.detail-header-height {
    height: 4rem;
}

@media (min-width: 768px) {
    .detail-header-height {
        height: 5rem;
    }
}

/* --- Amenity Icon --- */
.amenity-icon {
    width: 2.5rem;
    height: 2.5rem;
}

/* --- Schedule Date & Slot Grid Items --- */
.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--bs-border-color);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}
.date-item:hover {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
}
.date-item-selected {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}
.date-item-selected .date-month,
.date-item-selected .date-number,
.date-item-selected .date-day {
    color: #fff !important;
}
.date-month { font-size: 0.875rem; font-weight: 500; color: var(--bs-secondary); }
.date-number { font-size: 1.25rem; font-weight: 700; margin: 0.25rem 0; }
.date-day { font-size: 0.875rem; color: var(--bs-secondary); }

.slot-item {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
    background-color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}
.slot-item-available:hover {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}
.slot-item-selected {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}
.slot-item-booked {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary);
    cursor: not-allowed;
    opacity: 0.7;
}

/* --- Chip / Filter Button --- */
.chip {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
    border: none;
}

.chip.active {
    background: var(--bs-success);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.chip:not(.active) {
    background: var(--surface-container-high);
    color: var(--on-surface-variant);
    border: 1px solid var(--surface-container-high);
}

.chip:not(.active):hover {
    background: var(--surface-container);
}

/* --- Live Strip dot --- */
.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* --- Date item button in booking widget --- */
.date-item {
    min-width: 5rem;
    height: 6rem;
}

@media (min-width: 768px) {
    .date-item {
        width: 100%;
    }
}

/* --- Slot feature icons --- */
.slot-icon {
    width: 2.25rem;
    height: 2.25rem;
}

/* --- New Semantic Helpers (from JS dynamic HTML) --- */

/* Slots badge (replaces bg-primary-container) */
.slots-badge {
    background-color: rgba(16, 185, 129, 0.15);
}

/* Slot available state hover */
.slot-available:hover {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Suggestion dropdown item hover */
.suggestion-item {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa !important;
}

/* Search input focus glow */
.mobile-search-input:focus,
.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    border-color: #10b981 !important;
}

/* Card thumb search suggestion */
.card-thumb-sm {
    width: 2.5rem;
    height: 2.5rem;
}

/* Live dot */
.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* Cursor grab for live strip */
.cursor-grab {
    cursor: grab;
}

.cursor-grab:active {
    cursor: grabbing;
}

/* Text dark variant (muted, without Tailwind naming) */
.text-muted-body {
    color: #6c757d !important;
}

/* Font brand utility - used for logo/headline only */
.font-headline {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Inset zero utility - missing from Bootstrap 5.3 */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Pointer events */
.pointer-events-none {
    pointer-events: none !important;
}

/* Book-now button */
.book-now-btn {
    cursor: pointer;
}

/* --- Letter spacing for success page brand text --- */
.letter-spacing-wide {
    letter-spacing: 0.1em !important;
}

/* --- Font headline brand class --- */
.font-headline {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}


/* --- Trending Card Image Area --- */
.trending-card-img {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1eaf5 50%, #c8e6f0 100%);
}

.trending-card-emoji-bg {
    width: 100%;
    height: 100%;
}

.trending-card-emoji {
    font-size: 5rem;
    line-height: 1;
    display: block;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.trending-card:hover .trending-card-emoji {
    transform: scale(1.12);
}


/* --- Animations --- */
@keyframes pulse-opacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.animate-pulse {
    animation: pulse-opacity 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- Success Page Animations --- */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(200px) rotate(360deg);
        opacity: 0;
    }
}

.confetti-dot {
    animation: confetti-fall 2.5s ease-in-out infinite;
}

@keyframes success-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.success-pulse-ring {
    animation: success-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}








/* --- Refactored Semantic JavaScript Templates --- */

/* Detail Dates */
.date-item {
    flex-shrink: 0;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 0.75rem 1rem;
    min-width: 80px;
}

.date-item-selected {
    border: 2px solid var(--bs-primary);
    background-color: var(--bs-primary);
    color: #fff;
}

.date-item-selected:active {
    transform: scale(0.95);
}

.date-item-default {
    border: 1px solid var(--bs-secondary-bg);
    background-color: #fff;
}

.date-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.date-number {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.date-day {
    font-size: 0.875rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.date-item-selected .date-month,
.date-item-selected .date-day {
    color: rgba(255, 255, 255, 0.5);
}

.date-item-default .date-month,
.date-item-default .date-day {
    color: var(--bs-secondary);
}

.date-item-selected .date-number {
    color: #fff;
}

.date-item-default .date-number {
    color: var(--bs-dark);
}

/* Detail Slots */
.slot-item {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.slot-item-booked {
    background-color: var(--bs-light);
    color: var(--bs-secondary);
    cursor: not-allowed;
    border: 1px solid var(--bs-secondary-bg);
    text-decoration: line-through;
}

.slot-item-selected {
    border: 2px solid var(--bs-primary);
    background-color: var(--bs-primary);
    color: #fff;
    font-weight: bold;
}

.slot-item-selected:active {
    transform: scale(0.95);
}

.slot-item-available {
    border: 1px solid var(--bs-secondary-bg);
    background-color: #fff;
    color: var(--bs-dark);
    font-weight: 600;
}

.slot-item-available:hover {
    border-color: var(--bs-primary) !important;
    background-color: #f0fdf4 !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Filter Chips */
.chip {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.chip-active {
    background-color: var(--bs-primary);
    color: #fff;
    border: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.chip-default {
    background-color: var(--bs-light);
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary-bg);
}

/* Desktop Ground Card */
.desktop-ground-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid var(--bs-secondary-bg);
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
}

.desktop-ground-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
}

.card-thumb {
    border-radius: 0.5rem;
    background-color: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.card-body-content {
    flex: 1 1 auto;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--bs-dark);
    margin: 0;
}

.card-price {
    color: var(--bs-primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.card-rating {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

/* Mobile Ground Card */
.mobile-card {
    flex-shrink: 0;
    border-radius: 1rem;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid var(--bs-border-color);
}

.mobile-card-active {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.mobile-card-default {
    border-color: var(--bs-secondary-bg);
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-card-thumb {
    font-size: 2rem;
    background-color: var(--bs-light);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-card-title-wrap {
    flex: 1;
}

.mobile-card-title {
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0;
    color: var(--bs-dark);
}

.mobile-card-rating {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffc107;
    margin-top: 0.25rem;
}

.mobile-card-price {
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.mobile-card-actions {
    display: flex;
    gap: 0.5rem;
}

.view-slots-btn {
    flex-grow: 1;
    background-color: var(--bs-primary);
    color: #fff;
    padding: 0.5rem 0;
    border-radius: 50rem;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 0;
}

.view-slots-btn:active {
    transform: scale(0.95);
}

.nav-btn {
    flex-grow: 1;
    color: #fff;
    padding: 0.5rem 0;
    border-radius: 50rem;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn-locked {
    background-color: var(--bs-danger);
}

.nav-btn-default {
    background-color: var(--bs-success);
}

/* Suggestions Map */
.suggestion-no-results {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: var(--bs-secondary);
    text-align: center;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    background-color: var(--bs-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--bs-secondary-bg);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa !important;
}

.suggestion-thumb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50rem;
    background-color: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.suggestion-content {
    flex-grow: 1;
    overflow: hidden;
}

.suggestion-title {
    font-weight: bold;
    font-size: 0.875rem;
    color: var(--bs-dark);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.suggestion-subtitle {
    font-size: 0.875rem;
    color: var(--bs-secondary);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* --- Live Strip --- */
.live-strip-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 1rem;
}

.live-strip-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-primary);
    font-weight: bold;
    background-color: rgba(16, 185, 129, 0.15);
    /* slots-badge equivalent */
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.875rem;
}

.live-strip-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

/* --- Success Details --- */
.success-hero-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.success-detail-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.success-detail-icon.icon-success {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.success-detail-icon.icon-info {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-info);
}

.success-detail-icon.icon-warning {
    background-color: var(--bs-warning-bg-subtle);
    color: var(--bs-warning);
}

.success-detail-content {
    flex-grow: 1;
}

.success-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--bs-secondary);
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.success-detail-value {
    font-weight: bold;
    color: var(--bs-dark);
    font-size: 0.875rem;
}

.price-decimals {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--bs-secondary);
}

@media (max-width: 767.98px) {
    .mobile-scroll-row {
        width: max-content !important;
        padding-right: 1rem;
    }
}

/* --- New Semantic Classes replacing Tailwind utilities --- */
.hero-image-container {
    height: 40vh;
}

.hero-success-section {
    min-height: 35vh;
}

.booking-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.mobile-booking-footer {
    padding-bottom: env(safe-area-inset-bottom);
}

.scrollable-date-picker {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollable-date-picker::-webkit-scrollbar {
    display: none;
}

.amenity-card-wrapper {
    transition: background-color 0.2s, border-color 0.2s;
}

.amenity-card-wrapper:hover {
    border-color: var(--bs-primary) !important;
}

.filter-chip-selected {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* --- Semantic Live Strip Component Helpers --- */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bs-white);
    display: inline-block;
    animation: pulse-opacity 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.live-icon-hot {
    color: var(--bs-warning);
}

.live-icon-trending {
    color: var(--bs-primary);
}

/* --- Navigate Button State Sync --- */
.navigate-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.navigate-btn.active-nav {
    background-color: var(--bs-danger) !important;
    color: white !important;
    border-color: var(--bs-danger) !important;
}

@media (max-width: 767.98px) {
    .gmap-notification {
        top: 80px !important;
        /* clear the floating header */
        z-index: 1050;
    }
}

/* --- Live Strip Marquee Animations --- */
@keyframes marquee-left-to-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

@keyframes marquee-right-to-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* --- Ground Detail Layout --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
body.nav-locked .gmap-tracking-bar { display: none !important; }

/* Hide external pseudo-element close button injected by global styles */
#successModal::before,
#successModal::after,
#authRequiredModal::before,
#authRequiredModal::after {
    display: none !important;
    content: none !important;
}

@media (min-width: 1024px) {
    .app, .page, .detail-page, .overflow-x-hidden {
        overflow: visible !important;
    }
}

/* --- Modern Ground Detail Layout --- */
.ground-hero {
    height: 320px;
}

@media (min-width: 992px) {
    .ground-hero {
        height: 400px;
    }
}

.ground-hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.amenity-card {
    transition: all 0.2s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--bs-primary) !important;
}

.date-picker-container {
    scrollbar-width: none;
}
.date-picker-container::-webkit-scrollbar {
    display: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.date-pill {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.date-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db !important; /* zinc-300 equivalent */
}

.date-pill-active {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.slot-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.slot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6 !important; /* blue-500 */
}

.slot-selected {
    border-color: #3b82f6 !important; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.hover-border-primary:hover {
    border-color: #3b82f6 !important;
}

.transition-all {
    transition: all 0.2s ease;
}

.z-index-100 {
    z-index: 100;
}

/* Custom CTA Button Styling to override global theme conflicts */
.btn-booking-cta {
    background-color: #3b82f6; /* Blue 500 */
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-booking-cta:hover:not(:disabled) {
    background-color: #1e3a8a; /* Dark Blue 900 */
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-booking-cta:disabled {
    background-color: #d1d5db; /* Gray 300 */
    color: #9ca3af !important; /* Gray 400 */
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Staggered Slot Animation */
@keyframes slotFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal styling tweaks to override uSkinned global modal ::before X button */
#bookingReviewModal::before,
#bookingReviewModal::after {
    display: none !important;
    content: none !important;
}

/* Booking Review Modal */
#bookingReviewModal .booking-review-dialog {
    max-width: 720px;
}

#bookingReviewModal .booking-review-shell {
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

#bookingReviewModal .booking-review-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #16a34a 100%);
    color: #fff;
}

#bookingReviewModal .booking-review-pill {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
}

#bookingReviewModal .booking-review-panel {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

#bookingReviewModal .booking-review-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#bookingReviewModal .booking-review-meta-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 0;
}

#bookingReviewModal .booking-review-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

#bookingReviewModal .booking-review-value {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#bookingReviewModal .booking-review-input {
    border-color: #e5e7eb;
    border-radius: 12px;
    font-size: 13px;
    padding: 0.48rem 0.75rem;
}

#bookingReviewModal .booking-review-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

#bookingReviewModal .booking-review-total {
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
    border: 1px solid rgba(22, 163, 74, 0.22);
    border-radius: 18px;
}

@media (max-width: 575.98px) {
    #bookingReviewModal .modal-dialog {
        align-items: flex-end;
        margin: 0;
        min-height: 100%;
    }

    #bookingReviewModal .booking-review-shell {
        border-radius: 24px 24px 0 0;
        max-height: calc(100vh - 20px);
    }

    #bookingReviewModal .booking-review-body {
        max-height: calc(100vh - 146px);
        overflow-y: auto;
    }

    #bookingReviewModal .booking-review-meta {
        grid-template-columns: 1fr;
    }
}