/* Fullscreen overlay */
.st-loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.55);
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: #fff;

  opacity: 1;
  transition: opacity 160ms ease;
}

.st-hidden {
  opacity: 0;
  pointer-events: none;
}

.st-card {
  min-width: 220px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.st-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.st-subtitle {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 12px;
  text-align: center;
}

.st-spinner {
  margin: 0 auto;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 1);
  animation: st-spin 1s linear infinite;
}

@keyframes st-spin {
  to {
    transform: rotate(360deg);
  }
}
