/* Shared "Loading D-Fuse" skeleton — used by both index.html (shown until
   React mounts) and login.html (shown after a successful password submit).
   Kept as one file so the two can't visually drift from each other, and uses
   the same grays as tailwind.config.js's design tokens (ink.secondary,
   ink.tertiary, line.DEFAULT) so a rebrand only has one non-Tailwind place
   to update. */
:root {
  --dfuse-ink-secondary: #6b6b6b;
  --dfuse-ink-tertiary: #8e8e8e;
  --dfuse-line: #e4e4e4;
}

.dfuse-loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #ffffff;
  color: var(--dfuse-ink-secondary);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dfuse-loading .spinner {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 2px solid var(--dfuse-line);
  border-top-color: var(--dfuse-ink-tertiary);
  animation: dfuse-loading-spin 0.7s linear infinite;
}

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