.price-inflation-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #fff;
}

.calculator-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0E4D67;
}

.slider-container {
    display: flex;
    align-items: center;
}

input[type="range"] {
    flex: 1;
    height: 10px;
    -webkit-appearance: none;
    margin: 10px 0;
    background: #f1f1f1;
    border-radius: 5px;
    outline: none;
}

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

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0E4D67;
    cursor: pointer;
    border: none;
}

output {
    margin-left: 10px;
    background: #0E4D67;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.calculate-button {
    background-color: #D39708;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.calculate-button:hover {
    background-color: #b37f06;
}

.calculator-results {
    margin-top: 30px;
    position: relative; /* Add positioning context */
}

.price-display {
    font-size: 36px;
    font-weight: bold;
    color: #D39708;
    margin: 15px 0;
    text-align: center;
}

.chart-container {
    margin: 30px 0;
    height: 300px;
    margin-bottom: 90px; /* Significantly increase bottom margin */
    position: relative; /* Add positioning */
}

.message-container {
    background-color: #f8f9fa;
    border-left: 4px solid #0E4D67;
    padding: 15px;
    margin-top: 80px; /* Increase top margin even more */
    position: relative; /* Ensure proper positioning */
    display: block; /* Force block display */
    clear: both; /* Ensure it clears any floating elements */
    z-index: 10; /* Ensure it appears above the chart */
}

.message {
    margin: 0;
    color: #555;
    font-style: italic;
}