#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 12px;
  width: 48px;
  height: 48px;

  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;

  opacity: 0;
  pointer-events: none;
  transform: translateX(50px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Circle wrapper */
.scroll-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.17);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* The arrow */
.scroll-circle svg {
  width: 30px;
  height: 30px;
  display: block;
  filter: none !important;     /* Prevent dark mode inversion */
  stroke: #0015ff;             /* Clean blue arrow */
}

/* Hover effect */
#scrollTopBtn:hover svg {
  stroke: #000fce; /* darker blue */
}
