/* ==========================================================================
   Hovering Floating Action Button (FAB) — Icon-Only + Button
   ========================================================================== */

.fab-add-tx {
  position: fixed;
  bottom: 4.85rem;
  right: max(1.25rem, calc(50vw - 540px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: var(--accent-primary);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.fab-add-tx:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.24);
}

.fab-add-tx:active {
  transform: translateY(0) scale(0.98);
}

.fab-svg-icon {
  width: 1.38rem;
  height: 1.38rem;
  stroke: currentColor;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .fab-add-tx {
    bottom: 4.65rem;
    right: 1rem;
    width: 3.15rem;
    height: 3.15rem;
  }
}
