/* Yeni Timeline ve Insights Stilleri */
.historical-rates {
    margin: 30px 0;
    padding: 20px;
    background: var(--glass-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-glass-color);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.historical-rates h2 {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.trend-analysis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background: var(--glass-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-glass-color);
}

.trend-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.trend-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-glass-color);
}

.trend-label {
    font-size: 0.8rem; /* Küçültüldü */
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.trend-value {
    font-size: 1.2rem; /* Küçültüldü */
    font-weight: 700;
    color: var(--accent-glass-color);
}

.trend-value.positive {
    color: #8BC34A;
}

.trend-value.negative {
    color: #FF5252;
}

.timeline-item {
    min-width: 0;
    background: var(--glass-bg-color);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid var(--accent-glass-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px var(--shadow-glass-color);
    transition: all 0.2s ease;
}

.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-glass-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1rem; /* Küçültüldü */
    font-weight: 600;
    color: var(--text-glass-color);
}

.timeline-date {
    font-size: 0.75rem; /* Küçültüldü */
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.rate-display {
    text-align: center;
    margin-bottom: 15px;
}

.rate-amount {
    font-size: 1.8rem; /* Küçültüldü */
    font-weight: 700;
    color: var(--accent-glass-color);
    margin-bottom: 4px;
}

.rate-label {
    font-size: 0.8rem; /* Küçültüldü */
    color: #94a3b8;
}

.change-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 6px;
}

.change-amount {
    font-size: 1rem; /* Küçültüldü */
    font-weight: 600;
}

.positive {
    color: #8BC34A;
}

.negative {
    color: #FF5252;
}

.change-percent {
    font-size: 0.8rem; /* Küçültüldü */
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.change-percent.positive {
    background: rgba(76, 175, 80, 0.2);
    color: #a7f3d0;
}

.change-percent.negative {
    background: rgba(244, 67, 54, 0.2);
    color: #ffcccb;
}

.insights {
    margin-top: 30px;
    padding: 20px;
    background: var(--glass-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-glass-color);
    width: 100%;
}

.insight-card {
    width: 100%;
}

.insight-card.full-width {
    padding: 0;
}

.insight-card h2 {
    font-size: 1.3rem; /* Küçültüldü */
    color: #4CAF50;
    margin-bottom: 15px;
    font-weight: 600;
}

.insight-text {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight {
    background: rgba(99, 179, 237, 0.2);
    color: var(--accent-glass-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-value {
    font-size: 1.2rem; /* Küçültüldü */
    font-weight: 700;
    color: var(--accent-glass-color);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.75rem; /* Küçültüldü */
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }

    .timeline-item {
        min-width: 100%;
        max-width: 100%;
    }

    .insights {
        padding: 15px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .historical-rates h2 {
        font-size: 18px; /* Küçültüldü */
    }

    .rate-amount {
        font-size: 1.5rem; /* Küçültüldü */
    }

    .insight-card h2 {
        font-size: 1rem; /* Küçültüldü */
    }
}

@media (max-width: 600px) {
    .timeline-item {
        min-width: 100%;
        max-width: 100%;
    }

    .historical-rates h2 {
        font-size: 16px; /* Küçültüldü */
    }

    .rate-amount {
        font-size: 1.2rem; /* Küçültüldü */
    }
}