@import "../../style/mixins/index";

@confirm-prefix-cls: ~"@{dt-prefix}-confirm";

.@{confirm-prefix-cls} {
  .@{dt-prefix}-modal-header {
    // display: none;
  }

  .@{dt-prefix}-modal-close {
    // display: none;
  }

  .@{dt-prefix}-modal-body {
    padding: 32px 80px 24px;
  }

  &-body-wrapper {
    .clearfix();
  }

  &-body {
    .@{confirm-prefix-cls}-title {
      color: @text-color;
      font-weight: 500;
      font-size: @font-size-lg;
      line-height: 22px;
    }

    .@{confirm-prefix-cls}-content {
      margin-left: 38px;
      font-size: @font-size-sm;
      color: @text-color-assist-1;
      margin-top: 8px;
    }

    .@{confirm-prefix-cls}-doubleCheckContent {
      font-size: @font-size-sm;
      color: @text-color-assist-1;
      margin-top: 8px;
      background: fade(@title-content-background, 60%);
      border: 1px solid fade(@form-border-color, 60%);
      padding: 24px 60px 20px 40px;

      .danger-text {
        color: @danger-color;
      }
    }

    > .@{iconfont-css-prefix} {
      font-size: 24px;
      margin-right: 16px;
      float: left;
      min-height: 48px;
    }
  }

  .@{confirm-prefix-cls}-btns {
    margin-top: 24px;
    float: right;

    button + button {
      margin-left: 8px;
      margin-bottom: 0;
    }
  }

  &-error &-body > .@{iconfont-css-prefix} {
    color: @error-color;
  }

  &-warning &-body > .@{iconfont-css-prefix},
  &-confirm &-body > .@{iconfont-css-prefix} {
    color: @warning-color;
  }

  &-info &-body > .@{iconfont-css-prefix} {
    color: @info-color;
  }

  &-success &-body > .@{iconfont-css-prefix} {
    color: @success-color;
  }
}
