.video-widget {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.video-widget video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #000;
}

.video-error-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.8);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.video-error-placeholder .error-icon {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.video-error-placeholder .error-text {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Video loading indicator */
.video-widget video:not([src]) {
  background: #000 url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"50\" viewBox=\"0 0 50 50\"><circle cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke=\"%23666\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-dasharray=\"31.416\" stroke-dashoffset=\"31.416\"><animate attributeName=\"stroke-array\" dur=\"2s\" values=\"0 31.416;15.708 15.708;0 31.416\" repeatCount=\"indefinite\"/><animate attributeName=\"stroke-dashoffset\" dur=\"2s\" values=\"0;-15.708;-31.416\" repeatCount=\"indefinite\"/></circle></svg>') center no-repeat;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-error-placeholder .error-icon {
    font-size: 32px;
  }
  
  .video-error-placeholder .error-text {
    font-size: 12px;
  }
}

/* Video fill modes */
.video-widget video[style*=\"object-fit: cover\"] {
  object-fit: cover;
}

.video-widget video[style*=\"object-fit: fill\"] {
  object-fit: fill;
}

.video-widget video[style*=\"object-fit: scale-down\"] {
  object-fit: scale-down;
}

.video-widget video[style*=\"object-fit: none\"] {
  object-fit: none;
}