 
body {
    font-family: sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #333;
}

.calculator label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.calculator input[type="number"],
.calculator input[type="range"],
.calculator select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.hydration-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #f44336, #ffeb3b, #4CAF50, #ffeb3b, #f44336);
}

.suggestion {
    font-size: 0.8em;
    color: #666;
    margin-top: -5px;
    margin-bottom: 10px;
}

.error {
    font-size: 0.8em;
    color: #f44336;
    margin-top: -5px;
    margin-bottom: 10px;
}

button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #367c39;
}

.results {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.dough-consistency-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.highlight {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% { background-color: yellow; }
    100% { background-color: transparent; }
}