

/* Start:/local/templates/apiks_b2b/assets/css/errorpage.css?17931824783458*/
body.apiks-error-page .breadcrumb-wrapper,
body.apiks-error-page .title-wrapper,
body:has(.error-page) .breadcrumb-wrapper,
body:has(.error-page) .title-wrapper {
  display: none;
}
body.apiks-error-page main,
body:has(.error-page) main {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1025px) {
  body.apiks-error-page main,
  body:has(.error-page) main {
    padding-bottom: 0;
  }
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gap-4xl);
}
@media (max-width: 767px) {
  .error-page {
    padding: 0 var(--gap-s);
  }
}
.error-page__title {
  font-size: var(--font-size-xl, 20px);
  font-weight: 400;
  line-height: var(--line-height-s, 1.4);
}
.error-page__img-wrap img {
  width: 100%;
}
.error-page__auth-link {
  margin-top: var(--gap-3xl);
}
@media (max-width: 1440px) {
  .error-page__auth-link {
    margin-top: var(--gap-m);
  }
}
@media (max-width: 767px) {
  .error-page__auth-link {
    margin-top: var(--gap-3xl);
  }
}

/* Состояние ошибки из утверждённой дизайн-системы. Маршрутизация и HTTP 404
   остаются штатными: меняется только содержимое и визуальная иерархия. */
body.apiks-error-page main,
body:has(.error-page) main {
  min-height: calc(100vh - 196px);
  padding: 48px 24px 72px;
  background: #f4f4f4;
  box-sizing: border-box;
}
.error-page {
  box-sizing: border-box;
  width: min(100%, 680px);
  min-height: 360px;
  margin: 0 auto;
  padding: 56px 32px;
  justify-content: center;
  border: 1px solid rgba(12, 44, 69, .12);
  border-radius: 18px;
  background: #fff;
  color: #0c2c45;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
}
.error-page__code {
  color: #164264;
  font-size: clamp(72px, 12vw, 112px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.07em;
}
.error-page__title {
  margin: 22px 0 0;
  color: #0c2c45;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.error-page__text {
  max-width: 380px;
  margin: 12px auto 0;
  color: #5e6b78;
  font-size: 15px;
  line-height: 1.55;
}
.error-page__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.error-page__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(12, 44, 69, .16);
  border-radius: 10px;
  background: #fff;
  color: #0c2c45;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.error-page__action:hover { border-color: #164264; color: #164264; }
.error-page__action--primary { border-color: #0c2c45; background: #0c2c45; color: #fff; }
.error-page__action--primary:hover { border-color: #164264; background: #164264; color: #fff; }
@media (max-width: 767px) {
  body.apiks-error-page main,
  body:has(.error-page) main { min-height: calc(100vh - 150px); padding: 28px 16px 44px; }
  .error-page { min-height: 300px; padding: 42px 20px; border-radius: 14px; }
  .error-page__title { font-size: 21px; }
  .error-page__text { font-size: 14px; }
  .error-page__actions { width: 100%; flex-direction: column; }
  .error-page__action { width: 100%; }
}

/* End */
/* /local/templates/apiks_b2b/assets/css/errorpage.css?17931824783458 */
