/*
 * back-to-top — converted from src/components/layout/BackToTop.module.css
 * Declarations are unchanged; only class selectors were renamed.
 */
.np-back-to-top__button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.np-back-to-top__button.np-back-to-top__visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.np-back-to-top__button:hover {
  background: var(--green2);
}

.np-back-to-top__button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .np-back-to-top__button {
    right: 16px;
    bottom: 16px;
  }
}
