body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f4f6f8; 
    overflow: hidden;
}

#top-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
    height: 70px; 
    background: #ffffff; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    box-sizing: border-box; 
    font-size: 14px; 
}

#selectors { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
}

select { 
    padding: 8px 12px; 
    border-radius: 6px; 
    border: 1px solid #d1d5db; 
    font-size: 14px; 
    cursor: pointer; 
    background-color: #f9fafb; 
}

.legend { 
    display: flex; 
    gap: 15px; 
    font-size: 13px; 
    font-weight: 500; 
}

.legend-item { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.color-box { 
    width: 16px; 
    height: 16px; 
    border-radius: 4px; 
    border: 2px solid; 
}

.bloqueada { background: rgba(240,240,240,0.3); border-color: rgba(200,200,200,0.4); }
.habilitada { background: #ffffff; border-color: #333333; }
.cursada { background: #ffedd5; border-color: #f97316; }
.aprobada { background: #dcfce7; border-color: #22c55e; }

#network-container { 
    width: 100%; 
    height: calc(100vh - 70px); 
    background-color: #ffffff; 
}
div.vis-tooltip { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-size: 13px; 
    background-color: #1e293b; 
    color: #f8fafc; 
    padding: 12px 16px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    line-height: 1.6; 
    white-space: pre-wrap;
    border: none;
}

@media screen and (max-width: 768px) {
    #top-bar {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    #selectors {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    #selectors label {
        display: none; 
    }
    select {
        width: 100%;
        font-size: 16px; 
    }
    .legend {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    } 
    #network-container {
        height: calc(100vh - 180px); 
        background-image: none;
        padding-left: 50px;
    }
}