.move-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color); /* Use your theme color */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.move-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.move-to-top:hover {
  background-color: var(--secondary-color); /* Hover color */
  transform: translateY(-3px);
}

/* For Font Awesome icon */
.move-to-top i {
  font-size: 20px;
}

/* Alternative if not using Font Awesome */
.move-to-top::after {
  /* content: '↑'; */
  font-size: 24px;
  font-weight: bold;
}
