/* Baslik ayiraci - hisse kodu ve chart title arasinda kullanilir */
.title-separator {
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent 0%, #a0a8b8 20%, #a0a8b8 80%, transparent 100%);
    margin: 0 6px;
    display: inline-block;
    vertical-align: middle;
}

/* Snapshot grafik menu ogeleri (Selale, Guncel Gelir Grafigi, Guncel Bilanco Grafigi) */
.snapshot-chart span {
    color: lightseagreen !important;
}

.ust-menu-item {
    margin: 0;
    color: #e3e9f4;
    cursor: pointer;
    border-radius: 7px;
    padding: 4px 7px;
    /* background-color: #000000; */
    box-sizing: border-box;
    min-width: 103px;
    max-width: 200px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    min-height: 26px;
}

#draggableModal,
#draggableAIModal {
    position: absolute;
    top: 50px;
    left: 50%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 85%;
    max-width: 750px;
}

#filtrele {
    background: linear-gradient(to bottom, #007a85 0%, #005c65 100%);
    color: #FFFFFF;
}

.ust-menu-item:hover {
    border: 1px solid #f5f5f5;
    opacity: 1;
    color: #ffffff;
}

/* Ayarlar butonu base stilleri */
#ayarlar-btn {
    transition: border-color 0.5s ease, color 0.5s ease;
}

#ayarlar-btn span {
    transition: color 0.5s ease;
}

#ayarlar-btn svg {
    transition: stroke 0.5s ease;
}

#ayarlar-btn:hover {
    border-color: #d0d0d0 !important;
}

#ayarlar-btn:hover span {
    color: #f0f0f0 !important;
}

#ayarlar-btn:hover svg {
    stroke: #f0f0f0 !important;
}

/* İletişim butonu base stilleri */
#iletisim-btn {
    transition: border-color 0.5s ease, color 0.5s ease;
}

#iletisim-btn span {
    transition: color 0.5s ease;
}

#iletisim-btn svg {
    transition: fill 0.5s ease;
}

#iletisim-btn:hover {
    border-color: #d0d0d0 !important;
}

#iletisim-btn:hover span {
    color: #f0f0f0 !important;
}

#iletisim-btn:hover svg {
    fill: #f0f0f0 !important;
}

/* Yardım butonu base stilleri */
#main-help-btn {
    transition: border-color 0.5s ease, color 0.5s ease;
}

#main-help-btn span {
    transition: color 0.5s ease;
}

#main-help-btn:hover {
    border-color: #e3e9f4 !important;
}

#main-help-btn:hover span:first-child {
    color: #ffe082 !important;
}

#main-help-btn:hover span:last-child {
    color: #f0f0f0 !important;
}

#giris-yap {
    border: 1px solid #898c91 !important;
    transition: all 0.5s ease;
    padding: 4px 10px;
    min-width: auto !important;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#giris-yap:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

/* İletişim formu input stilleri */
#iletisimModal input[type="text"],
#iletisimModal input[type="email"],
#iletisimModal input[type="tel"],
#iletisimModal textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    outline: none !important;
}

#iletisimModal input[type="text"]:focus,
#iletisimModal input[type="email"]:focus,
#iletisimModal input[type="tel"]:focus,
#iletisimModal textarea:focus {
    border-color: #4a4a70 !important;
    box-shadow: 0 0 0 3px rgba(74, 74, 112, 0.15) !important;
}

/* İletişim formu gönder butonu */
#iletisim-gonder-btn:hover {
    background: #5a5a85 !important;
    border-color: #5a5a85 !important;
}

#iletisim-gonder-btn:focus {
    background: #5a5a85 !important;
    border-color: #5a5a85 !important;
    box-shadow: 0 0 0 3px rgba(90, 90, 133, 0.3) !important;
    outline: none !important;
}

.user-menu-item:hover {
    background-color: #f0f4f8;
}

#google-login-btn {
    transition: all 0.3s ease !important;
}

#google-login-btn:hover {
    border: 1px solid #333333 !important;
}

#google-login-btn:active {
    background-color: #f1f3f4;
}

#microsoft-login-btn {
    transition: all 0.3s ease !important;
}

#microsoft-login-btn:hover {
    border: 1px solid #333333 !important;
}

#microsoft-login-btn:active {
    background-color: #f1f3f4;
}

#example-questions-btn:hover {
    background-color: #fff5f5;
    border-color: #ff3333;
}

#example-questions-btn:active {
    background-color: #ffe5e5;
}

#soru-gecmisi-btn:hover {
    background-color: #e8f4ff;
    border-color: #3498db;
}

#soru-gecmisi-btn:active {
    background-color: #d4ebff;
}

#favorite-questions-btn:hover {
    background-color: #fffbea;
    border-color: #ffc107;
}

#favorite-questions-btn:active {
    background-color: #fff3cd;
}

#ai-send-btn:hover {
    background-color: rgb(255, 219, 137) !important;
}

.example-question-item {
    background-color: #ffffff;
}

.example-question-item:nth-child(even) {
    background-color: #f5f5f5;
}

.example-question-item:hover {
    background-color: #e8f4ff !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#ai-send-btn:active {
    background-color: #f0d355;
}

#ai-question:focus {
    outline: none !important;
    border-color: #7a7a7a !important;
}

textarea#ai-question:focus {
    outline: none !important;
    border-color: #7a7a7a !important;
}

:root {
    --inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --roboto: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --arial: Arial, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --system-ui: system-ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: Poppins, sans-serif;*/
    font-size: 13px;
    line-height: 1.2;

    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/

    font-family: var(--roboto);
    background-color: #000000;
    color: rgb(51, 51, 51);
    padding: 0;
    margin: 0;
    height: 100vh;
}

.mainContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    flex: 1;
    padding-bottom: 20px;
}

.leftColumn {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: 280px;
    min-width: 40px;
    max-width: 280px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding-left: 10px;
    transition: width 0.3s ease, min-width 0.3s ease;
}

.leftColumn.collapsed {
    width: 40px;
    min-width: 40px;
    overflow: hidden;
    position: relative;
}

/* Daraldığında görünecek menü ipucu */
.leftColumn.collapsed::before {
    content: "☰";
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    pointer-events: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Daraldığında arka plan ipucu */
.leftColumn.collapsed::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.1), rgba(129, 140, 248, 0.08));
    border-radius: 10px;
    z-index: 5;
}

.rightColumn {
    flex: 1;
    padding: 0px 20px 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.99) 0px 10px 25px;
    overflow: hidden;
    transition: transform 0.3s;
}

/* Fullscreen modunda border-radius'u koru (tum tarayicilar icin) */
.card:fullscreen {
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #1a1d2e !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.card:-webkit-full-screen {
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #1a1d2e !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.card:-moz-full-screen {
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #1a1d2e !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.card:-ms-fullscreen {
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #1a1d2e !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.card-header {
    padding: 8px 8px 8px 20px;
    border-bottom: 1px solid rgb(234, 234, 234);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: rgb(48 51 77);
    width: 100%;
}

