﻿/* ===== Leaflet Ruler Styling ===== */

.leaflet-control-ruler a {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 30px;
    height: 30px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.leaflet-control-ruler a:hover {
    background: #f0f0f0;
}

.measure-label {
    background: rgba(255, 255, 255, 0.85); /* light white */
    border: 1px solid black; /* black border */
    color: black; /* text color */
    padding: 3px 6px; /* spacing inside */
    border-radius: 3px; /* small rounding */
    font-size: 12px;
    font-family: sans-serif;
    white-space: nowrap; /* avoid wrapping */
    display: inline-block;
}