/* Leaflet.LatLng.Grid — Plugin Styles */

/* ── Coordinate Control ──────────────────────────────────────────────────── */

.llg-coords-control {
    background: rgba(8, 14, 22, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12px;
    color: #4ade80;
    letter-spacing: 0.04em;
    min-width: 220px;
    text-align: center;
    cursor: default;
    user-select: none;
    transition: border-color 0.2s;
}

.llg-coords-control:hover {
    border-color: rgba(74, 222, 128, 0.5);
}

.llg-coord-val {
    color: #4ade80;
    font-weight: 700;
}

.llg-coord-sep {
    color: rgba(74, 222, 128, 0.4);
    margin: 0 4px;
}

.llg-hint {
    color: rgba(74, 222, 128, 0.45);
    font-size: 10px;
}

/* ── Popup ───────────────────────────────────────────────────────────────── */

.llg-popup-wrap .leaflet-popup-content-wrapper {
    background: rgba(8, 14, 22, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(74, 222, 128, 0.08);
    padding: 0;
    color: #e2e8f0;
}

.llg-popup-wrap .leaflet-popup-tip {
    background: rgba(8, 14, 22, 0.92);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.llg-popup-inner {
    padding: 12px 16px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.llg-popup-coords {
    font-size: 14px;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.llg-popup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.llg-popup-copied {
    font-size: 11px;
    color: rgba(74, 222, 128, 0.6);
}

.llg-popup-link {
    font-size: 11px;
    color: #4ade80;
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 222, 128, 0.35);
    transition: border-color 0.15s, color 0.15s;
    font-weight: 600;
}

.llg-popup-link:hover {
    color: #86efac;
    border-color: #86efac;
}

/* ── Canvas layer ────────────────────────────────────────────────────────── */

.llg-canvas {
    position: absolute;
    pointer-events: none;
}
