:root {
    --primary-color: #007bff;
    --primary-color-dark: #0056b3;
    --background-color: #f8f9fb;
    --card-background: #ffffff;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-color-theme {
    color: #00438f;
}

.mt-30px {
    margin-top: 30px;
}

.nav-graphics .nav-link {
    cursor: pointer;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.controls label {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.controls input[type="date"],
.controls input[type="text"],
.controls input[type="number"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #daedff;
    border-radius: 8px;
    width: 100%;
    max-width: 200px;
    color: #00438d;
}

.controls button {
    padding: 9px 20px;
    font-size: 16px;
    background-color: #00438f;
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
}

.controls button:hover {
    background-color: var(--primary-color-dark);
}

#chart {
    max-width: 100%;
    margin: auto;
}

#result {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    white-space: pre-line;
}

/* Responsive */


/* ApexCharts overrides */
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
    background: transparent !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
    background: #ffffff !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 5px !important;
}

.apexcharts-xaxistooltip-bottom:before {
    border-bottom-color: #e3e3e3 !important;
}

.apexcharts-xaxistooltip-bottom:after {
    border-bottom-color: #ffffff !important;
}

.apexcharts-menu-icon,
.apexcharts-reset-icon,
.apexcharts-zoom-icon,
.apexcharts-pan-icon {
    display: none;
}

ul.nav.nav-pills.nav-graphics.mb-4 {
    background: #fff;
    border: 1px solid #daedff;
    border-radius: 8px;
    padding: 8px 12px;
    justify-content: space-between;
    margin: 10px 0;
    display: flex;
    width: max-content;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #e9f4ff;
    border-radius: 4px;
    border: none;
    color: #00438e;
}

label.nav-link {
    color: #00438e;
}

p#result span {
    color: #00438f;
    font-weight: 700;
}

p#result span:nth-child(3) {
    color: #80bc00;
    border-bottom: 2px solid #80bc00;
}

.FonCaption {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 20px;
}

.donut-baslik,
.AreaBaslik {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #00438f;
    line-height: 1;
    position: relative;
    width: max-content;
    margin: 0px auto 15px;

    @media screen and (max-width: 768px) {
        margin: 10px auto 25px;
    }
}

.grafik-baslik,
.getiri-baslik,
.getiri-head {
    font-size: 2em;
    font-weight: 600;
    color: #00438f;
    line-height: 1;
    margin-bottom: 15px;
    text-align: center;
    width: max-content;

    @media screen and (max-width: 768px) {
        font-size: 1.8em;
        line-height: 1.4em;
    }
}

.fon-grafigi {
    border: 1px solid #daedff;
    border-radius: 8px;
    padding: 18px 22px;
}

.OwlFonAdi {
    font-size: 2em;
    font-weight: 600;
    color: #00438f;
    line-height: 1;

    @media screen and (max-width: 768px) {
        font-size: 1.5em;
        line-height: 1.4em;

    }
}

.fon-detay,
.YatirimStrateji {
    border: 1px solid #daedff;
    border-radius: 8px;
    padding: 18px 22px;
}

.OwlFonKodu {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #f0f7ff;
    text-align: center;
    border-radius: 50%;

    span {
        position: relative;
        display: inline-block;
        font-size: 16px;
        line-height: 24px;
        font-weight: 700;
        color: var(--theme-color);
        margin-bottom: 8px;
    }
}

.FonDetayTable {
    margin-bottom: 0;
}

.FonDetayTable tbody tr:last-child td {
    border-bottom: 0 !important;
}

.investment-block.grafik-detay-block .investment-block-two.mt-30px {
    max-height: 390px;
}

.grafik-detay-block .investment-block-two .inner-box .big-text {
    font-size: 60px;
}

.grafik-detay-block .investment-block-two .inner-box {
    border-radius: 8px;
}

.modal-content {
    border-radius: 8px;
    border: 1px solid #fff;
}

h5#customDateModalLabel {
    color: var(--theme-color);
    font-size: 18px;
}

.modal-header {
    padding: .7rem 1rem;
}

input.form-control {
    border: 1px solid #daedff;
}

.getiri-baslik {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00438e;
    margin-bottom: 24px;
}

