.app-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 18px));
  width: min(420px, calc(100vw - 24px));
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #3a3a3a;
  background: rgba(24, 24, 24, 0.96);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.98rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.app-toast strong {
  font-weight: 700;
}

.app-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.app-toast.success {
  border-color: rgba(55, 204, 102, 0.55);
}

.app-toast.error {
  border-color: rgba(255, 60, 120, 0.7);
}

.app-toast.pending {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .app-toast {
    top: 50%;
    width: min(420px, calc(100vw - 16px));
    padding: 0.9rem 1rem;
  }
}
