.sp-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-height: 40vh;
}

.sp-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
  pointer-events: auto;
  animation: spSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sp-toast.sp-exit {
  animation: spSlideOut 0.35s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.sp-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.sp-body {
  flex: 1;
  min-width: 0;
}

.sp-text {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
}

.sp-time {
  color: #64748b;
  font-size: 11px;
  margin-top: 2px;
}

.sp-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 12px 12px;
  animation: spProgress 5s linear forwards;
}

.sp-toast[data-type="buy"] .sp-progress {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.sp-toast[data-type="deposit"] .sp-progress {
  background: linear-gradient(90deg, #10b981, #34d399);
}

@keyframes spSlideIn {
  from {
    opacity: 0;
    transform: translateX(-100%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes spSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-100%) scale(0.92);
  }
}

@keyframes spProgress {
  from { width: 100%; }
  to { width: 0%; }
}

@media (max-width: 480px) {
  .sp-container {
    left: 12px;
    right: 12px;
    bottom: 16px;
  }
  .sp-toast {
    min-width: 0;
    max-width: 100%;
  }
}
