body { font-family: 'Inter', sans-serif; margin: 10px; background-color: #f7f7f7; }
.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 10px;
    width: 100%;
    max-width: 1200px; /* Max width for the container */
    margin: 0 auto;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#chartDiv {
    width: 100%;
    height: 380px; /* Fixed height for the plot area */
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .chart-container {
        flex-direction: column; /* Stack charts vertically */
        gap: 0;
    }
    #chartDiv {
        height: 800px; /* Adjust height for stacked plots on mobile */
    }
}
/* Basic styling for selection controls */
.selection-controls {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between different control groups */
    flex-wrap: wrap;
}
.control-group {
    display: flex;
    align-items: center;
    gap: 1px; /* Space between label/select/checkbox */
    flex-wrap: wrap;
}
.selection-controls label {
    font-size: 1.0em;
    color: #353535;
}
.selection-controls select {
    font-size: 0.9em;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: #f0f0f0;
}
.selection-controls select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.selection-controls button {
    padding: 10px 20px;
    font-size: 1.0em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}
.selection-controls button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
.selection-controls button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
.select-all-container input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.select-all-container label {
    font-size: 1.0em;
    cursor: pointer;
    color:darkblue
}
/* Styling for the selected sector/year display */
#selectedDisplayInfo {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.0em;
    color: #333;
    /*font-weight: bold;*/
    gap: 10px;
}
.total-items-count {
    font-size: 16px;
    color: rgb(4, 116, 136);
    /*font-weight: bold;*/
}
.selected-year-display {
    font-size: 16px;
    color: rgb(4, 116, 136);
    margin-top: 0px; 
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.selected-items-list {
    font-size: 16px;
    color: rgb(4, 116, 136);
    margin-top: 10px;
}


/* Style for the download links */
.download-link-container {
    text-align: center;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between the two links */
}
.download-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    /*font-weight: bold;*/
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2);
    cursor: pointer;
    font-size: 14px;
}
.download-link:hover {
    background-color: #218838;
}