html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top, rgba(249, 196, 58, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdfa, #fff7eb 58%, #fffaf3);
  font-family: 'Segoe UI', sans-serif;
}

.app-loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(43, 25, 5, 0.28);
  backdrop-filter: blur(6px);
}

.app-loading--error-shell {
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.app-loading__panel,
#jhipster-error {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1.75rem;
  border: 1px solid rgba(111, 44, 125, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 1rem 2rem rgba(76, 43, 2, 0.12);
  text-align: center;
  pointer-events: auto;
}

.app-loading__orbital {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
}

.app-loading__ring,
.app-loading__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.app-loading__ring--outer {
  border: 0.28rem solid rgba(111, 44, 125, 0.14);
  border-top-color: #6f2c7d;
  animation: app-loading-spin 1.05s linear infinite;
}

.app-loading__ring--inner {
  inset: 0.7rem;
  border: 0.22rem solid rgba(243, 176, 27, 0.16);
  border-bottom-color: #f0a91a;
  animation: app-loading-spin-reverse 1.3s linear infinite;
}

.app-loading__core {
  inset: 1.45rem;
  background: radial-gradient(circle at 30% 30%, #ffe8a0, #f3b01b);
  box-shadow: 0 0 1.2rem rgba(243, 176, 27, 0.32);
}

.app-loading__copy {
  display: grid;
  gap: 0.35rem;
}

.app-loading__copy strong {
  color: #2d1c07;
  font-size: 1.05rem;
}

.app-loading__copy span {
  color: #7d6240;
  line-height: 1.5;
}

#jhipster-error {
  display: none;
  justify-items: start;
  text-align: left;
}

#jhipster-error h1,
#jhipster-error h2,
#jhipster-error h3,
#jhipster-error p,
#jhipster-error li {
  color: #2d1c07;
}

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

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