/* RF5 Upload spinner / overlay (moved from rf5-upload.js ensureSpinnerCss) */

@keyframes rf5Spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.rf5-upload-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.65);
  z-index: 10;
  border-radius: 8px;
}

.rf5-upload-overlay[data-show="1"] {
  display: flex;
}

.rf5-upload-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,0,0,0.15);
  border-top-color: rgba(0,0,0,0.55);
  border-radius: 999px;
  animation: rf5Spin 0.9s linear infinite;
}

.rf5-upload-overlay-text {
  margin-left: 10px;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.75);
}