.getiri-stil {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.getiri-stil thead tr {
    background-color: var(--theme-color);
    color: white;
    font-weight: 600;
    text-align: center;
}

.getiri-stil thead th {
    padding: 16px;
    font-size: 0.95rem;
    text-wrap: nowrap;
}

/* .getiri-stil thead th:first-child {
    background: #dae5ef;
} */

.getiri-stil tbody td {
    text-align: center;
    font-weight: 400;
    color: #585858;
    padding: 14px;
    background-color: #fff;
    font-size: 0.95rem;
}

.getiri-stil tbody tr:first-child td {
    color: var(--theme-color);
    font-weight: 600;
}


.getiri-stil tbody tr td:first-child {
    text-align: left;
    font-weight: 600;
    border-left: 1px solid #dee2e6;
    text-wrap: nowrap;
}

.getiri-stil tbody tr:last-child td:first-child {
    border-end-start-radius: 8px;
}


.getiri-stil tbody tr td:last-child {
    border-right: 1px solid #dee2e6;
}

.getiri-stil tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.FonKarsilastirmaButton {
    margin-bottom: 20px;
}

.FonKarsilastirmaButton .btn {
    background: #f0f7ff;
    border: none;
    color: var(--theme-color);
    font-size: 22px;
}

.FonKarsilastirmaButton .btn i {
    font-size: 16px;
    font-weight: 400;
}

.OwlFonAdi:after,
.donut-baslik:after,
.AreaBaslik:after,
.grafik-baslik:after,
.getiri-baslik:after,
#chart2 h4:after,
.getiri-head:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: '';
    width: 100%;
    height: 6px;
    z-index: -1;
    background: #80bc04;
    opacity: 0.9;
}

#karsilastir-btn {
    position: fixed;
    bottom: 100px;
    z-index: 99;
    right: 20px;

    @media screen and (max-width: 768px) {
        right: 10px;
    }
}


.karsilastirma-panel {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #f0f7ff;
    border-radius: 15px;
    width: 400px;
    z-index: 9999;
    transition: all 0.3s ease-in-out;

    @media screen and (max-width: 768px) {
        width: 95%;
        right: 10px;
    }
}

.karsilastirma-panel .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}

.karsilastirma-panel.gizli {
    display: none;
}

.karsilastirma-panel h3 {
    margin-top: 0;
    font-size: 20px;
    padding: 15px 20px;
    font-weight: 500;
    margin-bottom: 0;
    color: #004390;
}

.karsilastirma-buttons {
    display: flex;
    gap: 1em;
    justify-content: space-between;
    padding: 9px 20px;
}

.karsilastirmaItem {
    padding: 10px;
    background: #fff;
    position: relative;
    justify-content: space-between;

    span {
        font-size: 14px;
    }
}

.karsilastirmaItem span.remove {
    position: relative;

    i {
        font-size: 16px;
        color: #d70606;
        cursor: pointer;
    }
}

.karsilastirmaItem .OwlFonKodu {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-weight: 400;
    background: #f0f7ff;

    span {
        font-size: 14px;
        font-weight: 600;
    }
}

span#karsilastirmaCount {
    background: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    border: 1px solid #00439054;
    font-weight: 500;
}

.karsilastirma-buttons button {
    padding: 9px 20px;
    font-size: 16px;
    background-color: #00438f;
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
    display: flex;
    align-items: center;
    gap: .4em;
    font-family: var(--title-font);

    i {
        font-size: 16px;
    }
}

.karsilastirma-buttons a {
    padding: 9px 20px;
    font-size: 16px;
    background-color: #00438f;
    color: #fff !important;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
    display: flex;
    align-items: center;
    gap: .4em;

    i {
        font-size: 16px;
    }
}

.karsilastirma-buttons .remove-all {
    background: transparent;
    color: #00438f;

    i {
        color: #d70606;
    }
}

.fonun-ozellikleri a {
    padding: 9px 20px;
    font-size: 18px;
    background-color: #00438f;
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* iOS için */
}

/* Webkit tabanlı tarayıcılar (Chrome, Safari, Edge) */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Firefox */
.table-responsive {
    scrollbar-width: thin;
    /* ince scrollbar */
    scrollbar-color: #ccc transparent;
    /* gri thumb, şeffaf track */
}

/*
table.table tbody tr td:nth-child(1) {
    text-align: center;
} */

table.table tbody tr td:nth-child(2) {
    display: flex;
    align-items: baseline;
}



.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #00438f;
    margin-bottom: 20px;
    text-align: center;
}

.date-filter {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;

    @media screen and (max-width: 768px) {
        justify-content: center;
        flex-wrap: nowrap;
    }
}

