  body { margin: 0; padding: 0; font-family: Arial, sans-serif; }
    #map { height: 100vh; width: 100%; }
    .overlay {
      position: absolute;
      top: 10px;
      left: 10px;
      background: white;
      padding: 12px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      z-index: 1000;
      max-width: 280px;
    }
    button, select {
      padding: 10px;
      margin: 5px 0;
      font-size: 16px;
      width: 100%;
    }
    button {
      background: #0066ff;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .search-panel {
        width: 300px;
        background: white;
        border: 1px solid #ccc;
        transition: all 0.3s ease;
    }

    .panel-header {
        display: flex; /* Alinea hijos en línea */
        justify-content: space-between; /* Texto a la izquierda, botón a la derecha */
        align-items: center;
        padding: 10px;
        background: #eee;
        cursor: pointer;
    }

    .panel-title {
        font-weight: bold;
        white-space: nowrap; /* Evita que el texto salte de línea */
        overflow: hidden;
        text-overflow: ellipsis; /* Si el texto es muy largo, añade "..." */
    }

    #toggle-search {
        width: 30px;
        height: 30px;
        cursor: pointer;
    display: flex;
    align-items: center;        /* Centrado vertical */
    justify-content: center;    /* Centrado horizontal */

    }
    .checkbox-group {
        margin-top: 15px;      /* Espacio respecto al select */
        margin-bottom: 15px;   /* Espacio respecto al botón de buscar */
        text-align: left;      /* Alinea a la izquierda */
    }

    .checkbox-group label {
        display: block;        /* Fuerza el salto de línea */
        margin-bottom: 8px;    /* Espacio entre cada opción */
        cursor: pointer;       /* Cambia el cursor al pasar por encima */
        font-size: 14px;
    }

    .checkbox-group input {
        margin-right: 10px;    /* Separa el cuadrito del texto */
        cursor: pointer;
    }

    .opciones-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    @media (max-width: 768px) {
        .opciones-container {
            grid-template-columns: 1fr; /* Una columna en móviles */
    }
}