.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.controls {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.input-group {
    margin-bottom: 10px;
}

.input-group label {
    display: inline-block;
    width: 200px;
}

.simulation-container {
    margin-bottom: 20px;
    position: relative;
    min-height: 400px;
}

#simulationCanvas {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    background-color: white;
    display: block;
}

#velocityGraph {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
    background-color: white;
    display: block;
}

.preview-info {
    margin: 10px 0;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 4px;
}

.preview-info p {
    margin: 5px 0;
}

.time-controls {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.time-controls button {
    margin-right: 10px;
}

#timeSlider {
    width: 60%;
    margin: 0 10px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.simulation-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ef9a9a;
    z-index: 1000;
}