
.table{
    border-color: #e1e7ed !important;
    color: #212529 !important;
}

.table>tbody{
    vertical-align: inherit;
}

.table-hover>tbody>tr {
    transition: all .2s ease-in-out;
}


th {
    /* background-color: #f8f9fa !important; */
    font-weight: bold !important;
    font-size: 13px !important;
    line-height: 20.8px !important;
    color: #732357 !important;
    white-space: nowrap !important;
}

td{
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
    color: rgb(33, 37, 41);
 
}

.table th, .table td {
    padding: 15px 20px !important;
}



.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.bh-table-responsive table.bh-table-striped tbody tr {
    background-color: inherit !important;
}

.bh-table-responsive table tbody tr td, .bh-table-responsive table tfoot tr th, .bh-table-responsive table thead tr th
 {
    padding: 15px 20px !important;
    text-align: left;
}


 th{
    background-color: #f8f9fa !important;
}

td, th{
    border-bottom: 1px solid #e1e7eda0;
    /* white-space: nowrap; */
}

.bh-pagination-info{
    flex-direction:row !important;
}

.bh-pagination {
    display: flex !important;
    flex-direction:column;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 1rem !important;
}

.bh-pagination .bh-page-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.75rem !important;
    height: 2.75rem !important;
    background-color: #F4F7FA !important;
    color: #4d546b !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
    border: 1px solid #e3e6eb !important;
    border-radius: 0 !important; /* Remove individual border radius */
    margin-left: -1px !important; /* Overlap borders to create seamless connection */
    position: relative !important;
    padding: 0.5rem 0.75rem !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
}

/* First item gets left border radius */
.bh-pagination .bh-page-item:first-child {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    margin-left: 0 !important;
}

/* Last item gets right border radius */
.bh-pagination .bh-page-item:last-child {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.bh-pagination .bh-page-item:hover {
    background-color: #f3f4f6 !important; /* hover gray-100 */
    z-index: 1 !important; /* Ensure hover state appears above adjacent items */
}

.bh-pagination .bh-page-item.active,
.bh-pagination .bh-page-item.bh-active {
    color: #0d6efd !important; /* Bootstrap blue */
    font-weight: 500 !important;
    background-color: #fff !important; /* White background for active */
    border-color: #0d6efd !important; /* Blue border for active */
    z-index: 2 !important; /* Active state appears above others */
}

.bh-pagination .bh-page-item.disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: #e3e6eb !important;
}

/* Handle ellipsis styling to match button group */
.bh-pagination .bh-page-ellipsis {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.75rem !important;
    height: 2.75rem !important;
    color: #4d546b !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background-color: #F4F7FA !important;
    border: 1px solid #e3e6eb !important;
    border-radius: 0 !important;
    margin-left: -1px !important;
    position: relative !important;
    padding: 0.5rem 0.75rem !important;
    line-height: 1 !important;
}

/* Special handling for ellipsis positioning in button group */
.bh-pagination .bh-page-ellipsis:first-child {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    margin-left: 0 !important;
}

.bh-pagination .bh-page-ellipsis:last-child {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.bh-flex.bh-flex-wrap.bh-flex-col.sm\:bh-flex-row.bh-gap-4 {
  flex-direction: column !important;
  align-items: flex-start !important; /* Optional: align to top-left */
}
