/**
 * Payments Section — Blade Styles
 * Works for: homepage/sections/payments-section.php
 * Shared base styles are in: homepage/homepage-components.css
 */

/* PAYMENTS SECTION - Subtle background tint */
.payments-section {
  background: #fff;
}

/* PAYMENTS SECTION - Label pill colour */
.payments-section .fs-label {
  color: var(--color-primary);
  background: var(--color-primary-tint);
}

/* PAYMENTS SECTION - Checkmark icon colour */
.payments-section .fs-feature__icon {
  background: var(--color-primary);
}

/* PAYMENTS SECTION - Visual card icon bg */
.payments-section .fs-visual__icon {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

/* PAYMENTS SECTION - Transaction avatar colour */
.payments-section .fs-tx__avatar {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

/* PAYMENTS SECTION - Incoming amount colour */
.payments-section .fs-tx__amount--in {
  color: var(--color-primary);
}

/* ── Transaction animation states ───────────────────────── */

/* Hidden: slide left + transparent */
.fs-tx--hidden {
  opacity: 0;
  transform: translateX(-16px);
  transition: none;
}

/* Visible: slide in with notification pop */
.fs-tx--visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-settle);
}

/* Brief highlight flash when a row appears */
.fs-tx--visible .fs-tx__amount {
  animation: amountPop 0.5s ease forwards;
}

@keyframes amountPop {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.18); }
  100% { transform: scale(1);    }
}
