/* Font Faces */
@font-face { font-family: "Sans-Regular"; src: url("font/GoogleSans-Regular.ttf"); }
@font-face { font-family: "Sans-Bold"; src: url("font/GoogleSans-Bold.ttf"); }

/* Base & Reset */
html, body { overscroll-behavior: none; -webkit-user-select: none !important; -webkit-touch-callout: none !important; user-select: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; display: block; justify-content: center; align-items: center; background-color: #ffffff; font-family: 'Sans-Regular', sans-serif; }

/* Container */
#container { max-width: 600px; width: 100%; height: 100dvh; position: relative; overflow: auto; }

/* Map */
#map { height: 100%; width: 100%; }

/* Controls */
.controls { position: absolute; z-index: 1000; border-radius: 6px; padding: 20px; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; background: #ffffff; width: 90%; top: 10px; left: 50%; transform: translateX(-50%); }
.controls h2 { font-size: 16px; margin-left: 8px; margin-bottom: 8px; }
.controls.with-instructions { top: 80px; }

/* Instruction Panel */
.instruction-panel { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 999; background: white; border-radius: 6px; padding: 10px 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); display: none; margin-bottom: 10px; }
.instruction-panel.active { display: block; }
.instruction-text { font-size: 14px; color: #333; font-weight: 500; margin: 0; }
.instruction-distance { font-size: 12px; color: #666; margin-top: 2px; }

/* Control Groups */
.control-group { margin-bottom: 10px; }
.control-group:last-child { margin-bottom: 0; }
.button-row { display: flex; gap: 10px; }

/* Click Nearest */
.click-nearest { display: flex; gap: 12px; margin-top: 10px; margin-left: 10px; }
.click-nearest img:hover { opacity: 0.7; transform: scale(1.1); transition: all 0.2s; }

/* Search Container */
.search-container { position: relative; flex: 1; }
.search-container input[type="text"] { padding-right: 40px; }

/* Inputs */
input[type="text"] { width: 100%; padding: 12px; border: 0.7px solid #e0e0e0; border-radius: 25px; font-size: 16px; outline: none; }
input[type="text"]:focus { border-color: #007bff; }

/* Search Results */
.search-results { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 0.7px solid #e0e0e0; border-top: none; border-radius: 0 0 6px 6px; max-height: 300px; overflow-y: auto; z-index: 1001; display: none; }
.search-result-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.search-result-item:hover { background-color: #f8f9fa; }
.search-result-item:last-child { border-bottom: none; }
.result-name { font-weight: bold; margin-bottom: 2px; }
.result-address { font-size: 12px; color: #666; }

/* Buttons */
button { padding: 12px; border: none; border-radius: 25px; font-size: 14px; cursor: pointer; font-weight: bold; transition: background-color 0.2s; }
.btn-primary { background-color: #007bff; color: white; }
.btn-primary:hover { background-color: #28a745; }
.btn-active { background-color: #218838; color: white; min-width: 100px; border-radius: 50px; padding: 15px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); margin-left: 15px; }
.btn-active.active { background-color: #dc3545; }
.btn-active.active:hover { background-color: #c82333; }

/* Route Button Container */
.route-button-container { display: none; margin-top: 10px; }

/* Split Button */
.split-button { display: flex; width: 100%; position: relative; }
.split-button-main { flex: 1; background-color: #4285F4; color: white; border-radius: 25px 0 0 25px; border-right: 1px solid rgba(255,255,255,0.3); }
.split-button-main:hover { background-color: #4285F4; }
.split-button-dropdown { background-color: #4285F4; color: white; border-radius: 0 25px 25px 0; padding: 12px 10px; min-width: 40px; display: flex; align-items: center; justify-content: center; }
.split-button-dropdown:hover { background-color: #4285F4; }

/* Dropdown Menus */
.dropdown-menu { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; z-index: 1002; display: none; margin-top: 2px; }
.dropdown-item { padding: 12px 15px; cursor: pointer; border-bottom: 1px solid #f0f0f0; font-size: 14px; transition: background-color 0.2s; }
.dropdown-item:hover { background-color: #f8f9fa; }
.dropdown-item:last-child { border-bottom: none; border-radius: 0 0 6px 6px; }
.dropdown-item:first-child { border-radius: 6px 6px 0 0; }
.dropdown-item.active { background-color: #007bff; color: white; }
.dropdown-item.active:hover { background-color: #0056b3; }

/* Sub Dropdown Menu */
.sub-dropdown-menu { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1003; display: none; margin-top: 2px; max-height: 150px; overflow-y: auto; }
.sub-dropdown-item { padding: 8px 15px; cursor: pointer; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #666; }
.sub-dropdown-item:hover { background-color: #f8f9fa; }
.sub-dropdown-item.active { background-color: #007bff; color: white; }

/* Status */
.status { margin-top: 10px; padding: 8px; border-radius: 6px; font-size: 12px; text-align: center; }
.status.loading { background-color: #fff3cd; color: #856404; }
.status.success { background-color: #d1edff; color: #0c5460; }
.status.error { background-color: #f8d7da; color: #721c24; }

/* Utility */
.hidden { display: none; }

/* Dropdown Search Container */
.dropdown-search-container { padding: 10px; }
.dropdown-search-container input[type="text"] { margin-bottom: 0; }
.dropdown-search-container .search-results { position: static; border: 1px solid #e0e0e0; border-radius: 6px; margin-top: 5px; }

/* Leaflet Controls */
.leaflet-control-zoom { margin-bottom: 100px !important; margin-right: 10px; }
.leaflet-control-rotate { bottom: 200px !important; right: 18px !important; background: white !important; width: 22px !important; height: 22px !important; border: none !important; border-radius: 12px !important; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px !important; opacity: 0 !important; }
.leaflet-control.leaflet-control-attribution { display: none !important; }
.leaflet-control-zoom, .leaflet-control-zoom.leaflet-bar.leaflet-control, .leaflet-control-zoom a { display: none !important; visibility: hidden !important; pointer-events: none !important; }
.leaflet-top { position: absolute !important; top: 196px !important; left: 20px !important; right: auto !important; z-index: 999; }

@media (min-width: 601px) {
    .leaflet-top {
        top: 150px !important;
        left: 17px !important;
    }
}

.leaflet-control-better-scale { z-index: 993 !important; }
.leaflet-control-better-scale-ruler { z-index: 993 !important; }
.leaflet-left { z-index: 993 !important; }

/* Navigation Steps */
.nav-steps {
  position: fixed;
  bottom:0;
  left:0;
  right:0;
  z-index: 1100;
  background: #00654f;
  color: white;
  padding: 15px 20px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  border-radius:16px 16px 0 0;
  height: 140px;
}
.step-text { font-size: 20px; margin-bottom: 10px; margin-top: 0px; margin-left: 8px;}
.step-top-row { display: flex; align-items: center; gap: 4px; }
.typeSign { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.typeSign img { width: 30px; height: 30px; filter: invert(1); }
.step-distance { flex-shrink: 0; font-size: 36px; font-weight: bold; opacity: 1.0; padding: 4px; min-width: 120px; max-width: 160px; text-align: left; border-radius: 6px; }

/* Start Button Container */
.start-button-container { display: flex; align-items: center; justify-content: space-between; padding: 20px; background: #ffffff; border-radius: 6px; margin-top: 10px; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: 560px; width: calc(100% - 40px); z-index: 1001; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; }
.route-summary { flex: 1; font-size: 24px; }
#summaryDistance { font-weight: bold; color: black; }
#summaryDuration { color: #666; font-size: 16px;  }

/* Stop Button Container */
.stop-button-container {
  position: absolute;
  top: -18px;
  right: 16px;
  z-index: 1102;
}

/* Location Icon */
.location-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; cursor: pointer; z-index: 10; }

/* Footer */
.footerRB { position: absolute; z-index: 999; width: 90px; padding: 4px; bottom: 30px; left: 50%; transform: translateX(-50%); cursor: pointer; color: white; box-sizing: border-box; border-radius: 6px; outline: none; user-select: none; text-shadow: 2px 2px 4px black; font-size: 18px; font-family: 'Sans-Regular', sans-serif; }
.footerRB a { text-decoration: none; color: inherit; }

/* Information Box */
.informationBox { position: absolute; z-index: 999; width: 30px; bottom: 30px; right: 10px; cursor: pointer; }

/* Copyright */
.copyright { position: absolute; z-index: 999; bottom: 10px; right: 10px; font-size: 12px; z-index: 993; }
p .copy { font-size: 20px; display: inline-block; position: relative; top: 6px; }

/* Recenter Button */
.recenter-button { position: absolute; top: 20px; right: 10px; z-index: 1001; background: white; border: 0.7px solid #e0e0e0; border-radius: 25px; padding: 12px 20px; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; cursor: pointer; font-size: 14px; font-weight: bold; color: black; display: none; }
.recenter-button:hover { background-color: #f5f5f5; }

/* Layer Menu */
#layerMenu { position: absolute !important; top: 270px !important; left: 20px !important; right: auto !important; z-index: 996; max-height: 350px; overflow: scroll; }

@supports (-webkit-touch-callout: none) {
    #layerMenu {
        max-height: 260px;
    }
}

@media (min-width: 601px) {
    #layerMenu {
        top: 220px !important;
        left: 16px !important;
    }
}

/* Weather Widget */
.weather-widget { position: absolute; top: 10px; right: 10px; z-index: 999; background: white; border-radius: 8px; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); display: none; min-width: 60px; }
.weather-widget img { width: 20px; height: 20px; display: block; margin: 0 auto 0px; }
.weather-widget .weather-desc { text-align: center; font-size: 10px; color: #333; font-weight: 500; }

/* Legend Container */
.legend-container { position: absolute; bottom: 5px; margin: 0 auto; z-index: 998; background: white; border-radius: 6px; padding: 6px 8px; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; display: none; max-width: 90%; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; -ms-overflow-style: none; }
.legend-container::-webkit-scrollbar { display: none; }
.legend-container.active { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
.legend-item { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #333; flex-shrink: 0; }
.legend-item img { width: 16px; height: 16px; flex-shrink: 0; }

/* Data Layer Modal */
.data-layer-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 2000; justify-content: center; align-items: center; }
.data-layer-modal.active { display: flex; }
.modal-content { background: white; border-radius: 12px; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.modal-header { padding: 20px; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { margin: 0; font-size: 20px; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: #f5f5f5; }
.modal-body { padding: 20px; }
.modal-section { margin-bottom: 30px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title { font-size: 14px; font-weight: 600; color: #666; margin-bottom: 15px; text-transform: uppercase; }
.modal-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.modal-data-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; padding: 15px 10px; border-radius: 8px; transition: background 0.2s; }
.modal-data-item:hover { background: #f5f5f5; }
.modal-data-item.active { background: #e8f0fe; }
.modal-data-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f0f0f0; }
.modal-data-icon img { width: 40px; height: 40px; }
.modal-data-name { font-size: 13px; font-weight: 500; text-align: center; }

/* Info Modal */
.info-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 2001; justify-content: center; align-items: center; }
.info-modal.active { display: flex; }
.info-modal-content { background: white; border-radius: 12px; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); padding: 20px; }
.info-modal-close { float: right; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 20px; }
.info-modal-content li { margin-left: 30px; }

/* Location Info Box */
.location-info-box { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: white; border-radius: 12px; padding: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); z-index: 2000; max-width: 90%; width: 400px; display: none; }
.location-info-box.active { display: block; }
.location-info-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.location-info-title { font-size: 16px; font-weight: bold; margin: 0; flex: 1; }
.location-info-close { background: none; border: none; font-size: 16px; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-top: -10px; margin-right: -10px; }
.location-info-close:hover { background: #f5f5f5; }
.location-info-address { font-size: 14px; color: #666; margin-bottom: 8px; }
.location-info-coords { font-size: 12px; color: #999; }
.location-info-actions { display: flex; gap: 10px; margin-top: 8px; }
.location-info-btn { flex: 1; padding: 8px; border: none; border-radius: 25px; cursor: pointer; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: normal; max-width: 150px; }
.location-info-btn.primary { background: #4285F4; color: white; }
.location-info-btn.secondary { background: #f0f0f0; color: #333; }

/* Lokasi Terkini */
.lokasiTerkini { position: absolute; z-index: 999; border-radius: 25px; padding: 2px; box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; background: #ffffff;
  bottom: 74px; right: 14px; cursor: pointer; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* Mode Link */
.mode-link { cursor: pointer; opacity: 0.5; transition: opacity 0.2s; }
.mode-link:hover { opacity: 0.7; }
.mode-link.active { opacity: 1; font-weight: bold; }

/* Search Mode Content */
#searchModeContent { display: none; }

/* ========================================
   MEDIA QUERIES - MOBILE (max-width: 600px)
   ======================================== */
@media (max-width: 600px) {
    .modal-data-grid { grid-template-columns: repeat(2, 1fr); }
    .weather-widget { top: 206px; right: 20px; }
}



.sidebar-overlay { display: none; }
.sidebar { display: none; }
.sidebar-mini { display: none; }

@media (min-width: 601px) {
    .sidebar-mini {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 64px;
        height: 100vh;
        background: #eff5f6;
        z-index: 1200;
        box-shadow: 2px 0 6px rgba(0,0,0,0.15);
        padding: 8px 0;
        gap: 4px;
    }
    .sidebar-mini-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        cursor: pointer;
        gap: 4px;
        transition: background 0.15s;
    }
    .sidebar-mini-item:hover { background: #f5f5f5; }
    .sidebar-mini-item img {
        width: 22px;
        height: 22px;
        opacity: 1;
    }
    .sidebar-mini-item span {
        font-size: 8px;
        color: #555;
        text-align: center;
    }
    /* burger icon lines */
    #burgerBtn {
        padding: 12px 0;
        gap: 5px;
    }
    #burgerBtn span {
        display: block;
        width: 18px;
        height: 2px;
        background: #333;
        border-radius: 2px;
    }
    /* push controls away from mini sidebar */
    .controls {
        left: 80px !important;
    }
    .sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: white;
        z-index: 1300;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        overflow-y: auto;
        font-family: 'Sans-Regular', sans-serif;
    }
    .sidebar.open {
        left: 0;
    }
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    .sidebar-header h2 {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin: 0;
    }
    .sidebar-close {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #555;
        padding: 0;
        line-height: 1;
    }
    .sidebar-close:hover { color: #000; }
    .sidebar-toggle-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    .sidebar-toggle-label {
        font-size: 15px;
        color: #333;
    }
    .sidebar-toggle-switch {
        width: 42px;
        height: 24px;
        background: #4285F4;
        border-radius: 12px;
        position: relative;
        cursor: pointer;
    }
    .sidebar-toggle-switch::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        background: white;
        border-radius: 50%;
        top: 3px;
        right: 3px;
    }
    .sidebar-nav-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 14px 20px;
        cursor: pointer;
        font-size: 15px;
        color: #333;
        transition: background 0.15s;
    }
    .sidebar-nav-item:hover { background: #f5f5f5; }
    .sidebar-nav-item img {
        width: 22px;
        height: 22px;
        opacity: 1;
    }
    .sidebar-divider {
        border: none;
        border-top: 1px solid #e0e0e0;
        margin: 8px 0;
    }
    .sidebar-text-item {
        padding: 12px 20px;
        font-size: 15px;
        color: #333;
        cursor: pointer;
        transition: background 0.15s;
    }
    .sidebar-text-item:hover { background: #f5f5f5; }
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: transparent;
        z-index: 1250;
        pointer-events: none;
    }
    .sidebar-overlay.active {
        pointer-events: all;
    }
    .sidebar-mini .sidebar-divider {
        width: 80%;
        border-top: 1px solid #e0e0e0;
        margin: 4px auto;
    }
    .sidebar h1 {
      font-size: 16px;
      margin-left: 20px;
      margin-top: 10px;
      font-weight: normal;  /* removes bold */
    }
}



/* ========================================
   MEDIA QUERIES - DESKTOP (min-width: 601px)
   ======================================== */
@media (min-width: 601px) {
    #container { max-width: 100%; width: 100%; height: 100%; margin: 0 auto; overflow: visible; }
    .controls { left: 20px; transform: none; width: 500px; }
    .nav-steps { left: 20px; transform: none; width: 500px; }
    .recenter-button { top: 20px; right: 30px; }
    .legend-container { left: 80px; transform: none; }

    /* Fix layer control button */
    #layerControl {
        margin-left: 64px !important;
    }

    /* Fix layer menu */
    #layerMenu {
        left: 84px !important;
    }

    /* Fix scale bar */
    .leaflet-left .leaflet-control {
        margin-left: 74px !important;
    }

    .leaflet-control-better-scale {
        margin-left: 74px !important;
    }

    .nav-steps {
        left: 80px !important;
        transform: none !important;
        width: 500px !important;
    }

    .start-button-container {
        left: 80px !important;
        transform: none !important;
        width: 500px !important;
    }

}

/* Mapillary Panel */
.mly-panel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    width: 260px;
    font-family: Arial, sans-serif;
    pointer-events: auto;
    z-index: 1000;
    font-size: 12px;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-overlay.active {
    display: flex;
}

.fullscreen-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10001;
}

.fullscreen-info {
    margin-top: 16px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
}

.fullscreen-info a {
    color: #05CB63;
    text-decoration: none;
}

.fullscreen-toggle {
    display: inline-block;
    margin: 8px 0;
    padding: 6px 12px;
    background: #4285F4;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.fullscreen-toggle:hover {
    background: #3367D6;
}

@media (max-width: 600px) {
    .mobile-topbar {
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 46px;
        background: white;
        z-index: 1050;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    }
    .mobile-topbar-title {
        font-size: 20px;
        font-family: 'Sans-Bold', sans-serif;
        color: #333;
        text-decoration: none;
    }
    .mobile-topbar-icons {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .controls {
        top: 54px !important;
    }
}
@media (min-width: 601px) {
    .mobile-topbar { display: none; }
}

.search-loading {
    display: none;
    position: absolute;
    right: 44px;
    top: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-top-color: #4285F4;
    border-radius: 50%;
    animation: loaderSpin 0.7s linear infinite;
    z-index: 11;
    pointer-events: none;
}
.search-loading.active {
    display: block;
}

.current-location-suggestion {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 0.7px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 1001;
    display: none;
}
.current-location-suggestion-item {
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.current-location-suggestion-item:hover {
    background-color: #f8f9fa;
}
.current-location-suggestion-item img {
    flex-shrink: 0;
}

#map-loader {
      display: none;
      position: absolute;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2000;
      background: white;
      border-radius: 20px;
      padding: 8px 16px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #333;
      pointer-events: none;
    }
    #map-loader.active {
      display: flex;
    }
    #map-loader .loader-spinner {
      width: 14px;
      height: 14px;
      border: 2px solid #ddd;
      border-top-color: #4988C4;
      border-radius: 50%;
      animation: loaderSpin 0.7s linear infinite;
      flex-shrink: 0;
    }
    @keyframes loaderSpin {
      to { transform: rotate(360deg); }
    }

    .jasajasa {
      margin-left: 20px !important;
      margin-top: 30px !important;
      margin-right: 20px !important;
    }

    .jasajasa p {
      font-size: 12px !important;
      margin-top: 10px;
      font-weight: normal;  /* removes bold */
    }