.card-header h2 {
    font-weight: 600;
    color: #d6d6d6;
    font-size: 20px;
}

.period-selector {
    display: flex;
    gap: 10px;
}

.period-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #718096;
}

.period-btn:hover {
    background-color: #f7fafc;
}

.period-btn.active {
    background-color: #4299e1;
    color: white;
}

#column-chart {
    height: 400px;
    width: 100%;
}

#filter-input-rows {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mainContainer {
        flex-direction: column;
    }

    #draggableModal,
    #draggableAIModal {
        width: 95%;
        max-width: 95%;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .modal-content {
        width: 100%;
    }

    .leftColumn {
        width: 100%;
        min-height: auto;
        padding: 15px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-body {
        padding: 20px 15px;
    }

    #column-chart {
        height: 350px;
    }
}

@media (max-width: 480px) {

    #draggableModal,
    #draggableAIModal {
        width: 98%;
        max-width: 98%;
        top: 10px;
    }

    .modal-header {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .modal-header h2 {
        font-size: 1rem;
    }

    .modal-body {
        padding: 12px;
    }

    #ai-question {
        font-size: 12px !important;
    }

    #ai-send-btn {
        font-size: 11px !important;
        padding: 3px 12px !important;
    }

    #example-questions-btn {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }

    #example-questions-menu {
        min-width: 250px !important;
        max-width: 300px !important;
        font-size: 10px !important;
    }

    .example-question-item {
        font-size: 11px !important;
    }

    .period-selector {
        width: 100%;
        justify-content: space-between;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    #column-chart {
        height: 300px;
    }
}

/* grafik-styles.css içeriği */
.input-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.input-group {
    flex: 1;
    position: relative;
}

/* İlk input-group (Hisseler) daha geniş olsun ve en son daralsın */
.input-section>.input-group:first-child {
    flex: 1.5;
    max-width: 254px;
}

.input-group label {
    /* display: block; */
    /* margin-bottom: 8px; */
    color: #ffffff;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 8px;
    background-color: #4d4d83;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    height: 24px;
    align-items: center;

}

.custom-select select:focus {
    outline: none;
    border-color: #2c506d;
}

.custom-select select:hover {
    /*border-color: #cbd5e0;*/
    border-color: #000000;
    box-shadow: 0 0 0 5px rgba(79, 133, 177, 0.2);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ffffff;
    pointer-events: none;
}

/* Tarama (Filter) ekrani icin ozel custom-select */
.filter-custom-select {
    position: relative;
    width: 100%;
}

.filter-custom-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 8px;
    background-color: aliceblue;
    color: #333333;
    border: 1px solid #767676;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    height: 24px;
    align-items: center;

}

.filter-custom-select select:focus {
    outline: none;
    border-color: #4a8fd6;
}

.filter-custom-select select:hover {
    border-color: #4a8fd6;
    box-shadow: 0 0 0 3px rgba(74, 143, 214, 0.2);
}

.filter-custom-select .select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333333;
    pointer-events: none;
}

.primary-btn {
    display: inline-block;
    background-color: #fff3d8;
    color: #020202;
    border: none;
    border-radius: 8px;
    padding: 4px 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0;
    border: 1px solid #767676;
    font-family: inherit;

    /* font-weight: 500; */
}

.primary-btn:hover {
    background-color: #ffe08b;
}

#load-to-page-btn:hover {
    background-color: rgba(200, 210, 220, 0.4) !important;
}

#toggle-filtered-favorites-btn:hover {
    background-color: rgba(255, 184, 77, 0.4) !important;
}

#add-filter-btn-1:hover,
#add-filter-btn-2:hover,
#add-filter-btn-3:hover,
#add-filter-btn-4:hover {
    background-color: #ffe5ab !important;
}

.primary-btn:active {
    transform: translateY(0);
}

.primary-btn.disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.info-message {
    display: none;
    background-color: #ebf8ff;
    border-left: 4px solid #4299e1;
    padding: 16px;
    border-radius: 8px;
    color: #2c5282;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.error-message {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 16px;
    border-radius: 8px;
    color: #c53030;
    font-size: 0.95rem;
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.checkbox-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 40px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
}

.loading-indicator::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 100px;
    border: 8px solid #cbd5e0;
    border-top-color: #2c506d;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Menü stilleri */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Sol menü scroll bar stilleri */
#solmenu {
    scrollbar-width: thin;
    scrollbar-color: #4a5568 transparent;
}

#solmenu::-webkit-scrollbar {
    width: 6px;
}

#solmenu::-webkit-scrollbar-track {
    background: transparent;
}

#solmenu::-webkit-scrollbar-thumb {
    background-color: #4a5568;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

#solmenu::-webkit-scrollbar-thumb:hover {
    background-color: #718096;
}

/* === YENİ MİNİMAL MENÜ TASARIMI === */

/* Sol menu konteyneri */
.nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Grup ayırıcı çizgiler */
.menu-group {
    position: relative;
}

.menu-group:not(:first-child) {
    padding-top: 2px;
}

.menu-group:last-child {
    margin-bottom: 0;
}

/* SOL MENÜ NAV-ITEM STİLLERİ - YENİDEN YAZILDI */
.nav-item {
    display: flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    margin: 1px 0 !important;
    color: #d1d5db !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    transition: padding-left 0.15s ease !important;
}

/* Ana kalemler (calculated) */
.nav-item.calculated {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    background: linear-gradient(179deg, rgb(117 166 255 / 34%), rgba(129, 140, 248, 0.12)) !important;
    border-radius: 6px !important;
    /* border: 1px solid rgba(96, 165, 250, 0.25) !important; */
}

.nav-item.calculated::before {
    content: '▸' !important;
    color: #60a5fa !important;
    margin-right: 8px !important;
    font-size: 10px !important;
    opacity: 0.8 !important;
}

/* Alt kalemler (sub-item) */
.nav-item.sub-item {
    color: #d5e0ec !important;
    padding-left: 28px !important;
    background: transparent !important;
}

/* Alt başlık kategorisi (sub-item ama kalın) */
.nav-item.sub-item.sub-header {
    font-weight: 600 !important;
}

/* HOVER EFEKTLERİ - SADECE HOVER'DA HAFIF SAĞA KAYMA */
.nav-item.calculated:hover {
    padding-left: 14px !important;
}

.nav-item.sub-item:hover {
    padding-left: 30px !important;
}

/* AKTİF DURUMLAR - HİÇBİRİNDE HAREKET YOK */
.nav-item.active,
.nav-item.calculated.active,
.nav-item.sub-item.active {
    background-color: rgba(59, 130, 246, 0.1) !important;
    border-left: 2px solid #3b82f6 !important;
}

