@import '../styles/themes/themes.less';

.@{bk-prefix}-exception {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.@{bk-prefix}-exception-img {
  display: flex;
  align-items: center;
  justify-content: center;

  .exception-image {
    display: block;
    height: 100%;
    object-fit: contain;
  }
}

.@{bk-prefix}-exception-title {
  color: #313238;
}

.@{bk-prefix}-exception-description {
  color: #63656e;
}

.@{bk-prefix}-exception-page {
  .@{bk-prefix}-exception-img {
    width: 480px;
    height: 240px;
  }

  .@{bk-prefix}-exception-title {
    margin-top: 18px;
    font-size: 24px;
    line-height: 32px;
  }

  .@{bk-prefix}-exception-description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .@{bk-prefix}-exception-footer {
    margin-top: 24px;
  }
}

.@{bk-prefix}-exception-part {
  .@{bk-prefix}-exception-img {
    width: 120px;
    height: 100px;
  }

  .@{bk-prefix}-exception-title {
    margin-top: 8px;
    font-size: 14px;
    line-height: 22px;
  }

  .@{bk-prefix}-exception-description {
    margin-top: 8px;
    font-size: 12px;
    line-height: 20px;
  }

  .@{bk-prefix}-exception-footer {
    margin-top: 8px;
  }
}
