.kr-view-countries-table.hide-until-ready {
    opacity: 0;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow: auto;
    padding: 0px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 tr {
    border: none;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 td {
    border: none;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 th {
    border: none;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bs-bars {
    width: 100%;
    margin-bottom: 30px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 #custom-toolbar {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding-left: 50px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bs-bars #custom-toolbar {
    width: 100%;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: 95%;
    border-radius: 4px;
    border-color: #d9d9d9;
    border-style: solid;
    border-width: 1px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-wrapper:hover {
    border-color: black;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-wrapper:focus-within {
    border-color: blue;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-icon {
    padding-top: 14px;
    margin-top: 2px;
    opacity: .8;
    padding-left: 10px;
    fill: rgba(0,0,0,0.54);
    width: 30px;
    height: 30px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-input {
    border: none;
    box-shadow:none;
    padding-left: 8px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-input::placeholder {
    color: rgba(0,0,0,0.54);
    font-size: 14px;
    line-height: 48px;
    padding: 0;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .bootstrap-table-search-clear-button {
    width: 30px;
    height: 30px;
    margin-top: 2px;
    padding-top:14px;
    padding-right: 10px;
    cursor: pointer;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .new-resource-button {
    width: 200px;
    display: inline-flex !important;
    align-items: center;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .new-resource-button .create-button-icon {
    height: 20px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .new-resource-button .create-button-text {
    font-weight: bold;
    padding-left: 5px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-body {
    max-height: 50vh;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 table thead th {
    position: sticky;
    top: 0;
    background-color: #F4F6F8;
    padding-left: 21px;
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
    color: #637480;
    padding-right: 21px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 table tbody td {
    padding: 15px 33px;
    font-size: 14px;
    line-height: 16px;
    white-space: nowrap;
    color: #3c3c3c;
    height: 16px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination {
    border-top: 1px solid #e5e8eb;
    color: rgba(0,0,0,0.87);
    font-size: 0.875rem;
    display: flex;
    justify-content: flex-start;
    position: relative;
    padding: 20px 35px;
    min-height: 52px;
    align-items: center;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-detail {
    margin: 0px;
    height: auto;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-detail .page-list {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    flex-shrink: 0;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-detail .page-list .btn-group button {
    background-color: white;
    border: none;
    color: black;
    font-weight: 400;
    line-height: 1.4375em;
    letter-spacing: 0.00938;
    box-sizing: border-box;
    position: relative;
    cursor: text;
    display: inline-flex;
    align-items: center;
    margin-right: 32px;
    margin-left: 8px;
    font-size: 0.875rem;
    padding-top: 4px;
    padding-bottom: 5px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-detail .page-list .dropdown-item.active {
    background-color: rgba(25,118,210,0.08);
    color: black;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-detail .page-list .dropdown-item:active {
    background-color: rgba(25,118,210,0.08);
    color: black;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination-info {
    position: absolute;
    right: 215px;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    flex-shrink: 0;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination {
    position: absolute;
    right: 15px;
    margin-top: 0px;
    margin-bottom: 50px;
    font-size: 16px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination .page-item .page-link {
    background-color: white;
    color: rgba(0,0,0,0.54);
    font-size: 1.5rem;;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination .page-item.disabled .page-link {
    background-color: white;
    color: rgba(0,0,0,0.26);
}

.kr-view-countries-table .bootstrap-table.bootstrap5 .fixed-table-pagination .pagination .page-item .page-link {
    border: none;
    height: 40px;
    width: 40px;
    
}



#project-options-container-column {
    position: sticky;
    top: 0;
    height: 100%;
    width: 250px; /* Set your desired fixed width here */
    max-width: 250px;
}

#project-body-container-column {
    flex: 1;
    min-width: 0; /* This prevents the flex item from overflowing */
}

#view-countries-row {
    margin-right: 0px;
}

.kr-view-countries-table .bootstrap-table.bootstrap5 {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 0px;
    /* Remove overflow: auto; or change to overflow-y: auto; */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Make table take full width of container */
.kr-view-countries-table .bootstrap-table.bootstrap5 table {
    width: 100%;
    table-layout: fixed;
}

/* Make table cells adjust their width */
.kr-view-countries-table .bootstrap-table.bootstrap5 table th,
.kr-view-countries-table .bootstrap-table.bootstrap5 table td {
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break words if needed */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Set reasonable widths for each column */
.projects-table-name {
    width: 20%;
}
.projects-table-country-code {
    width: 15%;
}
.projects-table-risk-level {
    width: 15%;
}
.projects-table-adjusted-score {
    width: 15%;
}
.projects-table-bank-customers {
    width: 20%;
}
.projects-table-wire-activity {
    width: 25%;
}