/* Cameras DER-SP — marcadores e popup HLS */
.der-camera-icon {
  background: transparent;
  border: none;
}

.der-camera-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(17, 101, 147, 0.92);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
  border: 2px solid #fff;
}

.der-camera-marker svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.der-camera-marker.is-maintenance {
  opacity: 0.55;
  background: rgba(100, 116, 139, 0.92);
}

.der-camera-popup-wrap .leaflet-popup-content {
  margin: 0;
  min-width: 280px;
}

.der-camera-popup header {
  background: var(--pli-navy, #003b5a);
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.der-camera-video-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.der-camera-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.der-camera-video-wrap video.ready {
  opacity: 1;
}

.der-camera-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.45);
}

.der-camera-loader.hidden {
  display: none;
}

.der-camera-live {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 3px;
}

.der-camera-meta {
  padding: 10px 12px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gray-700, #334155);
}

.der-camera-maintenance {
  padding: 16px 12px;
  font-size: 13px;
  color: var(--gray-700, #334155);
}
