/* Normalized Trend Page Specific Styles */
/* Shared components (buttons, stat items, tables) come from common.css */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.stat-item {
    background-color: rgba(var(--primary-color-rgb), 0.04);
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Chart container height override */
.chart-container {
    width: 100%;
    height: 420px;
    margin-bottom: 1.25rem;
}

/* Ensure canvas takes full container dimensions */
canvas {
    height: 100% !important;
    width: 100% !important;
}

/* Chart explanation styling */
.chart-explanation {
    background-color: var(--gradient-soft);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-top: 1.25rem;
}

.chart-explanation h5 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.chart-explanation ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.chart-explanation li {
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Chart title styling */
.crypto-info h2 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0;
}

/* Full-width chart body: override the max-height / scroll from common.css */
.chart-panel .card-body {
    max-height: none;
    width: 100%;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 340px;
    }
}
