/* Dashboard Styles */

.dashboard-header {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, rgba(9, 9, 11, 0) 70%),
        var(--bg-dark);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dashboard-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1;
}

.stat-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Charts Grid */
.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.chart-card.wide {
    grid-column: span 2;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border-radius: 6px;
}

.chart-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-btn:hover {
    color: var(--text-light);
}

.chart-btn.active {
    background: var(--primary);
    color: white;
}

.chart-container-lg {
    height: 300px;
    width: 100%;
    position: relative;
}

.chart-container-sm {
    height: 250px;
    width: 100%;
    position: relative;
}

/* CTA Box */
.dashboard-cta {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.dashboard-cta h2 {
    font-size: 2rem;
    margin: 0;
}

.dashboard-cta p {
    color: var(--text-muted);
    margin: 0;
}

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

    .chart-card.wide {
        grid-column: span 1;
    }

    .dashboard-header h1 {
        font-size: 2.5rem;
    }
}