﻿.filter-container {
    background: white;
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}


.filterSidebar.collapsed {
    transform: translateX(-100%);
}

.filter-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.toggle-filter-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
}


.filter-group {
    padding: 0.3rem;
    border-bottom: 1px solid #eee;
}

.filter-group h4 {
    font-size: 0.875rem;
    color: #7D8398;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk';
    font-weight: 400;
}

.filter-badge {
    display: none;
    background: #11BF2B;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.filter-badge.show {
    display: inline-block;
}

.min-max-inputs .form-control {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    box-shadow: none !important;
    font-size: 0.813rem;
}

.min-max-inputs .form-control::placeholder {
    font-size: 0.75rem;
    color: #9ca3af;
}

.min-max-inputs .form-control:focus {
    box-shadow: none !important;
    border-color: #11BF2B !important;
}

.min-max-inputs .form-control.input-error {
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

.min-max-inputs .form-control.input-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.min-max-error-message {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.min-max-error-message.show {
    display: block;
}

.content-header {
    background: white;
    border-bottom: 1px solid #eee;
}

.filter-actions {
    background: white;
    border-bottom: 1px solid #eee;
}


.clear-link {
    color: #11BF2B;
    cursor: pointer;
    font-size: 0.875rem;
    margin-right: -1rem;
}

.date-range-container .form-control {
    min-width: 200px;
}

.styled-select select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filterSideBar-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.table th, .table td {
    vertical-align: middle;
    font-weight: 400;
    font-family: nacelle;
    font-size: 14px;
    border-bottom-color: lightgrey;
}

.table th {
    background: #f9fafb !important;
    text-align: center !important;
    font-size: 13px;
    font-family: nacelle;
}

.table tbody tr:hover {
    background: #f5f5f5;
}

.risk-slider-container {
    padding: 10px 10px 25px 10px;
}

.dt-search label {
    display: none;
}

.dt-search {
    float: right;
}

.dt-input {
    border-radius: 4px !important;
}


.datatableColvisBtn {
    border-radius: 100px !important;
    background: white !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    padding: 6px 12px !important;
    margin-right: 3px;

}

.datatableColvisBtn:hover {
    background-color: #f8f9fa !important;
    border-color: #ddd !important;
}


.category-count {
    background-color: #11BF2B;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    font-weight: bold;
    text-align: center;
}

.category-count.show {
    display: inline-flex !important;
}

.filter-group .styled-select {
    width: 200px;
}

.filter-group .SumoSelect {
    width: 90%;
}

.SumoSelect > .optWrapper > .options {
    border-radius: 2px;
    position: relative;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.SumoSelect > .optWrapper > .options::-webkit-scrollbar {
    display: none;
}

.filter-group .SumoSelect > .optWrapper {
    width: 100%;
    font-family: Nacelle !important;
    font-size: 14px;
    width: 240px;
}

.filter-group .SumoSelect > .CaptionCont {
    position: relative;
    border: 1px solid #a4a4a4;
    min-height: 41px;
    max-height: 41px;
    width: 240px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0;
    font-size: 14px;
    font-family: Nacelle !important;
    font-weight: 400;
    align-items: center;
}

.dt-container div.dt-search input[type="search"] {
    border: 1px solid #e5e7eb;
    border-radius: 24px !important;
    padding: 8px 12px;
    height: 40px;
    font-size: 14px;
    outline: none;
    background: #fff;
    min-width: 220px;
}

.SumoSelect > .optWrapper.multiple > .options li.opt span i {
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #ddd;
    border-radius: 3px;
    background-color: white;
    position: absolute;
    font-size: 12px;
    top: 6px;
    right: 0;
    left: 10px;
    bottom: 0;
}

.SumoSelect > .optWrapper > .options li label {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    cursor: pointer;
    margin-top: 2px;
}

.filter-group select {
    width: 100%;
}

.dt-buttons {
    width: 950px;
}

.buttons-excel, .buttons-csv, .buttons-print {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    outline: none;
    box-shadow: none;
    overflow: hidden;
    float: right;
}

.date-range-container {
    position: relative;
    width: 100%;
}

.flatpickr-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Flatpickr Calendar Styles */
.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--sg-color-success-500) !important;
    border-color: var(--sg-color-success-500) !important;
}

.flatpickr-day.inRange {
    background: #dcfce7 !important;
    border-color: #e5e7eb !important;
}

.flatpickr-disabled {
    opacity: 0.2 !important;
    pointer-events: none !important;
    background-color: rgba(57, 57, 57, 0.1) !important;
    text-decoration: line-through;
    color: rgba(57, 57, 57, 0.8) !important;
}


.tableProcessing-wrapper {
    background: white;
    margin-left: 10px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.tableProcessing-header {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #eee;
}

.tableProcessing-header:hover {
    background: #f1f3f5;
}

.tableProcessing-content {
    padding: 16px;
    display: none;
}

.tableProcessing-content.show {
    display: block;
}

.processing-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.processing-item {
    flex: 0 0 auto;
}

.processing-item select,
.processing-item input {
    min-width: 200px;
}

.processing-item .SumoSelect {
    width: 200px;
}

@media (max-width: 768px) {
    .processing-row {
        flex-direction: column;
        align-items: stretch;
    }

    .processing-item {
        width: 100%;
    }

    .processing-item select,
    .processing-item input,
    .processing-item .SumoSelect {
        width: 100%;
    }
}

table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > td.dt-orderable-asc, table.dataTable thead > tr > td.dt-orderable-desc {
    cursor: pointer;
    font-family: Space Grotesk;
    font-size: 14px;
}

.export-select-container {
    margin-left: auto;
}

.export-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    min-width: 140px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.export-select:hover {
    border-color: #cbd5e0;
    background-color: #f8f9fa;
}

.export-select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.export-select option {
    padding: 12px;
}

.export-select option:not(:first-child) {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

.export-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

.export-option img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}


.filter-category {
    margin-bottom: 16px;
}

.filter-category-header {
    padding: 12px 16px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-family: 'Nacelle';

}

.filter-category-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #121212;
}

.filter-category-content {
    display: none;
}

.filter-category.active .filter-category-content {
    display: block;
}

.filter-category-header .toggle-icon {
    transition: transform 0.3s ease;
}

.filter-category.active .filter-category-header .toggle-icon {
    transform: rotate(180deg);
}

.filter-category-badge {
    background-color: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.input-range-container {
    padding: 10px 0;
}

.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.input-group input {
    flex: 1 1 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(50% - 15px);
}

.input-group .input-group-text {
    color: #666;
    padding: 0 5px;
}

.min-max-inputs {
    transition: all 0.3s ease;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
}


.downloadForFilter {
    border-radius: 4px !important;
    background-color: white !important;
    background: white !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    padding: 6px 12px !important;
}

.downloadForFilter:hover {
    background-color: #f8f9fa !important;
    border-color: #ddd !important;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: center !important;
}


.returnDefaultBtn {
    background-color: #11bf2b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.returnDefaultBtn:hover {
    background-color: #0eaa26;
}


.theme-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem 0;
    margin-left: 10px;
}

.theme-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    cursor: pointer;
    margin: 0px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.theme-button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.theme-button.active {
    border-color: #11BF2B;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

/* Ayrıca içindeki resimleri de küçültelim */
.theme-image {
    width: 21px;
    height: 21px;
    border-radius: 11px;
    background-color: #e2e2e2;
    padding: 2px;
    border: 0.03rem solid #919792;
}

.theme-name {
    font-weight: 350;
    font-size: 13px;
}

.filterSidebar {
    position: sticky;
    top: 72px; 
    height: calc(100vh - 72px);
    overflow: auto;
    background: #fff;
    border-right: 1px solid #eee;
    padding-bottom: 12px;
    z-index: 0; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.filterSidebar::-webkit-scrollbar {
    display: none; 
}

.filterContent {
    min-width: 0; 
}

.filterSidebar.collapsed + .filterContent #dtGeneralFundList thead,
.filterSidebar + .filterContent #dtGeneralFundList thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    transition: none !important;
    width: 100% !important;
    table-layout: fixed !important;
}

@media (max-width: 1200px) {
    .filter-layout {
        grid-template-columns: 1fr;
    }

    .filterSidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid #eee;
    }
}

.filterSidebarHeader {
    font-size: 14px;
    font-weight: 400;
    color: #121212;
}

.filter-toggle-btn i {
    font-size: 16px;
    margin-right: 8px;
}

.filterSidebar.open {
    left: -240px;
}

.filterMainContent {
    flex: 1;
    transition: margin-left 0.3s ease-in-out;
    width: 100%;
    margin-left: 0;
}

.filterMainContent.shifted {
    margin-left: 320px;
}

.filter-toggle-btn {
    position: fixed;
    top: 70px;
    left: 650px;
    z-index: 1001;
    background-color: #11bf2b;
    color: white;
    border: none;
    border-radius: 5px;
    width: 120px;
    height: 29px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease-in-out;
    align-items: baseline;
    align-content: center;
    flex-wrap: wrap;
}

.filter-toggle-btn.open {
    left: 330px;
}

.filter-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #777;
}