.date-filter input[type="date"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #daedff;
    border-radius: 8px;
    width: 130px;
    max-width: 200px;
    color: #00438d;
    position: relative;
    z-index: 999;

}

.date-filter button {
    padding: 9px 20px;
    font-size: 16px;
    background-color: #00438f;
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
}

.date-filter button:hover {
    background-color: #0056b3;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table.fund-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 0;
}

tbody tr:last-child td {
    border-bottom: none !important;
}

.table.fund-table thead tr {
    background: #f0f7ff;
}

.table.fund-table th,
.table.fund-table td {
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e5;
}

.table.fund-table th {
    font-weight: 500;
    color: #00438f;
    cursor: pointer;
}

.table.fund-table th .sort-indicator {
    margin-left: 5px;
}

.table.fund-table tbody tr:hover {
    background-color: #fafafa;
}

.fund-code {
    font-weight: 600;
    font-size: 1rem;
    color: #00438f;
    background-color: transparent;
}

.fund-name {
    font-size: 0.9rem;
    color: #555;
    width: 200px;
    text-wrap: wrap;
    font-weight: 400;
}

@media (max-width: 767px) {

    .table.fund-table th,
    .table.fund-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 20px;
    }
}


.custom-checkbox {
    display: inline-block;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox .checkmark {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #00438f;
    /* mavi border */
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    /* yüksekliğin biraz altında */
    color: #00438f;
    font-size: 22px;
    transition: all 0.3s ease;
    user-select: none;
}

.custom-checkbox .checkmark::before {
    content: '+';
}

.custom-checkbox input:checked+.checkmark {
    border-color: #dc3545;
    /* kırmızı border */
    color: #dc3545;
}

.custom-checkbox input:checked+.checkmark::before {
    content: '-';
}

td .karsilastirmaItem {
    padding-left: 0;
}

.exchange-section .tab-btn-box {
    position: relative;
    margin-bottom: 40px;
    z-index: 1;
}

.exchange-section .tab-btn-box .tab-btns {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 15px;
}

.exchange-section .tab-btn-box .tab-btns li {
    width: max-content;
    margin: 0;
}

.deals-block-one .inner-box .title-box span {
    border: none;
}

.deals-block-one .inner-box .title-box .icon-box {
    background-color: #f0f7ff;
}

.checkbox-box {
    position: absolute;
    right: 30px;
    z-index: 99;
}

input#endDate,
input#startDate,
input#perfStartDate,
input#perfEndDate {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #daedff;
    border-radius: 8px;
    color: #00438d;
    width: 130px;
    position:relative;
    z-index: 999;
}

button.button.prev-button.prev-btn {
    background: transparent;
    color: #00438e;
}

button.button.next-button.next-btn {
    background: transparent;
    color: #00438f;
}

button.button.view-switch {
    background: transparent;
    color: #00438e;
}

.datepicker-controls {
    background: #f0f7ff;
    border-radius: 4px;
}

.datepicker-cell.selected,
.datepicker-cell.selected:hover {
    background-color: #00438f !important;
}

.datepicker-header .datepicker-controls .button {
    font-weight: 500;
}

.datepicker span {
    font-size: 15px;
}

.datepicker .dow {
    font-weight: 500 !important;
}

.getiri-stil tbody tr:last-child td {
    border-bottom: 1px solid #dee2e6 !important;
}

.nice-select:before {
    display: none;
}

.choices__list--multiple .choices__item {
    background-color: #00438f;
    border: 1px solid #00438f;
    padding: 0 10px;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
    padding: 0;
    padding-left: 16px;
    background-color: transparent;
    margin: 0 -6px 0 0;
}

.choices__inner {
    border: 1px solid #daedff;
    border-radius: 8px;
    color: #00438d;
    background: #fff;
    min-width: 20ch !important;
}

.nice-select {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.choices__input {
    width: 3ch!important;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #00438d;
    background-color: #fff;
}

.is-open .choices__inner {
    border-radius: 8px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-color: #daedff;
}

.is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
    border-radius: 8px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-color: #daedff;
}

.choices__item--selectable::after {
    display: none !important;
}

@media (min-width: 640px) {

    .choices__list--dropdown .choices__item--selectable[data-select-text],
    .choices__list[aria-expanded] .choices__item--selectable[data-select-text] {
        padding-right: 0;
    }
}

.choices__heading {
    color: #00438f;
    font-weight: 500;
}

