@font-face {
  font-family: 'Söhne';
  font-display: swap;
  font-weight: 300;
  src: local('sans-serif'), url('../fonts/soehne-web-leicht.woff2') format('woff2');
}

@font-face {
  font-family: 'Söhne';
  font-display: swap;
  font-weight: 400;
  src: local('sans-serif'), url('../fonts/soehne-web-buch.woff2') format('woff2');
}

@font-face {
  font-family: 'Söhne';
  font-display: swap;
  font-weight: 600;
  src: local('sans-serif'), url('../fonts/soehne-web-halbfett.woff2') format('woff2');
}

@font-face {
  font-family: 'Söhne Mono';
  font-display: swap;
  font-weight: 400;
  src: local('monospace'), url('../fonts/soehne-mono-web-buch.woff2') format('woff2');
}

@font-face {
  font-family: 'Söhne Schmal';
  font-display: swap;
  font-weight: 600;
  src: local('sans-serif'), url('../fonts/soehne-schmal-web-fett.woff2') format('woff2');
}

b,
strong {
  font-weight: 900;
}

body.sb-mfa-error-page header,
body.sb-mfa-error-page footer {
  display: none !important;
}

body.sb-mfa-error-page #kc-content {
  margin-bottom: 0;
}

.sb-mfa-error {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  padding: 36px 24px 24px;
  color: #f8f8f8;
  text-align: center;
}

.sb-mfa-error__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.sb-mfa-error__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-mfa-error__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.sb-mfa-error__description {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-line;
}

.sb-mfa-error__icon {
  width: 168px;
  height: 168px;
  margin: 48px 0 44px;
  color: #ff3045;
  overflow: visible;
}

.sb-mfa-error__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 188px;
  height: 44px;
  padding: 0 16px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: #d8dddf;
  color: #15191a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.sb-mfa-error__button:hover {
  background: #eef2f3;
}

.sb-mfa-error__button:active {
  background: #c6cccf;
}

.sb-mfa-error__button:focus {
  outline: 2px solid #f8f8f8;
  outline-offset: 3px;
}

.sb-mfa-error__footer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: calc(100vw - 48px);
  margin: 40px 0 0;
  color: #c8ccce;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.sb-mfa-error__footer svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

@media (max-width: 640px) {
  .sb-mfa-error {
    min-height: 100vh;
    padding: 28px 20px 20px;
  }

  .sb-mfa-error__title {
    font-size: 24px;
  }

  .sb-mfa-error__description {
    font-size: 16px;
  }

  .sb-mfa-error__icon {
    width: 168px;
    height: 168px;
    margin: 40px 0 36px;
  }

  .sb-mfa-error__button {
    width: 188px;
    max-width: 100%;
    font-size: 16px;
  }
}
