@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.description {
    text-align: center;
    margin-bottom: 40px;
}

.description h1 {
    font-weight: 700;
    color: #2c3e50;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.tool-section {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.tool-section h2 {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-top: 0;
    color: #34495e;
}

.controls {
    margin-top: 20px;
}

.controls label {
    font-weight: 700;
    color: #555;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

.performance-display, .chrono-display, .performance-equation-display, .global-performance-display {
    margin-top: 15px;
    font-size: 1.1em;
    font-weight: 700;
    padding: 15px;
    background-color: #ecf0f1;
    border-radius: 8px;
    text-align: center;
}

#stress-zone-text, #hormone-text, #chrono-advice-text {
    margin-top: 10px;
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
}

.gauges {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.gauge-container {
    flex: 1;
}

.gauge-bar {
    width: 100%;
    background-color: #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
    height: 30px;
    margin-top: 5px;
}

.gauge-bar > div {
    height: 100%;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
}

.explanation {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 15px;
}
