.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: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.videojs-drm-error-overlay__dismiss {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.videojs-drm-error-overlay__dismiss:hover,
.videojs-drm-error-overlay__dismiss:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

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