/* Text overflow için */
.nav-item span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    line-height: 19px;
}

/* MENÜ İÇERİK ANİMASYONU */
.nav-list {
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.nav-list.fade-out {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

.nav-list.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* MENÜ TAB SİSTEMİ STİLLERİ */
.menu-tabs {
    display: flex !important;
    gap: 3px !important;
    margin-bottom: 5px !important;
    /* padding-bottom: 8px !important; */
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    /* padding-top: 8px !important; */
    /* margin-top: -8px !important; */
    /* background-color: black; */
}

.menu-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    color: #e3e9f4 !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    /* text-transform: uppercase !important; */
    letter-spacing: 0.2px !important;
    background: linear-gradient(to bottom, #1a1a1a, #000000) !important;
    border: 1px solid rgba(22, 78, 99, 0.8) !important;
    transition: all 0.3s ease-in-out !important;
    position: relative !important;
}

.menu-tab:hover {
    /*color: #fff4ce !important;*/
    background: #000000 !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.menu-tab.active {
    /* color: #fff4ce !important; */
    /* background: #6f0000 !important; */
    border: 1px solid rgb(232 232 232) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1) !important;
    transition: all 0.3s ease-in-out !important;
}



/* Hisseler listesi için stiller */
.nav-item-hisse {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-hisseler {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 4px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item-hisseler:hover {
    color: #ffffff;
}

.nav-item-hisseler.active {
    color: #ffffff;
    font-weight: 500;
}

/* Filtreleme sonuçları için renk stilleri */
.positive-value {
    color: #10b981;
    /* Yeşil renk */
    font-weight: 500;
}

.negative-value {
    color: #ef4444;
    /* Kırmızı renk */
    font-weight: 500;
}

.chart-card {
    margin-top: 0;
}

.active-filters * {
    font-size: 12px;
}

.filter-container * {
    font-size: 12px;
}

.filter-row * {
    font-size: 12px;
}

#filter-input-rows .filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    flex-wrap: wrap;
    padding: 0px 10px;
    background-color: #b0d0dd;
    color: black;
    border-radius: 8px;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .container {
        gap: 35px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .input-section {
        flex-direction: column;
    }

    .input-group {
        width: 100%;
    }
}

/* Grafik için tam ekran stilleri */
#net-satis-chart {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tam ekran modundaki elementler için stiller */
:fullscreen {
    background-color: white !important;
    padding: 20px !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

:-webkit-full-screen {
    background-color: white !important;
    padding: 20px !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

:-moz-full-screen {
    background-color: white !important;
    padding: 20px !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

:-ms-fullscreen {
    background-color: white !important;
    padding: 20px !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Tam ekran modunda grafik içeriği */
:fullscreen .apexcharts-canvas,
:-webkit-full-screen .apexcharts-canvas,
:-moz-full-screen .apexcharts-canvas,
:-ms-fullscreen .apexcharts-canvas {
    width: 100% !important;
    height: 90vh !important;
    margin: auto !important;
}

input[type="checkbox"] {
    accent-color: #ffffff;
    /* Hem zemin hem tik rengi */
}

/* Modal Stilleri */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #2b3a5a;
    width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -30px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translate(-50%, 0);
    opacity: 1;
    font-size: 14px;
}

/* Ana sayfa yardim modalinin animasyonu */
#main-help-popup {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#main-help-popup.show {
    opacity: 1;
}

#main-help-inner-content {
    transform: translateY(-30px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

#main-help-popup.show #main-help-inner-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 5px 20px;
    border-bottom: 1px solid #6a83b9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #323250;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    color: #d6d6d6;
    margin: 0;
    font-size: 1.2rem;
}

.modal-close {
    color: #d6d6d6;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.modal-body {
    max-height: 90vh;
    background-color: #e5eaf1;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
    padding: 20px;
    background-color: aliceblue;
}

/* popup Stilleri */
#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#popup-overlay.show {
    opacity: 1;
}

#popup-content {
    position: absolute;
    background-color: #2b3a5a;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #6a83b9;
    transition: transform 0.4s ease, opacity 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 95%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


#custom-legend {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

/* Legend ok duğmeleri hover efekti */
#legend-prev-btn:hover span,
#legend-next-btn:hover span {
    color: #2a2a2a;
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    font-weight: 400;
    color: rgb(55, 61, 63);
    cursor: pointer;
    user-select: none;
}

.legend-item.hidden span.legend-label {
    opacity: 0.4;
    text-decoration: line-through;
}

.legend-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.chart-type-select {
    font-size: 11px;
    margin-top: 0px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #3c3c3c;
}

.chart-type-select:focus {
    box-shadow: none;
    outline: none;
}

.tooltip-header {
    background-color: rgba(191, 203, 216, 0.8);
    padding: 6px 12px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b3b3b3;
}

.tooltip-right-group {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.tooltip-konsolide {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.92;
}

.tooltip-ayirac {
    width: 1px;
    height: 14px;
    background: linear-gradient(to bottom, transparent 0%, #494949 20%, #353535 80%, transparent 100%);
}

.tooltip-tarih {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.92;
}

.tooltip-body {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 0 0 8px 8px;
}

.tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 6px;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
}

.tooltip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.tooltip-value {
    font-weight: normal;
}

/* Custom Tooltip Styles */
.custom-tooltip {
    background: #fffacd !important;
    /* Uçuk sarı */
    border: 1px solid #f0e68c !important;
    /* Hafif sarı border */
    border-radius: 8px !important;
    /* Orta radius */
    padding: 5px 8px !important;
    /* Daha küçük padding */
    font-size: 11px !important;
    /* Daha küçük font */
    font-weight: 400 !important;
    /* Normal font weight */
    color: #333333 !important;
    /* Siyah metin */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    /* Daha hafif gölge */
    max-width: 250px !important;
    /* Daha geniş max-width */
    width: auto !important;
    /* Otomatik genişlik */
    text-align: center !important;
    letter-spacing: 0.1px !important;
    white-space: normal !important;
    /* Alt satıra geçmesine izin ver */
    word-wrap: break-word !important;
    /* Uzun kelimeleri böl */
    line-height: 1.2 !important;
    /* Satır yüksekliği */
    overflow-wrap: break-word !important;
    /* Kelime kırma zorla */
    hyphens: auto !important;
    /* Otomatik tire ile kırma */
    z-index: 9999 !important;
    /* En üstte */
}

/* Yıldız butonu için özel tooltip pozisyonu */
#add-to-favorites-btn+.custom-tooltip {
    margin-top: 2px !important;
    margin-left: 5px !important;
}

.custom-tooltip:before {
    border-top-color: #fffacd !important;
    /* Arrow rengi */
}

/* Kısaltmaları korumak için özel stil */
.custom-tooltip .abbreviation {
    text-transform: uppercase !important;
}

.ui-tooltip.custom-tooltip .ui-tooltip-content {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Hover effect for elements with tooltips */
#hisse-select {
    cursor: default !important;
    /* Normal cursor */
}


.help-list-item {
    margin-bottom: 4px;
    padding-left: 1em;
}

/* Hisse Sembol Hover Tooltip Stilleri */
#stock-hover-tooltip {
    display: none;
    position: fixed;
    background: #fdf2d9;
    border: 1px solid #d4c5a9;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    min-width: 180px;
    padding: 4px 0;
}

.stock-hover-tooltip-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
    color: #2d2d2d;
}

.stock-hover-tooltip-item:hover {
    background-color: #f5e9c8;
}

.stock-hover-tooltip-item.add-favorite {
    color: #2d2d2d;
}

.stock-hover-tooltip-item.remove-favorite {
    color: #2d2d2d;
}

.stock-hover-tooltip-item.add-all-favorite {
    color: #2d2d2d;
    border-top: 1px solid #d4c5a9;
}

.stock-hover-tooltip-item.remove-all-favorite {
    color: #2d2d2d;
}

/* === AUTOCOMPLETE MODULU STILLERI === */

/* Autocomplete ana container */
.autocomplete-container {
    position: relative;
    width: 100%;
}

/* Autocomplete input */
.autocomplete-input {
    width: 100%;
    padding: 5px 16px;
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: aliceblue;
    color: black;
    cursor: text;
    font-size: 13px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 25px;
}

.autocomplete-input:focus {
    outline: none;
    border-color: #2c506d;
}

/* Hover efekti kaldırıldı
.autocomplete-input:hover {
    border-color: #000000;
    box-shadow: 0 0 0 5px rgba(79, 133, 177, 0.2);
}
*/

/* Aktif komponent - yumuşak sari border */
.autocomplete-input.active-component {
    border-color: #dd9000 !important;
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
}

.autocomplete-input::placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: fixed;
    /* Fixed position - body'de pozisyonlanir */
    background-color: #151827;
    border: 1px solid rgb(255 255 255 / 61%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 9999;
    display: none;
    padding: 8px 0;
    max-height: max(60vh, 600px);
    max-width: min(450px, 90vw);
    min-width: 250px;
    width: auto;
    /* top, left JavaScript tarafindan ayarlanir */
}

/* Dropdown scrollbar stilleri */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: rgba(244, 249, 255, 0.05);
    border-radius: 0 8px 8px 0;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(244, 249, 255, 0.2);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: rgba(244, 249, 255, 0.3);
}

