/* Estilo base para a camada do spinner */
.spinner-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: rgba(255, 255, 255, 0.85);*/
  z-index: 9999;
}

/* Modo Global: tela cheia, fixo na janela */
.spinner-overlay.global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Modo Local: contido dentro de um elemento pai */
.spinner-overlay.local {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Container para o ícone e texto do spinner */
.loading-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* A animação do círculo girando */
.loading-spinner {
  width: 100px;
  height: 100px;
  border: 7px solid #e2e8f0;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-spinner-container p {
  font-weight: 500;
  color: #6c757d; /* CORREÇÃO: Cor cinza aplicada diretamente */
  font-size: 0.9rem;
}

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