

.fund-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    justify-content: center !important;
}

.fund-code-text {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    color: #212529 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.3px !important;
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: left;
}

.fund-name-text {
    font-size: 0.8rem !important;
    color: #6c757d !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: 'Nacelle', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: left;
}

#dtGeneralFundList th:first-child,
#dtGeneralFundList td:first-child {
    width: 60px !important;
    overflow: hidden;
    white-space: nowrap;
}

.custom-filter-btn {
    font-family: 'Nacelle', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 13px !important;
    line-height: 22px !important;
    letter-spacing: 1.25% !important;
    color: rgba(22, 51, 0, 1) !important;
    border: 1px solid rgba(14, 15, 12, 0.12) !important;
    background: white !important;
    padding: 8px 16px !important;
    margin-right: 8px !important;
    border-radius: 100px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.custom-filter-btn:hover {
    background: rgba(22, 51, 0, 0.05) !important;
    border-color: rgba(14, 15, 12, 0.2) !important;
}

.custom-filter-btn svg {
    width: 14px !important;
    height: 8px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.custom-filter-btn .dt-button-down-arrow {
    display: none !important;
}

.custom-filter-btn span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.index-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-modal-content {
    background: white;
    border-radius: 8px;
    min-width: 400px;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.index-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.index-modal-body {
    padding: 20px;
}

.index-modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.custom-dt-search-wrap {
    position: relative;
    display: inline-block;
}

.search-toggle-btn {
    background: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid rgba(14, 15, 12, 0.12);
    border-radius: 24px;
}

.custom-dt-search-input {
    position: fixed;
    width: 200px;
    padding: 8px 12px;
    border: 1px solid rgba(14, 15, 12, 0.12);
    border-radius: 8px;
    background: #fff;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.infinite-scroll-loading {
    padding: 16px;
    text-align: center;
}

.infinite-scroll-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--sg-color-success-500, #11BF2B);
    border-radius: 50%;
    animation: fund-filters-spinner-rotation 1s linear infinite;
    margin-right: 8px;
}

.infinite-scroll-text {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Nacelle', sans-serif;
}

div.dt-button-collection {
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 0;
    border: 1px solid #E5E7EB;
    background: white;
    z-index: 2002;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

@media (max-width: 768px) {
    div.dt-button-collection {
        max-height: calc(100vh - 200px);
    }
}

@media (max-width: 480px) {
    div.dt-button-collection {
        max-height: calc(100vh - 150px);
    }
}

body:has(div.dt-button-collection:visible) .filter-toolbar-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    pointer-events: auto !important;
}

div.dt-button-collection::-webkit-scrollbar {
    width: 6px;
}

div.dt-button-collection::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

div.dt-button-collection::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

div.dt-button-collection::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dt-button-collection .dt-button {
    position: relative !important;
    border-radius: 0 !important;
    border: none !important;
    background: none !important;
    padding: 20px 24px;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    color: #374151 !important;
    border-bottom: 1px solid #ECECEC !important;
    width: 100% !important;
    text-align: left !important;
}

.dt-button-collection .dt-button span {
    margin-left: 12px !important;
    user-select: none !important;
    font-size: 14px !important;
    line-height: 26px !important;
}

.dt-button-collection .dt-button:last-child {
    border-bottom: none !important;
    padding-bottom: 24px !important;
}

.dt-button-collection .dt-button:hover {
    opacity: 0.7 !important;
    background: none !important;
}

/* Checkbox stili */
.dt-button-collection .dt-button input[type="checkbox"],
.buttons-columnVisibility input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    opacity: 1 !important;
    border-radius: 4px !important;
    border: 1px solid #7D83984D !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
    position: relative !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.dt-button-collection .dt-button.dt-button-active::after {
    left: 16px !important;
    top: 63% !important;
}

.dt-button-collection .dt-button.dt-button-active input[type="checkbox"],
.buttons-columnVisibility.dt-button-active input[type="checkbox"] {
    background-color: #11bf2b !important;
    border-color: #11bf2b !important;
}

.dt-button-collection .dt-button.dt-button-active input[type="checkbox"]::after,
.buttons-columnVisibility.dt-button-active input[type="checkbox"]::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 6px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: translate(-50%, -60%) rotate(45deg) !important;
}

/* Kolon görünürlüğü butonları için özel stiller */
.dt-button-collection .dt-button.buttons-columnVisibility::after {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility {
    position: relative !important;
    text-align: left !important;
    padding: 20px 24px;
    border-bottom: 1px solid #ECECEC !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility:last-child {
    border-bottom: none !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility::before {
    content: "" !important;
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #c8c8c8 !important;
    border-radius: 2px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility[aria-pressed="true"]::before,
.dt-button-collection .dt-button.buttons-columnVisibility[aria-checked="true"]::before,
.dt-button-collection .dt-button.buttons-columnVisibility.active::before,
.dt-button-collection .dt-button.buttons-columnVisibility.dt-button-active::before {
    background: #22c55e !important;
    border-color: #22c55e !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility.dt-button-active::after {
    content: "" !important;
    position: absolute !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: translateY(-50%) rotate(45deg) !important;
    display: block !important;
}

/* Tümünü Göster/Gizle ve Tümünü Temizle butonları için checkbox stilini kaldır */
.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-all,
.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-none {
    padding-left: 12px !important;
    font-size: 13px !important;
}

.dt-button-collection .dt-button.index-toggle-btn,
.dt-button-collection .dt-button.portfolio-toggle-btn {
    padding-left: 12px !important;
    font-size: 13px !important;
}

.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-all::before,
.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-none::before,
.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-all::after,
.dt-button-collection .dt-button.buttons-columnVisibility.dt-toggle-none::after {
    content: none !important;
}

.dt-button-collection .dt-button.index-toggle-btn::before,
.dt-button-collection .dt-button.index-toggle-btn::after,
.dt-button-collection .dt-button.portfolio-toggle-btn::before,
.dt-button-collection .dt-button.portfolio-toggle-btn::after {
    content: none !important;
}

.exporting-png .fund-name-text {
    -webkit-line-clamp: unset !important;
    white-space: normal !important;
}

.category-count {
    display: none;
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 8px;
}

.category-count.show {
    display: inline-block;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

.text-white {
    color: #fff !important;
}

.text-center {
    text-align: center !important;
}

.fund-filters-table-container {
    background: white;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    max-height: 80vh;
    position: relative;
    min-height: 400px;
}

.fund-filters-table-container #dtGeneralFundList,
.fund-filters-table-container #dtGeneralFundList_wrapper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fund-filters-table-container.loaded #dtGeneralFundList,
.fund-filters-table-container.loaded #dtGeneralFundList_wrapper {
    opacity: 1;
}

.fund-filters-table-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    gap: 16px;
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: auto;
}

.fund-filters-table-container.loaded .fund-filters-table-loading {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.fund-filters-table-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--sg-color-success-500);
    border-radius: 50%;
    animation: fund-filters-spinner-rotation 1s linear infinite;
}

@keyframes fund-filters-spinner-rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fund-filters-table-loading-text {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

#dtGeneralFundList_wrapper .dt-scroll-head {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 15 !important;
    width: 100% !important;
    background: white !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#dtGeneralFundList_wrapper .dt-scroll-head::-webkit-scrollbar {
    display: none;
}

#dtGeneralFundList_wrapper .dt-scroll-head table {
    table-layout: auto !important;
}

#dtGeneralFundList_wrapper .dt-scroll-headInner {
    box-sizing: content-box !important;
    padding-right: 0 !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body {
    overflow: auto !important;
    max-height: 550px !important;
    position: relative !important;
    border-radius: 0 0 8px 8px;
}

#dtGeneralFundList_wrapper .dt-scroll-body thead {
    display: none !important;
}