/* Firefox scrollbar */
.autocomplete-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 249, 255, 0.2) rgba(244, 249, 255, 0.05);
}

/* Dropdown item */
.autocomplete-item {
    padding: 8px 16px;
    color: rgb(244 249 255 / 91%);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    border-bottom: 1px solid rgba(244, 249, 255, 25%);
}

/* Zebra striping - cift satirlar */
.autocomplete-item:nth-child(even) {
    background-color: rgba(96, 165, 250, 0.08);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/* Hover efekti */
.autocomplete-item:hover {
    background-color: rgba(96, 165, 250, 0.15);
    color: rgba(244, 249, 255, 1);
    padding-left: 20px;
}

/* Aktif item (klavye navigasyonu) */
.autocomplete-item.active {
    background-color: rgba(96, 165, 250, 0.25);
    color: rgba(244, 249, 255, 1);
    border-left: 3px solid #60a5fa;
}

/* Sonuc bulunamadi mesaji */
.autocomplete-no-result {
    padding: 12px 16px;
    color: rgba(244, 249, 255, 0.6);
    text-align: center;
    font-size: 13px;
    font-style: italic;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .autocomplete-dropdown {
        max-height: max(60vh, 600px);
        max-width: min(450px, 95vw);
        min-width: 200px;
    }

    .autocomplete-item {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* === FAVORI YONETIM SISTEMI STILLERI === */

/* Yildiz toggle butonu */
#favorite-mode-toggle {
    position: relative;
    padding: 0;
    font-size: 17px;
    color: rgba(244, 249, 255, 0.7);
    height: auto;
    min-width: auto;
    border: none;
    background-color: #2a3049;
}

#favorite-mode-toggle .star-icon {
    color: rgba(244, 249, 255, 0.7);
}

#favorite-mode-toggle[data-mode="favorites"] .star-icon {
    color: #ffb84d !important;
    animation: pulse-star 2s infinite;
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

#favorite-mode-toggle .badge {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ffb84d !important;
    color: #1a1a1a !important;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 600;
}

/* Icon butonlari - ortak stiller */
.icon-btn {
    background-color: #00000087;
    border-radius: 8px;
    cursor: pointer;
    color: #e3e9f4;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.icon-btn:hover {
    color: rgba(244, 249, 255, 1);
}

/* Onceki/Sonraki hisse butonlari */
#stock-prev-btn,
#stock-next-btn {
    font-size: 14px;
    width: 27px;
    height: 27px;
}

/* Sol ok - sağdan padding */
#stock-prev-btn {
    padding-right: 2px;
}

/* Sağ ok - soldan padding */
#stock-next-btn {
    padding-left: 2px;
}

/* Refresh butonu - Tumunu Yukle */
#refresh-all-stocks-btn {
    padding: 0 8px;
    font-size: 18px;
    height: 27px;
    min-width: 28px;
}

/* Autocomplete item flexbox layout - favori modu icin */
.autocomplete-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.autocomplete-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* X butonu - favoriden cikarma */
.autocomplete-remove-btn {
    background: none;
    border: none;
    color: rgba(244, 249, 255, 0.5);
    font-size: 15px;
    cursor: pointer;
    padding: 0 4px;
    transition: all 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.autocomplete-remove-btn:hover {
    color: #ffb84d;
    transform: scale(1.2);
}

/* Autocomplete footer */
.autocomplete-footer {
    padding: 10px;
    border-top: 1px solid rgba(244, 249, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
}

.autocomplete-clear-all {
    background-color: transparent;
    color: rgba(244, 249, 255, 0.7);
    border: 1px solid rgba(244, 249, 255, 0.3);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.autocomplete-clear-all:hover {
    background-color: #ffb84d;
    color: #1a1a1a;
    border-color: #ffb84d;
}

/* Bos favori durumu mesaji */
.autocomplete-empty-state {
    padding: 20px 16px;
    color: rgba(244, 249, 255, 0.6);
    text-align: center;
    font-size: 13px;
    font-style: italic;
}

/* Favoriler container - hover */
#favorites-container:hover {
    border-color: #dadfe7 !important;
    background-color: rgba(244, 249, 255, 0.03) !important;
}

/* Aktif komponent - yumuşak sari border */
#favorites-container.active-component {
    border-color: #ff9f00 !important;
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
}

/* Favoriler ok butonları */
#fav-prev-btn,
#fav-next-btn {
    width: 27px;
    height: 27px;
}

