/* Scroll to Top Button Styles */

#hdd-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 50px;
  z-index: 9999;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 8px;
  background: #6643c8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hdd-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#hdd-scroll-top:hover {
  background: #5938ae;
}

#hdd-scroll-top .hdd-scroll-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#hdd-scroll-top:focus {
  outline: 2px solid #6643c8;
  outline-offset: 2px;
}

/* Scroll to Bottom Button Styles */
#hdd-scroll-bottom {
  position: fixed;
  right: 18px;
  bottom: 50px;
  z-index: 9999;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 8px;
  background: #6643c8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hdd-scroll-bottom.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#hdd-scroll-bottom:hover {
  background: #5938ae;
}

#hdd-scroll-bottom .hdd-scroll-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#hdd-scroll-bottom:focus {
  outline: 2px solid #6643c8;
  outline-offset: 2px;
}
