        /* Map Page Specific Styles */
        body.map-page {
            overflow: hidden;
        }

        /* Completely hide navbar and menu by default on map page */
        body.map-page .layout-navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            width: 100%;
            height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-100%);
            transition: height 0s 0.3s, opacity 0.3s ease, transform 0.3s ease;
        }

        body.map-page .layout-navbar.show {
            height: auto;
            overflow: visible;
            opacity: 1;
            transform: translateY(0);
            transition: height 0s, opacity 0.3s ease, transform 0.3s ease;
        }

        body.map-page .layout-menu-horizontal {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            z-index: 999;
            background: white;
            width: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-100%);
            transition: height 0s 0.3s, opacity 0.3s ease, transform 0.3s ease;
        }

        body.map-page .layout-menu-horizontal.show {
            height: auto;
            overflow: visible;
            opacity: 1;
            transform: translateY(0);
            transition: height 0s, opacity 0.3s ease, transform 0.3s ease;
        }

        /* Navbar Toggle Button - Inside Map */
        .navbar-toggle-btn {
            position: absolute;
            top: 60px;
            left: 10px;
            z-index: 10;
            width: 48px;
            height: 48px;
            background: white;
            color: #2d3436;
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .navbar-toggle-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            background: #f8f9fa;
        }

        .navbar-toggle-btn:active {
            transform: scale(0.95);
        }

        .navbar-toggle-btn.active {
            background: #4F78FB;
            color: white;
        }

        /* Adjust map container when navbar is shown */
        body.map-page.navbar-visible .map-container {
            height: calc(100vh - 128px);
            margin-top: 128px;
            transition: all 0.3s ease;
        }

        body.map-page .map-container {
            height: 100vh;
            margin-top: 0;
            transition: all 0.3s ease;
        }

        /* Override template padding for map page - FORCE NO SPACING */
        body.map-page .content-wrapper {
            padding: 0 !important;
            margin: 0 !important;
        }

        body.map-page .layout-page {
            padding: 0 !important;
            margin: 0 !important;
            min-height: 100vh !important;
        }

        body.map-page .layout-container {
            padding: 0 !important;
            margin: 0 !important;
            min-height: 100vh !important;
        }

        /* Force layout wrapper to have no padding */
        body.map-page .layout-wrapper {
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Remove ALL gaps */
        body.map-page .layout-navbar,
        body.map-page .layout-menu-horizontal {
            margin: 0 !important;
        }

        body.map-page .layout-navbar .navbar {
            margin: 0 !important;
            margin-bottom: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        body.map-page .layout-navbar .navbar-detached {
            margin: 0 !important;
            margin-bottom: 0 !important;
        }

        /* Ensure no gap between navbar and menu */
        body.map-page .layout-navbar {
            margin-bottom: 0 !important;
        }

        body.map-page .layout-navbar>* {
            margin-bottom: 0 !important;
        }

        body.map-page .layout-menu-horizontal {
            margin-top: 0 !important;
        }

        body.map-page .layout-navbar .container-xxl,
        body.map-page .layout-menu-horizontal .container-xxl {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }

        body.map-page #layout-menu {
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Override horizontal menu template padding */
        body.map-page .layout-wrapper.layout-navbar-full .layout-page {
            padding-top: 0 !important;
        }

        .layout-wrapper.layout-navbar-full.layout-horizontal .layout-page {
            padding-top: 0 !important;
        }

        body.map-page.layout-navbar-full .layout-page {
            padding-top: 0 !important;
        }

        /* REMOVE padding when navbar is visible - let it be pure overlay */
        body.map-page.navbar-visible .layout-page {
            padding-top: 0 !important;
        }

        /* Hide content-backdrop on map page */
        body.map-page .content-backdrop {
            display: none !important;
        }

        .map-container {
            height: calc(100vh - 130px);
            width: 100%;
            display: flex;
            gap: 0;
            margin: 0;
            padding-top: 0;
            position: fixed;
            top: 130px;
            left: 0;
            overflow: hidden;
        }

        .properties-list {
            width: 45%;
            overflow-y: auto;
            background: #f8f9fa;
            padding: 20px;
        }

        .map-wrapper {
            width: 55%;
            position: relative;
        }

        #map {
            width: 100%;
            height: 100%;
        }

        /* Ensure mapbox canvas fills the entire map container */
        .mapboxgl-canvas {
            width: 100% !important;
            height: 100% !important;
        }

        .search-header {
            background: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .search-bar {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .search-input-wrapper {
            flex: 1;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 40px 12px 45px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }

        .filter-btn {
            padding: 12px 20px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .filter-btn:hover {
            background: #f8f9fa;
            border-color: #4F78FB;
        }

        .filter-btn.active {
            background: #4F78FB;
            color: white;
            border-color: #4F78FB;
        }

        /* View Mode Toggle */
        .view-mode-toggle {
            display: flex;
            gap: 8px;
            background: #f0f0f0;
            padding: 4px;
            border-radius: 8px;
        }

        .view-mode-btn {
            padding: 8px 16px;
            border: none;
            background: transparent;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
            color: #666;
            font-size: 14px;
        }

        .view-mode-btn:hover {
            color: #333;
        }

        .view-mode-btn.active {
            background: white;
            color: #4F78FB;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Filter Dropdown */
        .filter-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 20px;
            width: 320px;
            z-index: 1000;
            display: none;
        }

        .filter-dropdown.show {
            display: block;
        }

        .filter-section {
            margin-bottom: 20px;
        }

        .filter-section:last-child {
            margin-bottom: 0;
        }

        .filter-label {
            font-weight: 600;
            font-size: 14px;
            color: #2d3436;
            margin-bottom: 10px;
            display: block;
        }

        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .filter-option {
            padding: 8px 16px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            background: white;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.3s;
        }

        .filter-option:hover {
            border-color: #4F78FB;
            color: #4F78FB;
        }

        .filter-option.selected {
            background: #4F78FB;
            color: white;
            border-color: #4F78FB;
        }

        .price-range-inputs {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .price-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 13px;
        }

        .filter-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }

        .filter-reset {
            flex: 1;
            padding: 10px;
            border: 1px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }

        .filter-reset:hover {
            background: #f8f9fa;
        }

        .filter-apply {
            flex: 1;
            padding: 10px;
            border: none;
            background: #4F78FB;
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .filter-apply:hover {
            background: #3d66e8;
        }

        .view-toggle {
            display: flex;
            gap: 10px;
        }

        .toggle-btn {
            padding: 10px 20px;
            border: 1px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .toggle-btn.active {
            background: #4F78FB;
            color: white;
            border-color: #4F78FB;
        }

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

        .results-title {
            font-size: 24px;
            font-weight: 600;
            color: #2d3436;
        }

        .results-count {
            color: #636e72;
            font-size: 14px;
        }

        .sort-dropdown {
            padding: 8px 15px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
        }

        /* Property List Container */
        #propertyList {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        #propertyList.grid-view {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        #propertyList.list-view {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .property-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            cursor: pointer;
            border: 2px solid transparent;
        }

        .property-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            border-color: #4F78FB;
        }

        /* Grid View Specific Styles */
        #propertyList.grid-view .property-card {
            margin-bottom: 0;
        }

        #propertyList.grid-view .property-image {
            height: 180px;
        }

        #propertyList.grid-view .property-content {
            padding: 16px;
        }

        #propertyList.grid-view .agent-info {
            display: none;
            /* Hide agent info in grid view to save space */
        }

        #propertyList.grid-view .property-price {
            font-size: 22px;
            margin-bottom: 10px;
        }

        #propertyList.grid-view .property-specs {
            gap: 12px;
            margin-bottom: 10px;
        }

        #propertyList.grid-view .spec-item {
            font-size: 12px;
        }

        #propertyList.grid-view .property-address {
            font-size: 12px;
            margin-bottom: 10px;
        }

        #propertyList.grid-view .property-footer {
            padding-top: 10px;
        }

        #propertyList.grid-view .listed-by {
            font-size: 11px;
        }

        /* List View Styles */
        .property-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .property-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .image-count {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .property-status {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #4F78FB;
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
        }

        .property-content {
            padding: 20px;
        }

        .agent-info {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .agent-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .agent-details {
            flex: 1;
        }

        .agent-name {
            font-weight: 600;
            font-size: 14px;
            color: #2d3436;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .verified-badge {
            color: #00b894;
        }

        .agent-phone {
            font-size: 12px;
            color: #636e72;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .property-price {
            font-size: 28px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 12px;
        }

        .property-specs {
            display: flex;
            gap: 20px;
            margin-bottom: 12px;
        }

        .spec-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: #636e72;
        }

        .property-address {
            font-size: 13px;
            color: #636e72;
            margin-bottom: 12px;
        }

        .property-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid #f0f0f0;
        }

        .listed-by {
            font-size: 12px;
            color: #95a5a6;
        }

        .action-buttons {
            display: flex;
            gap: 10px;
        }

        .action-btn {
            width: 36px;
            height: 36px;
            border: 1px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .action-btn:hover {
            background: #4F78FB;
            color: white;
            border-color: #4F78FB;
        }

        /* Compact Marker - Closed State */
        .map-marker-compact {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            width: 60px;
            position: relative;
        }

        .map-marker-compact:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }

        .map-marker-image {
            width: 60px;
            height: 60px;
            object-fit: cover;
            display: block;
        }

        /* Mapbox Popup Styling */
        .mapboxgl-popup-content {
            padding: 0 !important;
            border-radius: 12px !important;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
            min-width: 280px;
        }

        .mapboxgl-popup-close-button {
            font-size: 24px;
            padding: 8px 12px;
            color: #666;
            z-index: 10;
            background: white;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 8px;
        }

        .mapboxgl-popup-close-button:hover {
            background: #f0f0f0;
            color: #333;
        }

        .mapboxgl-popup-tip {
            border-top-color: white !important;
        }

        /* Property Popup Card */
        .property-popup-card {
            background: white;
            width: 280px;
        }

        .property-popup-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
            position: relative;
        }

        .property-popup-status {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #4F78FB;
            color: white;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 600;
        }

        .property-popup-favorite {
            position: absolute;
            top: 12px;
            right: 12px;
            background: white;
            color: #666;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .property-popup-favorite:hover {
            color: #4F78FB;
        }

        .property-popup-content {
            padding: 16px;
        }

        .property-popup-price {
            font-size: 22px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 8px;
        }

        .property-popup-specs {
            display: flex;
            gap: 12px;
            margin-bottom: 8px;
            font-size: 13px;
            color: #636e72;
        }

        .property-popup-spec-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .property-popup-address {
            font-size: 12px;
            color: #95a5a6;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        /* Rute Button */
        .get-directions-btn {
            width: 100%;
            padding: 10px 16px;
            background: #4F78FB;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .get-directions-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 120, 251, 0.4);
        }

        .get-directions-btn:active {
            transform: translateY(0);
        }

        .get-directions-btn.active {
            background: #e74c3c;
        }

        /* Route Info Panel */
        .route-info-panel {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(150px);
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            padding: 20px 30px;
            display: flex;
            align-items: center;
            gap: 30px;
            z-index: 100;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .route-info-panel.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            pointer-events: auto;
        }

        .route-info-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .route-info-icon {
            width: 48px;
            height: 48px;
            background: #4F78FB;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
        }

        .route-info-details {
            display: flex;
            flex-direction: column;
        }

        .route-info-label {
            font-size: 12px;
            color: #95a5a6;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .route-info-value {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-top: 2px;
        }

        .route-info-divider {
            width: 1px;
            height: 40px;
            background: #e0e0e0;
        }

        .route-close-btn {
            width: 36px;
            height: 36px;
            background: #f8f9fa;
            border: none;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #636e72;
            font-size: 20px;
            transition: all 0.3s;
            margin-left: 10px;
        }

        .route-close-btn:hover {
            background: #e74c3c;
            color: white;
            transform: scale(1.1);
        }

        .map-controls {
            position: absolute;
            top: 190px;
            right: 10px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 10;
        }

        .map-control-btn {
            width: 29px;
            height: 29px;
            background: white;
            border: none;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            color: #2d3436;
            font-size: 16px;
        }

        .map-control-btn:hover {
            background: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .map-control-btn:active {
            transform: translateY(0);
        }

        .map-control-btn.active {
            background: #4F78FB;
            color: white;
        }

        /* Geocoder Search Box */
        .mapboxgl-ctrl-geocoder {
            min-width: 240px;
            max-width: 360px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
            border-radius: 10px !important;
        }

        .mapboxgl-ctrl-geocoder--input {
            height: 44px !important;
            padding: 6px 45px !important;
            font-size: 14px !important;
            border-radius: 10px !important;
        }

        .mapboxgl-ctrl-geocoder--icon-search {
            top: 13px !important;
            left: 12px !important;
        }

        /* Location Loading Indicator */
        .location-loading {
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Mobile Sidebar Toggle Button */
        .mobile-sidebar-toggle {
            display: none;
            /* Hidden by default on desktop */
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 1001;
            width: 56px;
            height: 56px;
            background: #4F78FB;
            color: white;
            border: none;
            border-radius: 50%;
            box-shadow: 0 4px 16px rgba(79, 120, 251, 0.4);
            cursor: pointer;
            font-size: 24px;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .mobile-sidebar-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(79, 120, 251, 0.6);
        }

        .mobile-sidebar-toggle:active {
            transform: scale(0.95);
        }

        @media (max-width: 1024px) {
            .map-container {
                flex-direction: column;
            }

            .properties-list,
            .map-wrapper {
                width: 100%;
            }

            .map-wrapper {
                height: 400px;
            }

            /* Grid becomes 2 columns on tablet */
            #propertyList.grid-view {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {

            /* Full screen map on mobile */
            .map-container {
                flex-direction: row;
                position: relative;
            }

            /* Remove margin-top on mobile even when navbar is visible */
            body.map-page.navbar-visible .map-container {
                margin-top: 0 !important;
                height: 100vh !important;
            }

            /* Mobile-specific navbar and menu styling */
            body.map-page .layout-navbar {
                z-index: 2000 !important;
            }

            body.map-page .layout-menu-horizontal {
                z-index: 1999 !important;
                top: 56px !important;
                /* Adjust for mobile navbar height */
            }

            /* Ensure navbar toggle button is above everything on mobile */
            .navbar-toggle-btn {
                z-index: 2001 !important;
                top: 60px !important;
                left: 10px !important;
            }

            .map-wrapper {
                width: 100%;
                height: 100vh;
                position: relative;
            }

            /* Sidebar as overlay */
            .properties-list {
                position: fixed;
                left: -100%;
                top: 0;
                width: 85%;
                max-width: 400px;
                height: 100vh;
                z-index: 1000;
                background: #f8f9fa;
                transition: left 0.3s ease;
                box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
                overflow-y: auto;
            }

            .properties-list.active {
                left: 0;
            }

            /* Show mobile toggle button */
            .mobile-sidebar-toggle {
                display: flex;
            }

            /* Hide sidebar toggle when sidebar is open */
            .properties-list.active~.map-wrapper .mobile-sidebar-toggle {
                display: none;
            }

            /* Force list view on mobile */
            #propertyList.grid-view {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }

            /* Hide view mode toggle on mobile */
            .view-mode-toggle {
                display: none;
            }

            /* Adjust search header for mobile */
            .search-header {
                padding: 15px;
                margin-bottom: 15px;
            }

            .search-bar {
                flex-direction: column;
                gap: 10px;
            }

            .view-toggle {
                flex-wrap: wrap;
                gap: 8px;
            }

            .toggle-btn {
                padding: 8px 16px;
                font-size: 13px;
            }

            .results-header {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 12px;
            }

            .results-title {
                font-size: 20px;
            }

            .filter-dropdown {
                width: 280px;
                right: auto;
                left: 0;
            }

            /* Adjust property cards for mobile sidebar */
            .property-card {
                margin-bottom: 0;
            }

            .property-image {
                height: 180px;
            }

            /* Adjust route info panel for mobile */
            .route-info-panel {
                bottom: 90px;
                left: 50%;
                transform: translateX(-50%) translateY(150px);
                padding: 15px 20px;
                gap: 20px;
                max-width: calc(100% - 40px);
            }

            .route-info-panel.show {
                transform: translateX(-50%) translateY(0);
            }

            .route-info-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .route-info-value {
                font-size: 16px;
                width: max-content;
            }

            .route-info-label {
                font-size: 11px;
            }
        }

        /* Responsive: Tablet & Mobile - Fullscreen Map */
        @media (max-width: 1024px) {
            .map-container {
                height: 100vh;
                top: 0;
            }

            /* Hide navbar on mobile/tablet for map page */
            header {
                display: none;
            }
        }

        /* Mobile Specific Adjustments */
        @media (max-width: 768px) {
            .map-container {
                height: 100vh;
                top: 0;
            }

            .properties-list {
                width: 100%;
                position: fixed;
                left: -100%;
                top: 0;
                height: 100vh;
                z-index: 1000;
                transition: left 0.3s ease;
            }

            .properties-list.active {
                left: 0;
            }

            .map-wrapper {
                width: 100%;
            }
        }