/**
 * Nadpisania stylów mapy Leaflet.
 * Front pączkarni ma agresywne reguły globalne:
 *   main.css     -> * { font-family; color; ... }
 *   frontend.css -> .flex .item * { font-size: 1.3em; line-height: 1.3em }
 *   frontend.css -> .flex .item img { width: 100% }
 * Ponieważ mapa siedzi w <div class="item">, te reguły rozdymały atrybucję,
 * kontrolki zoomu i flagę w prefiksie. Poniżej przywracamy typowe rozmiary.
 */

/* Bazowa typografia kontrolek — neutralizuje dziedziczone em-y */
.leaflet-container,
.leaflet-container * {
    font-size: 12px;
    line-height: 1.4;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* Pasek atrybucji do standardowego rozmiaru */
.leaflet-control-attribution,
.leaflet-control-attribution * {
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    font-weight: normal !important;
}
.leaflet-control-attribution a {
    color: #0078a8 !important;
    text-decoration: none;
}

/* Ikony w atrybucji (gdyby jakieś zostały) nie mogą łapać width:100% */
.leaflet-control-attribution img {
    width: auto !important;
    height: auto !important;
    display: inline !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    vertical-align: baseline;
}

/* Przyciski zoomu +/- do domyślnych 26x26 */
.leaflet-bar a,
.leaflet-bar a:hover {
    font-size: 18px !important;
    line-height: 26px !important;
    width: 26px !important;
    height: 26px !important;
    color: #000 !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

/* Etykiety na kaflach OSM nie powinny mieć cienia/tła z globalnego stylu */
.leaflet-container a.leaflet-popup-close-button {
    font-size: 16px !important;
    line-height: 20px !important;
}
