/* Error page (404/403/500/503) — Figma 8404:77172, 77198, 77217, 77233 */

.iw-error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 100px 16px;
  text-align: center;
  background: #ffffff;
}

.iw-error-page__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #678bf3;
  font-family: inherit;
  font-weight: 700;
  font-size: 180px;
  line-height: 1;
  letter-spacing: -3.6px;
}

.iw-error-page__digit {
  display: inline-block;
}

.iw-error-page__code--image {
  font-size: 0;
  letter-spacing: 0;
  line-height: 0;
  gap: 0;
}
.iw-error-page__code-img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}

.iw-error-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 145px;
  height: 145px;
}
.iw-error-page__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.iw-error-page__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  width: 100%;
}

.iw-error-page__heading {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.4px;
  color: #181d27;
}

.iw-error-page__description {
  margin: 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #535862;
}

.iw-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.iw-error-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 510;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
  cursor: pointer;
  border: 0;
}

.iw-error-page__btn--primary {
  background: #4564ed;
  color: #ffffff;
}
.iw-error-page__btn--primary:hover,
.iw-error-page__btn--primary:focus {
  background: #3650c4;
  color: #ffffff;
}

.iw-error-page__btn--secondary {
  background: #f7f7f8;
  color: #3d3d3d;
}
.iw-error-page__btn--secondary:hover,
.iw-error-page__btn--secondary:focus {
  background: #e9ecf6;
  color: #3d3d3d;
}

.iw-error-page__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 819px) {
  .iw-error-page {
    padding: 60px 16px;
    gap: 24px;
  }
  .iw-error-page__code {
    font-size: 96px;
    gap: 8px;
    letter-spacing: -1.92px;
  }
  .iw-error-page__icon {
    width: 80px;
    height: 80px;
  }
  .iw-error-page__code-img {
    width: 320px;
  }
  .iw-error-page__heading {
    font-size: 28px;
    line-height: 36px;
  }
}
