/**
 * Custom Styles for Peta CCTV Live Malang
 */

#petaCctv {
    border-radius: 0 0 0.75rem 0.75rem;
    overflow: hidden;
}

.custom-cctv-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-cctv-marker:hover {
    transform: scale(1.18);
    z-index: 1000 !important;
}

.marker-aktif {
    background: linear-gradient(135deg, #198754, #157347);
}

.marker-perbaikan {
    background: linear-gradient(135deg, #ffc107, #d39e00);
}

.marker-nonaktif {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.leaflet-popup-content-wrapper {
    border-radius: 0.75rem;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4;
}

.popup-cctv-card {
    min-width: 250px;
    max-width: 300px;
    font-family: inherit;
}

.popup-cctv-thumb {
    width: 100%;
    height: 135px;
    object-fit: cover;
    background-color: #000;
}

.popup-cctv-body {
    padding: 0.85rem;
}

/* Watermark HUD */
.hud-watermark {
    font-family: monospace;
    letter-spacing: 0.5px;
}

#liveIframePlayer {
    width: 100%;
    min-height: 520px;
    height: 60vh;
    border: none;
    background-color: #000;
}

#videoContainer {
    background-color: #000;
    min-height: 520px;
}

.sidebar-wilayah-list {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-wilayah-list span {
    font-size: 0.78rem;
    font-weight: 500;
}

