/* Estilos para el reproductor frontend */
.future-player-container {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #000;
}

.future-player-video {
  display: block;
  background: #000;
  border-radius: 8px 8px 0 0;
}

.future-player-title {
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #eee;
}

.future-player-title h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Controles personalizados del reproductor */
.future-player-video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.8);
}

.future-player-video::-webkit-media-controls-play-button,
.future-player-video::-webkit-media-controls-pause-button {
  background-color: #fff;
  border-radius: 50%;
}

/* Estados de carga */
.future-player-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f5f5f5;
  color: #666;
  font-size: 16px;
}

.future-player-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f8f8f8;
  color: #d63384;
  font-size: 16px;
  border: 2px dashed #d63384;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
}

/* Added processing state styles */
.future-player-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f8f9fa;
  color: #495057;
  font-size: 16px;
  border: 2px dashed #007cba;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
}

.future-player-processing p {
  margin: 0 0 15px 0;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .future-player-container {
    margin: 15px 0;
  }

  .future-player-title {
    padding: 12px 15px;
  }

  .future-player-title h4 {
    font-size: 14px;
  }
}

/* Animaciones */
.future-player-container {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.future-player-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Overlay de carga */
.future-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.future-player-spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

/* Added processing spinner for frontend */
.future-player-processing .future-player-spinner {
  border: 3px solid rgba(0, 124, 186, 0.3);
  border-top: 3px solid #007cba;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Added pulse animation for processing state */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.future-player-processing {
  animation: pulse 2s ease-in-out infinite;
}
