html {
  font-size: 13px;
  font-weight: 400;
  font-family: Inter,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
  transition: none !important;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: absolute;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #fff;
}

.page-loading .splash-screen .loading-text {
  color: #99A1B7;
  margin-left: 1.25rem;
  font-size: 1.075rem;
  font-weight: 500;
}

html[data-bs-theme='dark'] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.splash-screen .dark-logo {
  display: none;
}

.splash-screen .light-logo {
  display: block;
}

html[data-bs-theme='dark'] .splash-screen .light-logo {
  display: none;
}

html[data-bs-theme='dark'] .splash-screen .dark-logo {
  display: block;
}

.loader {
  width: 2rem;
  height: 2rem;
  border: 0.185rem solid #1B84FF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 0.65s linear infinite;
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.loader-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1.25rem;
}

/* PF-8: the branded loader of the admin and provider dashboards (resources/views/app.blade.php). */
.app-loader {
  --app-loader-teal: #0e6a70;
  --app-loader-gold: #946a26;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-body-bg, #ffffff);
  opacity: 1;
  transition: opacity 300ms ease;
}

html[data-bs-theme='dark'] .app-loader {
  --app-loader-gold: #d6a756;
  background-color: var(--bs-body-bg, #151521);
}

.app-loader--hidden {
  opacity: 0;
  pointer-events: none;
}

.app-loader__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
}

.app-loader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 192px;
  height: 192px;
  margin: -96px 0 0 -96px;
  border-radius: 50%;
  background-color: rgba(14, 106, 112, 0.1);
  filter: blur(40px);
}

.app-loader__ring,
.app-loader__arc {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 6px solid rgba(14, 106, 112, 0.15);
}

.app-loader__arc {
  border-color: transparent;
  border-top-color: var(--app-loader-teal);
  border-inline-end-color: var(--app-loader-gold);
  animation: app-loader-spin 0.9s linear infinite;
}

.app-loader__logo {
  position: relative;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.app-loader__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (min-width: 576px) {
  .app-loader__mark {
    width: 144px;
    height: 144px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-loader,
  .app-loader__arc {
    animation: none;
    transition: none;
  }

  .app-loader__glow {
    display: none;
  }
}
