/* DEPRECATED 2026-07-10: ADIB side-rail removed.
   Floating Back-to-top only (see side-rail.js). */

.mova-back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 220;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 24, 48, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-900, #0a1830);
  box-shadow: 0 8px 24px rgba(10, 24, 48, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.15s, color 0.15s;
}

.mova-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mova-back-top:hover,
.mova-back-top:focus-visible {
  background: var(--navy-900, #0a1830);
  color: #fff;
  outline: none;
}

.mova-back-top svg {
  width: 20px;
  height: 20px;
}

/* Hide any leftover legacy rail markup */
.mova-side-rail {
  display: none !important;
}

@media (max-width: 640px) {
  .mova-back-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}
