/* =================================================================
   DESIGN SYSTEM FINETIPS — Componentes Globais
   Arquivo: components.css
   Descrição: Botão voltar ao topo e outros componentes utilitários.
   ================================================================= */

.back-to-top-wrapper {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.back-to-top-wrapper.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top {
  width: 56px;
  height: 56px;
  background-color: var(--text-color);
  color: var(--bg-surface);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  transition: color var(--transition-normal);
}

.placeholder-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-style: italic;
  transition: border-color var(--transition-normal), color var(--transition-normal);
}
