:root {
  --background-color: #f3f4f6;
  --app-header-background-color: #fff;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: inherit;
  background-color: var(--background-color, #fff);
}

.app-skeleton {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr;
  grid-template-areas:
    'header'
    'content';
}

.app-skeleton__app-header {
  background-color: var(--app-header-background-color);
  grid-area: header;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  height: 4rem;
}

.app-skeleton__app-content {
  grid-area: content;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.loading-spinner__sublabel {
  position: absolute;
  margin-top: 5rem;
}

.loading-spinner:before {
  box-sizing: border-box;
  content: '';
  height: 30px;
  width: 30px;
  border-width: 4px;
  border-style: solid;
  border-color: #2180c0 #ccc #ccc;
  border-radius: 100%;
  animation: rotation 0.7s infinite linear;
}

.loading-spinner__backdrop ~ .loading-spinner:before {
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #fff;
  z-index: 30;
}

.loading-spinner__backdrop {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity));
  z-index: 30;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
