h2 {
    margin-bottom: 25px;
    color: #2c3e50;
}
 .field {
      margin-bottom: 20px;
}
.label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}
.input-container {
    display: flex;
    align-items: center;
}
input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--theme) 0%, #ddd 0%);
    outline: none;
    transition: background 0.3s ease;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--theme);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--theme);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
}
input[type="number"] {
    width: 100px;
    padding: 6px;
    margin-left: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.result {
    background: var(--theme-light);
    padding: 20px;
    border-radius: 6px;
    font-weight: bold;
    color: #2c3e50;
}
.reset-button {
    background-color: var(--theme);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}
.reset-button:hover {
    background-color: var(--theme-hover);
}
