/* ========= Global DataTables Styles (tüm tablolar için) ========= */

/* Wrapper: dış çerçeve + radius burada */
.dataTables_wrapper {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    position: relative;
}

    /* Tablo: bordersız; spacing açık (radius wrapper’da) */
    .dataTables_wrapper table.dataTable {
        width: 100%;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: none !important;
        background: #fff;
    }

        /* THEAD alt çizgi yok */
        .dataTables_wrapper table.dataTable thead {
            border-bottom: none !important;
        }

            .dataTables_wrapper table.dataTable thead th {
                border: none !important;
                padding: 12px 16px;
                font-weight: 500;
                color: #374151;
                text-align: center;
                background: #f9fafb;
            }

        /* TBODY alt ayırıcı çizgiler — hücre tabanlı */
        .dataTables_wrapper table.dataTable tbody td {
            border-bottom: 1px solid #D1D5DB !important;
            padding: 12px 16px;
            vertical-align: middle;
        }

        .dataTables_wrapper table.dataTable tbody tr:last-child td {
            border-bottom: none !important;
        }

        /* Hover */
        .dataTables_wrapper table.dataTable tbody tr:hover {
            background-color: #f9fafb;
        }

    /* Scroll alanları */
    .dataTables_wrapper .dataTables_scroll {
        border-radius: 8px;
        overflow: hidden;
    }

    .dataTables_wrapper .dataTables_scrollHead,
    .dataTables_wrapper .dataTables_scrollBody,
    .dataTables_wrapper .dataTables_scrollFoot {
        border: none !important;
    }

    /* Scroll body */
    .dataTables_wrapper .dataTables_scrollBody {
        position: relative;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border: none !important;
    }

        .dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar {
            height: 6px;
        }

        .dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

    /* Sticky ilk sütun */
    .dataTables_wrapper .sticky-col {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
        box-shadow: none !important;
    }

    /* Sticky kenar gölgesi (opsiyonel) */
    .dataTables_wrapper .dataTables_scrollBody::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0; /* 6-8px verirsen açılır */
        pointer-events: none;
        background: linear-gradient(to right, rgba(0,0,0,0.08), rgba(0,0,0,0));
    }

/* FixedHeader destek */
table.dataTable.fixedHeader-floating,
table.dataTable.fixedHeader-locked {
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Info / Pagination */
.dataTables_wrapper .dataTables_info {
    padding: 12px 0;
    color: #6b7280;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate {
    padding: 12px 0;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 6px 12px;
        margin: 0 2px;
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        background: #fff;
        color: #374151;
        text-decoration: none;
        cursor: pointer;
        transition: all .2s;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #f3f4f6;
            border-color: #d1d5db;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background: #11BF2B;
            border-color: #11BF2B;
            color: #fff;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
            opacity: .5;
            cursor: not-allowed;
        }

/* Search */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 16px;
}

    .dataTables_wrapper .dataTables_filter input {
        padding: 8px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        outline: none;
        font-size: 14px;
    }

        .dataTables_wrapper .dataTables_filter input:focus {
            border-color: #11BF2B;
            box-shadow: 0 0 0 1px #11BF2B;
        }

/* Length */
.dataTables_wrapper .dataTables_length {
    margin-bottom: 16px;
}

    .dataTables_wrapper .dataTables_length select {
        padding: 6px 8px;
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        outline: none;
        font-size: 14px;
    }

/* Responsive */
@media (max-width: 768px) {
    .dataTables_wrapper {
        padding: 12px;
        border-radius: 6px;
    }

        .dataTables_wrapper .dataTables_filter input {
            width: 100%;
            margin-bottom: 12px;
        }

        .dataTables_wrapper .dataTables_paginate {
            display: flex;
            justify-content: center;
            margin-top: 16px;
        }

        .dataTables_wrapper table.dataTable thead th,
        .dataTables_wrapper table.dataTable tbody td {
            padding: 8px 12px;
            font-size: 13px;
        }
}

@media (max-width: 480px) {
    .dataTables_wrapper table.dataTable thead th,
    .dataTables_wrapper table.dataTable tbody td {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* ========= Global DataTables Styles (tüm tablolar için) ========= */

/* Scroll bar gizle (Chrome, Safari, Edge) */
.scroll-y-and-hide::-webkit-scrollbar {
    display: none;
    overflow-y: auto;
}

/* Scroll bar gizle (Firefox) */
.scroll-y-and-hide {
    scrollbar-width: none; /* firefox */
}

/* Scroll bar gizle (IE ve eski Edge) */
.scroll-y-and-hide {
    -ms-overflow-style: none;
}


/* Fund Header */
.fund-header {
    border-radius: 12px;
    margin-bottom: 10px;
}

.fund-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0px;
}


.fund-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.fund-title-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border: 1px solid #E7E7E7;
    padding: 5px;
    border-radius: 4px;
}

.fund-name-container-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fund-logo-note {
    width: 42px;
    height: 42px;
    border-radius: 30px;
    background-color: #f3f4f6;
}

.fund-name-note {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    font-family: nacelle;
}

.fund-logo {
    width: 52px;
    height: 52px;
    border-radius: 30px;
    background-color: #f3f4f6;
}

.fund-logo-news {
    width: 19px;
    height: 19px;
    border-radius: 30px;
    background-color: #f3f4f6;
}

.fund-name-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fund-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    margin-bottom: -8px;
}

.company-name {
    font-weight: 500;
    font-size: 28px;
}

.company-type {
    color: #6b7280;
}

