/* Player Performance Trends Styles - Compact */

.player-trend-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.trend-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trend-title i {
    font-size: 14px;
}

.trend-content {
    padding: 12px;
}

.trend-loading {
    text-align: center;
    padding: 24px 12px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.trend-error {
    padding: 12px;
    font-size: 13px;
}

/* Summary Stats */
.trend-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.summary-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.summary-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.summary-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.trend-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.trend-badge.trend-up {
    background: #d4edda;
    color: #155724;
}

.trend-badge.trend-down {
    background: #f8d7da;
    color: #721c24;
}

.trend-badge.trend-stable {
    background: #fff3cd;
    color: #856404;
}

/* Chart */
.trend-chart-container {
    position: relative;
    height: 250px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .trend-summary {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .trend-chart-container {
        height: 200px;
    }
}

