:root {
  --al-bg: #f7f9fb;
  --al-fg: #191c1e;
  --al-muted: #5b6166;
  --al-track: rgba(25, 28, 30, 0.1);
  --al-accent: #037f7b;
  --al-accent-2: #2dd4bf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --al-bg: #0e1216;
    --al-fg: #e8eaec;
    --al-muted: #9aa2a8;
    --al-track: rgba(255, 255, 255, 0.12);
    --al-accent: #7fdcd6;
    --al-accent-2: #5eead4;
  }
}
html,
body {
  margin: 0;
  background: var(--al-bg);
}
.app-loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  box-sizing: border-box;
  background: var(--al-bg);
  color: var(--al-fg);
  font-family:
    'Plus Jakarta Sans',
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  animation: al-fade 0.4s ease both;
}
.app-loading-brand {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  letter-spacing: 0.18em;
  padding-inline-start: 0.18em;
  color: var(--al-accent);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .app-loading-brand {
    background: linear-gradient(92deg, var(--al-accent), var(--al-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.app-loading-flag {
  display: flex;
  gap: 9px;
}
.app-loading-flag span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: al-dot 1.2s ease-in-out infinite;
}
.app-loading-flag span:nth-child(1) {
  background: #00853f;
  animation-delay: 0s;
}
.app-loading-flag span:nth-child(2) {
  background: #fdef42;
  animation-delay: 0.15s;
}
.app-loading-flag span:nth-child(3) {
  background: #e31b23;
  animation-delay: 0.3s;
}
#jhipster-error .app-loading-flag span {
  animation: none;
  opacity: 1;
}
.app-loading-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--al-muted);
  text-align: center;
}
.app-loading-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--al-accent);
  padding: 10px 24px;
  border-radius: 999px;
}
.app-loading-btn:hover {
  filter: brightness(1.06);
}
@keyframes al-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes al-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-7px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-loading {
    animation: none;
  }
  .app-loading-flag span {
    animation: al-pulse 1.4s ease-in-out infinite;
  }
  @keyframes al-pulse {
    0%,
    100% {
      opacity: 0.35;
    }
    50% {
      opacity: 1;
    }
  }
}
