
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
            transition: background-color 0.3s, color 0.3s;
        }

        body.dark-mode {
            background-color: #121212;
            color: #e0e0e0;
        }

        body.dark-mode .filter-container,
        body.dark-mode .offcanvas-header,
        body.dark-mode .offcanvas-body {
            background-color: #1e1e1e;
            color: #e0e0e0;
        }

        body.dark-mode .toggle-switch .btn {
            background: #333;
            color: #e0e0e0;
        }

        body.dark-mode .toggle-switch .btn.active {
            background: #007bff;
            color: white;
        }

        body.dark-mode .maplibregl-control-container .maplibregl-ctrl {
            background: #1e1e1e;
            color: #e0e0e0;
        }

        .container-fluid {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .map-container {
            flex-grow: 1;
            width: 100%;
        }

        #map {
            height: 100%;
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .filter-container {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        .filter-container h5 {
            color: #007bff;
            margin-bottom: 15px;
        }
        .toggle-group {
            margin-bottom: 15px;
        }
        .toggle-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #495057;
        }
        .toggle-switch {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        .toggle-switch .btn {
            padding: 10px 10px;
            border-radius: 20px;
            background: #e9ecef;
            color: #495057;
            border: none;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }
        .toggle-switch .btn.active {
            background: #007bff;
            color: white;
        }
        .toggle-switch .btn .avatar {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #007bff;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        .ementa {
            text-align: justify;
            text-transform: uppercase;
        }
        
        .maplibregl-ctrl-attrib-inner {
            background: white;
            padding: 5px;
            border-radius: 5px;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
        }
        .maplibregl-ctrl-attrib-inner a img {
            width: 50px;
            height: auto;
        }
        .ementa {
            text-align: justify;
        }
        .status-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: bold;
            margin-left: 5px;
            background-color: #28a745;
            color: white;
        }
        .fotos-container {
            margin-top: 10px;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        .foto-thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
            border: 1px solid #ddd;
            transition: transform 0.2s;
        }
        .foto-thumbnail:hover {
            transform: scale(1.05);
        }
        .popup-content {
            max-width: 300px;
        }
        .popup-title {
            font-size: 1.2em;
            margin-bottom: 5px;
        }
        .header-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        #searchBox {
            width: 100%;
        }
        #theme-switcher {
            cursor: pointer;
        }
        .offcanvas-autor-foto {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 10px;
        }
        .offcanvas-autor-container {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        .blinking {
            animation: blinker 1s linear infinite;
        }

        @keyframes blinker {
            50% { opacity: 0.5; }
        }
        
        .maplibregl-popup-content h4 {
            font-size: 1.2rem;
        }
        .maplibregl-popup-content p {
            font-size: 0.9rem;
        }
        .maplibregl-marker {
            cursor: pointer;
            width: 35px;
            height: 35px;
            background-size: cover;
            border-radius: 50%;
            border: 2px solid #fff;
            box-shadow: 0 0 5px rgba(0,0,0,0.5);
            background-position: center;
            background-repeat: no-repeat;
        }
        #zoom-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 1.2rem;
            z-index: 1000;
            display: none;
            text-align: center;
        }
        #zoom-indicator p {
            margin: 0;
            animation: blinker 1s linear infinite;
        }
  