/* Back to Top Button Styles */

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary, #0084b4);
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#back-to-top:hover {
  background: var(--color-primary-dark, #005580);
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#back-to-top:focus {
  outline: 2px solid var(--color-primary, #0084b4);
  outline-offset: 3px;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  #back-to-top svg {
    width: 20px;
    height: 20px;
  }
}
