#map { height: 60vh; }
.leaflet-popup-content { font-size: 14px; }
.leaflet-control-geocoder { color: #1e1e1e; }
.leaflet-control-geocoder-alternatives { overflow-wrap: break-word; }
.leaflet-control-geocoder-alternatives li {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25rem;
}
.leaflet-control-geocoder-alternatives li a {
    display: block;
    padding: 0.35rem 0.5rem;
    white-space: normal;
}
.cross-marker {
    background: transparent;
    border: none;
    width: 20px;
    height: 20px;
}
.cross-marker::before,
.cross-marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: blue;
    transform-origin: center;
}
.cross-marker::before { transform: translate(-50%, -50%) rotate(45deg); }
.cross-marker::after { transform: translate(-50%, -50%) rotate(-45deg); }

.reference::before,
.reference::after {
    background: green;
}

.highlight::before,
.highlight::after {
    background: red;
}

.azimuth-label {
    pointer-events: none;
    font-family: monospace;
    font-weight: 500;
}

.epsg3168-grid-label {
    pointer-events: none;
    font-family: monospace;
    white-space: nowrap;

    font-size: 11px;
    color:#1e1e1e;
}

.delete-btn {
    border: none;
    background: transparent;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    fill: white;
}
  
.delete-btn .icon-hover { display: none; }
.delete-btn .icon-default { display: inline-block; }
  
.delete-btn:hover, 
.delete-btn:focus { fill: red; }

.delete-btn:hover .icon-default,
.delete-btn:focus .icon-default { display: none; }
.delete-btn:hover .icon-hover,
.delete-btn:focus .icon-hover { display: inline-block; }

.coord-updated {
    background-color: #064e3b !important;
    transition: background-color 0.2s ease;
}

.coord-error {
    background-color: #7f1d1d !important;
    transition: background-color 0.2s ease;
}