#fw-toast-host{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10050;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.fw-toast{
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  transform: translateX(14px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.fw-toast.is-visible{
  transform: translateX(0);
  opacity: 1;
}

.fw-toast-title{
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  color: #ffffff;
}

.fw-toast-body{
  margin: 0;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.86);
}

.fw-toast-progress{
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
}

.fw-toast-progress > span{
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(244,194,107,1), rgba(0,227,134,1));
}

.fw-toast.is-hiding{
  transform: translateX(14px);
  opacity: 0;
}

@media (max-width: 520px){
  #fw-toast-host{
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}
