/**
 * Dashboard Page Styles
 */

.dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

/* Status Chart */
.status-chart {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-chart-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    width: 100%;
}

.donut-chart {
    flex-shrink: 0;
}

.status-legend {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.ready { background: var(--color-success); }
.legend-color.error { background: var(--color-error); }
.legend-color.sleep { background: var(--color-text-muted); }
.legend-color.limited { background: var(--color-warning); }
.legend-color.new { background: var(--color-info); }

.legend-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.legend-value {
    font-weight: 600;
    margin-left: auto;
}

/* Proxy Stats */
.proxy-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.proxy-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proxy-stat-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.proxy-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.proxy-stat-dot.ok { background: var(--color-success); }
.proxy-stat-dot.dead { background: var(--color-error); }
.proxy-stat-dot.slow { background: var(--color-warning); }
.proxy-stat-dot.new { background: var(--color-info); }

.proxy-stat-value {
    font-weight: 600;
}

.proxy-stat-bar {
    height: 6px;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: var(--spacing-md);
}

.proxy-stat-fill {
    height: 100%;
    background: var(--color-success);
    transition: width var(--transition-slow);
}
