    .marker-cluster-small {
      background-color: rgba(179, 179, 179, 0.8);
      border: 2px solid rgba(130, 129, 129, 0.5);
      color: black;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 12px;
      line-height: normal;
      overflow: hidden;
    }
    .marker-cluster-medium {
      background-color: rgba(128, 128, 128, 0.8);
      border: 2px solid rgba(82, 81, 81, 0.5);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 14px;
      line-height: normal;
      overflow: hidden;
    }
    .marker-cluster-large {
      background-color: rgba(81, 81, 81, 0.8);
      border: 2px solid rgba(24, 24, 24, 0.5);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 16px;
      line-height: normal;
      overflow: hidden;
    }
    .marker-cluster {
      font-size: 12px;
      line-height: 1.5em;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: normal;
    }
    .marker-cluster div {
      margin: 0;
      padding: 0;
      box-shadow: none !important;
      border: none !important;
      background-color: transparent !important;
    }
    /* --- Global & Layout Styles --- */
    html,
    body {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    body {
      display: flex;
      flex-direction: column;
      font-family: Arial, sans-serif;
    }
    /* Header Bar */
    .header-bar {
      flex: 0 0 90px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: black;
      color: white;
      padding: 5px 10px;
      height: 90px;
      overflow: hidden;
    }
    .header-bar > * {
      max-height: 90px;
      overflow: hidden;
    }
    .left-section {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }
    .logo-and-hamburger {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }
    .logo {
      flex: 1;
      font-size: 1.1em;
      font-weight: bold;
      transition: color 0.5s ease;
    }
    .hamburger {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 1.5em;
      cursor: pointer;
    }
    .advert-holder-desktop {
      width: 728px;
      height: 90px;
      background-color: rgb(0, 0, 0);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px dashed rgb(211, 211, 211);
      flex-shrink: 0;
    }
    .advert-holder-mobile {
      display: flex;
      width: 320px;
      height: 50px;
      background-color: rgb(0, 0, 0);
      align-items: center;
      justify-content: center;
      border: 1px dashed rgb(179, 179, 179);
    }
    .option-group {
      display: flex;
      align-items: center;
      gap: 5px;
      background-color: cyan;
      color: black;
      padding: 5px 5px;
      border-radius: 2px;
      font-weight: bold;
      font-size: 0.9em;
      flex-shrink: 0;
    }
    .option-group input[type="checkbox"] {
      display: none;
    }
    .middle-section {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .desktop-button-container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
      margin-right: 10px;
    }
    .mobile-button-container {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      width: 100%;
      padding: 5px 0;
      background-color: black;
    }
    .button-group {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .search-button,
    .share-view-button {
      background-color: #000000;
      color: white;
      padding: 1px 1px;
      border: 1px solid white;
      border-radius: 2px;
      cursor: pointer;
      font-size: 0.8em;
      margin-bottom: 1px;
      width: 80px;
    }
    .search-button:hover,
    .share-view-button:hover {
      background-color: #ffffff;
      color: black;
    }
    .desktop-filters {
      display: none;
    }
    .filter-row {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .panel-body {
      display: none;
      flex-wrap: wrap;
      gap: 2px;
      padding: 2px;
      background-color: black;
      color: white;
    }
    .panel-body.active {
      display: flex;
      flex-direction: column;
    }
    .filters {
      display: none;
      flex-direction: row;
      gap: 5px;
    }
    .filters.active {
      display: flex;
    }
    /* Media Queries */
    @media (max-width: 1299px) {
      .hamburger {
        display: block;
      }
      .logo-and-hamburger {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
      .option-group {
        display: flex;
        justify-content: flex-start;
      }
      .header-bar {
        flex-wrap: wrap;
        align-items: flex-start;
      }
      .advert-holder-desktop {
        display: none;
      }
      .desktop-button-container {
        display: none;
      }
      .advert-holder-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 320px;
        height: 50px;
        background-color: rgb(0, 0, 0);
        border: 1px dashed rgb(213, 212, 212);
        z-index: 1000;
      }
      #panelBody.active .mobile-button-container {
        display: flex;
      }
      .crimeCountContainer {
        display: none;
      }
    }
    @media (min-width: 1300px) {
      .desktop-filters {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-left: 10px;
      }
      .button-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }
      .advert-holder-mobile {
        display: none;
      }
      .left-section {
        flex-direction: column;
        align-items: flex-start; /* Optional: ensures left alignment */
      }
    }
    /* Info Message Styles */
    .info-message {
      position: absolute;
      top: 50px;
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      width: auto;
      max-width: 90%;
      background-color: rgba(255, 255, 255, 0.9);
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }
    .info-message p {
      margin: 0;
      font-size: 16px;
    }
    .info-message .close-button {
      position: absolute;
      top: 5px;
      right: 5px;
      font-size: 18px;
      cursor: pointer;
      color: #666;
      background: none;
      border: none;
    }
    .info-message .close-button:hover {
      color: black;
    }
    .info-message .arrow {
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid rgba(255, 255, 255, 0.9);
      position: absolute;
      top: 100%;
      right: 20px;
    }
    /* Legend Styles */
    .legend-container {
      position: absolute;
      bottom: 60px;
      right: 10px;
      z-index: 9999;
      background: white;
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 5px;
      width: 160px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
      font-size: 0.8em;
    }
    .legend-container h4 {
      margin: 2px 0;
      font-size: 0.9em;
      text-align: center;
    }
    .legend-container ul {
      list-style-type: none;
      padding: 0;
      margin: 2px 0 0 0;
      font-size: 0.9em;
    }
    .legend-container li {
      margin-bottom: 2px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .legend-color {
      display: inline-block;
      width: 12px;
      height: 12px;
      margin-right: 8px;
      border: 1px solid #ccc;
    }
    .hidden {
      display: none;
    }
    .legend-toggle-btn {
      position: absolute;
      bottom: 20px;
      right: 20px;
      z-index: 10000;
      background: white;
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 6px 10px;
      cursor: pointer;
      font-size: 0.9em;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .modal-content {
      background-color: white;
      margin: 15% auto;
      padding: 20px;
      border: 1px solid #ccc;
      border-radius: 8px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      font-family: Arial, sans-serif;
    }
    .modal-content h2,
    .modal-content h3 {
      margin-top: 0;
    }
    .modal-content .close-button {
      color: #aaa;
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }
    .modal-content .close-button:hover,
    .modal-content .close-button:focus {
      color: black;
      text-decoration: none;
    }
    
    @keyframes colorCycle {
      0% {
        color: white;
      }
      25% {
        color: #FF5733;
      }
      50% {
        color: #33FF57;
      }
      75% {
        color: #3357FF;
      }
      100% {
        color: white;
      }
    }
    .logo.loading {
      animation: colorCycle 2s infinite;
    }
    .spinner {
      border: 4px solid rgba(255, 255, 255, 0.3);
      border-top: 4px solid white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      animation: spin 1s linear infinite;
      margin-left: 5px;
    }
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    .spinner.hidden {
      display: none;
    }
    #searchOverlay {
      position: absolute;
      top: 100px;
      left: 50px;
      background: rgba(255, 255, 255, 0.9);
      padding: 2px;
      border-radius: 2px;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      display: none;
      flex-direction: column;
      align-items: center;
      width: 250px;
    }
    .search-box {
      display: flex;
      align-items: center;
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 4px;
      background: white;
      padding: 4px;
    }
    .close-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 12px;
      color: #777;
      padding: 6px;
    }
    .close-btn:hover {
      color: black;
    }
    #locationSearch {
      flex: 1;
      border: none;
      outline: none;
      font-size: 14px;
      padding: 6px;
    }
    #autocompleteResults {
      position: absolute;
      top: 40px;
      left: 0;
      width: 100%;
      background: white;
      border: 1px solid #ccc;
      list-style: none;
      padding: 0;
      margin: 0;
      max-height: 150px;
      overflow-y: auto;
      display: none;
      font-size: 12px;
    }
    #autocompleteResults li {
      padding: 4px;
      cursor: pointer;
      border-bottom: 1px solid #ddd;
    }
    #autocompleteResults li:hover {
      background: lightgray;
    }
    @media (max-width: 768px) {
      #searchOverlay {
        top: 60px;
        left: 10px;
        width: 200px;
      }
    }
    @media (max-width: 600px) {
      #searchOverlay {
        top: 160px;
        left: 50px;
        width: 220px;
      }
      .info-message {
        max-width: 100%;
        min-width: 80%;
      }
      .info-message h3 {
        white-space: nowrap;
      }
    }
    
    
    
    /* --- Footer Links Styles (Merged from bottom inline style) --- */
    .footer-links {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(255, 255, 255, 0.8);
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 14px;
    }
    .footer-links ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin: 2px 0;
    }
    .footer-links a {
      text-decoration: none;
      color: #000;
    }
    .footer-links a:hover {
      text-decoration: underline;
    }
    /* Ensure the map container is the positioning context */
    #map {
      position: relative;
    }
    
    /* Position the search overlay 10px down from the map’s top edge */
    #searchOverlay {
      position: absolute;
      top: 10px;    /* 10 pixels down from the top edge of the map */
      left: 60px;   /* Adjust as needed; this example places it 10px from the left */
      background: rgba(255, 255, 255, 0.9);
      padding: 2px;
      border-radius: 2px;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      display: none;   /* Still hidden by default */
      flex-direction: column;
      align-items: center;
      width: 250px;
    }
