/* Bottom coordinate strip for all TowerCoverage map pages (Google Maps + Mapbox) */
.tc-map-coords-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    min-height: 28px;
    padding: 4px 12px;
    box-sizing: border-box;
    pointer-events: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.3;
    color: #f5f5f5;
    background: rgba(12, 12, 12, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
    overflow-x: auto;
    overflow-y: hidden;
}

.tc-map-coords-bar.has-pins {
    pointer-events: auto;
}

.tc-map-coords-bar.is-empty {
    display: none;
}

.tc-map-coords-bar-seg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: 0;
}

.tc-map-coords-bar-cursor {
    min-width: 24ch;
}

.tc-map-coords-bar-cursor.is-frozen .tc-map-coords-bar-value {
    opacity: 0.72;
}

.tc-map-coords-bar-label {
    opacity: 0.78;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 auto;
}

.tc-map-coords-bar-value {
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

.tc-map-coords-bar-pin {
    pointer-events: auto;
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 4px;
}

.tc-map-coords-bar-pin:hover,
.tc-map-coords-bar-pin:focus-within {
    background: rgba(255, 255, 255, 0.08);
}

.tc-map-coords-bar-pin .tc-map-coords-bar-copy {
    pointer-events: auto;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

.tc-map-coords-bar-pin .tc-map-coords-bar-copy:hover,
.tc-map-coords-bar-pin .tc-map-coords-bar-copy:focus {
    opacity: 1;
    color: #fff;
    outline: 1px dotted rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

html.tc-theme-light .tc-map-coords-bar-pin:hover,
html.tc-theme-light .tc-map-coords-bar-pin:focus-within {
    background: rgba(0, 0, 0, 0.06);
}

html.tc-theme-light .tc-map-coords-bar-pin .tc-map-coords-bar-copy:hover,
html.tc-theme-light .tc-map-coords-bar-pin .tc-map-coords-bar-copy:focus {
    color: #000;
    outline-color: rgba(0, 0, 0, 0.35);
}

.tc-map-coords-bar-pin-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.tc-map-coords-bar-pin-icon.kind-site {
    background: #00b300;
    border-color: #004d00;
}

.tc-map-coords-bar-pin-icon.kind-device {
    background: #247fb5;
    border-color: #1a5f87;
}

.tc-map-coords-bar-pin-icon.kind-default {
    background: #e8a317;
    border-color: #9a6b0d;
}

html.tc-theme-light .tc-map-coords-bar {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    border-top-color: rgba(0, 0, 0, 0.12);
    text-shadow: none;
}
