.videojs-drm-error-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: auto;
}

.videojs-drm-error-overlay__panel {
  max-width: min(90%, 420px);
  padding: 20px 24px;
  border-radius: 8px;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.videojs-drm-error-overlay__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.video-js.vjs-has-error-overlay .custom-video-control-bar {
  opacity: 0.6;
}
