// 申请单字段配置
.application-field-configuration {
  .afc-card {
    .ant-card-head> .ant-card-head-wrapper > .ant-card-extra {
      padding: 11px 0;
    }

    .afc-card-header .ant-divider.ant-divider-vertical {
      margin: 0;
    }

    .afc-card-delete-btn.ant-btn.ant-btn-link {
      color: rgba(255, 0, 0, .8);
    }
  }
}

.sm-card-tabs {

  .ant-tabs-nav-wrap,
  &>.ant-card-head {
    height: 44px;
  }

  .ant-tabs .ant-tabs-large-bar .ant-tabs-tab {
    padding: 11px 16px;
    font-size: 14px;
  }

  .ant-tabs-bar {
    margin: 0;
    border-bottom: 0;
  }

  .ant-tabs.ant-tabs-large .ant-tabs-extra-content {
    height: 44px;
    line-height: 44px
  }
}

// g供应商维护/客户管理
.supplier-maintenance,
.customer-management,
.optometry-manufacturer-maintenance {
  .cm-tabs {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    height: 84px;

    .cm-tabs-items {
      height: 100%;
      width: 192px;
      margin-right: 12px;
      border: 1px solid #e8e8e8;
      border-radius: 2px;
      cursor: pointer;

      img {
        width: 20px;
        margin-right: 6px;
      }
    }

    .cm-tabs-items:last-child {
      margin-right: 0;
    }

    .cm-tabs-active {
      box-shadow: 1px 1px 10px 2px rgba(51, 51, 51, 0.15);
      position: relative;

      &::after {
        position: absolute;
        right: 0;
        top: 0;
        width: 0;
        height: 0;
        content: '';
        border: 18px solid;
        border-color: #007AFF #007AFF transparent transparent;
        border-top-right-radius: 2px;
      }

      &::before {
        position: absolute;
        right: 4px;
        top: 6px;
        z-index: 1;
        width: 14px;
        height: 8px;
        content: '';
        background: transparent;
        border: 2px solid white;
        border-top: none;
        border-right: none;
        -webkit-transform: rotate(-55deg);
        -ms-transform: rotate(-55deg);
        transform: rotate(-55deg);
      }
    }
  }

  .sm-base-info-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 12px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
  }

  .sm-card-title {
    height: 46px;
    line-height: 46px;
    color: #007AFF;

    &>div:nth-child(1) {
      top: 13px;
      height: 20px;
      width: 4px;
    }
  }

  .sm-licence-item {
    padding: 0 12px;
  }

  .sm-operation {
    text-decoration: none;
  }
}

// 供应商维护
.supplier-maintenance {
  .sm-left-col {
    .ant-card-small>.ant-card-head {
      padding: 3px 12px;
    }
  }

  // .sm-right-col {
  //   position: relative;

  //   .ant-tabs-bar {
  //     margin-bottom: 12px;
  //   }
  // }
}

.customer-management,
.optometry-manufacturer-maintenance {
  .common-col {
    .ant-card-small>.ant-card-head {
      padding: 1px 12px 2px;
    }
  }

  .common-right-col {
    .ant-card-head>.ant-card-head-wrapper>.ant-card-extra {
      padding: 6px 0;
    }
  }
}