/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  z-index: 10001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: opacity 0.3s ease;
}

.video-modal-close:hover {
  opacity: 0.7;
}

.video-modal-loading,
.video-modal-error {
  color: white;
  text-align: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.video-modal-error a {
  color: white;
  text-decoration: underline;
  display: block;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .video-modal-content {
    padding: 16px;
  }
  
  .video-modal-close {
    top: -30px;
    font-size: 28px;
  }
}

