
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e; 
    color: #e0e0e0; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

.simulation-area {
    position: relative;
    margin-right: 20px;
}

#simulationCanvas {
    background-color: #2c2c2c;
    border: 1px solid #444; 
}

#growthGraphCanvas {
    background-color: #2c2c2c; 
    border: 1px solid #444; 
    margin-top: 10px;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
}

.slider-container {
    margin-bottom: 20px;
}

.slider {
    width: 100%;
    background-color: #333; 
    border: 1px solid #444; 
    color: #e0e0e0; 
}

#diseaseStrengthValue {
    font-weight: bold;
}

#stats, #simulatedTime {
    font-size: 16px;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff; 
    color: #fff;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.btn:disabled {
    background-color: #6c757d; 
    cursor: not-allowed;
}


input[type="range"]::-webkit-slider-thumb {
    background: #007bff; 
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #333; 
}

input[type="range"]::-moz-range-thumb {
    background: #007bff; 
    border-radius: 5px;
}

input[type="range"]::-moz-range-track {
    background: #333; 
}

input[type="range"]::-ms-thumb {
    background: #007bff;
    border-radius: 5px;
}

input[type="range"]::-ms-track {
    background: #333;
    border-color: transparent;
}
