/* ============================================================
   Carpyx Lab Reload — Cartography UI Preferences
   FILE: public/assets/css/cartography/ui-preferences.css
   PURPOSE: Hide/show cartography UI elements based on user prefs
   ============================================================ */

/* Hide/show header */
body.pref-hide-header #carpyx-header {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide/show right rail controls */
body.pref-hide-right-rail #carto-controls {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide/show attribution footer */
body.pref-hide-attribution #map-attribution {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide/show Leaflet scale bar */
body.pref-hide-scale .leaflet-control-scale {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide/show GPS indicator (created by map-bootstrap.js) */
body.pref-hide-gps #carpyx-gps-indicator {
    opacity: 0 !important;
    pointer-events: none !important;
}