/* Sol ok - sağdan padding */
#fav-prev-btn {
    padding-right: 2px;
}

/* Sağ ok - soldan padding */
#fav-next-btn {
    padding-left: 2px;
}

/* Ana sayfa favori popup stilleri - autocomplete dropdown ile aynı */
#main-favorite-popup {
    background-color: #151827 !important;
    border: 1px solid rgb(255 255 255 / 61%) !important;
    max-height: max(60vh, 600px) !important;
    max-width: min(450px, 90vw) !important;
    min-width: 250px !important;
    width: auto !important;
}

#main-favorite-list {
    padding: 8px 0 !important;
    max-height: calc(max(60vh, 600px) - 60px) !important;
}

/* Favori popup scrollbar */
#main-favorite-list::-webkit-scrollbar {
    width: 8px;
}

#main-favorite-list::-webkit-scrollbar-track {
    background: rgba(244, 249, 255, 0.05);
    border-radius: 0 8px 8px 0;
}

#main-favorite-list::-webkit-scrollbar-thumb {
    background-color: rgba(244, 249, 255, 0.2);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#main-favorite-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(244, 249, 255, 0.3);
}

/* Favori popup item stilleri - autocomplete item gibi */
#main-favorite-popup .favorite-item {
    padding: 6px 16px;
    color: rgb(244 249 255 / 91%);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    border-bottom: 1px solid rgba(244, 249, 255, 25%);
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Zebra striping */
#main-favorite-popup .favorite-item:nth-child(even) {
    background-color: rgba(96, 165, 250, 0.08);
}

#main-favorite-popup .favorite-item:last-child {
    border-bottom: none;
}

/* Hover efekti */
#main-favorite-popup .favorite-item:hover {
    background-color: rgba(96, 165, 250, 0.15);
    color: rgba(244, 249, 255, 1);
    padding-left: 20px;
}

/* Aktif item (klavye navigasyonu) */
#main-favorite-popup .favorite-item.active {
    background-color: rgba(96, 165, 250, 0.25);
    color: rgba(244, 249, 255, 1);
    border-left: 3px solid #60a5fa;
}

/* Favori item text */
#main-favorite-popup .favorite-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* X butonu - favoriden cikarma */
#main-favorite-popup .favorite-remove-btn {
    background: none;
    border: none;
    color: rgba(244, 249, 255, 0.5);
    font-size: 15px;
    cursor: pointer;
    padding: 0 4px;
    transition: all 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

#main-favorite-popup .favorite-remove-btn:hover {
    color: #ffb84d;
    transform: scale(1.2);
}

/* Footer */
#main-favorite-footer {
    border-top: 1px solid rgba(244, 249, 255, 0.2) !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
}

#main-clear-favorites-btn {
    background-color: transparent !important;
    color: rgba(244, 249, 255, 0.7) !important;
    border: 1px solid rgba(244, 249, 255, 0.3) !important;
    transition: all 0.2s ease;
}

#main-clear-favorites-btn:hover {
    background-color: #ffb84d !important;
    color: #1a1a1a !important;
    border-color: #ffb84d !important;
}

/* Filtreleme sonuçları tablosu dikey grid çizgileri */
#filter-results-list table td,
#filter-results-list table th {
    border-right: 1px solid #cbd5e0;
    padding: 6px 10px;
}

#filter-results-list table td:last-child,
#filter-results-list table th:last-child {
    border-right: none;
}

/* Filtreleme sonuçları tablosunda favori yıldızı stilleri */
.filter-favorite-star {
    color: #cbd5e0;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-favorite-star:hover {
    color: #ffb84d;
    transform: scale(1.2);
}

.filter-favorite-star.active {
    color: #ffb84d;
}

/* Responsive adjustments - Favori popup icin */
@media (max-width: 768px) {
    #main-favorite-popup {
        max-height: max(60vh, 600px) !important;
        max-width: 95vw !important;
        min-width: 300px !important;
        width: auto !important;
    }

    #main-favorite-list {
        max-height: calc(max(60vh, 600px) - 60px) !important;
    }
}

@media (max-width: 480px) {
    #main-favorite-popup {
        max-height: max(60vh, 600px) !important;
        max-width: 95vw !important;
        min-width: 250px !important;
        width: auto !important;
    }

    #main-favorite-list {
        max-height: calc(max(60vh, 600px) - 60px) !important;
    }
}

/* === SON BILANCOLAR POPUP STILLERI === */

/* Son Bilancolar butonu hover */
#son-bilancolar:hover {
    border-color: #7ab3e8 !important;
    color: #f5f5f5 !important;
}

/* Son Bilancolar Popup scrollbar */
#son-bilancolar-list::-webkit-scrollbar {
    width: 8px;
}

#son-bilancolar-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 0 8px 8px 0;
}

#son-bilancolar-list::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#son-bilancolar-list::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Zebra striping - Baslik renginin acik tonlari */
.son-bilanco-item:nth-child(odd) {
    background-color: #f6f6ff;
}

.son-bilanco-item:nth-child(even) {
    background-color: #ededf8;
}

.son-bilanco-item:last-child {
    border-bottom: none;
}

/* Hover efekti */
.son-bilanco-item:hover {
    background-color: #dcdce8 !important;
    padding-left: 20px !important;
}

/* Sayfaya Yukle butonu hover */
#sayfaya-yukle-btn:hover {
    background-color: #5a5a7a !important;
    color: #fff !important;
    border-color: #5a5a7a !important;
}

/* === TARAMA EKRANI DUZENLERI === */

/* Uygula butonu container'ina alt margin ekle */
#apply-filters-container {
    margin-bottom: 12px !important;
}

/* Tarama sonuclari header'a da ust margin ekle */
#filter-results-header {
    margin-top: 12px !important;
}

/* === HISSE FILTRELE MODAL STILLERI === */

/* Filtre sekme butonlari */
.filtre-tab {
    transition: all 0.2s ease !important;
}

.filtre-tab:not([disabled]):hover {
    background-color: #8a8aa0 !important;
    transform: translateY(-1px);
}

.filtre-tab.active {
    background-color: #5a5a7a !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sektor select hover */
#sektor-select:hover {
    border-color: #8a8aa0 !important;
}

#sektor-select:focus {
    outline: none;
    border-color: #b8b8d0 !important;
}

/* Ince scrollbar stilleri - Filtrele Modal */
#filtrelenmis-hisse-list {
    scrollbar-width: thin;
    scrollbar-color: #b8b8d0 transparent;
}

#filtrelenmis-hisse-list::-webkit-scrollbar {
    width: 6px;
}

#filtrelenmis-hisse-list::-webkit-scrollbar-track {
    background: transparent;
}

