.graph-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

#sigma-container {
    flex: 1;
    height: 100%;
}

.info-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: white;
    border-left: 1px solid #ccc;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    width: 30%;
    display: flex;
}

.info-panel.collapsed {
    width: 30px;
}

.panel-toggle {
    width: 30px;
    height: 100%;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-right: 1px solid #dbeafe;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 1px 4px rgba(35, 85, 216, 0.08);
    transition:
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s;
    font-weight: 500;
    font-family: inherit;
    /*color: #2355d8;*/
}

.panel-toggle:hover {
    background: #e0e7ff;
    color: #1e3a8a;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.info-panel.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.panel-content {
    padding: 15px;
    overflow-y: auto;
    width: calc(100% - 30px);
    display: block;
}

.info-panel.collapsed .panel-content {
    display: none;
}

#paper-data {
    font-family: Arial, Helvetica, sans-serif;
}

.paper-label {
    display: inline-block;
    font-size: 0.95em;
    /*color: #fff;*/
    background: linear-gradient(90deg, #cee2ff, #b3d2ff);
    padding: 3px 14px;
    border-radius: 999px;
    font-weight: 500;
    margin-bottom: 0.5em;
}

textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 14px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #f5f7fa;
    color: #222;
    box-shadow: 0 1px 4px rgba(35, 85, 216, 0.08);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
    outline: none;
    resize: vertical;
}
textarea:focus {
    border-color: #4f8cff;
    box-shadow: 0 2px 8px rgba(79, 140, 255, 0.15);
    background: #fff;
}

a {
    color: #2355d8;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    transition:
        background 0.2s,
        color 0.2s;
}
a:hover,
a:focus {
    background: #e0e7ff;
    color: #1e3a8a;
    text-decoration: underline;
}