select.tab-select {
    display: none;
    padding: 8px;
    font-size: 18px;
    border: 1px solid #daedff;
    border-radius: 8px;
    color: #00438d;
    width: 100%;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    /* .exchange-section .tab-btn-box {
        display: none !important;
    } */

    select.tab-select {
        display: block !important;
    }
}

.FonDetayTable tr {
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table.FonDetayTable tbody tr td:nth-child(1) {
    width: 50%;
}

table.FonDetayTable tbody tr td:nth-child(2) {
    width: 50%;
    flex-wrap: wrap;
}

.FonDetayTable> :not(caption)>*>* {
    border-bottom: none;
}

.apexcharts-tooltip-y-group {
    color: #00438e;
}

table.FonDetayTable tbody tr td:nth-child(2) span {
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
}

.FonDetayTable tr:last-child {
    border-bottom: none;
}

.karsilastirma-buttons button sup {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #8dc231;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    right: 10px;
    font-size: 16px;
    font-weight: 600;
}



.p-tabs-content .more-link a {
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 26px;
    color: var(--title-color);
    font-weight: 700;
    padding-left: 26px;
}

.p-tabs-content .more-link a:hover {
    color: var(--theme-color);
}

.p-tabs-content .more-link a i {
    position: absolute;
    left: 0px;
    top: 3px;
    font-size: 20px;
    color: var(--theme-color);
}

.fonun-ozellikleri a i {
    font-size: 14px;
}

/* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--* */


.nav-compare .nav-link {
    cursor: pointer
}

.fm-tooltip {
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    padding: 10px 12px;
    min-width: 140px
}

.fm-tip-date {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 13px
}

.fm-tip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0
}

.fm-tip-left {
    display: flex;
    align-items: center;
    gap: 8px
}

.fm-tip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.fm-tip-label {
    font-weight: 500;
    font-size: 13px
}

.fm-tip-value {
    font-weight: 600
}


#chart2 h4 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #00438f;
    line-height: 1;
    margin: 0 auto 15px;
    position: relative;
    width: max-content
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto
}

.card-fon-graphics {
    height: 100%;
    background: #fff;
    border: 1px solid #daedff;
    border-radius: 8px;
}

.card-fon-graphics h5 {
    color: #00438f;
    position: relative;
    display: block;
    width: max-content;
}

.card-fon-graphics h5:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    z-index: 1;
    background: #80bc04;
    opacity: 0.9;
}

.nav-graphics .nav-link {
    color: #0b3a7e
}

.nav-graphics .nav-link.active {
    background: #e9f2ff;
    color: #0b3a7e
}

.chart-wrap {
    min-height: 380px
}

.legend-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none
}

.legend-swatch {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset
}

.legend-muted {
    opacity: .35;
    filter: grayscale(.2)
}

.legend-label {
    font-size: .875rem;
    white-space: nowrap;
    font-weight: 500;
    color: #2e3a46;
}

button.nav-link {
    color: #00438e;
}

li.active.nav-item {
    background-color: #e9f4ff;
    border-radius: 4px;
    border: none;
    color: #00438e;
}

.card-fon-graphics {
    height: 100%;
    background: #fff;
    border: 1px solid #daedff;
    border-radius: 8px;
}


.nav-graphics .nav-link {
    color: #0b3a7e
}

.nav-graphics .nav-link.active {
    background: #e9f2ff;
    color: #0b3a7e
}

.chart-wrap {
    min-height: 380px
}

.legend-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
    color: #373d3f;
}


.legend-swatch {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset
}

.legend-muted {
    opacity: .35;
    filter: grayscale(.2)
}

.legend-label {
    font-size: .875rem;
    white-space: nowrap;
    font-weight: 500;
    color: #2e3a46;
}

button.nav-link {
    color: #00438e;
}

li.active.nav-item {
    background-color: #e9f4ff;
    border-radius: 4px;
    border: none;
    color: #00438e;
}


.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.modal .datepicker,
.modal .datepicker-dropdown {
    z-index: 2055 !important;
}

.datepicker-header .datepicker-controls .button {
    padding: 9px 20px;
    font-size: 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: end;
}

.datepicker-header .datepicker-controls .button:hover {
    background-color: #0056b3;
}
#grafik-chart{
    margin-bottom: -40px;
}
#cmpLineChart{
    margin-bottom: -40px;
}

.is-open .choices__list--dropdown, .is-open .choices__list[aria-expanded] {
    z-index: 9999;
}

.choices__item.choices__item--choice {
    cursor: pointer;
}

.apexcharts-toolbar {
    top: -30px !important;
}