/* vistas/assets/css/tf-saas-alert.css
 * Alert tipo 'Cambios guardados' (UI SaaS)
 */

/* =========================================================
   ✅ Alert estilo "Cambios guardados" (como tu imagen)
   ========================================================= */
.tf-saas-alert-backdrop{
  position:fixed; inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter: blur(2px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}
.tf-saas-alert-backdrop.show{ display:flex; animation: tfFadeIn .14s ease-out both; }

.tf-saas-alert-card{
  width:min(420px, calc(100vw - 32px));
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
  border:1px solid rgba(226,232,240,.9);
  padding:18px 18px 16px;
  font-family: Roboto, "Google Sans", Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  animation: tfPopIn .18s ease-out both;
}
.tf-saas-alert-row{ display:flex; gap:12px; align-items:flex-start; }
.tf-saas-alert-ico{
  width:38px; height:38px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(16,185,129,.12);
  color:#10b981;
  flex:0 0 auto;
}
.tf-saas-alert-ico i{ font-size:22px; }
.tf-saas-alert-title{
  font-weight:800;
  font-size:1.05rem;
  margin:0;
  color:#0f172a;
}
.tf-saas-alert-sub{
  margin:4px 0 0;
  font-weight:500;
  font-size:.92rem;
  color:#475569;
  line-height:1.25;
}
.tf-saas-alert-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}
.tf-saas-alert-btn{
  border:0;
  border-radius:12px;
  padding:10px 14px;
  font-weight:800;
  font-size:.92rem;
  cursor:pointer;
}
.tf-saas-alert-btn.primary{
  background:#4f46e5;
  color:#fff;
  box-shadow:0 14px 30px rgba(79,70,229,.25);
}
.tf-saas-alert-btn.ghost{ background:rgba(148,163,184,.15); color:#0f172a; }

@keyframes tfFadeIn{ from{opacity:0} to{opacity:1} }
@keyframes tfPopIn{ from{opacity:0; transform:translateY(10px) scale(.98)} to{opacity:1; transform:translateY(0) scale(1)} }
