.espera-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(2px);
}

.espera-overlay[hidden] {
  display: none;
}

.espera-overlay > * {
  position: relative;
}

.espera-panel {
  display: grid;
  justify-items: center;
  gap: .9rem;
  min-width: min(18rem, 90vw);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1rem;
  background: rgba(16, 36, 27, .52);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
}

.espera-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top-color: #198754;
  border-radius: 50%;
  animation: flora-espera-spin 1s linear infinite;
}

.espera-text {
  margin: 0;
  font-weight: 700;
}

@keyframes flora-espera-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .espera-spinner { animation-duration: 2.5s; }
}