#dtGeneralFundList_wrapper .dt-scroll-foot {
    display: none !important;
}

#dtGeneralFundList_wrapper {
    width: 100%;
    overflow: hidden !important;
    position: relative;

}

#dtGeneralFundList_wrapper .dt-scroll {
    position: relative;
    clear: both;
    overflow: visible !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body table,
#dtGeneralFundList {
    table-layout: auto !important;
    border-collapse: separate;
    border-spacing: 0;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead,
#dtGeneralFundList thead {
    background: white !important;
    height: auto !important;
    min-height: 60px;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th {
    background: #f9fafb !important;
    border-bottom: 1px solid rgba(85, 86, 90, 0.12);
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.54);
    text-align: center;
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    padding: 12px 16px !important;
    height: auto !important;
    min-height: 60px !important;
    vertical-align: middle;
    line-height: 1.4;
    min-width: 180px !important;
    width: auto !important;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th:first-child,
#dtGeneralFundList thead th:first-child,
table.dataTable thead th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 20 !important;
    background: #f9fafb !important;
    width: 150px !important;
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.15) !important;
}

#dtGeneralFundList_wrapper.loaded .dt-scroll-head thead th:first-child,
#dtGeneralFundList.loaded thead th:first-child,
.fund-filters-table-container.loaded table.dataTable thead th:first-child {
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.15) !important;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th:not(:first-child) {
    width: auto !important;
    min-width: 180px !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody td:first-child,
#dtGeneralFundList tbody td:first-child,
table.dataTable tbody td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 10 !important;
    background: white !important;
    width: 160px !important;
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.12) !important;
}

.fund-filters-table-container.loaded table.dataTable tbody td:first-child {
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.12) !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody td:not(:first-child),
#dtGeneralFundList tbody td:not(:first-child) {
    width: auto !important;
    min-width: 180px !important;
}

#dtGeneralFundList_wrapper tbody tr:hover td:first-child,
#dtGeneralFundList tbody tr:hover td:first-child,
table.dataTable tbody tr:hover td:first-child {
    background: #f9fafb !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 10 !important;
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.12) !important;
}

