.app-loader {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(250, 251, 250, 0.72);
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.app-loader.is-active {
  display: flex;
}

.loader-card {
  min-width: 220px;
  max-width: min(90vw, 360px);
  padding: 26px 28px;
  border: 1px solid var(--border, #e4eae6);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  box-shadow: 0 18px 50px rgba(43, 50, 46, 0.14);
  text-align: center;
}

.spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 5px solid var(--secondary-light, #eef3f0);
  border-top-color: var(--accent, #3f5a4b);
  border-right-color: var(--secondary, #b1c6ba);
  animation: app-loader-spin 0.85s linear infinite;
}

.loader-text {
  margin: 0;
  color: var(--text, #2b322e);
  font-size: 15px;
  font-weight: 700;
}

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