/* Stats & Charts */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit';
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Chart Mock */
.chart-container {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.chart-select {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
    border-radius: 8px;
}

.mock-chart {
    height: 250px;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    gap: 12px;
    width: 100%;
    height: 100%;
    align-items: flex-end;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.bar:hover {
    opacity: 1;
    box-shadow: 0 0 20px var(--primary);
}

/* Mobile Overrides for Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .stat-card {
        padding: 12px 8px !important;
        text-align: center;
        border-radius: 12px !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat-value {
        font-size: 1.25rem !important;
        margin-bottom: 2px !important;
    }

    .stat-change {
        font-size: 0.6rem !important;
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    .stat-card {
        padding: 10px 4px !important;
    }

    .stat-value {
        font-size: 1.1rem !important;
    }

    .stat-change {
        font-size: 0.55rem !important;
    }
}