/* public/fleet/fleet-export.css (optional, or inline in the script) */
/* We'll provide this as a small companion file so the toast/spinner looks good */

.exp-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  animation: exp-slide-down 0.3s ease;
}
.exp-toast-success {
  background: #14532d;
  color: #86efac;
  border: 1px solid #22c55e;
}
.exp-toast-error {
  background: #7f1d1d;
  color: #fca5a5;
  border: 1px solid #ef4444;
}

@keyframes exp-slide-down {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Progress overlay on the element being exported */
.exp-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 20;
  border-radius: 12px;
  color: #f39c12;
  font-weight: bold;
  font-size: 1.1rem;
}
.exp-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(243, 156, 18, 0.2);
  border-top-color: #f39c12;
  border-radius: 50%;
  animation: exp-spin 0.7s linear infinite;
}
@keyframes exp-spin {
  to { transform: rotate(360deg); }
}