.ruqi-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-sizing: border-box;
  width: 100%;
  padding: 40px 16px;
  font-family: var(--ruqi-font-family, 'Source Sans Pro', sans-serif);
  text-align: center;
}

.ruqi-state--page {
  flex: 1 0 auto;
  justify-content: center;
  min-height: 60vh;
  padding-top: 64px;
  padding-bottom: 64px;
}

body.page-error main.main,
body.page-error main.main > .section {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

body.page-error main.main > .section {
  padding-top: 0;
  padding-bottom: 0;
}

body.page-error main.main > .section > .container {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
}

.ruqi-state__illustration {
  display: block;
  flex-shrink: 0;
  width: 200px;
  height: auto;
}

.ruqi-state__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 460px;
}

.ruqi-state__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: #1f2937;
}

.ruqi-state__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #6b7280;
}

.ruqi-state__hint {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #98a2b3;
}

.ruqi-state .ruqi-state__action {
  margin-top: 10px;
  min-width: 138px;
}

@media (max-width: 999.98px) {
  .ruqi-state {
    gap: 24px;
    padding: 32px 16px;
  }

  .ruqi-state--page {
    min-height: 50vh;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .ruqi-state__illustration {
    width: 160px;
  }

  .ruqi-state__title {
    font-size: 24px;
    line-height: 32px;
  }

  .ruqi-state__text {
    font-size: 15px;
    line-height: 22px;
  }
}
