/* TOPBARVIEW.CSS (toast emergente) */
.topbar{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 9999;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 0;            /* el padding lo tiene la pill */
  border: 0;
  background: transparent;
  backdrop-filter: none;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.topbar.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.top-actions{display:flex; align-items:center; gap:10px}

.statuspill{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(12,18,30,.72);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.statuspill i{color:rgba(255,255,255,.80)}
.status-text{
  white-space:nowrap;
  max-width: 520px;
  overflow:hidden;
  text-overflow:ellipsis
}

/* estados */
.topbar.ok    .statuspill{ border-color: rgba(8,180,244,.35); }
.topbar.warn  .statuspill{ border-color: rgba(255,200,60,.35); }
.topbar.error .statuspill{ border-color: rgba(255,90,90,.45); }

/* opcional: en mobile */
@media (max-width: 520px){
  .status-text{ max-width: 260px; }
}
