/* ══════════════════════════════════════════════════════════
   TBS — Notification System — Estilos centralizados
   Fonte única de verdade para animações e estilos de popup
   ══════════════════════════════════════════════════════════ */

/* ── Animações de entrada e saída ── */
@keyframes notifSlide {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

@keyframes notifSlideOut {
  from { opacity: 1; transform: translateY(0)    scale(1);   }
  to   { opacity: 0; transform: translateY(10px) scale(.96); }
}

@keyframes notifFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Base do popup de notificação ── */
.tbs-notif-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  animation: notifSlide .35s ease-out;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Badge de teste — sobrepõe o popup para identificá-lo ── */
.tbs-notif-test-badge {
  position: absolute;
  top: -8px;
  left: 14px;
  background: rgba(109,40,217,.9);
  color: #e9d5ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ── Variantes de borda por urgência ── */
.tbs-notif-popup.urgencia-info   { border: 1px solid rgba(109,40,217,.5); }
.tbs-notif-popup.urgencia-ok     { border: 1px solid rgba(34,211,165,.5); }
.tbs-notif-popup.urgencia-leve   { border: 1px solid rgba(249,115,22,.45); }
.tbs-notif-popup.urgencia-media  { border: 1px solid rgba(239,68,68,.55);  }
.tbs-notif-popup.urgencia-alta   { border: 1px solid rgba(239,68,68,.85);  }
