/* Rediseño de los controles del reproductor de video */

/* Contenedor principal de los controles */
.video-controls {
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #333333, #222222);
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-wrap: nowrap;
  gap: 5px;
}

/* Grupos de controles */
.control-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Botones rediseñados */
.video-controls button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0 1px;
}

.video-controls button:hover {
  background: rgba(59, 170, 226, 0.3);
  border-color: var(--primary, #3BAAE2);
}

.video-controls button.active {
  background: var(--primary, #3BAAE2);
  border-color: var(--primary, #3BAAE2);
  color: white;
}

/* Separadores visuales */
.divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}

/* Iconos dentro de los botones */
.video-controls button i {
  font-size: 14px;
  display: inline-block;
}

/* Control de volumen */
.volume-slider {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0 5px;
}

/* Selector de velocidad */
#playback-speed {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
  .video-controls {
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 10px;
  }
  
  .control-group.settings {
    margin-top: 5px;
    width: 100%;
    justify-content: space-between;
  }
  
  .video-controls button {
    width: 32px;
    height: 32px;
  }
  
  .volume-slider {
    width: 40px;
  }
}

/* Asegurar que los controles de edición de clip permanezcan en su lugar */
.clip-editor {
  margin-top: 20px;
}

/* Mantener los estilos originales para los puntos de entrada y salida */
#btn-in-point, #btn-out-point {
  position: relative;
}

#btn-in-point i, #btn-out-point i {
  color: #fff;
}

/* Estilos para los botones de guardar y descargar clip */
.clip-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.clip-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  background-color: var(--primary, #3BAAE2);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.clip-actions button:hover {
  background-color: var(--primary-dark, #2A99D1);
}

.clip-actions button i {
  font-size: 16px;
}
