@import '../../style/themes/index';
@import '../../style/mixins/index';
@sucess-box-color: #0f6eff;
@error-box-color: #f24426;
@info-box-color: #0f6eff;
@warning-box-color: #ff8000;

.@{ant-prefix}-result-box {
  color: #000;
  display: flex;
  height: 100%;

  &-main {
    max-width: 380px;
    margin: auto;
  }

  // &-noAcess {
  //   min-width: 310px;
  // }

  .@{ant-prefix}-result-box-icon {
    text-align: center;
    font-size: 64px;
  }

  &-success &-icon > .anticon {
    color: @sucess-box-color;
  }

  &-error &-icon > .anticon {
    color: @error-box-color;
  }

  &-info &-icon > .anticon {
    color: @info-box-color;
  }

  &-warning &-icon > .anticon {
    color: @warning-box-color;
  }

  &-title {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    color: #333;
  }

  &-noAcesstitle {
    font-size: 18px;
    text-align: center;
    color: #333;
  }

  &-content {
    font-size: 14px;
    line-height: 1.6;
    color: #999;
    text-align: center;
  }

  &-extra {
    margin-top: 10px;
    text-align: center;

    > * {
      margin-right: 8px;

      &:last-child {
        margin-right: 0;
      }
    }
  }
}