.fund-filters-table-container.loaded table.dataTable tbody tr:hover td:first-child {
    box-shadow: 2px 0 10px rgba(85, 86, 90, 0.12) !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody tr,
#dtGeneralFundList tbody tr {
    background-color: white !important;
    border-bottom: 0 !important;
    height: 64px;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody td,
#dtGeneralFundList tbody td {
    font-family: 'Nacelle', 'Inter', -apple-system, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #000000;
    border-bottom: 1px solid rgba(85, 86, 90, 0.12);
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 16px !important;
    min-width: 180px !important;
    width: auto !important;
    line-height: 40px !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody tr:last-child td,
#dtGeneralFundList tbody tr:last-child td {
    border-bottom: 0;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th .dt-column-title,
#dtGeneralFundList thead th .dt-column-title {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center;
    line-height: 1.3;
    flex: 1;
    padding-right: 4px;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th .header-content-wrapper,
#dtGeneralFundList thead th .header-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    position: relative;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th .dt-column-order,
#dtGeneralFundList thead th .dt-column-order {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

#dtGeneralFundList colgroup col[data-dt-column="0"] {
    width: 150px !important;
}

#dtGeneralFundList_processing {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100 !important;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body::-webkit-scrollbar,
.fund-filters-table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#dtGeneralFundList_wrapper .dt-scroll-body::-webkit-scrollbar-track,
.fund-filters-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#dtGeneralFundList_wrapper .dt-scroll-body::-webkit-scrollbar-thumb,
.fund-filters-table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#dtGeneralFundList_wrapper .dt-scroll-body::-webkit-scrollbar-thumb:hover,
.fund-filters-table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.fund-code-cell {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 4px 8px !important;
    min-height: auto !important;
}

.fund-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    justify-content: center !important;
}

.fund-code-text {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    color: #212529 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.3px !important;
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: left;
}

.fund-name-text {
    font-size: 0.8rem !important;
    color: #6c757d !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: 'Nacelle', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: left;
}

.fund-image {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    align-self: center !important;
}

#dtGeneralFundList_wrapper .dt-scroll-body tbody tr:hover,
#dtGeneralFundList tbody tr:hover {
    background-color: #f9fafb !important;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th:hover,
#dtGeneralFundList thead th:hover {
    background-color: #f3f4f6 !important;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting::before,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting::after,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_asc::before,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_asc::after,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_desc::before,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_desc::after,
#dtGeneralFundList thead th.sorting::before,
#dtGeneralFundList thead th.sorting::after,
#dtGeneralFundList thead th.sorting_asc::before,
#dtGeneralFundList thead th.sorting_asc::after,
#dtGeneralFundList thead th.sorting_desc::before,
#dtGeneralFundList thead th.sorting_desc::after {
    display: none !important;
}

.header-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.sort-tri {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-left: 0px;
    flex-shrink: 0;
    align-self: center;
}

.sort-tri .up,
.sort-tri .down {
    font-size: 10px;
    line-height: 1;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

th.sorting .sort-tri .up,
th.sorting .sort-tri .down {
    color: #cbd5e1;
}

th.sorting_asc .sort-tri .up {
    color: #6b7280;
}

th.sorting_asc .sort-tri .down {
    color: #cbd5e1;
}

th.sorting_desc .sort-tri .up {
    color: #cbd5e1;
}

th.sorting_desc .sort-tri .down {
    color: #6b7280;
}

th.sorting:hover .sort-tri .up,
th.sorting:hover .sort-tri .down {
    color: #94a3b8;
}

#dtGeneralFundList_wrapper .dt-scroll-body,
.dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.dataTables_scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    width: 100% !important;
}

#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_asc,
#dtGeneralFundList_wrapper .dt-scroll-head thead th.sorting_desc {
    cursor: pointer;
}

div.dataTables_processing {
    display: none !important;
}

@media (max-width: 768px) {
    #dtGeneralFundList thead th:first-child,
    #dtGeneralFundList tbody td:first-child {
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }
}

.filter-toolbar-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.filter-toolbar-container::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
.filter-toolbar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.filter-toolbar-container::-webkit-scrollbar-thumb {
    background: #11BF2B;
    border-radius: 4px;
}

.filter-toolbar-container .nav {
    flex-wrap: nowrap !important;
    min-width: min-content;
    align-items: center !important;
}

.filter-toolbar-container .tableActions,
.filter-toolbar-container .tableSearch {
    flex-shrink: 0;
}

.custom-dt-search-input {
    display: none;
    position: fixed;
    width: 250px;
    z-index: 9999;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.custom-dt-search-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.custom-dt-search-input.show {
    display: block;
}

.custom-dt-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc3545'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    cursor: pointer;
}

@media (min-width: 1624px) {
    .filter-toolbar-container .nav {
        justify-content: space-between !important;
    }
}

@media (max-width: 768px) {
    .custom-dt-search-input {
        width: 200px;
    }

    div.dt-button-collection {
        max-width: calc(100vw - 40px);
        width: auto;
        left: auto !important;
        right: 10px;
    }
}

@media (max-width: 480px) {
    div.dt-button-collection {
        max-width: calc(100vw - 20px);
        right: 10px;
        left: auto !important;
    }
}
