.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;
}

.toast .toast-icon {
  font-size: 18px;
}

.toast .toast-icon.success {
  color: #34d399;
}

.toast .toast-icon.error {
  color: #f87171;
}

.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-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;
}

.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;
}

.popup-card .popup-btn {
  background: var(--orange);
      border: none;
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      padding: 12px 40px;
      border-radius: 40px;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.2s, transform 0.15s;
      box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.popup-card .popup-btn:hover {
  background: var(--orange-dark); transform: scale(1.02);
}

.popup-card .popup-btn:active {
  transform: scale(0.97);
}

