* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#graph-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: white;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-content {
    max-width: 300px;
}

.pdf-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.pdf-popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: 90%;
    height: 90%;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

#pdf-frame {
    width: 100%;
    height: calc(100% - 20px);
    border: none;
}

.node {
    cursor: pointer;
}

.node circle {
    transition: opacity 0.3s;
}

.node text {
    font-size: 12px;
    pointer-events: none;
}

.link {
    stroke: #999;
    stroke-opacity: 0.6;
    transition: opacity 0.3s, stroke-width 0.3s;
} 