#filtrelenmis-hisse-list::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 3px;
}

#filtrelenmis-hisse-list::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Filtrelenmis hisse item stilleri */
.filtrelenmis-hisse-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 8px 12px;
    color: #333333;
    cursor: default;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 4px;
    align-items: center;
}

.filtrelenmis-hisse-item:last-child {
    margin-bottom: 0;
}

/* Sembol kolonu (dar) */
.hisse-sembol-col {
    font-weight: 600;
    color: #323250;
    font-size: 13px;
}

/* Ad kolonu (genis) */
.hisse-ad-col {
    color: #555555;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Zebra striping - Baslik renginin acik tonlari */
.filtrelenmis-hisse-item:nth-child(odd) {
    background-color: #f5f5fa;
}

.filtrelenmis-hisse-item:nth-child(even) {
    background-color: #ebebf2;
}

/* Filtreleri Temizle butonu */
#filtreleri-temizle-btn:hover {
    background-color: #f5f5fa !important;
    border-color: #8a8aa0 !important;
    color: #333333 !important;
}

/* Listeye Doldur butonu */
#listeye-doldur-btn:hover:not(:disabled) {
    background-color: #323250 !important;
}

#listeye-doldur-btn:disabled {
    background-color: #b8b8d0 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Modal kapatma butonu hover */
#filtrele-modal-close:hover {
    color: #e8e8f0 !important;
    transform: scale(1.1);
}

/* Modal overlay click efekti */
#filtrele-modal-overlay {
    transition: opacity 0.2s ease;
}

/* === SON BILANCOLAR SIRALAMA STILLERI === */

/* Sıralanabilir başlıklar */
#sembol-header:hover,
#tarih-header:hover {
    color: #000000 !important;
    text-decoration: none;
}

/* Aktif sıralama göstergeleri */
#sembol-header.sorted,
#tarih-header.sorted {
    color: #000000 !important;
    text-decoration: none;
}

/* === SIRKET BILGILERI MODAL STILLERI === */

/* Ust butonlarin animasyonu */
#temettu-container span,
#tablolar-container span,
#ozet-container span,
#sirket-bilgi-container span {
    transition: color 0.3s ease !important;
}

/* Ust butonlarin hover efekti */
#temettu-container:hover span,
#tablolar-container:hover span,
#ozet-container:hover span,
#sirket-bilgi-container:hover span {
    color: #ffffff !important;
}

/* Guncel dropdown menu */
.guncel-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1f1f2a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

#ozet-container:hover .guncel-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.guncel-dropdown-item {
    padding: 10px 16px;
    color: #d3dae4;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.guncel-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #e8e8e8;
}

.guncel-dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.guncel-dropdown-item:last-child {
    border-radius: 0 0 4px 4px;
}

/* Sablon dropdown menu */
.sablon-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #131727;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 3px;
    padding-top: 3px;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

#sablon-container:hover .sablon-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.sablon-dropdown-item {
    padding: 4px 16px;
    color: #c5cad2;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sablon-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #e8e8e8;
}

.sablon-dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.sablon-dropdown-item:last-child {
    border-radius: 0 0 4px 4px;
    margin-bottom: 5px;
}

/* Sablon dropdown ayırıcı çizgi */
.sablon-dropdown-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 4px 0;
}

/* Sablon ok ve düğme hover efekti */
#sablon-prev-btn:hover span,
#sablon-next-btn:hover span,
#sablon-container:hover #sablon-inner span {
    color: #ffffff !important;
}

/* Aktif sablon - Şablon düğmesi stil */
#sablon-inner.active-template>span {
    color: #d0d6de;
}

/* Şablon öğesi için flex layout */
.sablon-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 16px;
    min-height: 28px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sablon-item-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.sablon-item-name {
    flex: 1;
    color: #c5cad2;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.sablon-item-wrapper:hover .sablon-item-name {
    color: #e8e8e8;
}

.sablon-item-delete {
    margin-left: 8px;
    color: #ffa0a0;
    font-size: 16px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
    cursor: pointer;
    padding: 0 4px;
}

.sablon-item-wrapper:hover .sablon-item-delete {
    opacity: 1;
}

.sablon-item-delete:hover {
    color: #ffcccc;
}

/* Tümünü Sil özel stili */
.tumunu-sil-item {
    color: #c5cad2 !important
}

.tumunu-sil-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Chart context menu (bar tiklama menusu) */
.chart-context-menu {
    position: fixed;
    background-color: #2d2d3d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.chart-context-menu.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.chart-context-menu-item {
    padding: 8px 12px;
    color: #d3dae4;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.chart-context-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #e8e8e8;
}

.chart-context-menu-item:first-child {
    border-radius: 4px 4px 0 0;
}

.chart-context-menu-item:last-child {
    border-radius: 0 0 4px 4px;
}

/* Yildiz butonu hover efekti */
#favorite-stock-star:hover {
    color: #ff9400 !important;
}

/* Cursor toggle butonu hover efekti */
#cursor-toggle-btn:hover {
    color: #e8e8e8 !important;
}

/* Sembol kodu tiklanabilir ve hover efekti */
#stock-code {
    cursor: pointer;
    transition: color 0.2s ease;
}

#stock-code:hover {
    color: #fbec9d !important;
}

/* Modal goruntusu (flex display icin) */
#sirket-bilgi-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#sirket-bilgi-modal[style*="display: flex"] {
    display: flex !important;
    animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#sirket-bilgi-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Tab butonlari */
.sirket-bilgi-tab-btn {
    font-family: var(--roboto);
}

/* Tab butonlari hover ve active durumu */
.sirket-bilgi-tab-btn:hover {
    color: #333333 !important;
    background: rgba(90, 90, 122, 0.2);
}

.sirket-bilgi-tab-btn.active {
    color: #FFFFFF !important;
    background: #5a5a7a !important;
}

/* Tablo satirlari - Baslik renginin acik tonlari (tbody veya dogrudan table) */
.sirket-bilgi-table tbody tr:nth-child(odd),
.sirket-bilgi-table>tr:nth-child(odd) {
    background: #f5f5fa;
}

.sirket-bilgi-table tbody tr:nth-child(even),
.sirket-bilgi-table>tr:nth-child(even) {
    background: #ebebf2;
}

.sirket-bilgi-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
}

/* Sol kolon (label) - Koyu zebra renkleri */
.sirket-bilgi-table tbody tr:nth-child(odd) .sb-label,
.sirket-bilgi-table>tr:nth-child(odd) .sb-label {
    width: 180px;
    font-weight: 600;
    color: #555555;
    vertical-align: top;
    background: #e5e5f0 !important;
}

.sirket-bilgi-table tbody tr:nth-child(even) .sb-label,
.sirket-bilgi-table>tr:nth-child(even) .sb-label {
    width: 180px;
    font-weight: 600;
    color: #555555;
    vertical-align: top;
    background: #dcdce8 !important;
}

