/* Scroll-to-top button for Swagger UI */
#swagger-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #49cc90;
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s, opacity 0.3s;
  z-index: 9999;
  font-size: 1.1rem;
}

#swagger-scroll-top:hover {
  background: #3aaa76;
  transform: translateY(-2px);
}

#swagger-scroll-top.visible {
  display: flex;
  animation: fadeInBtn 0.3s ease;
}

@keyframes fadeInBtn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
