/* TradingView Style Dashboard */
.tv-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
    position: relative;
}

/* Loading Overlay */
.tv-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.tv-loading-content {
    text-align: center;
    color: #d1d4dc;
    background: #2a2e39;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #1e222d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tv-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid #1e222d;
    border-top: 4px solid #2962ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tv-loading-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tv-loading-content p {
    margin: 0;
    color: #9ca3af;
    font-size: 1rem;
}

.tv-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.tv-left-column, .tv-right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Chart Styles */
.tv-chart-container {
    position: relative;
    height: 400px;
}

.tv-chart {
    display: none;
    height: 100%;
}

.tv-chart.active {
    display: block;
}

.tv-chart-title {
    padding: 16px 20px;
    background: #2a2e39;
    color: #d1d4dc;
    font-weight: 600;
    border-bottom: 1px solid #1e222d;
}

.tv-chart-widget {
    height: calc(100% - 60px);
    width: 100%;
}

/* Tab Styles */
.tv-tabs {
    margin-bottom: 20px;
}

.tv-tab-nav {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.tv-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: none;
    border: none;
    color: #787b86;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tv-tab-btn:hover, .tv-tab-btn.active {
    color: #212529;
    background: rgba(33, 37, 41, 0.15);
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.2);
}

/* 3'lü Trends Container */
.tv-trends-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.tv-trend-section {
    background: linear-gradient(135deg, #1e222d 0%, #2a2e39 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.tv-scrollable-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.tv-scrollable-list::-webkit-scrollbar {
    width: 6px;
}

.tv-scrollable-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.tv-scrollable-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.tv-scrollable-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.tv-trend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tv-trend-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.tv-trend-icon-container {
    flex-shrink: 0;
}

.tv-trend-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.tv-trend-placeholder {
    width: 32px;
    height: 32px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.tv-trend-info {
    flex: 1;
}

.tv-trend-name {
    font-weight: 500;
    color: #d1d4dc;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tv-trend-symbol {
    font-weight: 700;
    color: #787b86;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.tv-trend-price {
    text-align: right;
}

.tv-price-value {
    font-weight: 600;
    color: #d1d4dc;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}

.tv-price-change {
    font-weight: 600;
    font-size: 0.85rem;
}

.tv-price-change.positive {
    color: #089981;
}

.tv-price-change.negative {
    color: #f23645;
}

/* Recommendations */
.tv-recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tv-recommendation-item {
    background: linear-gradient(135deg, #1e222d 0%, #2a2e39 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tv-recommendation-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.tv-recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tv-recommendation-symbol {
    font-weight: 700;
    color: #d1d4dc;
    font-size: 1rem;
}

.tv-recommendation-title {
    font-weight: 600;
    color: #d1d4dc;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.tv-recommendation-content {
    color: #787b86;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tv-recommendation-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #787b86;
}

/* News Styles */
.tv-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tv-news-item {
    background: linear-gradient(135deg, #1e222d 0%, #2a2e39 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tv-news-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.tv-news-title {
    font-weight: 600;
    color: #d1d4dc;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tv-news-summary {
    color: #787b86;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tv-news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #787b86;
    font-size: 0.8rem;
}

.tv-page-info {
    font-size: 0.85rem;
    color: #787b86;
    padding: 0 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tv-content-grid {
        grid-template-columns: 1fr;
    }
    
    .tv-left-column, .tv-right-column {
        gap: 20px;
    }
    
    .tv-trends-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tv-news-grid {
        grid-template-columns: repeat(3, 1fr); /* Orta ekranlarda 3 sütun */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tv-container {
        padding: 0 16px;
    }
    
    .tv-content-grid {
        gap: 20px;
    }
    
    .tv-section {
        margin-bottom: 20px;
    }
    
    .tv-trend-item {
        padding: 10px;
    }
    
    .tv-recommendation-item,
    .tv-news-item {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .tv-container {
        padding: 0 12px;
    }
    
    .tv-content-grid {
        gap: 16px;
    }
    
    .tv-tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .tv-tab-btn span {
        display: none;
    }
    
    .tv-trend-item,
    .tv-recommendation-item,
    .tv-news-item {
        padding: 12px;
    }
}

/* TradingView Modern Açık Tema */
.tv-page-header {
    margin-bottom: 32px;
}

.tv-page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
}

.tv-page-title p {
    color: #555;
    font-size: 1.1rem;
    margin: 0;
}

.tv-card, .tv-trend-card, .tv-news-item, .tv-recommendation-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    padding: 18px;
    margin-bottom: 18px;
    transition: box-shadow .2s, transform .2s;
}

.tv-card:hover, .tv-trend-card:hover, .tv-news-item:hover, .tv-recommendation-item:hover {
    box-shadow: 0 4px 24px rgba(52,152,219,0.10);
    border-color: #b6dfff;
    transform: translateY(-2px) scale(1.03);
}

.tv-section-title, .tv-trend-name, .tv-recommendation-title {
    color: #222;
}

.tv-section {
    background: none;
    box-shadow: none;
    border: none;
}

.tv-trend-placeholder {
    background: #000000;
    color: #ffffff;
}

.tv-trend-name, .tv-recommendation-symbol {
    color: #222;
}

.tv-trend-symbol, .tv-recommendation-meta {
    color: #888;
}

.tv-price-value {
    color: #222;
}

.tv-price-change.positive {
    color: #089981;
}

.tv-price-change.negative {
    color: #f23645;
}

.tv-empty-state, .tv-alert, .tv-toast {
    background: #fff;
    color: #222;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

/* Yeni Ana Sayfa Düzeni */
.tv-recommendations-main-section {
    margin-bottom: 32px;
}

.tv-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

/* Recommendation Prices */
.tv-recommendation-prices {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tv-price-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.tv-price-info.buy-price strong {
    color: #28a745;
}

.tv-price-info.sell-price strong {
    color: #dc3545;
}

.tv-price-info .price-value {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #212529;
}

.tv-recommendation-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tv-recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(41, 98, 255, 0.15);
    border-color: #b6dfff;
}

.tv-recommendation-symbol-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-recommendation-symbol {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    letter-spacing: 0.5px;
}

.tv-recommendation-asset-type {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
}

.tv-recommendation-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.tv-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-badge-al {
    background: #e6f9f2;
    color: #089981;
}

.tv-badge-sat {
    background: #fdeaea;
    color: #f23645;
}

.tv-badge-bekle {
    background: #fffbe6;
    color: #e6a23c;
}

.tv-badge-period {
    background: #e9ecef;
    color: #212529;
}

.tv-recommendation-content {
    margin: 16px 0;
}

.tv-recommendation-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tv-recommendation-period-info {
    color: #212529;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(33, 37, 41, 0.1);
    border-radius: 6px;
    border-left: 3px solid #212529;
}

.tv-recommendation-analysis {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tv-recommendation-analysis strong {
    color: #089981;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.tv-recommendation-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tv-recommendation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.tv-recommendation-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Dikey Trend Container */
.tv-trends-vertical-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.tv-trend-section-horizontal {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    margin: 0 90px;
    min-height: 200px;
}

.tv-horizontal-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 16px 0;
    margin-top: 16px;
    scroll-behavior: smooth;
    min-height: 120px;
    align-items: center;
}

.tv-horizontal-list::-webkit-scrollbar {
    height: 8px;
}

.tv-horizontal-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.tv-horizontal-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 4px;
}

.tv-horizontal-list::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.tv-trend-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    max-width: 160px;
    text-align: center;
    flex-shrink: 0;
}

.tv-trend-item-horizontal:hover {
    background: #e9ecef;
    border-color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(33, 37, 41, 0.1);
}

.tv-trend-item-horizontal .tv-trend-info {
    flex: none;
    width: 100%;
}

.tv-trend-item-horizontal .tv-trend-price {
    text-align: center;
    width: 100%;
}

/* Scroll Navigation Arrows */
.tv-scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 4px solid #212529;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(33, 37, 41, 0.5);
    color: #212529;
    opacity: 0.9;
}

.tv-scroll-nav:hover {
    background: #212529;
    border-color: #212529;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(33, 37, 41, 0.6);
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

.tv-scroll-nav.left {
    left: -70px;
}

.tv-scroll-nav.right {
    right: -70px;
}

.tv-scroll-nav i {
    font-size: 1.8rem;
    font-weight: 900;
    color: #212529 !important;
    line-height: 1;
    display: block;
}

.tv-scroll-nav:hover i {
    color: #ffffff !important;
}

.tv-scroll-nav.left i:before {
    content: "◀";
    font-size: 1.8rem;
    font-weight: 900;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.tv-scroll-nav.right i:before {
    content: "▶";
    font-size: 1.8rem;
    font-weight: 900;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Fallback for when Open Iconic doesn't load */
.tv-scroll-nav.left::after {
    content: "◀";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 900;
    color: inherit;
    z-index: 1;
}

.tv-scroll-nav.right::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 900;
    color: inherit;
    z-index: 1;
}

/* Haber Kategorileri */
.tv-news-categories-container {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tv-news-tabs {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.tv-news-tab {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tv-news-tab:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.tv-news-tab.active {
    background: #212529;
    border-color: #212529;
    color: #fff;
}

.tv-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütun - 4-4 düzeni */
    gap: 24px;
    margin-top: 20px;
}

.tv-news-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tv-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(33, 37, 41, 0.15);
    border-color: #adb5bd;
}

.tv-news-item-horizontal {
    display: flex;
    gap: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.tv-news-item-horizontal:hover {
    background: #e9ecef;
    border-color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(33, 37, 41, 0.1);
}

.tv-news-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(33, 37, 41, 0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-news-card .tv-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tv-news-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-news-source {
    font-size: 0.8rem;
    color: #212529;
    font-weight: 500;
}

.tv-news-content {
    flex: 1;
}

.tv-news-title {
    font-weight: 600;
    color: #212529;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tv-news-summary {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.tv-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.tv-news-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tv-news-link:hover {
    background: rgba(33, 37, 41, 0.1);
    color: #000000;
    text-decoration: none;
}

.tv-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding: 20px;
}

.tv-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Admin Panel Styles */
.tv-admin-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tv-admin-table {
    overflow-x: auto;
    margin-top: 20px;
}

.tv-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tv-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.tv-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.tv-table tr:hover {
    background: #f8f9fa;
}

.tv-table tr.tv-inactive {
    opacity: 0.6;
}

.tv-asset-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-asset-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.tv-asset-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.tv-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tv-status-active {
    background: #d4edda;
    color: #155724;
}

.tv-status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.tv-change {
    font-weight: 600;
}

.tv-change.positive {
    color: #28a745;
}

.tv-change.negative {
    color: #dc3545;
}

.tv-actions {
    display: flex;
    gap: 8px;
}

.tv-btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* Modal Styles */
.tv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.tv-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.tv-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tv-modal-header h4 {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

.tv-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tv-modal-close:hover {
    background: #f8f9fa;
}

.tv-modal-body {
    padding: 20px 24px;
}

.tv-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.tv-form-group {
    margin-bottom: 16px;
}

.tv-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
}

.tv-form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tv-form-control:focus {
    outline: none;
    border-color: #2962ff;
    box-shadow: 0 0 0 2px rgba(41, 98, 255, 0.25);
}

.tv-form-control[rows] {
    resize: vertical;
    min-height: 80px;
}

.tv-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tv-badge-coin {
    background: #fff3cd;
    color: #856404;
}

.tv-badge-bist50 {
    background: #d1ecf1;
    color: #0c5460;
}

.tv-badge-nasdaq {
    background: #d4edda;
    color: #155724;
}

.tv-badge-buy {
    background: #d4edda;
    color: #155724;
}

.tv-badge-sell {
    background: #f8d7da;
    color: #721c24;
}

.tv-badge-hold {
    background: #fff3cd;
    color: #856404;
}

/* Watchlist Button Styles for Tables */
.tv-watchlist-btn {
    background: #ffffff;
    border: 2px solid #dee2e6;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #6c757d;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tv-watchlist-btn:hover {
    background: #f8f9fa;
    color: #212529;
    border-color: #212529;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tv-watchlist-btn i {
    font-size: 18px !important;
    color: inherit !important;
}

.tv-watchlist-btn .oi-star {
    color: #6c757d !important;
}

.tv-watchlist-btn .oi-star-filled {
    color: #ffc107 !important;
}

.tv-favorite {
    background-color: #fff9e6 !important;
}

.tv-favorite:hover {
    background-color: #fff3cd !important;
}

/* Scroll Navigation Visibility Fix */
.tv-trends-vertical-container {
    overflow: visible;
}

.tv-trend-section-horizontal {
    overflow: visible;
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .tv-recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .tv-horizontal-list {
        gap: 12px;
    }
    
    .tv-trend-item-horizontal {
        min-width: 160px;
        padding: 14px;
    }
    
    .tv-trend-section-horizontal {
        margin: 0 70px;
    }
    
    .tv-scroll-nav.left {
        left: -55px;
    }

    .tv-scroll-nav.right {
        right: -55px;
    }
    
    .tv-scroll-nav {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .tv-scroll-nav i {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .tv-recommendations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tv-trend-section-horizontal {
        padding: 20px;
        margin: 0 60px;
    }
    
    .tv-horizontal-list {
        gap: 10px;
    }
    
    .tv-trend-item-horizontal {
        min-width: 140px;
        padding: 12px;
    }
    
    .tv-scroll-nav {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .tv-scroll-nav.left {
        left: -50px;
    }

    .tv-scroll-nav.right {
        right: -50px;
    }
    
    .tv-scroll-nav i {
        font-size: 1.4rem;
    }
    
    .tv-news-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet'te 2-2 düzeni */
        gap: 16px;
    }
    
    .tv-news-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .tv-news-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .tv-news-categories-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tv-news-grid {
        grid-template-columns: 1fr !important; /* Mobilde tek sütun */
        gap: 12px;
    }
    
    .tv-recommendations-main-section {
        margin-bottom: 24px;
    }
    
    .tv-recommendation-card {
        padding: 16px;
    }
    
    .tv-recommendation-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .tv-recommendation-badges {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .tv-trend-section-horizontal {
        padding: 16px;
        margin: 0 50px;
    }
    
    .tv-trend-item-horizontal {
        min-width: 120px;
        padding: 10px;
    }
    
    .tv-scroll-nav {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .tv-scroll-nav.left {
        left: -45px;
    }

    .tv-scroll-nav.right {
        right: -45px;
    }
    
    .tv-scroll-nav i {
        font-size: 1.2rem;
    }
    
    .tv-news-item-horizontal {
        padding: 16px;
    }
}

/* Günlük Performans - Kazananlar ve Kaybedenler */
.tv-gainers-losers-section {
    margin-top: 40px;
}

.tv-performance-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
}

.tv-performance-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tv-performance-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.tv-performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tv-performance-column {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.tv-performance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 6px;
}

.tv-performance-header.gainers {
    background: linear-gradient(135deg, #e6f9f2 0%, #d4edda 100%);
    color: #089981;
}

.tv-performance-header.losers {
    background: linear-gradient(135deg, #fdeaea 0%, #f8d7da 100%);
    color: #f23645;
}

.tv-performance-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tv-performance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tv-performance-item:hover {
    border-color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.1);
}

.tv-performance-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tv-performance-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.tv-performance-placeholder {
    width: 28px;
    height: 28px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.tv-performance-details {
    flex: 1;
}

.tv-performance-name {
    font-weight: 500;
    color: #212529;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.tv-performance-symbol {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.tv-performance-change {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.tv-performance-change.positive {
    background: #e6f9f2;
    color: #089981;
}

.tv-performance-change.negative {
    background: #fdeaea;
    color: #f23645;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .tv-performance-container {
        gap: 24px;
    }
    
    .tv-performance-section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .tv-performance-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tv-performance-section {
        padding: 16px;
    }
    
    .tv-performance-title {
        font-size: 1rem;
    }
    
    .tv-performance-item {
        padding: 10px;
    }
    
    .tv-performance-name {
        font-size: 0.85rem;
    }
    
    .tv-performance-change {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tv-performance-container {
        gap: 20px;
    }
    
    .tv-performance-column {
        padding: 12px;
    }
    
    .tv-performance-header {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .tv-performance-item {
        padding: 8px;
    }
    
    .tv-performance-info {
        gap: 8px;
    }
    
    .tv-performance-icon,
    .tv-performance-placeholder {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* Logo Styles */
.tv-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tv-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.tv-title-text {
    flex: 1;
}

@media (max-width: 768px) {
    .tv-logo-section {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .tv-logo {
        height: 50px;
    }
}