.fund-name {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.fund-actions {
    display: flex;
    gap: 8px;
}

.action-button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .action-button:hover {
        background: #f9fafb;
        color: #111827;
    }


/* Price Information */
.fund-price-info {
    margin-bottom: 10px;
}

.price-main {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 4px;
}



.price-change {
    font-size: 16px;
    font-weight: 100;
}

    .price-change.positive {
        color: #11BF2B;
    }

    .price-change.negative {
        color: #ef4444;
    }

.price-date {
    color: #6b7280;
    font-size: var(--price-date-fs, 14px);
}

/* Navigation Tabs */
.fund-nav {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #e5e7eb;
    margin: 0 -24px;
    padding: 0 24px;
}

    .fund-nav a {
        padding: 12px 0;
        color: #6b7280;
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: all 0.2s ease;
    }

        .fund-nav a.active {
            color: #111827;
            border-bottom-color: #111827;
            font-weight: 500;
        }

        .fund-nav a:hover:not(.active) {
            color: #4b5563;
        }

/* Chart Container */
.fund-chart-container {
    background: white;
}

.chart-area {
    width: 100%;
    height: 300px;
    margin-bottom: 24px;
    position: relative;
}

/* Period Returns */
.period-returns {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 14px;
}

.period-item {
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    min-width: 110PX;
    transition: background-color 0.2s ease;
}

    .period-item:hover {
        background-color: #f3f4f6;
    }

    .period-item.active {
        background-color: #f3f4f6;
    }

.period-label {
    /*   font-weight: 700;
    color: black;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;*/
    padding: 16px 12px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    text-align: center;
}

.period-value {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .period-value.positive {
        color: #11BF2B;
    }

    .period-value.negative {
        color: #ef4444;
    }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tooltip Styles */
.chart-tooltip {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


/* Fund Info Section */
.fund-info-section {
    z-index: 1; /* Daha düşük bir z-index değeri */
}

.fund-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 48px;
    margin-bottom: 24px;
}

.fund-info-title h2 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0 0 4px 0;
    font-family: Space Grotesk;
}

.fund-info-title p {
    color: #6b7280;
    margin: 0;
    font-weight: 300;
    max-width: 30rem;
}

.see-more-btn {
    padding: 0;
    background: none;
    border: none;
    color: #11BF2B;
    font-weight: 500;
    cursor: pointer;
}

    .see-more-btn:hover {
        text-decoration: underline;
    }

.fund-details-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.general-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.general-detail-label {
    font-weight: 400;
    color: #000;
    ;
}

.general-detail-value {
    color: #6b7280;
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 8px 20px 8px;
}

.modal-title {
    font-family: Space Grotesk;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.modal-title-alt-1 {
    font-family: Space Grotesk;
    font-size: 14px;
    font-weight: 500;
    margin: 5px;
    margin-bottom: 10px;
}

.modal-header-left {
    display: flex;
    flex-direction: column; /* başlık ve alt başlık dikey */
}


.modal-sub-title {
    font-family: nacelle;
    font-size: 14px;
    font-weight: 400;
    margin: 4px 0 0; /* üstte küçük boşluk */
    color: #0000008A
}

.asset-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 8px 20px 8px;
}

.asset-modal-title {
    font-family: Space Grotesk;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.create-watch-list-title {
    font-weight: 400;
    color: #111827;
    font-family: Space Grotesk;
    margin: 10px;
    font-size: 14px;
}

.create-watch-list-input {
    color: #6b7280;
    font-family: Nacelle;
    font-size: 14px;
    margin: 10px;
    font-weight: 400;
    width: 95% !important
}


.create-watch-list-form {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    flex: 1;
}



/* Modal Styles */
.cumulative-comparison-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 1rem;
}

    .cumulative-comparison-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.cumulative-modal-content {
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 600px; /* Genişletilmiş maksimum genişlik */
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}



.close-modal-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    border-radius: 8px;
    transition: all 0.2s;
}

    .close-modal-btn:hover {
        background: #f3f4f6;
        color: #111827;
    }

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.search-box {
    margin-bottom: 1rem;
}

/* Choices.js Özelleştirmeleri */
.choices-modern {
    margin-bottom: 1rem;
}

    .choices-modern .choices-modern__inner {
        min-height: 48px;
        padding: 6px 12px;
        background: #f9fafb;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        transition: all 0.2s;
    }

    .choices-modern.is-focused .choices-modern__inner {
        border-color: #11BF2B;
        background: white;
        box-shadow: 0 0 0 3px rgba(17, 191, 43, 0.1);
    }

    .choices-modern .choices-modern__list--multiple .choices-modern__item {
        background: #ecfdf5;
        border: 1px solid #11BF2B;
        border-radius: 20px;
        color: #065f46;
        padding: 4px 12px 4px 16px;
        margin: 3px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .choices-modern .choices-modern__list--dropdown {
        border: none;
        border-radius: 12px;
        margin-top: 8px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

        .choices-modern .choices-modern__list--dropdown .choices-modern__item {
            cursor: pointer;
            padding: 12px 16px;
            font-size: 0.875rem;
        }

        .choices-modern .choices-modern__list--dropdown .choices-modern__item--selectable:hover {
            background-color: #f3f4f6;
        }

    .choices-modern .choices-modern__button {
        border-left: none;
        padding-left: 6px;
        margin-left: 6px;
        opacity: 0.7;
    }

        .choices-modern .choices-modern__button:hover {
            opacity: 1;
        }

.modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

/* Dropdown içeriği için özelleştirmeler */
.choices__list--dropdown .choices__item {
    display: flex;
    justify-content: space-between;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.close-modal-btn {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

    .close-modal-btn:hover {
        background-color: #f3f4f6;
    }

    .close-modal-btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    }

.modal-content {
    padding: 5px;
    overflow-y: auto;
    max-height: calc(90vh - 70px); /* 70px is modal header height */
}

/* Animation Classes */
.modal.active,
.modal-backdrop.active {
    display: block;
}

.modal.active {
    animation: modalSlideIn 0.3s ease;
}


@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -48%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* Prevent Body Scroll When Modal is Open */
body.modal-open {
    overflow: hidden;
}

/* Modal Content Styles */
.fund-details-grid-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.detail-group {
    padding: 20px;
    border-radius: 12px;
}

    .detail-group h3 {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        margin: 0 0 16px 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #e5e7eb;
    }

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .detail-item:last-child {
        margin-bottom: 12px;
    }

.detail-label {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.detail-value {
    color: #7d7d7d;
    font-size: 14px;
}

.risk-gauge-container {
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0 24px;
    border-radius: 12px;
}

.gauge-wrapper {
    width: 100%;
    max-width: 400px;
    max-height: 200px;
}

.gauge-chart-wrapper {
    width: 100%;
    height: 100px;
    position: relative;
    margin-bottom: 10px;
}
/* Portföy Dağılım Listesi Modal Stili */
.allocation-reports-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .allocation-reports-modal.active {
        display: flex;
    }

.allocation-reports-modal-content {
    background: white;
    width: 90%;
    max-width: 300px;
    border-radius: 16px;
    padding: 24px;
}
/* Boş Raporlar Stili */
.empty-allocation-reports {
    text-align: center;
    padding: 48px 24px;
}

    .empty-allocation-reports h3 {
        font-size: 16px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 8px 0;
    }

    .empty-allocation-reports p {
        color: #6B7280;
        margin: 0;
        line-height: 1.5;
    }
/* Portföy Dağılım Listesi Stili */
.allocation-report-list {
    margin-bottom: 24px;
    max-height: 400px; /* içerik bu yüksekliği geçerse */
    overflow-y: auto; /* dikey scroll çıksın */
}
/* Modal “kart” görünümü ve başlık */
#fundAllocationReportModalId .allocation-reports-modal-content {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    overflow: hidden;
}

#fundAllocationReportModalId .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #E5E7EB;
    background: #fff;
}

    #fundAllocationReportModalId .modal-header .modal-title {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

#fundAllocationReportModalId .allocation-header-top .allocation-fund-code {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .2px;
    color: #111827;
}

#fundAllocationReportModalId .allocation-header-subtitle {
    font-size: 14px;
    color: #111827;
    margin-top: 2px;
}

