.pdf-spinner {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdf-spinner.is-visible {
  display: flex;
}

.pdf-spinner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.pdf-spinner__box {
  position: relative;
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: inherit;
}

.pdf-spinner__loader {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #ddd;
  border-top-color: #007bff;
  margin: 0 auto 0.75rem;
  animation: pdfspin 0.9s linear infinite;
}

.pdf-spinner__text {
  margin: 0;
  font-size: 0.95rem;
}

@keyframes pdfspin {
  to { transform: rotate(360deg); }
}
