diff --git a/public/css/styles.css b/public/css/styles.css index 1f36bb2..4fdbed7 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1840,3 +1840,15 @@ body.dark-mode .selected-student-banner { border-color: #38bdf8; } +/* Animación de actualización de saldo y disponible en tiempo real */ +@keyframes balancePulseHighlight { + 0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); } + 35% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.9)); color: #0284c7; } + 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); } +} + +.balance-updated { + animation: balancePulseHighlight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); + display: inline-block; +} + diff --git a/public/index.html b/public/index.html index 6b2a883..22e5144 100644 --- a/public/index.html +++ b/public/index.html @@ -10,7 +10,7 @@ - +