.loading-mask-host {
  position: relative;
}

.loading-mask-host--busy {
  pointer-events: auto;
}

.loading-mask-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: inherit;
  background: transparent;
  backdrop-filter: none;
}

.loading-mask-overlay__box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.14);
}

.loading-mask-overlay__label {
  font-size: 0.72rem;
  line-height: 1.1;
  color: var(--bs-secondary-color);
  text-align: center;
  white-space: nowrap;
}

.loading-mask-spinner {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 2px solid rgba(var(--bs-primary-rgb), 0.22);
  border-top-color: rgba(var(--bs-primary-rgb), 1);
  animation: loading-mask-spin 0.75s linear infinite;
}

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