.operation-cell {
  .ant-btn-link {
    padding: 0;
    height: auto;
    border: none;

    + .ant-btn-link {
      margin-left: 12px;
    }
  }
}

// ant-modal
.ant-modal {
  .ant-modal-content {
    padding: 0;
  }
  .ant-modal-close {
    top: 13px;
    color: @text-color2;
  }
  .ant-modal-header {
    padding: 12px 20px;
    height: 48px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f3f5 100%);
    border-bottom: 1px solid @border-color1;
    margin: 0;
  }
  .ant-modal-title {
    font-weight: 500;
    font-size: 16px;
    color: @text-color1;
    line-height: 24px;
  }
  .ant-modal-body {
    padding: 20px;
  }

  .ant-modal-footer {
    margin: 0;
    padding: 0 20px 20px;
  }
}

.full-modal {
  .ant-modal {
    max-width: 100%;
    top: 0;
    padding-bottom: 0;
    margin: 0;
  }
  .ant-modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh);
  }
  .ant-modal-body {
    flex: 1;
  }
}
// ant-collapse
.ant-collapse {
  border-radius: 0;

  .ant-collapse-item {
    border-radius: 0;
    border: none;

    .ant-collapse-header {
      height: 34px;
      line-height: 22px;
      padding: 5px 16px;
      border-top: 1px solid @border-color1;
      border-bottom: 1px solid @border-color1;
      background: linear-gradient(180deg, #ffffff 0%, #f2f3f5 100%);

      .ant-collapse-arrow {
        color: @text-color3;
      }
    }

    .ant-collapse-header-text {
      .anticon {
        color: #bfbfbf;
        margin-right: 8px;
      }
    }

    .ant-collapse-content {
      background-color: #fff;

      .ant-collapse-content-box {
        padding: 10px 14px 10px 14px;
      }
    }
  }
}

// .ant-btn
.ant-btn {
  padding-left: 12px;
  padding-right: 12px;

  &.ant-simple {
    padding-left: 0;
    padding-right: 0;
  }

  &.ant-gray {
    background: #f3f4f6;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
  }
}
.ant-btn-success {
  color: #fff;
  background-color: @success-color;
  box-shadow: 0 2px 0 rgba(5, 115, 255, 0.1);
  &:hover {
    opacity: 0.8;
  }
}
.ant-btn-error-light {
  background: #ffece8;
  color: @error-color;

  &:hover {
    opacity: 0.8;
  }
}
.ant-btn-primary-light {
  background: #e8f3ff;
  color: @brand-color;

  &:hover {
    opacity: 0.8;
  }
}

// ant-tag
.ant-tag {
  &-big {
    height: 32px;
    border-radius: 6px;
    line-height: 30px;
    padding-left: 12px;
    padding-right: 12px;
  }
  &-blue {
    background: #e8f3ff;
    border: 1px solid #bedaff;
  }
}
