:root {
    --gradient-borsa: linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
    --gradient-altin: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-doviz: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-kripto: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-news: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --primary-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-radius: 15px;
    --box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary-bg);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #334155;
    line-height: 1.6;
}

.container,
.container-fluid {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

.news-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }

/* Card Header */
.card-header {
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.card-header-altin {
    background: var(--gradient-altin);
}

.card-header-doviz {
    background: var(--gradient-doviz);
}

.card-header-borsa {
    background: var(--gradient-borsa);
}

.card-header-kripto {
    background: var(--gradient-kripto);
}

.card-header-news {
    background: var(--gradient-news);
}

.market-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.card-header-text {
    flex: 1;
}

.card-header h4,
.card-header h5 {
    margin: 0;
    font-size: 1.25rem;
}

.refresh-badge {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    margin-left: 10px;
}

/* Card Body */
.card-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Tables */
.table-modern {
    width: 100%;
    border-collapse: collapse;
}

    .table-modern th {
        color: #64748b;
        font-weight: 600;
        padding: 12px 10px;
        text-align: left;
        border-bottom: 2px solid #e2e8f0;
    }

    .table-modern td {
        padding: 12px 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .table-modern tr:last-child td {
        border-bottom: none;
    }

    .table-modern tr:hover td {
        background-color: #f8fafc;
    }

/* Controls */
.controls-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-box {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .search-box:focus {
        outline: none;
        border-color: #94a3b8;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

.pagination-controls {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

    .pagination-controls button {
        background: #f1f5f9;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }

        .pagination-controls button:hover {
            background: #e2e8f0;
        }

.page-info {
    min-width: 50px;
    text-align: center;
    font-size: 0.9rem;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 3px solid #8b5cf6;
    transition: var(--transition);
}

    .news-item:hover {
        transform: translateX(3px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .news-item h5 {
        font-size: 1rem;
        margin-bottom: 8px;
        color: #1e293b;
    }

    .news-item p {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 8px;
    }

/* Skeleton Loader */
.skeleton-loader {
    background: #f0f0f0;
    border-radius: 4px;
    height: 20px;
    margin-bottom: 8px;
    background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .layout-grid {
        grid-template-columns: 1fr 3fr 1fr;
    }
}

@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .news-column {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .main-column {
        grid-template-columns: 1fr;
    }

    .news-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding: 15px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Analiz Sekmesi Stilleri */
.card-header-analysis {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.card-header-experts {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.card-header-trends {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #333;
}

.analysis-item {
    transition: all 0.3s ease;
    border-left: 4px solid #2575fc !important;
}

    .analysis-item:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.expert-item {
    transition: all 0.2s ease;
}

    .expert-item:hover {
        background-color: #f8f9fa;
        border-radius: 5px;
        padding: 5px;
    }

.trend-item {
    transition: all 0.2s ease;
}

    .trend-item:hover {
        background-color: #f8f9fa;
        border-radius: 5px;
    }

/* Sekme Stilleri */
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
}

    .nav-tabs .nav-link.active {
        color: #2575fc;
        font-weight: 600;
        border-bottom: 3px solid #2575fc;
    }
/* Analiz Sekmesi Stilleri */
.card-header-analysis {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.card-header-stats {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.card-header-popular {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #333;
}

.analysis-item {
    transition: all 0.3s ease;
    border-left: 4px solid #2575fc !important;
}

    .analysis-item:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.popular-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

    .popular-item:hover {
        background-color: #f8f9fa;
        border-radius: 5px;
        padding: 8px;
        border-left-color: #2575fc;
    }

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Sekme Stilleri */
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    border: none;
    padding: 12px 20px;
}

    .nav-tabs .nav-link.active {
        color: #2575fc;
        font-weight: 600;
        border-bottom: 3px solid #2575fc;
        background: transparent;
    }

    .nav-tabs .nav-link:hover {
        border-color: transparent;
        color: #2575fc;
    }

.analysis-content {
    line-height: 1.6;
    color: #333;
}

.analysis-filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}