html, body {
    margin: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== MAIN GRID LAYOUT ===== */
#app {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    height: 100vh;
}

/* ===== LEFT PANEL ===== */
#leftPanel {
    background: #1e1e1e;
    color: white;
    padding: 20px;
    border-right: 2px solid #333;
}

/* ===== CENTER SCHEMATIC ===== */
#viewer {
    background: #111;
    overflow: hidden;
}

#schematicContainer,
#schematicImage {
    width: 100%;
    height: 100%;
}

/* ===== RIGHT PANEL ===== */
#rightPanel {
    background: #f4f4f4;
    padding: 20px;
    border-left: 2px solid #ccc;
}

#infoBox {
    background: white;
    padding: 15px;
    border-radius: 8px;
    min-height: 200px;
}

/* ===== BUTTON STYLE ===== */
button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #444;
    color: white;
}

button:hover {
    background: #666;
}

/* Highlighted component */
.highlighted-part {
    stroke: red !important;
    stroke-width: 3 !important;
    filter: drop-shadow(0 0 6px red);
}
#searchInput{
    width: 80%;
    padding:6px;
    margin-bottom:5px;
}