/* Sag kolon (value) */
.sirket-bilgi-table .sb-value {
    word-wrap: break-word;
    word-break: break-word;
    color: #333333;
}

/* Link renkleri */
.sirket-bilgi-table a {
    color: #5a5a7a;
    text-decoration: none;
}

.sirket-bilgi-table a:hover {
    text-decoration: underline;
    color: #323250;
}

/* Tablo koselerini yuvarla */
.sirket-bilgi-table thead tr:first-child th:first-child {
    border-top-left-radius: 6px;
}

.sirket-bilgi-table thead tr:first-child th:last-child {
    border-top-right-radius: 6px;
}

.sirket-bilgi-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

.sirket-bilgi-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

/* thead olmayan tablolar icin (Temel, Iletisim detay vb.) */
.sirket-bilgi-table:not(:has(thead)) tr:first-child td:first-child {
    border-top-left-radius: 6px;
}

.sirket-bilgi-table:not(:has(thead)) tr:first-child td:last-child {
    border-top-right-radius: 6px;
}

/* Ince scrollbar stilleri - Info Modal */
#sirket-bilgi-tabs-container {
    scrollbar-width: thin;
    scrollbar-color: #b8b8d0 transparent;
}

#sirket-bilgi-tabs-container::-webkit-scrollbar {
    width: 6px;
}

#sirket-bilgi-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

#sirket-bilgi-tabs-container::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 3px;
}

#sirket-bilgi-tabs-container::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    #sirket-bilgi-content {
        width: 95% !important;
        max-height: 90vh !important;
    }

    .sirket-bilgi-tab-btn {
        font-size: 11px !important;
        padding: 10px 6px !important;
    }

    .sirket-bilgi-table .sb-label {
        width: 140px;
        font-size: 12px;
    }

    .sirket-bilgi-table .sb-value {
        font-size: 12px;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    #sirket-bilgi-modal {
        align-items: center !important;
        padding-top: 0 !important;
    }

    #sirket-bilgi-content {
        width: 98% !important;
        max-height: 95vh !important;
    }

    .sirket-bilgi-tab-btn {
        font-size: 10px !important;
        padding: 8px 4px !important;
    }

    .sirket-bilgi-table .sb-label {
        width: 120px;
        font-size: 11px;
    }

    .sirket-bilgi-table .sb-value {
        font-size: 11px;
    }

    #sirket-bilgi-tabs-container {
        padding: 15px !important;
    }
}

/* ==========================================
   TEMETTU MODAL STILLERI (Mavi Tema)
   ========================================== */

/* Temettu modal temel stil */
#temettu-modal {
    font-family: var(--roboto);
}

/* Tab butonlari */
.temettu-tab-btn {
    font-family: var(--roboto);
    background: #e8e8f0 !important;
}

.temettu-tab-btn:hover {
    color: #333333 !important;
    background: rgba(90, 90, 122, 0.2) !important;
}

.temettu-tab-btn.active {
    color: #FFFFFF !important;
    background: #5a5a7a !important;
}

.netkar-tab-btn {
    font-family: var(--roboto);
    background: #e8e8f0 !important;
}

.netkar-tab-btn:hover {
    color: #333333 !important;
    background: rgba(90, 90, 122, 0.2) !important;
}

.netkar-tab-btn.active {
    color: #FFFFFF !important;
    background: #5a5a7a !important;
}

/* Tablo satirlari - Baslik renginin acik tonlari (sadece tbody) */
.temettu-table tbody tr:nth-child(odd) {
    background: #f5f5fa;
}

.temettu-table tbody tr:nth-child(even) {
    background: #ebebf2;
}

.temettu-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
}

.temettu-table th {
    padding: 10px 12px;
    font-size: 13px;
}

/* Tablo link stilleri */
.temettu-table a {
    color: #5a5a7a;
    text-decoration: none;
}

.temettu-table a:hover {
    text-decoration: underline;
    color: #323250;
}

/* Tablo koselerini yuvarla */
.temettu-table thead tr:first-child th:first-child {
    border-top-left-radius: 6px;
}

.temettu-table thead tr:first-child th:last-child {
    border-top-right-radius: 6px;
}

.temettu-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

.temettu-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

/* Snapshot Donem Navigasyon Butonlari */
#snapshot-donem-prev:hover:not(.disabled),
#snapshot-donem-next:hover:not(.disabled) {
    color: #ffffff;
}

#snapshot-donem-prev.disabled,
#snapshot-donem-next.disabled {
    opacity: 0.3;
    cursor: default;
}

/* Ince scrollbar stilleri - Temettu Modal */
#temettu-content-area {
    scrollbar-width: thin;
    scrollbar-color: #b8b8d0 transparent;
}

#temettu-content-area::-webkit-scrollbar {
    width: 6px;
}

#temettu-content-area::-webkit-scrollbar-track {
    background: transparent;
}

#temettu-content-area::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 3px;
}

#temettu-content-area::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    #temettu-content {
        width: 95% !important;
        max-height: 80vh !important;
    }

    #temettu-modal {
        padding-top: 30px !important;
    }

    #temettu-hisse-kodu {
        font-size: 0.9rem !important;
    }

    .temettu-table td,
    .temettu-table th {
        font-size: 12px;
        padding: 8px;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    #temettu-content {
        width: 98% !important;
        max-height: 85vh !important;
        margin: 0 auto;
    }

    #temettu-modal {
        padding-top: 20px !important;
    }

    .temettu-tab-btn {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }

    .temettu-table td,
    .temettu-table th {
        font-size: 11px;
        padding: 6px 4px;
    }

    #temettu-tabs-container {
        padding: 12px !important;
    }

    #temettu-hisse-kodu {
        font-size: 0.75rem !important;
    }

    #temettu-close {
        font-size: 20px !important;
    }
}

/* ==========================================
   NET KAR (OZET FINANSALLAR) MODAL STILLERI (Mor-Gri Tema)
   ========================================== */

/* Net Kar modal temel stil */
#netkar-modal {
    font-family: var(--roboto);
}

/* Finansallar modalindaki veri etiketlerini koyulastir */
#netkar-modal td[style*="color: #555"] {
    color: #333 !important;
}

/* Modal icerik */
#netkar-content {
    font-family: var(--roboto);
}

/* Tablo stilleri */
#netkar-data table {
    font-family: var(--roboto);
}

#netkar-data td,
#netkar-data th {
    font-family: var(--roboto);
}

/* Bolum basliklari (Gelir Tablosu, Bilanco) - Mor-gri zemin */
#netkar-data .section-header td {
    font-weight: bold;
    color: #FFFFFF;
    background: #5a5a7a;
    border-color: #5a5a7a !important;
}

/* Tablo koselerini yuvarla */
#netkar-data table tbody tr:first-child td:first-child {
    border-top-left-radius: 6px;
}

