body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    text-align: center;
}

h1 {
    color: #ff6b6b;
    margin-bottom: 30px;
}

#canvas-container {
    margin: 20px 0;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 15px;
}

.control-panel {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 20px 0;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
}

.slider-column {
    flex: 1;
}

.slider-item {
    margin: 15px 0;
}

label {
    display: block;
    color: #a0a0a0;
    font-size: 0.9em;
    margin-bottom: 5px;
}

input[type="range"] {
    width: 200px;
    height: 8px;
    background: #444;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
}


.buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.buttons button {
    padding: 10px 20px;
    font-size: 1.1em;
    background-color: #444;
    border: 1px solid #666;
    transition: background 0.3s;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.buttons button:hover {
    background-color: #555;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff6b6b;
}

.checkbox-label {
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.chart-container {
    margin-top: 20px;
    background-color: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
}

#temperatureChart {
    width: 100% !important;
    height: 300px !important;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9em;
}

.credito {
    margin-top: 15px;
    color: #a0a0a0;
    font-size: 0.9em;
}

.credito strong {
    color: #ff6b6b;
}

footer strong {
    color: #ff6b6b;
}

.formula-panel {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.formula {
    margin: 15px 0;
    padding: 10px;
    background: #3a3a3a;
    border-radius: 8px;
}

.formula-title {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 8px;
}

.formula-content {
    font-size: 1.2em;
    color: #a0a0a0;
    overflow-x: auto;
}

.real-time-calculation {
    margin: 20px 0;
    padding: 15px;
    background: #333;
    border-radius: 8px;
    font-size: 1.1em;
}

.real-time-calculation div {
    margin: 10px 0;
    color: #fff;
}