/*
style_map_dark.css
Mode sombre pour la page de carte interactive de l'application Canmore Incident Management.
*/

/* Base globale du mode sombre : fond et texte */
.dark-mode,
body.dark-mode {
    background: #23272a;
    color: #fff;
}

/* Popups Leaflet en mode sombre : lisibilite des formulaires */
.dark-mode .leaflet-popup-content-wrapper,
.dark-mode .leaflet-popup-tip {
    background: #23272a !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    box-shadow: 0 2px 12px #0008 !important;
}
.dark-mode .leaflet-popup-content label,
.dark-mode .leaflet-popup-content select,
.dark-mode .leaflet-popup-content textarea,
.dark-mode .leaflet-popup-content input {
    color: #fff !important;
    background: #23272a !important;
    border-color: #444 !important;
}
.dark-mode .leaflet-popup-content textarea::placeholder,
.dark-mode .leaflet-popup-content input::placeholder {
    color: #b0b0b0 !important;
}

/* Carte : surface sombre coherente */
.dark-mode .leaflet-container {
    background: #23272a !important;
}
/* Barres de defilement : style adapte au mode sombre */
.dark-mode ::-webkit-scrollbar {
    background: #23272a;
}
.dark-mode ::-webkit-scrollbar-thumb {
    background: #444;
}
