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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0;
    color: #333;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    color: #2c3e50;
    padding: 20px;
    font-weight: 300;
    font-size: 2em;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    flex-shrink: 0;
}

#cy {
    flex: 1;
    width: 100%;
    position: relative;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

#controls {
    position: absolute;
    top: 80px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#controls button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 100px;
    margin-bottom: 5px;
}

#controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#controls button:active {
    transform: translateY(0);
}

/* Cytoscape.js styles are handled in JavaScript */

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
        padding: 15px;
    }
    
    #controls {
        top: 70px;
        left: 10px;
    }
    
    #controls button {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2em;
        padding: 10px;
    }
    
    #controls {
        top: 60px;
        left: 5px;
    }
}