.measure-hover-popup {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.measure-simple-popup {
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    font-weight: 600;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.measure-summary-popup {
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    min-width: 140px;
    border: 2px solid #f44336;
}

.measure-summary-popup .distance {
    font-size: 14px;
    font-weight: 600;
    color: #f44336;
    margin-bottom: 6px;
}

.measure-summary-popup .time {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.measure-summary-popup .delete-route-btn {
    width: 100%;
    padding: 5px 8px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s;
}

.measure-summary-popup .delete-route-btn:hover {
    background: #d32f2f;
}

.measure-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.measure-marker.start {
    background: #f44336;
}

.measure-marker.point {
    background: white;
    color: #333;
    border-color: #1976d2;
}

