/**
 * focus-dashboard.css - Phase 4: Focus Dashboard Styles (Task 23)
 */

.focus-dashboard-section {
    width: 100%;
}

.focus-dashboard-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.dashboard-empty {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
    color: var(--text-muted);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-chart {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
}

.dashboard-chart h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
    padding-top: 20px;
    border-bottom: 1px solid var(--border);
}

.chart-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12%;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar-value {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.chart-bar-col:hover .chart-bar-value {
    opacity: 1;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease, background 0.3s;
}

.chart-bar-col.today .chart-bar {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.chart-bar-col:hover .chart-bar {
    background: var(--accent);
}

.chart-bar-label {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-bar-col.today .chart-bar-label {
    color: var(--accent);
    font-weight: bold;
}

.dashboard-details {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
}

.dashboard-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.session-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.session-item:hover {
    background: rgba(255,255,255,0.06);
}

.session-score {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
}

.score-excellent { background: rgba(0, 184, 148, 0.2); color: var(--green); }
.score-good { background: rgba(9, 132, 227, 0.2); color: var(--primary); }
.score-ok { background: rgba(253, 203, 110, 0.2); color: var(--yellow); }
.score-low { background: rgba(214, 48, 49, 0.2); color: var(--red); }

.session-info {
    flex: 1;
}

.session-duration {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.session-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.session-date {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
