body {
    font-family: 'Lato', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

label {
    font-size: 14px;
}

select, button {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button {
    background-color: #4e79a7;
    color: white;
    border: none;
}

button:hover {
    background-color: #f28e2c;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

select:hover {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.chart-container {
    width: 100%;
    overflow-x: auto;
}

svg {
    font-family: 'Lato', sans-serif;
}

text {
    font-size: 12px;
    fill: #333333;
}

.grid .tick line {
    stroke: #cccccc;
    stroke-width: 0.5px;
}

text.chart-title {
    font-size: 18px;
    font-weight: bold;
    fill: #222222;
}

text.chart-label {
    font-size: 14px;
    font-weight: 600;
    fill: #666666;
}

.tooltip {
    background-color: #ffffff;
    font-size: 12px;
    padding: 8px;
    color: #333333;
    border-radius: 5px;
    border: 1px solid #dddddd;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legend {
    font-size: 12px;
    font-weight: 600;
    fill: #444444;
}

rect:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}
