.asc-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  font-family: 'Raleway', Arial, sans-serif;
}

.asc-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 35, 34, 0.68);
  backdrop-filter: blur(1px);
}

.asc-loader__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 40px;
  border-radius: 12px;
  background: #ffffff;
  color: #222322;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  min-width: 220px;
}

.asc-loader__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #d9d9d9;
  border-top-color: #6a8c3f;
  animation: asc-spinner 0.9s linear infinite;
}

.asc-loader__text {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.asc-loader--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .asc-loader__content {
    width: calc(100% - 48px);
    padding: 28px 24px;
  }
}

@keyframes asc-spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
