.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  background-color: #f6f6f6;
  text-align: center;
}

.loader[data-in-panel] {
  margin: -1.5rem;
}

.loader:not([data-in-panel]) {
  max-width: 35rem;
  border: 1px #ddd solid;
  border-radius: 3px;
}

.loader[data-spaced-out] {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.spinner {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
}

.text {
  margin: 1rem 0 0;
  color: #333;
  font-style: italic;
}