/* Liste alanı kart */
#fundAllocationReportModalId .allocation-flat-list {
    background: #fff;
    padding: 10px 8px;
    border-radius: 10px;
}

/* Satırlar */
#fundAllocationReportModalId .allocation-row {
    padding: 10px 8px;
    border-bottom: 1px solid #E5E7EB;
}

    #fundAllocationReportModalId .allocation-row:last-child {
        border-bottom: none;
    }

#fundAllocationReportModalId .allocation-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Belge ikonu */
#fundAllocationReportModalId .allocation-doc-icon {
    color: #111827;
    flex: 0 0 auto;
}

/* Link görünümü: mavi, hover underline */
#fundAllocationReportModalId .allocation-link {
    color: #2563EB; /* mavi */
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
}

    #fundAllocationReportModalId .allocation-link:hover {
        text-decoration: underline;
    }

/* Boş görünüm ortalama */
#fundAllocationReportModalId .empty-allocation-reports {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    color: #6B7280;
}

    #fundAllocationReportModalId .empty-allocation-reports h3 {
        font-size: 16px;
        color: #111827;
        margin: 6px 0 0;
    }

    #fundAllocationReportModalId .empty-allocation-reports p {
        font-size: 13px;
        margin: 0;
    }

.allocation-reports-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 15%;
}

    .allocation-reports-btn:hover {
        background: #f9fafb;
    }

.btn-detail {
    background-color: #11BF2B !important;
    color:white;
    border:none;
}

/* Not Listesi Modal Stili */
.notes-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .notes-modal.active {
        display: flex;
    }

.notes-modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 24px;
}

.notes-header {
    text-align: center;
    margin-bottom: 24px;
}

    .notes-header h2 {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }

/* Boş Notlar Stili */
.empty-notes {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #9CA3AF;
}

