// .cascader-sel-popover-box {
//   z-index: 1000;
//   position: absolute;
//   bottom: 0;
//   left: 0;
//   width: 100%;
//   padding: @cascader-select-padding;
//   border-radius: @cascader-select-border-radius;

//   .cascader-popover-title {
//     display: flex;

//     & > h2 {
//       flex: 1;
//       margin: 0;
//       border-bottom: 0;
//       text-align: center;
//     }
//   }
// }

// .fxm-tabs-default-bar-tab-active {
//   color: rgba(0, 0, 0, 85%);

//   & > span {
//     border-bottom: @cascader-select-active-border;
//   }
// }

// .fxm-tabs-default-bar-underline {
//   display: none;
// }

// .fxm-tabs-default-bar-top .fxm-tabs-default-bar-tab {
//   border-bottom: 0;
// }

.cascader-select-box {
  height: 36 * @hd;
  line-height: 36 * @hd;
  border: 1 * @hd solid #d9d9d9;
  width: 100%;
  cursor: pointer;
  position: relative;

  .show-value {
    width: 90%;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 12 * @hd;
    font-size: 15 * @hd;
    color: #3a2e2e;
    letter-spacing: 0;
  }

  .anticon-down {
    position: absolute;
    right: 8 * @hd;
    font-size: 8 * @hd;
    top: 11 * @hd;
    color: #d9d9d9;
  }
}

.cascader-select-change-box {
  .show-value-wrap {
    font-size: 14 * @hd;
    color: #3a2e2e;
    letter-spacing: 0;
    line-height: 19 * @hd;
    margin-bottom: 6 * @hd;
  }

  .change {
    font-size: 14 * @hd;
    color: var(--theme-color, #FF1659);
    letter-spacing: 0;
    cursor: pointer;

    &:hover {
      text-decoration: underline;
      color: var(--theme-color, #FF1659);
    }
  }
}


// .anticon-down {
//   font-size: 8 * @hd;
//   color: #d9d9d9;
//   margin-right: 0 * @hd!important;
// }
.cascader-modal {
  .am-modal-content {
    border-radius: 24 * @hd 24 * @hd 0 0;
    background: #fff;
  }
  .cascader-select {
    .col-item {
      overflow: hidden;
      margin-bottom: 9 * @hd;
      white-space: nowrap;
      text-align: left;
      padding: 6 * @hd 12 * @hd;
      display: flex;
    
      span {
        cursor: pointer;
        display: block;
        font-size: 14 * @hd;
        color: #3a2e2e;
        letter-spacing: 0;
        height: 19 * @hd;
        line-height: 19 * @hd;
        flex: 1;
        &:hover {
          color: var(--theme-color, #FF1659);
        }
      }
    
      span.selected {
        color: var(--theme-color, #FF1659);
      }
      .selectedImg {
        width: @cascader-select-img;
        height: @cascader-select-img;
      }
    }
    /* 弹出 */
    .cascader-title {
      display: flex;
      padding: 8 * @hd;
      & > h2 {
        flex: 1;
        text-align: center;
        color: rgba(0, 0, 0, 0.85);
        font-size: 18 * @hd;
      }
      .ant-tabs {
        .ant-tabs-bar {
          margin: 0 * @hd!important;
  
          .ant-tabs-nav-container {
            height: 32 * @hd!important;
          }
  
          .ant-tabs-nav-scroll {
            .ant-tabs-nav {
              .ant-tabs-tab {
                font-size: 14 * @hd;
                color: #a8a8a8;
                letter-spacing: 0;
                line-height: 32 * @hd;
                padding: 0 * @hd 12 * @hd;
                height: 32 * @hd;
                background: #ffffff;
                cursor: pointer;
              }
  
              .ant-tabs-tab-active {
                font-size: 14 * @hd;
                color: #3a2e2e;
                letter-spacing: 0;
                text-align: center;
                height: 32 * @hd;
                line-height: 32 * @hd;
              }
            }
          }
        }
  
        .ant-tabs-top-content {
          border-left: 1 * @hd solid #f0f0f0;
          border-bottom: 1 * @hd solid #f0f0f0;
          border-right: 1 * @hd solid #f0f0f0;
  
          .ant-tabs-tabpane {
            padding: 10 * @hd;
          }
        }
      }
    }
    .am-tabs-default-bar-top .am-tabs-default-bar-tab {
      border-bottom: none !important;
      // width: max-content !important;
      padding: 0 4 * @hd;
    }
  
    .am-modal-content {
      border-radius: 12 * @hd 12 * @hd 0 0;
    }
    .tab-span,.tab-span-active{
      flex-wrap: nowrap;
      overflow-x: hidden;
      max-width: 100%;
      white-space: nowrap;
      text-overflow: ellipsis;
      display: inline-block;
    }
    .tab-span {
      color: rgba(0, 0, 0, 0.85) !important;
    }
    .tab-span-active {
      color: rgba(0, 0, 0, 0.85) !important;
      font-weight: 600;
      border-bottom: 2 * @hd solid var(--theme-color, #FF1659);
    }
    .am-tabs-default-bar-top .am-tabs-default-bar-underline {
      border: none;
    }
  
    .am-tabs-default-bar-tab::after {
      background-color: #fff !important;
    }
  }
}
