/* ============================================================
   Coordination Grid (Feuerlösch-Raster) – HeliTool
   ============================================================ */

/* Remove default Leaflet DivIcon background / shadow for grid labels */
.cg-cell-label,
.cg-fire-marker {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Cell label span – already styled inline, this just ensures no leakage */
.cg-cell-label span {
    display: inline-block;
    pointer-events: none;
}

/* Fire marker emoji container */
.cg-fire-marker div {
    pointer-events: none;
    line-height: 1;
}

/* ---- Sidebar grid section ---- */
#cgSidebarSection select {
    font-size: 12px;
    max-width: 130px;
}

#cgSidebarSection .control-button {
    width: 100%;
    text-align: left;
    font-size: 12px;
    padding: 5px 8px;
}

#cgOpacitySlider {
    cursor: pointer;
    accent-color: #e63946;
}

/* ---- Print-button hover ---- */
@media (hover: hover) {
    #cgSidebarSection .control-button:hover {
        background: #c1121f;
        color: #fff;
    }
}

/* ---- Mobile adjustments ---- */
@media (max-width: 600px) {
    #cgSidebarSection select {
        max-width: 100%;
        width: 100%;
    }
    .cg-cell-label span {
        font-size: 9px !important;
    }
}
