/* Estilos para la página de generación de películas */
.back-link {
  margin-bottom: 20px;
}

.back-link a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: color 0.3s;
}

.back-link a:hover {
  color: #e50914;
  text-decoration: none;
}

.back-link i {
  margin-right: 8px;
}

.options-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.option-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.option-icon {
  font-size: 3rem;
  color: #e50914;
  margin-bottom: 20px;
}

.option-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
  border-bottom: none;
}

.option-card p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.photo-upload-container {
  width: 100%;
  margin-bottom: 20px;
}

.photo-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  overflow: hidden;
}

.photo-preview i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.photo-preview p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-controls {
  display: flex;
  justify-content: center;
}

/* Modal de generación */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #141414;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #e50914;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  color: white;
  border-bottom: none;
}

.generation-progress {
  margin-top: 30px;
}

.progress-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background-color: #e50914;
  width: 0%;
  transition: width 0.5s;
}

.progress-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.generation-complete {
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 20px;
}

.generation-complete h3 {
  margin-bottom: 10px;
  color: white;
}

.video-container-modal {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
}

.video-container-modal video {
  width: 100%;
  display: block;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .options-container {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
}
