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

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

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

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

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

.mrms-ant-pro-table .mrms-ant-pro-card .mrms-ant-pro-card-body {
     padding-inline: 0 !important;
}

.mrms-ant-table-thead > tr > th {
    padding: 8px 8px !important;
    background: #eef3fa !important;

    &::before {
        display: none !important;
    }
}


.mrms-ant-table-wrapper .mrms-ant-table-pagination.mrms-ant-pagination {
    padding-right: 16px;
}

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



.KCIMTable {
    .mrms-ant-table {
        .mrms-ant-space-align-center {
            gap: 0 !important;
        }

        .mrms-ant-table-thead {
            .mrms-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;
                }


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

                &::before {
                    display: none;
                }

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

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

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

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

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

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

                              &:hover {
                                color: #3377ff;
                                border: 1px solid #3377ff !important;
                              }
                        }
                    }

                    &>.mrms-ant-typography {
                        line-height:unset;
                    }

                    &.mrms-ant-table-cell-with-append {
                        .mrms-ant-table-row-expand-icon {
                             
                        }
                    }

                    // &:hover {
                    //     border-radius: 0 !important;
                    //     background: #FAFBFC !important;

                    // }
                }



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

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

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

       

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

                            &.mrms-ant-table-cell-scrollbar {
                                border: none !important;
                            }

                            &::after {
                                border: none !important;
                            }
                        }

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

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

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


}

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

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

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