/* ══════════════════════════════════════════
   Rekastok — components.css
   ══════════════════════════════════════════ */

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 40px; height: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal), transform var(--dur-normal) var(--ease-spring), box-shadow var(--dur-fast);
  z-index: 998;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--blue);
  border-color: var(--blue);
}

/* ── Tooltip (future use) ── */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast);
}

[data-tooltip]:hover::after { opacity: 1; }

/* ── Progress Bar (future) ── */
.progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-radius: var(--radius-full);
  transition: width 1s var(--ease);
}
