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

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

header h1 {
    color: #0056b3;
    text-align: center;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
}

.input-section h2, .output-section h2 {
    color: #0056b3;
    margin-bottom: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group small {
    display: block;
    color: #777;
    font-size: 0.9em;
    margin-top: 5px;
}

#calculate-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#calculate-btn:hover {
    background-color: #0056b3;
}

.output-section {
    margin-top: 30px;
}

.chart-container {
    position: relative;
    height: 500px;
    width: 100%;
    margin-bottom: 30px;
}

#results-section {
    background-color: #e9f5ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #007bff;
}

#results-output p {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

#results-output strong {
    color: #0056b3;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #777;
}
