table.tabtable-rs_sccxpl7q,
table.tabtable-rs_sccxpl7q tr,
table.tabtable-rs_sccxpl7q tr td.tabcol {
    border: none;
}
table.tabtable-rs_sccxpl7q {
    border-collapse: collapse;
    width: 100%;
    background-color: transparent;
}

table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol,
table.tabtable-rs_sccxpl7q tr.tr_ht1:hover td.tabcol,
table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:hover {
    font-style: normal;
    font-weight: normal;
    background-color: transparent;
}
table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol {
    font-style: normal;
    font-weight: normal;
    padding: 6px 18px 6px;
    border-bottom: 1px solid #c7ded7;
    background-color: transparent;
    font-size: 13px;
    font-weight: 400;
    color: #1D4128;
    font-family: Roboto;
}

table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol {
    background-color: transparent;
    color: #004822;
    font-weight: 700 !important;
    border-bottom: 1px solid #c7ded7;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Inter';
    padding-top: 12px;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(1),
table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(1) {
    width: 2%;
    padding-right: 0;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(2){
    width: 16%;
    padding: 12px;
    font-weight: 500;
    background-color: #f7fffc;
    position: sticky;
    left: 0;
    z-index: 1;
    border-bottom: 1px solid #c7ded7;
}
table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(2) {
    width: 16%;
    padding: 12px;
    font-weight: 500;
    background-color: #e8ff47 !important;
    border-radius: 12px 12px 0 0;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(3) {
    width: 12%;
    /* background-color: #fcffe1; */
}

table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(3) {
    /* background-color: #e8ff47 !important; */
    border-radius: 0 0 0 0;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(4) {
   
    width: 15%;
    padding-left: 12px;
    background-color: #fcffe1;
}

table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(4) {
    background-color: #e8ff47 !important;
    border-radius: 12px 12px 0 0;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(5),
table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(5) {
    width: 12%;
    padding: 12px;
}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(6) {
    background-color: #fcffe1;
    width: 14%;
}

table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(6) {
    background-color: #e8ff47 !important;
    border-radius: 12px 12px 0 0;

}

table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(7) {
    width: 10%;
}

table.tabtable-rs_sccxpl7q tr td.tabcol:nth-child(7) {
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-data-source-banktt {
    max-height: 530px;
    width: 1100px;
}
.gla-box-table-banktt {
    position: relative;
    /* Giúp icon được cố định trong phạm vi của bảng */
}

.scroll-icon-banktt {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #0c3916;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 1000;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 4px rgb(173 198 170 / 20%);
    background: rgb(122 207 134 / 50%);
}


@media (min-width: 991px) {
    .table-data-source-banktt {
        width: 100%;
    }
    
    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol {
        font-size: 14px;
    }

    table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol {
        font-size: 14px;
    }
    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(1),
    table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(1) {
        width: 5%;
        padding-right: 0;
    }

    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(2){
        width: 22%;
    }
    table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(2) {
    
        width: 22%;
    }

    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(3) {
        width: 15%;
    }

    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(4) {
        width: 16%;
        padding-left: 12px;
    }

    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(5),
    table.tabtable-rs_sccxpl7q tr.tr_ht1 td.tabcol:nth-child(5) {
        width: 6%;
        padding: 0;
    }

    table.tabtable-rs_sccxpl7q tr.tabrow td.tabcol:nth-child(5) {
        width: 17%;
        padding: 12px;
    }
}

thead tr.tabrow td.sorting_asc {
    background: url(/images/icon/sort-up.png) no-repeat scroll right center rgba(0, 0, 0, 0) !important;
    background-size: 14px auto !important;
}

thead tr.tabrow td.sorting_desc {
    background: url(/images/icon/sort-down.png) no-repeat scroll right center rgba(0, 0, 0, 0) !important;
    background-size: 14px auto !important;
}

thead tr.tabrow td.sorting {
    background: url(/images/icon/sort.svg) no-repeat scroll right center rgba(0, 0, 0, 0) !important;
    background-size: 14px auto !important;
}

/* Điều chỉnh nền, màu chữ, bo góc và bóng đổ cho tooltip */
.tooltip.bs-tooltip-auto[data-bs-popper],
.tooltip.bs-tooltip-top[data-bs-popper],
.tooltip.bs-tooltip-bottom[data-bs-popper],
.tooltip.bs-tooltip-start[data-bs-popper],
.tooltip.bs-tooltip-end[data-bs-popper] {
    border-radius: 24px;
    border: 1px solid #e8ff47 !important;
    box-shadow: 0px 2px 8px 2px rgba(29, 65, 40, 0.32);
    backdrop-filter: blur(15px);
    font-size: 12px;
    /* Kích thước chữ */
    /* Độ rộng tối đa cho tooltip */
    text-align: left !important;
    /* Căn giữa nội dung */
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #fbfbfb;
}

.tooltip.bs-tooltip-top.show .tooltip-inner,
.tooltip.bs-tooltip-bottom.show .tooltip-inner {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tooltip-inner {
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 4px 4px 0px rgba(29, 65, 40, 0.24);
    backdrop-filter: blur(15px);
    color: #1d4128;
    text-align: left;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    max-width: 245px;
}

.tr_ht1 {
    background-color: inherit;
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Định dạng checkbox chưa được chọn */
/* Căn chỉnh icon trước mỗi tùy chọn */
.select2-results__option[aria-selected]:before {
    content: ""; /* Có thể thay icon khác nếu cần */
    border: 1px solid #1ea047; /* Viền xanh */
    width: 20px; /* Kích thước icon */
    height: 20px; /* Kích thước icon */
    border-radius: 50%; /* Bo tròn */
    flex-shrink: 0; /* Không co lại khi thiếu không gian */
    display: flex; /* Đảm bảo căn giữa */
    align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
}

/* Định dạng cho trạng thái đã chọn */
.select2-container--default .select2-results__option--selected:before {
    content: "\f00c"; /* Icon Font Awesome (dấu kiểm) */
    font-family: "Font Awesome 6 Free"; /* Font Awesome */
    font-weight: 900; /* Độ đậm */
    font-size: 14px; /* Kích thước font */
    color: #fff; /* Màu icon */
    background-color: #1ea047; /* Nền xanh cho icon */
    border: none; /* Loại bỏ viền */
}

/* Căn chỉnh text và icon trong mỗi tùy chọn */
.select2-results__option[aria-selected] {
    display: flex; /* Dùng Flexbox để căn chỉnh */
    align-items: center; /* Icon và text trên cùng hàng */
    max-width: 100%; /* Giới hạn chiều rộng */
    gap: 8px; /* Khoảng cách giữa icon và text */
}


/* Định dạng text khi tùy chọn được chọn */
.select2-container--default .select2-results__option--selected {
    color: #004822; /* Màu chữ khi chọn */
    font-weight: 600; /* Đậm chữ */
    background-color: #e6f7ed; /* Nền xanh nhạt */
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: inherit;
    color: #004822;
    font-weight: 600;

}

span.select2-results {
    padding: 8px;
}

.select2-search--dropdown {
    display: block;
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background: none;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
    padding: 12px;
    margin: 0 10px 0 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    color: #1d4128;
    font-size: 14px;
    font-family: Roboto;
    line-height: 22px;
    font-weight: 400;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #1d4128;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 8px;


}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-radius: 8px;
    border: 0.8px solid #BDD4CD;
    background: #E6F3EF;
    box-shadow: 0px 1px 6px 0px rgba(0, 72, 34, 0.08);
    padding: 8px 8px 8px 24px;
}

span.select2-selection.select2-selection--multiple {
    width: 100%;

    padding: 12px;
    border-radius: 8px;
    border: 1px solid #004822;
    background: #fff;
    height: auto;
    min-height: 92px;
}

.filter-popup .modal-content .modal-title {
    color: #006630;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 27px;

}

.filter-popup .modal-footer {
    border-top: none !important;

}

.select2-dropdown {
    z-index: 999999 !important;
}

.select2-results__option[aria-selected] {
    cursor: pointer;
    color: #1d4128;
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    padding: 4px 6px;
}

.select2-dropdown.select2-dropdown--below {
    border-radius: 16px;
    border: 1px solid #E8FF47;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 41%);
    box-shadow: 0px 2px 8px 2px rgba(247, 255, 252, 0.32);
    backdrop-filter: blur(12px);
    margin-top: 16px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 54px;
    width: 0;
    position: absolute;
    top: 9px;
    right: 15px;
}

.select2-container--default .select2-selection--single {
    border: none;
    border-radius: 8px;
    height: 54px;
    width: 100%;
    margin-top: 8px;
    background: #F5FFA8; 
   box-shadow: 0px 2px 8px 0px rgba(0, 72, 34, 0.16);


}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #004822;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;


}

.select2-container .select2-selection--single .select2-selection__rendered {

    display: flex;
    align-items: center;
    height: 54px;
    padding: 16px 8px 16px 16px;
    border-radius: 8px;
    /* background: #F5FFA8; */
    /* box-shadow: 0px 2px 8px 0px rgba(0, 72, 34, 0.16); */
    /* margin-top: 8px; */
    color: #004822;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;       /* Không xuống dòng */
    overflow: hidden;          /* Ẩn nội dung tràn */
    text-overflow: ellipsis;   /* Thêm dấu "..." khi nội dung tràn */
    display: block;            /* Đảm bảo các thuộc tính trên hoạt động */
    max-width: 85%;
    font-weight: 500;
    /* 157.143% */

}

textarea.select2-search__field {
    height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #1d4128 transparent transparent transparent;
}

input.select2-search__field {
    display: none !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: inherit;
    font-weight: 600 !important;
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 0.6px solid #004822;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0.6px solid #004822;
    padding: 12px;
    margin: 0 10px 0 0 !important;
    border-radius: 8px;
    width: inherit;
}

.select2-container--default .select2-search--inline .select2-search__field {
    color: #a5a5a5;
    /* Placeholder 14px | _22_ Regular */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
    /* Ẩn biểu tượng tam giác mặc định */
}

/* Mũi tên trong trạng thái bình thường (dropdown đóng) */

.select2-container--default .select2-selection--single .select2-selection__arrow::before {
    font-family: 'Font Awesome 6 Free';
    /* Sử dụng Font Awesome */
    font-weight: 900;
    /* Đảm bảo hiển thị biểu tượng đậm */
    content: '\f078';
    /* Unicode của mũi tên xuống */
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    /* Kích thước biểu tượng */
    color: #004822;
    /* Màu sắc */
}
/* Mũi tên trong trạng thái dropdown mở */
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::before {
    content: '\f077';
    /* Unicode của mũi tên lên */
}


.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border: none;
}
.select2-container--open .select2-dropdown--above {
    border-radius: 16px;
    border: 1px solid #E8FF47;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 41%);
    box-shadow: 0px 2px 8px 2px rgba(247, 255, 252, 0.32);
    backdrop-filter: blur(12px);
    margin-top: 0;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.select2-selection:focus-within, .select2-selection[aria-expanded="true"] {
    border: 0.8px solid #006630 !important;
    box-shadow: 0px 2px 8px 0px rgba(0, 72, 34, 0.16);
    height: auto !important;
    border-radius: 8px;
    width: inherit;
}
.select2-container .select2-selection--single .select2-selection__rendered:focus-visible{
border-radius: 8px;
border: 0.8px solid  #006630;
box-shadow: 0px 2px 8px 0px rgba(0, 72, 34, 0.16);
}

span.selection {
    width: 100%;
}