.bms-ant-table-wrapper {
    border-radius: 4px !important;

    table {
        border-radius: 4px !important;
    }

    .bms-ant-table-container {
        border-start-start-radius: 4px !important;
        border-start-end-radius: 4px !important;
    }

    .bms-ant-table-row-indent+.bms-ant-table-row-expand-icon {
        //margin-top: -2px !important;
    }
}

.bms-ant-table .bms-ant-table-header {
    border-radius: 4px !important;
}

// .bms-ant-table-wrapper .bms-ant-table-tbody>tr>td {
//     //padding: 8px 8px !important;
//     border-top: 1px solid rgb(218 226 242) !important;
// }

.bms-ant-table-wrapper .bms-ant-table-pagination.bms-ant-pagination {

    padding-right: 16px;
}

.bms-ant-table-wrapper .bms-ant-table.bms-ant-table-bordered>.bms-ant-table-container>.bms-ant-table-body>table>tbody>tr>td {
    //#dae2f2
    border-inline-end: 1px solid #dae2f2 !important;
}

// .bms-ant-table-wrapper .bms-ant-table.bms-ant-table-bordered>.bms-ant-table-container>.bms-ant-table-header>table>thead>tr {

//     &:last-child {
//         &>th {
//             border-top: 1px solid #dae2f2 !important;
//         }
//     }
// }

.BMSTable {
    .bms-ant-table {
        .bms-ant-space-align-center {
            gap: 0 !important;
        }

        .bms-ant-table-thead {
            .bms-ant-table-cell {
                border-bottom: none !important;
                padding: 8px 8px !important;
                //border-top:1px solid #dae2f2 !important ;
                background: rgb(238 243 250 / 100%) !important;
                //border-right: 1px solid  #dae2f2 !important;

                a {
                    color: #3376FE;
                }

                .bms-ant-table-selection {
                    .bms-ant-table-selection-extra {
                        top: 5px;
                    }
                }

                &::before {
                    display: none;
                }

                &:hover {
                    background: rgb(238 243 250 / 100%) !important;
                }

                &:last-child {
                    border-right: none;
                }
            }

            .bms-ant-table-cell-fix-right {
                &:last-child {
                    right: 0 !important;
                }
            }
        }

        .bms-ant-table-tbody {
            &>tr {
                &.bms-ant-table-measure-row {
                    border: none !important;
                    &>td {
                        border-inline-end:none !important;
                    }
                }

                &.bms-ant-table-row {
                    .bms-ant-table-cell {
                    
                        font-size: 14px;
                        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                        
                        color: #17181A;
                        padding: 8px 8px !important; 
                        border-bottom: none !important;
                        border-top: 1px solid rgb(218 226 242) !important;

                        &.bms-ant-table-cell-with-append {
                            .bms-ant-table-row-expand-icon {
                                  border-radius: 4px !important;
                                  border: 1px solid #DAE2F2 !important;

                                  &:hover {
                                    color: #3377ff;
                                    border: 1px solid #3377ff !important;
                                  }
                            }
                        }
    
                        &>.bms-ant-typography {
                            line-height:unset;
                        }
    
                        &.bms-ant-table-cell-with-append {
                            .bms-ant-table-row-expand-icon {
                                 
                            }
                        }
    
                        // &:hover {
                        //     border-radius: 0 !important;
                        //     background: #FAFBFC !important;
    
                        // }
                    }
                }



                &.bms-ant-table-row-selected {
                    .bms-ant-table-cell {
                        border-radius: 0 !important;
                    }
                    &:hover {
                        background: #bae0ff !important;
                    }
                }

               

                // &:nth-child(2) {
                //     .bms-ant-table-cell {
                //         border-top: none !important;
                //     }
                // }

                &:last-child>td {
                    border-bottom: none !important;
                }
            }
        }

        .bms-ant-table-summary {
            &>tr>td {
                text-align: left !important;
                padding: 12px 8px !important;
                border-top: 1px solid #dae2f2 !important;
            }
        }

       

        &.bms-ant-table-bordered {
            .bms-ant-table-container {
                border-left: none !important;
                .bms-ant-table-header {
                    table {
                        border-top: none !important;
                    }
                    .bms-ant-table-thead {
                        &>tr {
                            &>th {
                                border-right: 1px solid #dae2f2 !important;
                                border-bottom: 1px solid #dae2f2 !important;
                                border-top: none !important;
    
                                &.bms-ant-table-cell-scrollbar {
                                    border: none !important;
                                }

                                &::after {
                                    border: none !important;
                                }
                            }
    
                            &:last-child {
                                &>th {
                                    border-top:none !important;
                                }
                            }
                        }
                    }
                }
                .bms-ant-table-body {
                    table > tbody > tr > td {
                        border-right: 1px solid #dae2f2 !important;
                        &::after {
                            border: none !important;
                        }
                    }
                }
                
            }
        }
    }
    .bms-ant-pagination {
        padding: 7px 0;
        margin: 0 !important;
        border-top: 1px solid #dae2f2 !important;

        .bms-ant-pagination-item-active {
            font-weight: 600;
            background-color: #37F !important;
            border-color: #37F !important;
        }
    }

    .bms-ant-pagination .bms-ant-pagination-item-active a {
        color: #fff !important;
    }


}

.bms-ant-table-wrapper .bms-ant-table-container table>thead>tr:first-child th:first-child {
    border-start-start-radius: 4px !important;
}

.bms-ant-table-wrapper .bms-ant-table-container table>thead>tr:first-child th:last-child {
    border-start-end-radius: 4px !important;
}

.bms-ant-empty-normal {
    margin-block: 80px !important;
    color: rgb(0 0 0 / 25%);
}