/* ================================================================
   Map Controls — floating toolbar
   Left side of the map. Satellite, terrain, fire, radar, weather.
   ================================================================ */

.map-ctrl-bar {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.map-ctrl-btn {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(26, 46, 31, 0.88);
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.22);
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.map-ctrl-btn:active {
    transform: scale(0.94);
}
.map-ctrl-btn.active {
    background: rgba(58, 138, 62, 0.85);
    color: #fff;
    border-color: rgba(58, 138, 62, 0.8);
}
.map-ctrl-btn svg {
    display: block;
}

/* Small divider between button groups */
.map-ctrl-divider {
    width: 22px;
    height: 1px;
    margin: 2px auto;
    background: rgba(255,255,255,0.15);
    pointer-events: none;
}

/* ── Mobile: stack vertically on the left, above expand button ── */
@media (max-width: 768px) {
    .map-ctrl-bar {
        top: 10px;
        left: 10px;
        gap: 2px;
    }
    .map-ctrl-btn {
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }
    .map-ctrl-btn svg {
        width: 14px;
        height: 14px;
    }
}
