body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    /*background-color: #f8f9fa;*/
}
.title {
    color: rgba(29,31,33,0.75);
    font-size: 24px;
    text-align: left;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 2px solid #e9ecef;
}
.chart-wrapper {
    display: flex;
    flex: 1;
    margin: 20px; /* Spacing between chart containers */
    margin-top: 0px;
    align-items: stretch; /* Ensure sidebar and content are the same height */
    height: 100%; /* Ensure chart-wrapper takes full height available */
}

.sidebar {
    width: 250px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0; /* Prevent shrinking */
    margin-right: 20px;
}

.content {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tabset {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    user-select: none;
    color: rgba(29,31,33,0.5);
    transition: border-bottom-color 0.3s ease;
}

.tab:hover,
.tab.active {
    font-weight: bold;
    border-bottom-color: #e9ecef;
    color: rgba(29,31,33,0.75);
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    flex-grow: 1;
    overflow-y: auto;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

#chart {
    width: 100%;
    height: 100%;
    outline: none;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.dropdown-container {
    display: flex;
    gap: 10px; /* Adds spacing between dropdowns */
}

.dropdown select {
    flex-grow: 1; /* Allows dropdowns to expand equally */
    min-width: 120px; /* Ensures they don’t become too small */
    max-width: 250px; /* Prevents them from becoming too wide */
}

.dropdown label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}