.camera-viewport {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0.5rem 0;
}

.camera-viewport video {
    width: 250px;
    height: 140px;
    border-radius: 0.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.camera-viewport video:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.camera-viewport video:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.camera-viewport-title {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    padding: 0.3rem 0.3rem;
    background: #1d1d1da1;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-content {
    padding: 0.5rem;
    max-height: 40vh;
    overflow: auto;
}

.popup-content img {
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    width: 250px;
}

span.primary-color {
    font-weight: 700;
}

span.sec-color {
    font-weight: 700;
}

span.clickable:hover {
    text-decoration: underline;
    cursor: pointer;
}

.mapboxgl-popup-content,
.maplibregl-popup-content {
    background: #3a3a3ae6 !important;
    color: white;
    padding: 0 !important;
    width: fit-content;
}

.mapboxgl-popup-close-button,
.maplibregl-popup-close-button {
    color: white;
    font-weight: bold;
    display: none;
}

.popup-content::-webkit-scrollbar {
    background-color: transparent;
}

.popup-content::-webkit-scrollbar-thumb {
    background-color: #3a3a3ae6;
    box-shadow: none;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
    border-top-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top .maplibregl-popup-tip {
    border-bottom-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-right .maplibregl-popup-tip {
    border-left-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-left .maplibregl-popup-tip {
    border-right-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top-left .maplibregl-popup-tip {
    border-bottom-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip {
    border-top-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
    border-bottom-color: #3a3a3ae6 !important;
}

.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
    border-top-color: #3a3a3ae6 !important;
}