/* ===== components/graph.css ===== */

.graph-toggle-container {
    display: flex;
    justify-content: center;
    margin: 8px 0 24px;
}

.graph-toggle-btn {
    padding: 8px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.graph-toggle-btn:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
}

.graph-modal .modal-container {
    max-width: 800px;
    height: 80vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.graph-modal .modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

#graphNetwork {
    flex: 1;
    min-height: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.graph-legend {
    margin-top: 16px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.graph-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.graph-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
