/**
 * Estilos para el botón flotante de volver arriba
 */

/* Contenedor del botón flotante */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Botón visible */
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Estilo del botón */
.scroll-to-top-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #ff6600;
  color: white;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efecto hover */
.scroll-to-top-button:hover {
  background-color: #e55c00;
  transform: translateY(-3px);
}

/* Icono de flecha */
.scroll-to-top-button i {
  font-size: 24px;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-to-top-button {
    width: 45px;
    height: 45px;
  }
}

/* Ajustes para dispositivos muy pequeños */
@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
  }
  
  .scroll-to-top-button {
    width: 40px;
    height: 40px;
  }
  
  .scroll-to-top-button i {
    font-size: 20px;
  }
}