.empty-notes h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.empty-notes p {
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* Not Listesi Stili */
.notes-list {
    margin-bottom: 24px;
    max-height: 400px; /* içerik bu yüksekliği geçerse */
    overflow-y: auto; /* dikey scroll çıksın */
}


.note-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

    .note-actions button {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: #6B7280;
        border-radius: 4px;
        transition: all 0.2s;
    }

        .note-actions button:hover {
            background: #F3F4F6;
            color: #111827;
        }


.reminder-icon {
    color: #F59E0B;
    display: flex;
    align-items: center;
    padding: 4px;
}

.note-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

    .note-item:hover {
        border-color: #D1D5DB;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    /*[title] {
    position: relative;
}

    [title]:hover::after {
        content: attr(title);
        position: absolute;
        left: -100%;
        bottom: 50%;
        padding: 4px 8px;
        background: #374151;
        color: white;
        font-size: 12px;
        border-radius: 4px;
        white-space: nowrap;
        z-index: 1000;
    }*/

    .note-item:last-child {
        margin-bottom: 0;
    }

.note-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.buy-note .note-icon {
    background: #DCFCE7;
    color: #059669;
}

.sell-note .note-icon {
    background: #FEE2E2;
    color: #DC2626;
}

.custom-note .note-icon {
    background: #E5E7EB;
    color: #374151;
}

.note-content h4 {
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.note-content p {
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
    overflow: hidden; /* taşanı gizle */
    white-space: nowrap; /* tek satırda kalsın */
    text-overflow: ellipsis; /* sona ... koy */
    max-width: 300px; /* genişlik sınırı (ihtiyacına göre ayarla) */
}


/* Not Ekleme Modal Stili */
.add-note-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .add-note-modal.active {
        display: flex;
    }

.add-note-modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 24px;
}

/* Form Elemanları */
.form-section {
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.radio-button {
    flex: 1;
    padding: 5px 16px;
    font-family: nacelle;
    font-size: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

    .radio-button.active {
        background: #FFFFFF;
        color: rgba(0, 0, 0, 1);
        border-color: rgba(0, 0, 0, 1);
        font-weight: 600;
    }

.custom-title-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}

.note-textarea {
    width: 100%;
    max-height: 150px;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    resize: vertical;
}

/* Hatırlatıcı Stili */
.reminder-toggle {
    margin-bottom: 12px;
}

.checkbox-wrapper {
    display: flex;
    gap: 8px;
    cursor: pointer;
    align-items: baseline;
}

.reminder-help {
    font-size: 12px;
    color: #11BF2B;
}

.datetime-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}

/* Butonlar */
.add-note-button,
.note-submit-button {
    width: 100%;
    padding: 16px;
    background: #11BF2B;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.note-cancel-button {
    font-family: nacelle;
    width: 100%;
    padding: 16px;
    background: #11BF2B;
    color: rgb(55, 65, 81);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(229, 231, 235);
    border-image: initial;
    background: white;
    transition: 0.2s;
}

.button-container-add-note {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
/* Fon Kartı */
.fund-card {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    background: white;
}

    .fund-card h2 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: #000;
    }

    .fund-card p {
        color: #6B7280;
        margin: 0;
        line-height: 1.4;
    }

/* Responsive */
@media (max-width: 768px) {
    .notes-modal-content,
    .add-note-modal-content {
        width: 95%;
        margin: 20px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-button {
        width: 100%;
    }
}


/* SweetAlert2 özelleştirmeleri */
.swal-custom-popup {
    font-family: inherit;
    border-radius: 12px;
    padding: 24px;
}

.swal-confirm-button,
.swal-cancel-button {
    display: block;
    font-weight: 500 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
}

.swal-confirm-button {
    background-color: #11BF2B !important;
}

.swal-cancel-button {
    background-color: #f03d06 !important;
}

.swal2-icon {
    border-width: 3px !important;
}

/* SweetAlert2 animasyon hızını ayarla */
.swal2-popup {
    animation: swal2-show 0.2s;
}

.swal2-backdrop-show {
    animation: swal2-backdrop-show 0.2s;
}

.swal2-icon {
    animation: swal2-icon-show 0.2s;
}
/* Modal Ana Yapısı */
.alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .alert-modal.active {
        display: flex !important;
    }

.alert-modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alert-modal-fund-code {
    font-size: 10px;
}
/* Fon Bilgi Alanı */
.fund-header-info {
    text-align: center;
    padding: 12px 0;
}

    .fund-header-info h2 {
        font-size: 24px;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }

    .fund-header-info p {
        color: #6B7280;
        margin: 8px 0;
    }

.alarm-fund-header-info {
    text-align: center;
    border: 1px solid #E7E7E7;
    padding: 5px;
    border-radius: 4px;
}

    .alarm-fund-header-info h2 {
        font-size: 20px;
        font-weight: 500;
        color: #000000;
        margin: 0;
    }

    .alarm-fund-header-info p {
        font-size: 14px;
        color: #0000008A;
        margin: 8px 0;
    }

.alert-price-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-family: inter;
}

.alert-current-price {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
}

.alert-price-change {
    font-size: 18px;
    font-weight: 500;
}

    .alert-price-change.positive {
        color: #11BF2B;
    }

    .alert-price-change.negative {
        color: #EF4444;
    }

/* Form Components */
.alert-form {
    display: none;
}

.toggle-type,
.currency-toggle {
    display: flex;
    background: #F3F4F6;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
    height: 49px;
    border-radius: 32px;
}

.alert-toggle-button {
    flex: 1;
    padding: 7px 12px;
    border: none;
    background: none;
    font-size: 14px;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 32px;
}

    .alert-toggle-button.active {
        background: rgba(255, 255, 255, 1);
        color: rgba(0, 0, 0, 1);
        font-weight: 400;
        border: 1px solid rgba(17, 191, 43, 1);
    }

.alert-currency-btn {
    padding: 8px 16px;
    background: white;
    cursor: pointer;
    border: none;
    position: relative;
    transition: all 0.2s;
}

    .alert-currency-btn:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 20px;
        width: 1px;
        background-color: #e5e7eb;
    }

    .alert-currency-btn:hover {
        background: #f9fafb;
    }

    .alert-currency-btn.active {
        background-color: rgba(17, 191, 43, 1);
        color: rgba(255, 255, 255, 1);
    }

.value-input-container {
    margin: 16px 0;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.value-input {
    width: 100%;
    border: none;
    font-size: 18px;
    text-align: center;
    color: #111827;
}

    .value-input:focus {
        outline: none;
    }

.direction-buttons {
    display: none;
    gap: 12px;
    margin: 16px 0;
}

.direction-button {
    flex: 1;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 32px;
    background: white;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

    .direction-button.active {
        background: #DCFCE7;
        color: #059669;
        border-color: #DCFCE7;
    }

/* Alarm Listeleri */
.alerts-sections {
    margin: 0;
}

.section-title {
    font-weight: 500;
    color: #4B5563;
    margin-bottom: 12px;
}

.active-alerts {
    max-height: 200px;
    overflow-y: auto;
}

.completed-alerts {
    max-height: 200px;
    overflow-y: auto;
}

.alert-item {
    display: flex;
    position: relative;
    align-items: center;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.delete-alert-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    margin-left: 12px;
}

    .delete-alert-btn:hover {
        background: #fecaca;
    }

.alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #6B7280;
}

.alert-content {
    flex: 1;
}

.alert-price {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.alert-type {
    font-size: 13px;
    color: #6B7280;
}

/* Boş Durum */
.empty-alerts {
    text-align: center;
    padding: 32px 16px;
}

.empty-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #11BF2B;
}

.empty-alerts h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.empty-alerts p {
    color: #6B7280;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Butonlar */
.new-alert-button,
.alert-submit-button {
    width: 100%;
    padding: 14px;
    background: #11BF2B;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* Responsive */
@media (max-width: 768px) {
    .alert-modal-content {
        width: 95%;
        margin: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .alert-modal-content {
        padding: 20px;
    }

    .direction-buttons {
        flex-direction: column;
    }
}
/* Risk Metrics Table */
.risk-metrics-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 25px;
}

.risk-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 12px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.risk-col-hdr {
    font-weight: 500;
    color: #000;
    font-family: Space Grotesk;
}

.risk-col-category-hdr {
    font-weight: 500;
    color: #000;
    font-family: Space Grotesk;
    text-align: center;
}

.risk-col-value-hdr {
    font-weight: 500;
    color: #000;
    font-family: Space Grotesk;
    text-align: right;
}

.risk-col-name {
    font-weight: 300;
    color: #374151;
}

#priceChange.price-change {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* metin-ikon arası boşluk */
    font-weight: 300;
    font-size: 18px;
}

    #priceChange.price-change.positive {
        color: #065f46;
    }
    /* yeşil ton */
    #priceChange.price-change.negative {
        color: #b91c1c;
    }

