body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

#left-panel {
    width: 300px;
    background-color: #333;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    flex-shrink: 0;
}

#left-panel h1, #left-panel hr {
    text-align: center;
}

#mode-selector {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.mode-btn {
    padding: 10px 15px;
    border: 2px solid #555;
    background-color: #444;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 48%;
    box-sizing: border-box;
}

.mode-btn.active {
    background-color: #007BFF;
    border-color: #0056b3;
}

#resetBtn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#resetBtn:hover {
    background-color: #c82333;
}

#canvas-container {
    flex-grow: 1;
    background-color: #2E8B57; /* SeaGreen */
    overflow: hidden; 
}

#simulationCanvas {
    display: block;
}

.debug-controls {
    text-align: center;
    margin-bottom: 15px;
}

.debug-controls label {
    margin-left: 5px;
    font-size: 14px;
}
/* NEW: Styles for the zoom slider */
.zoom-controls {
    text-align: center;
    margin-top: 15px;
}

.zoom-controls label {
    display: block;
    margin-bottom: 5px;
}

#zoomSlider {
    width: 90%;
}