.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast .spinner { width:20px; height:20px; border:2px solid var(--border-color); border-top-color:var(--orange); border-radius:50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.toast .toast-icon { font-size: 18px; }
.toast .toast-icon.success { color: #34d399; }
.toast .toast-icon.error { color: #f87171; }
.toast .toast-icon.info { color: #60a5fa; }
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}
.popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.popup-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px 44px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: popScale 0.3s ease;
}
@keyframes popScale { from { transform:scale(0.94); opacity:0; } to { transform:scale(1); opacity:1; } }
.popup-card .popup-icon { font-size: 56px; color: #fcd34d; margin-bottom: 12px; }
.popup-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.popup-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }