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

body {
    overflow: hidden;
    background: #1a1a1a;
}

#container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

#protoboard {
    width: 100%;
    height: 100%;
}

#controls {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(30, 30, 30, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

button {
    padding: 8px 16px;
    margin: 0 5px;
    background: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

select {
    padding: 8px;
    margin: 0 5px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid #4CAF50;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

select:hover {
    border-color: #45a049;
    background: #f5f5f5;
}

.controls-info {
    margin-top: 10px;
    color: #ffffff;
    font-size: 12px;
    opacity: 0.8;
}

#powerToggle {
    background: #ff9800;
    margin-top: 10px;
}

#powerToggle:hover {
    background: #f57c00;
}

#deleteComponent {
    background: #f44336;
    margin-top: 10px;
}

#deleteComponent:hover {
    background: #d32f2f;
}