.price-change-text {
    margin-top: 5px;
    ;
}
/* kırmızı ton */
#priceChange svg {
    flex-shrink: 0;
}

.risk-col-category {
    font-weight: 300;
    color: #374151;
    text-align: center;
}

.risk-col-value {
    color: #374151;
    font-weight: 500;
    text-align: right;
}

    .risk-col-value.negative-value {
        color: #dc2626; /* Tailwind "red-600" */
    }

.risk-table-body {
    display: flex;
    flex-direction: column;
}

.risk-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

    .risk-table-row:last-child {
        border-bottom: none;
    }





/* Responsive Design */
@media (max-width: 1200px) {
    .fund-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .fund-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .btn-action {
        flex: 1;
    }
}

@media (max-width: 1024px) {

    .period-returns {
        flex-wrap: wrap;
        gap: 16px;
    }

    .period-item {
        flex: 1;
        min-width: calc(25% - 12px);
        text-align: center;
    }

    .fund-details-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Temel Media Query Breakpointleri */
    .table-header, .table-row {
        grid-template-columns: minmax(10px, auto) repeat(5, minmax(40px, 1fr));
    }

        .table-header .col,
        .table-row .col {
            padding: 10px 12px;
            font-size: 13px;
        }

    .returns-tabs {
        gap: 12px;
    }

    .allocation-header,
    .poll-detail-item {
        grid-template-columns: 200px 1fr 50px; /* Label genişliğini azalt */
        padding: 12px 16px; /* Padding'i azalt */
        gap: 12px; /* Gap'i azalt */
    }

    .allocation-name,
    .poll-detail-label {
        font-size: 13px; /* Font boyutunu küçült */
    }

    .detail-value {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .fund-name {
        font-size: 18px;
    }

    .current-price {
        font-size: 28px;
    }

    .fund-nav {
        margin: 0 -16px;
        padding: 0 16px;
        gap: 24px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

        .fund-nav::-webkit-scrollbar {
            display: none;
        }


    .period-item {
        min-width: calc(33.333% - 11px);
    }

    .fund-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .fund-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .fund-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fund-details-grid-modal {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .annual-returns-section {
        margin-top: 12px;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    .title-container h2 {
        font-size: 16px;
    }

    .add-comparison-btn {
        width: 100%;
        justify-content: center;
    }

    .returns-tabs {
        flex-wrap: wrap;
    }

    .excel-export-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .reset-comparison-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }

    .btn-container {
        width: 100%;
        flex-direction: column;
    }

    .col {
        padding: 8px;
        font-size: 13px;
    }

    .comparison-modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 10px;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .index-list {
        max-height: 350px;
    }

    /* Küçük tablet için (768px'e kadar) */
    .allocation-header,
    .poll-detail-item {
        grid-template-columns: 150px 1fr 45px; /* Label genişliğini daha da azalt */
        padding: 10px 12px;
        gap: 8px;
    }

    .poll-results {
        margin-top: 16px;
    }

    .allocation-percentage,
    .detail-bar-container {
        height: 20px; /* Bar yüksekliğini azalt */
    }

    .detail-bar {
        height: 6px; /* Detay bar yüksekliğini azalt */
    }

    .risk-gauge-container {
        flex-direction: column;
    }

    .gauge-wrapper {
        margin-left: 0;
    }

    .add-comparison-btn {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .table-container {
        overflow-x: auto;
    }

    .comparison-modal-content {
        width: 95%;
        margin: 16px;
    }

    .fund-discovery {
        padding: 16px;
    }

    .discovery-section {
        margin-bottom: 32px;
    }

    .discovery-header h2 {
        font-size: 16px;
    }

    .discovery-header p {
        font-size: 13px;
    }

    .fund-card-compact {
        padding: 12px;
    }

    .fund-logo-compact {
        width: 36px;
        height: 36px;
    }

    .header-actions {
        flex-direction: column;
    }

    .asset-allocation-section {
        padding: 16px;
    }

    .allocation-item {
        padding: 10px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .fund-info-media-section {
        padding: 16px;
    }

    .media-container {
        padding-bottom: 75%; /* Mobile için daha yüksek aspect ratio */
    }

    .percentage-bar {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .fund-logo {
        width: 36px;
        height: 36px;
    }

    .fund-name {
        font-size: 16px;
    }

    .current-price {
        font-size: 24px;
    }

    .price-change {
    }

    .btn-action {
        padding: 6px 10px;
        font-size: 13px;
    }

    .period-item {
        min-width: calc(50% - 8px);
    }

    .fund-title {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .fund-title {
        flex-direction: column;
        gap: 12px;
    }

    .fund-actions {
        gap: 6px;
    }

    .period-returns {
        gap: 12px;
    }

    .period-item {
        padding: 6px;
    }

    .fund-details-grid {
        grid-template-columns: 1fr;
    }

    .fund-info-header {
        flex-direction: column;
        gap: 16px;
    }

    .see-more-btn {
        align-self: flex-start;
    }

    .title-container h2 {
        font-size: 15px;
    }

    .title-container p {
        font-size: 12px;
    }

    .returns-table,
    .table-row {
        grid-template-columns: minmax(100px, auto) repeat(5, minmax(60px, 1fr));
    }

    .table-header .col.fund-name {
        width: 100px;
    }

    .col {
        padding: 6px;
        font-size: 12px;
    }

    .comparison-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .search-box input {
        padding: 8px 8px 8px 36px;
        font-size: 13px;
    }

    .index-item {
        padding: 10px 12px;
    }

    .fund-discovery {
        padding: 12px;
    }

    .action-buttons {
        flex-direction: column-reverse;
    }

    .funds-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Mobil için (480px'e kadar) */
    .allocation-header,
    .poll-detail-item {
        grid-template-columns: 1fr; /* Tek kolon */
        grid-template-areas:
            "label"
            "bar"
            "value";
        padding: 8px 12px;
        gap: 8px;
    }

    .allocation-name,
    .poll-detail-label {
        grid-area: label;
        font-size: 12px;
    }

    .allocation-percentage,
    .detail-bar-container {
        grid-area: bar;
        height: 16px;
    }

    .detail-bar {
        height: 4px;
    }

    .detail-value {
        grid-area: value;
        font-size: 12px;
        text-align: left;
        padding-left: 4px;
    }

    .poll-results {
        margin-top: 12px;
    }

    .allocation-item {
        margin-bottom: 8px;
    }

    .allocation-name {
        font-size: 14px;
    }

    .allocation-percentage {
        font-size: 12px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-value {
        font-size: 16px;
    }

    .percentage-bar {
        font-size: 10px;
    }
}

/* Annual Returns Section */
.annual-returns-section {
    background: white;
    border-radius: 12px;
    margin-top: 16px;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.title-container h2 {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 4px 0;
}

.title-container p {
    color: #6b7280;
    margin: 0;
}

.add-comparison-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 30px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 32px;
    height: 40px;
}

    .add-comparison-btn:hover {
        background: #f9fafb;
    }

.counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 4px;
}

.index-item.selected {
    background-color: #f0fdf4;
    border: 1px solid var(--sg-color-success-500);
    border-radius: 8px;
    margin: 0 -6px 2px;
    position: relative;
}


/* Tabs Navigation */
.returns-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px; 
    padding-bottom: 12px;
    align-items: center;
}

.excel-export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 8px 16px;
    background: #11BF2B;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-container {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

.tab-btn {
    padding: 12px 0;
    border: none;
    background: none;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

    .tab-btn.active {
        color: #111827;
        border-bottom-color: #111827;
        font-weight: 500;
    }

/* Content Area */
.returns-content {
    position: relative;
}

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* Table Styles */
.returns-table {
    width: 100%;
    min-width: max-content;
}

/* Table Grid Layout */
.table-header,
.table-row {
    display: grid;
    grid-template-columns: minmax(200px, auto) repeat(5, minmax(100px, 1fr));
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Table Row Styles */
.table-row {
    border-bottom: 1px solid #e5e7eb;
}

    .table-row:last-child {
        border-bottom: none;
    }

    .table-row:hover {
        background-color: #f9fafb;
    }

/* Column Styles */
.col {
    padding: 12px 16px;
    font-size: 16px;
    min-width: 0;
    white-space: nowrap;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .col.fund-name {
        background: white;
        position: sticky;
        left: 0;
        background: inherit;
        z-index: 1;
        border-right: 1px solid #e5e7eb;
        text-align: left;
        justify-content: flex-start;
    }

.table-header .col {
    padding: 12px 16px;
    font-weight: 500;
    color: #374151;
    text-align: right;
}

/* Return Value Formatting */
.return-value {
    font-variant-numeric: tabular-nums;
}

    .return-value.positive {
        color: #11BF2B;
    }

    .return-value.negative {
        color: #ef4444;
    }

/* Comparison Modal */
.comparison-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

    .comparison-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.comparison-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}


.close-modal-btn {
    padding: 4px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-modal-btn:hover {
        background-color: #f3f4f6;
        color: #374151;
    }

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 16px;
}

    .search-box svg {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
    }

    .search-box input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        outline: none;
    }

        .search-box input:focus {
            border-color: #11BF2B;
            box-shadow: 0 0 0 1px #11BF2B;
        }

/* Index List */
.index-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.index-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .index-item:hover {
        background-color: #f9fafb;
    }

    .index-item.selected {
        background-color: #f3f4f6;
    }

.index-code {
    font-weight: 500;
    color: #111827;
}


.poll-results {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
}

.poll-allocation-item {
    margin-bottom: 12px;
}

.poll-allocation-header {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    border-start-start-radius: 10px;
}

.poll-allocation-header,
.poll-detail-item {
    display: grid;
    grid-template-columns: 300px 1fr 60px; /* Sabit genişlik, bar alanı, değer */
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
}

.poll-allocation-name,
.poll-detail-label {
    font-size: 16px;
    color: #1f2937;
}

.poll-allocation-percentage,
.detail-bar-container {
    position: relative;
    height: 32px;
    border-radius: 4px;
}

.poll-allocation-percentage {
    background-color: rgba(0, 168, 67, 0.1);
    overflow: hidden;
}

.percentage-bar {
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    font-size: 13px;
    font-weight: 500;
    transition: width 0.3s ease;
    background: #11BF2B;
}

.detail-bar-container {
    height: 16px;
    display: flex;
    align-items: center;
}

.detail-bar {
    height: 8px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

    .detail-bar.increase-strong {
        background: linear-gradient(90deg, #00a843 0%, #00c853 100%);
    }

    .detail-bar.increase {
        background: linear-gradient(90deg, #2ecc71 0%, #4cd964 100%);
    }

    .detail-bar.decrease-strong {
        background: linear-gradient(90deg, #d63031 0%, #ff4444 100%);
    }

    .detail-bar.decrease {
        background: linear-gradient(90deg, #e74c3c 0%, #ff6b6b 100%);
    }

    .detail-bar.neutral {
        background: linear-gradient(90deg, #f1c40f 0%, #fdcb6e 100%);
    }

.poll-allocation-details {
    display: none;
    background: #fff;
}

    .poll-allocation-details.active {
        display: block;
    }

.detail-value {
    color: #6b7280;
    text-align: right;
}

.poll-detail-item {
    border-bottom: 1px solid #f3f4f6;
}

    .poll-detail-item:last-child {
        border-bottom: none;
    }

/* Yatay Scroll için Özel Stillendirme */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    background: white;
    border-radius: 8px;
}

    .table-container::-webkit-scrollbar {
        height: 6px;
    }

    .table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .table-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }

/* Fund Info Media Section */
.fund-info-media-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.media-content {
    margin-top: 20px;
}

.media-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}


.document-container {
    margin: 20px 0;
}

    .document-container a {
        display: inline-flex;
        align-items: center;
        padding: 12px 20px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        text-decoration: none;
        color: #374151;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .document-container a:hover {
            background: #f3f4f6;
            border-color: #d1d5db;
        }

    .document-container svg {
        margin-right: 8px;
    }

.text-container {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    color: #374151;
    line-height: 1.6;
}

.media-error {
    padding: 20px;
    background: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    text-align: center;
    color: #991b1b;
}

/* Güvenlik için iframe sınırlamalarını ekle */
.media-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

/* Küçük mobil için (360px'e kadar) */
@media (max-width: 360px) {
    .allocation-header,
    .poll-detail-item {
        padding: 6px 8px;
    }

    .allocation-name,
    .poll-detail-label,
    .detail-value {
        font-size: 11px;
    }

    .allocation-percentage,
    .detail-bar-container {
        height: 14px;
    }

    .detail-bar {
        height: 4px;
    }
}

.news-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    min-height: 60px; 
}

.news-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 24px;
    position: relative;
    min-height: 60px;
}

.news-item {
    max-width: 280px;
    min-width: 280px;
    flex: 0 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden; 
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .news-item:hover {
        opacity: 0.9;
    }

.news-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.news-content {
    padding: 16px;
}

.news-title {
    font-size: 16px;
    min-height: 38px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 14px;
    font-weight: 400;
    color: #0000008A;
    margin-bottom: 8px;
}

.news-description {
    color: #6b7280;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px; 
}

.fund-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

    .fund-info:hover {
        background-color: #f3f4f6;
    }

.fund-info-news {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 20px;
    border: 1px solid #ECECEC;
    transition: background-color 0.2s ease;
}

    .fund-info-news:hover {
        background-color: #f3f4f6;
    }

.fund-code {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

/*.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-button:hover {
        background: #f3f4f6;
    }*/

/*.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}*/

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background: #4b5563;
    }
/* Container transitions */
#stockAnalysisContainer, #assetDistributionContainer, #riskTableContainer, #overviewContainer {
    transition: opacity 0.3s ease;
}

/* Container animation */
[id$="Container"] {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.fund-comparison-modal {
    display: none;
}

    .fund-comparison-modal.active {
        display: block;
    }

.fund-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
}

.fund-option-image {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.category-score {
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
}

    .category-score[data-score="1"] {
        background: #fee2e2;
        color: #991b1b;
    }

    .category-score[data-score="2"] {
        background: #fef3c7;
        color: #92400e;
    }

    .category-score[data-score="3"] {
        background: #ecfccb;
        color: #3f6212;
    }

    .category-score[data-score="4"] {
        background: #d1fae5;
        color: #065f46;
    }

    .category-score[data-score="5"] {
        background: #dbeafe;
        color: #1e40af;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}



.fund-detail__metric-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.fund-detail__checkbox-svg-icon {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.fund-detail__metric-item--selected .fund-detail__metric-checkbox {
    background: var(--sg-color-success-500);
    border-color: var(--sg-color-success-500);
    color: white;
}




#existingWatchlists {
    min-height: 100px; /* Minimum bir yükseklik vererek spinner'ın konumunu sabitleyebiliriz */
}
/* Listeler yüklenirken container'ı gizle */
.loading #existingWatchlists {
    display: none;
}

.loading .create-new-list-btn {
    display: none;
}
/* Global Loading Styles */
.global-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

    .global-loading.active {
        display: flex;
    }

/* Section Loading Styles */
.section-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    z-index: 10;
}

    .section-loading.active {
        display: flex;
    }

/* Spinner Styles */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #11BF2B;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tüm bölümlere relative position ekleyelim */
.fund-chart-container,
.fund-info-section,
.annual-returns-section,
.fund-info-media-section,
.fund-news-section,
.watch-list-modal-content,
.create-list-modal-content,
.notes-modal-content,
.add-note-modal-content,
.alert-modal-content {
    position: relative;
}

.anual-chart-container,
.monthly-chart-container {
    padding-bottom: 20px;
}

.watch-list-modal-content {
    padding: 10px;
    min-width: 546px;
}

.section-loading.active + * {
    filter: blur(2px);
    pointer-events: none;
}
/* Fund Modal Styles */
.fund-watch-list-modal,
.fund-create-list-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .fund-watch-list-modal.active,
    .fund-create-list-modal.active {
        display: flex;
    }

.fund-create-new-list-btn {
    width: 107px;
    height: 30px;
    padding: 3px;
    background: white;
    border: 2px solid #11BF2B;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #11BF2B;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    margin-left: auto;
    margin-right: 8px;
}

    .fund-create-new-list-btn:hover {
        background: #f9fafb;
    }

.fund-watch-list-submit-btn,
.fund-create-list-submit-btn {
    width: 96%;
    padding: 12px;
    background: #11BF2B;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin: 2%;
}

    .fund-watch-list-submit-btn:disabled,
    .fund-create-list-submit-btn:disabled {
        background: #d1d5db;
        cursor: not-allowed;
    }

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .fund-header,
    .fund-chart-container {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }

    .btn-action {
        display: none;
    }
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Space Grotesk;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-button-1 {
    width: 60px;
    height: 40px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .action-button-1:hover {
        background: #f9fafb;
        color: #111827;
    }


/* Fund Discovery Main Styles */
.fund-discovery {
    margin-top: 32px;
}

.discovery-section {
    margin-bottom: 40px;
    position: relative;
}

    .discovery-section:last-child {
        margin-bottom: 0;
    }

/* Section Headers */
.discovery-header {
    margin-bottom: 24px;
}

    .discovery-header h2 {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 4px 0;
    }

    .discovery-header p {
        color: #6b7280;
        margin: 0;
    }

/* Grid Layout */
.funds-grid {
    --card-min: 150px; /* kartın küçülebileceği alt sınır */
    --card-max: 150px; /* kartın büyüyebileceği üst sınır */
    display: grid;
    /* Sığdığı kadar kolon; kalan boşluk kenarlara gider, gap sabit kalır */
    grid-template-columns: repeat( auto-fit, minmax(min(100%, var(--card-min)), var(--card-max)) );
    column-gap: 16px; /* sabit kolon aralığı */
    row-gap: 16px;
    gap: 16px;
}

    .funds-grid > * {
        width: 100%;
        max-width: var(--card-max);
        /* metin taşmalarını engellemek için: */
        min-width: 150px;
        max-height: 60px;
    }

/* Compact Fund Card */
.fund-card-compact {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 5px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .fund-card-compact:hover {
        transform: translateY(-2px);
        border-color: #11BF2B;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

/* Card Content Layout */
.fund-content-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.fund-logo-compact {
    width: 36px;
    height: 36px;
    border-radius: 30px;
    flex-shrink: 0;
    padding: 2px;
}

.fund-info-wrapper {
    flex: 1;
    min-width: 0;
}

.fund-code-compact {
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    font-family: nacelle;
}

.fund-image-code-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
/* Metrics Styling */
.metrics-row {
    display: flex;
    align-items: center;
}


.metric-value-compact {
    font-weight: 500;
    font-size: 12px;
    color: #111827;
    padding: 2px 4px;
    border-radius: 20px;
}

    .metric-value-compact.positive {
        color: var(--success-300);
    }

    .metric-value-compact.negative {
        color: #dc2626;
    }

/* Portfolio Count Section */
.portfolio-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    font-size: 13px;
}

.count-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 12px;
}

.count-text {
    color: #4b5563;
    font-weight: 500;
    font-size: 10px;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .funds-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (max-width: 992px) {
    .funds-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .allocation-chart-area {
        min-height: 275px;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

#pollResultsContainer {
    padding: 20px 0;
}

/* Asset Allocation Styles */
.asset-allocation-section {
    background: white;
    border-radius: 16px;
    margin: 24px 0;
}

/* Grafik Alanı Stilleri */
.allocation-chart-area {
    /*    background: #f9fafb;*/
    border-radius: 12px;
    padding: 24px;
}

.allocation-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

.graph-header {
    font-family: Space Grotesk;
}

.detail-header {
    font-family: Space Grotesk;
}

#assetAllocationPie {
    height: 450px;
}
.highcharts-a11y-proxy-element {
    pointer-events: none !important;
}

/* Detay Alanı Stilleri */
.allocation-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.header-title {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

.view-toggle {
    padding: 8px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

    .view-toggle:hover {
        background: #f3f4f6;
        color: #111827;
        transform: scale(1.05);
    }


.allocation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.allocation-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

    .allocation-item:hover {
        border-color: #11BF2B;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

.allocation-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 12px;
}

.allocation-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.allocation-name {
    font-weight: 500;
    color: #111827;
}

.allocation-percentage {
    font-weight: 600;
    color: #111827;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
}

/* İstatistik Kartları */
.stats-cards {
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    background: #11BF2B1A;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.stat-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #11BF2B;
    font-family: nacelle;
}

/* Bilgi Bandı */
.info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-top: 24px;
}

.info-icon {
    color: #6b7280;
}

.info-text {
    font-size: 14px;
    color: #374151;
}

/* Custom Scrollbar */
.allocation-list::-webkit-scrollbar {
    width: 6px;
}

.allocation-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.allocation-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .allocation-list::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* Grid görünümü için stiller */
.allocation-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.allocation-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

    .allocation-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

.card-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-color {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.card-percentage {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.card-name {
    padding: 12px;
    font-weight: 500;
    color: #374151;
    border-top: 1px solid #e5e7eb;
}

/* İstatistik kartı vurgusu için */
.stat-highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

    .stat-highlight span:first-child {
        font-size: 14px;
        font-weight: 500;
    }

    .stat-highlight span:last-child {
        font-size: 18px;
        font-weight: 600;
    }

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .allocation-list.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

#fundDetailTabs .sg-tabs__nav,
#fundDetailTabs .sg-tabs__nav {
    margin: 0;
    padding: 15px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(14, 15, 12, 0.12);
}

#fundDetailTabs .sg-tabs__list,
#fundDetailTabs .sg-tabs__list {
    gap: 12px;
}

    #fundDetailTabs .sg-tabs__list .sg-tabs__button,
    #fundDetailTabs .sg-tabs__list .sg-tabs__button {
        padding: 5px 16px;
        border: 1px solid rgba(14, 15, 12, 0.12);
        border-radius: 100px;
        background-color: #FFFFFF;
        color: #121212;
        font-family: 'Space Grotesk', sans-serif;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        line-height: 22px;
        transition: color .15s ease, border-color .15s ease, background-color .15s ease;
    }

        #fundDetailTabs .sg-tabs__list .sg-tabs__button:hover,
        #fundDetailTabs .sg-tabs__list .sg-tabs__button:focus {
            box-shadow: none;
        }

        #fundDetailTabs .sg-tabs__list .sg-tabs__button.sg-tabs__button--active,
        #fundDetailTabs .sg-tabs__list .sg-tabs__button.sg-tabs__button--active {
            background: #FFFFFF;
            color: #0E3F18;
            border-color: #163300; /* interactive/primary/default */
        }

.sg-tabs__list .sg-tabs__button.sg-tabs__button--disabled,
.sg-tabs__list .sg-tabs__button.sg-tabs__button--disabled {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: rgba(14, 15, 12, 0.12);
}

.year-selector {
    min-width: 120px;
    max-width: 130px;
    padding: 0.3rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .year-selector:focus {
        outline: none;
        border-color: #1ACD35;
        box-shadow: 0 0 0 3px rgba(26, 205, 53, 0.1);
    }

    .year-selector:hover {
        border-color: #9ca3af;
    }
    .year-selector select {
        border:none !important;
    }

