/* ── Forest feature popup ───────────────────────────────────────────────── */
.forest-popup {
    font-size: 13px;
    line-height: 1.6;
    max-width: 250px;
}

.forest-popup h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-weight: 600;
}

.forest-popup p {
    margin: 4px 0;
    color: #555;
}

.forest-popup a {
    display: inline-block;
    margin-top: 6px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.forest-popup a:hover {
    text-decoration: underline;
}

/* ── Estate identify popup ──────────────────────────────────────────────── */
.identify-popup {
    font-size: 11px;
    max-width: 300px;
}

.popup-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.popup-value {
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
}

.popup-property {
    margin-bottom: 6px;
    padding: 4px 0;
    color: #333;
}

.popup-property strong {
    color: #2c3e50;
    font-weight: 500;
}

.popup-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.popup-link:hover {
    text-decoration: underline;
}

/* ── Rider tracking popup ───────────────────────────────────────────────── */
.popup-stale-label {
    color: #888;
    font-size: 10px;
    margin-bottom: 4px;
}

.popup-sos-label {
    color: #cc0000;
    font-weight: bold;
    margin-bottom: 6px;
}

.popup-battery-group {
    margin-bottom: 4px;
}

.popup-battery-line {
    font-size: 11px;
}

.popup-battery-line + .popup-battery-line {
    margin-bottom: 4px;
}

.popup-time-label {
    font-size: 10px;
    color: #666;
    margin-bottom: 6px;
}

.popup-time-label.stale {
    color: #e74c3c;
    font-weight: bold;
}

.popup-alarm-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.popup-alarm-btn.cleared {
    background: #888;
}

/* ── tracking-status success state ─────────────────────────────────────── */
#tracking-status.success {
    color: #4CAF50;
}
