﻿/* Remove default Leaflet divIcon styling */
.wind-arrow {
    background: transparent;
    border: none;
}

.mesonet-marker {
    position: relative;
    box-sizing: border-box;
    font-weight: bold;
}

    /* Rows pinned to top and bottom edges */
    .mesonet-marker .row {
        position: absolute;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }

    .mesonet-marker .top-row {
        top: 0;
    }

    .mesonet-marker .bottom-row {
        bottom: 0;
        justify-content: flex-start;
    }

    /* Center the rotating arrow in the box */
    .mesonet-marker .arrow-wrap {
        position: absolute;
        inset: 0; /* top/right/bottom/left = 0 */
        display: flex;
        align-items: center; /* vertical center */
        justify-content: center; /* horizontal center */
        pointer-events: none;
    }

    /* Color coding (match your example image) */
    .mesonet-marker .tl {
        color: black;
        position:relative;
    }

    .mesonet-marker .tr {
        color: maroon;
        position: relative;
    }

    .mesonet-marker .bl {
        color: blue;
        position: relative;
    }

    .mesonet-marker .num {

    }

    .mesonet-marker .hidden {
        display: none;
    }

.ring-label span {
    background: rgba(255,255,255,0.8);
    padding: 0 3px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
}

.ring-label {
    background: transparent;
    border: none;
}

.legend {
    padding: 6px 8px;
    position: relative;
    width:fit-content;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 10px;
    background: white;
    border: groove;
    border-color: black;
    border-radius: 5px;
}

    .legend icon {
        width: 10px;
        height: 10px;
        float: left;
        margin-right: 8px;
        opacity: 0.7;
    }
