#cy {
    width: 100%;
    height: 700px;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cy-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 16px;
    pointer-events: none;
    z-index: 1000;
    max-width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.network-node {
    transition: all 0.2s ease;
    border-width: 3px !important;
}

.network-node:hover {
    border-color: #000 !important;
    border-width: 4px !important;
    transform: scale(1.12);
    z-index: 9999 !important;
}

.network-node.selected {
    border-color: #1a1a00 !important;
    border-width: 4px !important;
    box-shadow: 0 0 0 4px rgba(26, 26, 0, 0.4);
    z-index: 10000 !important;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend-text {
    font-size: 9px;
    font-weight: 500;
    color: #374151;
}

.control-btn {
    background: linear-gradient(135deg, #1a1a00 0%, #000 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.control-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 700px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    overflow-y: auto;
}

.info-panel.hidden {
    display: none;
}

.close-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.close-panel:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
}

.stat-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #1a1a00;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a00;
    font-family: 'Courier New', monospace;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 16px;
    word-break: break-all;
}

.circle-boundary {
    stroke: #d1d5db;
    stroke-width: 2;
    stroke-dasharray: 5,5;
    fill: none;
}