.deneme {
    white-space: normal !important;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.SumoSelect > .CaptionCont > span.placeholder {
    color: #212529;
    background-color: transparent;
    font-style: normal;
}

.SumoSelect > .CaptionCont > span {
    color: #212529;
    opacity: 1;
}

.applybtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 24px;
    padding: 12px 12px;
    background: #11BF2B;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.download-icon-btn {
    background: none !important;
    border: none !important;
    padding: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    outline: none !important;
}

.download-icon-btn::after, .download-icon-btn::before {
    display: none !important;
    content: none !important;
}

.download-icon-btn .dt-button-down-arrow {
    display: none !important;
}

.download-icon-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.download-icon-btn svg {
    width: 18px;
    height: 18px;
}


.filter-layout {
    display: grid;
    grid-template-columns: 260px 1fr; 
    gap: 16px;
    width: 100%;
    align-items: start;
}

.main-description {
    color: #7D8398;
    font-weight: 400;
    font-size: 16px;
}

.main-title {
    color: #121212;
    font-weight: 500;
    font-family: 'Space Grotesk';
    font-size: 20px;
}

.dt-button {
    border-radius: 100px !important;

}

#dtGeneralFundList {
    width: 100% !important;
    table-layout: auto;
}

#dtGeneralFundList th,
#dtGeneralFundList td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
}

