﻿/*
   Talkiva - css\components\back-to-top.css
   Back-to-top floating button
   Extracted verbatim from the original style.css. No rules altered.
*/

/* ---------- 17. Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #ff6a3d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(239, 27, 67, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.3s;
  z-index: 900;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { box-shadow: 0 16px 40px rgba(239, 27, 67, 0.6); transform: translateY(-3px); }