#netkar-data table tbody tr:first-child td:last-child {
    border-top-right-radius: 6px;
}

#netkar-data table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

#netkar-data table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

/* Ince scrollbar stilleri - Ozet Finansallar Modal */
#netkar-content-area {
    scrollbar-width: thin;
    scrollbar-color: #b8b8d0 transparent;
}

#netkar-content-area::-webkit-scrollbar {
    width: 4px;
}

#netkar-content-area::-webkit-scrollbar-track {
    background: transparent;
}

#netkar-content-area::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 2px;
}

#netkar-content-area::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Tab content scrollbar */
.netkar-tab-content {
    scrollbar-width: thin;
    scrollbar-color: #b8b8d0 transparent;
}

.netkar-tab-content::-webkit-scrollbar {
    width: 4px;
}

.netkar-tab-content::-webkit-scrollbar-track {
    background: transparent;
}

.netkar-tab-content::-webkit-scrollbar-thumb {
    background-color: #b8b8d0;
    border-radius: 2px;
}

.netkar-tab-content::-webkit-scrollbar-thumb:hover {
    background-color: #8a8aa0;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    #netkar-content {
        width: 95% !important;
        max-height: 80vh !important;
    }

    #netkar-modal {
        padding-top: 30px !important;
    }

    #netkar-content-area {
        padding: 15px !important;
    }

    #netkar-data table {
        font-size: 11px !important;
    }

    #netkar-data th,
    #netkar-data td {
        padding: 6px !important;
    }

    #netkar-data .section-header td {
        padding: 6px !important;
    }

    #netkar-hisse-kodu {
        font-size: 0.9rem !important;
    }

    #netkar-gelir-donemler,
    #netkar-bilanco-donemler {
        font-size: 0.75em !important;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    #netkar-content {
        width: 98% !important;
        max-height: 85vh !important;
        margin: 0 auto;
    }

    #netkar-modal {
        padding-top: 20px !important;
    }

    #netkar-content-area {
        padding: 10px !important;
    }

    #netkar-hisse-kodu {
        font-size: 0.75rem !important;
    }

    #netkar-gelir-donemler,
    #netkar-bilanco-donemler {
        font-size: 0.65em !important;
    }

    #netkar-close {
        font-size: 20px !important;
    }

    #netkar-data table {
        font-size: 9px !important;
    }

    #netkar-data th,
    #netkar-data td {
        padding: 5px 3px !important;
    }

    #netkar-data .section-header td {
        padding: 5px 3px !important;
        font-size: 10px !important;
    }
}

/* Genel Custom Tooltip Sistemi - Mouse Takipli */
[data-tooltip] {
    cursor: help;
}

/* Tooltip Container */
#custom-tooltip {
    position: fixed !important;
    display: inline-block !important;
    background-color: #ffe5a6 !important;
    color: #202020 !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    width: auto !important;
    max-width: 250px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: left !important;
    pointer-events: none !important;
    z-index: 2147483647 !important;
    border: 2px solid #ffb400 !important;
    font-family: Arial, sans-serif !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    transition: opacity 0.3s ease-in-out !important;
}

/* Donem Navigasyon Butonlari ve Dropdown */
.donem-nav-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 1px 2px;
    margin: 0;
    border-radius: 2px;
    transition: background-color 0.2s ease;
    font-family: Arial, sans-serif;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

.donem-nav-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.15);
}

.donem-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.donem-nav-btn.bilanco-btn,
.donem-nav-btn.oran-btn {
    color: #000 !important;
}

.donem-nav-btn.bilanco-btn:disabled,
.donem-nav-btn.oran-btn:disabled {
    opacity: 0.5;
}

.donem-nav-btn.bilanco-btn:hover:not(:disabled),
.donem-nav-btn.oran-btn:hover:not(:disabled) {
    background-color: rgba(0, 0, 0, 0.05);
}

.donem-label {
    font-size: 11px;
    margin: 0 2px;
    display: inline-block !important;
    text-align: center;
    vertical-align: middle !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.donem-label.clickable {
    cursor: pointer;
    padding: 1px 3px;
    border-radius: 2px;
    transition: background-color 0.2s ease;
    margin: 0;
}

.donem-label.clickable:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.bilanco-label.clickable:hover,
.oran-label.clickable:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#donem-dropdown {
    font-size: 12px;
}

.donem-dropdown-item {
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: #333;
}

.donem-dropdown-item:hover {
    background-color: #e8e8f0;
}

.donem-dropdown-item.selected {
    background-color: #5a5a7a;
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================
   FIYAT DEGISIM BADGE'LERI - OZET DIV
   ========================================== */

/* Badge container - temel stil */
.price-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: black;
    border: 1px solid #636e7e;
    padding: 0;
    border-radius: 6px;
    min-width: 58px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.price-badge:hover {
    transform: scale(1.15);
}

/* Badge header - baslik bolumu */
.badge-header {
    width: 100%;
    background: linear-gradient(to bottom, #464f7a 0%, #181b28 100%);
    border-radius: 5px 5px 0 0;
    padding: 2px 0;
    border-bottom: 1px solid #49515d;
    height: 23px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* Badge content - icerik bolumu */
.badge-content {
    width: 100%;
    padding: 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Donem etiketi */
.price-badge .period {
    font-size: 11px;
    color: #e3e9f4;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 3px 0px;
    width: 100%;
    text-align: center;
    display: block;
}

/* NetBorc/FAVOK gibi uzun basliklar icin kucuk font */
.price-badge .period-small {
    font-size: 9px;
}

/* Fiyat gosterimi (Son badge icin) */
.price-badge .price {
    font-size: 12px;
    color: #e3e9f4;
    font-weight: 500;
}

/* Degisim yuzde gosterimi */
.price-badge .change {
    font-size: 12px;
    font-weight: 600;
    color: #e3e9f4;
}

/* Yuzde isareti - sayidan once bosluk */
.price-badge .percent-sign {
    margin-right: 2px;
}

/* Pozitif degisim - yesil */
.price-badge.positive .change {
    color: #00ff76;
    font-weight: 600;
}

/* Negatif degisim - kirmizi */
.price-badge.negative .change {
    color: #ff6464;
    font-weight: 700;
}

/* Veri yok durumu - gri */
.price-badge.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.price-badge.disabled .change {
    color: #5a5a7a;
}

/* Responsive - kucuk ekranlarda */
@media (max-width: 768px) {
    .price-badge {
        min-width: 60px;
        padding: 6px 10px;
    }

    .price-badge .period {
        font-size: 10px;
    }

    .price-badge .price,
    .price-badge .change {
        font-size: 12px;
    }

    /* İletişim modalı mobilde ortaya hizala */
    #iletisimModal {
        align-items: center !important;
        padding-top: 0 !important;
    }
}