body {
    margin: 0;

    font-family: sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden; }

#graph-container {
    flex: 1;
    position: relative;
    border-right: 1px solid var(--menu-bg-color);
}
#side-panel {
        width: 450px;
        background: #fff;
        color: #333;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5); z-index: 2000;
    }
#side-panel.open { transform: translateX(0); }
#panel-header {
    background: #222;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center; }
#close-btn {
    cursor: pointer; font-size: 24px;
}
iframe { width: 100%; height: 100%; border: none; }
.link  { stroke: slategrey; stroke-opacity: 0.3; }
.node circle { cursor: grab; stroke:slategrey; stroke-width: 1px; }
.node circle:active { cursor: grabbing; }
text { fill:#fff; font-size: 12px; pointer-events: none; }


.map-svg {
  width: 100%;
  height: auto;
  max-width: 1500px; /* Optionnel : pour éviter qu'il ne devienne géant */
}


#graph-container {
    width: 100%;
    height: 100%;
}
nav a {
    color: white;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

/* 3. Le main occupe tout l'espace disponible entre nav et footer */
main {
    flex: 1;
    position: relative;
    background: var(--bg-color);
    overflow: hidden; /* Important pour contenir le scroll-wrapper */
}


footer {
    height:40px;

    padding: 10px;
    text-align: center;
    z-index: 1000;
    border-top: 1px solid #76716B;
    flex-shrink: 0; /* Empêche le footer de s'écraser */
}
footer p {
    color:slategrey;
    font-size: 12px;
}