#dtGeneralFundList.exporting-png th,
#dtGeneralFundList.exporting-png td {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

#dtGeneralFundList.exporting-png {
    table-layout: auto !important;
    width: auto !important;
}

#dtGeneralFundList.exporting-png th,
#dtGeneralFundList.exporting-png td {
    min-width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 90px !important;
    padding: 15px !important;
    vertical-align: top !important;
    line-height: 1.4 !important;
}

#dtGeneralFundList.exporting-png th:nth-child(1),
#dtGeneralFundList.exporting-png td:nth-child(1) {
    min-width: 400px !important;
    width: 400px !important;
}

#dtGeneralFundList.exporting-png th:nth-child(2),
#dtGeneralFundList.exporting-png td:nth-child(2) {
    min-width: 250px !important;
    width: 250px !important;
}

#dtGeneralFundList.exporting-png .fund-code-cell,
#dtGeneralFundList.exporting-png .fund-info,
#dtGeneralFundList.exporting-png .fund-name-text,
#dtGeneralFundList.exporting-png .fund-code-text {
    display: block !important;
    width: auto !important;
}

#dtGeneralFundList.exporting-png .fund-image {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
}

#dtGeneralFundList.exporting-png .fund-code-cell {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 70px !important;
    padding: 5px !important;
}

#dtGeneralFundList.exporting-png .fund-info {
    flex: 1 !important;
    line-height: 1.3 !important;
}

#dtGeneralFundList.exporting-png .fund-code-text,
#dtGeneralFundList.exporting-png .fund-name-text {
    margin-bottom: 4px !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

#dtGeneralFundList.exporting-png .clamp-2 {
    -webkit-line-clamp: none !important;
    overflow: visible !important;
    display: block !important;
}

#dtGeneralFundList.exporting-png th::after,
#dtGeneralFundList.exporting-png th::before {
    display: none !important;
}

#dtGeneralFundList.exporting-png .dt-column-order {
    display: none !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
/
}

#dtGeneralFundList thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f9fafb;
}

@media (min-width: 992px) {
    #dtGeneralFundList th:nth-child(1),
    #dtGeneralFundList td:nth-child(1) {
        min-width: 120px;
        max-width: 15%;
    }

    #dtGeneralFundList th:nth-child(2),
    #dtGeneralFundList td:nth-child(2) {
        min-width: 180px;
        max-width: 25%;
    }

    #dtGeneralFundList th:nth-child(3),
    #dtGeneralFundList td:nth-child(3) {
        min-width: 120px;
        max-width: 15%;
    }

    #dtGeneralFundList th:nth-child(4),
    #dtGeneralFundList td:nth-child(4) {
        min-width: 120px;
        max-width: 15%;
    }

    #dtGeneralFundList th:nth-child(5),
    #dtGeneralFundList td:nth-child(5) {
        min-width: 100px;
        max-width: 15%;
    }
}

body.sidebar-collapse .table-responsive {
    overflow-x: visible;
}

body.sidebar-collapse #dtGeneralFundList {
    table-layout: auto;
}

.infinite-scroll-loading {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-top: 1px solid #dee2e6;
    z-index: 10;
}

.infinite-scroll-loading .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.dataTables_scrollBody {
    position: relative;
}

.dataTables_wrapper .dataTables_paginate {
    display: none !important;
}

.dataTables_wrapper .dataTables_info.d-none {
    display: none !important;
}

.infinite-scroll-loading {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dataTables_scrollBody::-webkit-scrollbar {
    width: 8px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#dtGeneralFundList th:first-child,
#dtGeneralFundList td:first-child {
    min-width: 200px !important;
    max-width: 200px !important;
}

#dtGeneralFundList th:first-child,
#dtGeneralFundList td:first-child,
.DTFC_LeftWrapper th:first-child,
.DTFC_LeftWrapper td:first-child {
    min-width: 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    padding: 0px !important;
}

#dtGeneralFundList .fund-code-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

#dtGeneralFundList .fund-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

#dtGeneralFundList .fund-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc, table.dataTable thead > tr > td.dt-orderable-asc, table.dataTable thead > tr > td.dt-orderable-desc, table.dataTable thead > tr > td.dt-ordering-asc, table.dataTable thead > tr > td.dt-ordering-desc {
    padding-right: 5px !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
    content: none !important;
}