.mapbox-control-container, .mapbox-logo, a.mapboxgl-ctrl-logo, .mapboxgl-ctrl-bottom-right {
    display: none; !important
}

.marker {
    background-image: url('../img/profile.jpeg');
    background-size: cover;
    width: 50px;
    height: 50px;
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.marker-sport {
    background-image: url('../img/profile-sport.png');
    background-size: cover;
    width: 50px;
    height: 50px;
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    animation: pulse-sport 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 172, 224, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(52, 172, 224, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 172, 224, 0);
    }
}

@keyframes pulse-sport {
    0% {
        box-shadow: 0 0 0 0 rgba(54, 253, 54, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(52, 172, 224, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 172, 224, 0);
    }
}

.mapboxgl-popup {
    max-width: 200px;
    opacity: 80%;
}

.mapboxgl-popup-tip {
    max-width: 200px;
    opacity: 80%;
}

.mapboxgl-popup-content {
    text-align: center;
}

.history-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(12, 177, 232, 1);
    animation: history-pulse-ring 1.2s ease-out infinite;
    pointer-events: none;
}

@keyframes history-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 177, 232, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(12, 177, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 177, 232, 0);
    }
}

.blinker {
    animation: blinker 2s linear infinite;
}
  
@keyframes blinker {
    50% {
        opacity: .4;
    }
}

/* Query tool */
.query-controls {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    background: rgba(31, 41, 55, 0.85);
    padding: 12px 16px;
    border-radius: 6px;
    color: white;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.query-controls label {
    font-weight: 600;
}

.query-controls input[type="range"] {
    width: 100%;
    accent-color: #0cb1e8;
    cursor: pointer;
}

.query-controls button {
    background: #0cb1e8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
}

.query-controls button:disabled {
    background: #4b5563;
    cursor: not-allowed;
}

.query-controls button:hover:not(:disabled) {
    background: #0a9ed4;
}

.query-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    z-index: 10;
    background: rgba(31, 41, 55, 0.9);
    color: white;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.query-panel.visible {
    display: flex;
}

.query-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 13px;
}

.query-panel-header button {
    background: none;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
}

.query-panel-list {
    flex: 1;
    overflow-y: auto;
}

.query-panel-item {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.15s;
}

.query-panel-item:hover {
    background: rgba(12, 177, 232, 0.15);
}

.query-panel-item.active {
    background: rgba(12, 177, 232, 0.3);
}

.query-panel-item .item-time {
    color: #0cb1e8;
    font-weight: 600;
}

.query-panel-item .item-city {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.query-panel-item .item-distance {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}
