body {
    background-color: #ffffff; 
    color: #333333; 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
    margin: 0;
    padding: 0;
}

h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #232323; 
    text-align: left; 
}

.container {
    display: flex;
    /* height: 100vh;  */
}

/* .control-panel {
    display: inline-table;
    align-items: flex-start;
    width: 25%; 
    height: min-content;
    background-color: #ffffff; 
    padding: 20px; 
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box;
} */

.control-panel {
    display: inline-table;
    flex-direction: column;
    position: fixed; /* Keep it fixed on the side */
    top: 0;
    left: 0;
    width: 25%; 
    height: 100vh; /* Full height */
    background-color: #ffffff; 
    padding: 20px; 
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box;
    overflow-y: auto; /* Allows scrolling if content is long */
}

.control-panel label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.control-panel .dash-dropdown {
    width: 100%; 
    margin-bottom: 10px; 
    min-height: 40px; 
    white-space: normal; 
    font-size: 14px;
    box-sizing: border-box;
    word-wrap: break-word; 
}

.control-panel .dash-dropdown .Select-control {
    white-space: normal !important; 
    overflow-wrap: anywhere;
    width: 323px;
    border-color: #5079b2; 
    box-shadow: 0 1px 2px #5079b2;
}

.control-panel .dash-dropdown .Select-menu-outer {
    white-space: normal; 
    word-wrap: break-word; 
    overflow-wrap: break-word;
    line-height: 0.85; /* Adjust line-height globally */
    font-size: 11px; /* Adjust font-size if needed */
}

.control-panel .dash-dropdown .Select-menu-outer {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 12px; 
}

.control-panel .dash-dropdown .Select-option {
    white-space: normal !important; 
    word-wrap: break-word !important;
    overflow-wrap: anywhere; 
    font-size: 12px; 
    max-width: 300px;
    height: auto !important; 
}

.control-panel .dash-dropdown .Select-value-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere;
}

/* #graph-and-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
} */

#graph-and-legend {
    width: 100%; /* Rest of the page */
    margin-left: 25%; /* Offset to match the control panel */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px; /* Space from the edges */
    background-color: #ffffff; /* Ensure background is white */
}

.graph {
    width: 100%;
}

.map-legend {
    width: 100%;
    text-align: center;
}

button#toggle-view {
    background-color: #850303; 
    color: white; 
    font-size: 16px; 
    font-weight: bold;  
    border: none; 
    border-radius: 7px; 
    padding: 12px 24px; 
    cursor: pointer;  
    transition: background-color 0.3s ease; 
    width: 100%;  
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

button#toggle-view:hover {
    background-color: #5079b2;
}

button#download-button {
    background-color: #022c41; /* A complementary color */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px; 
}

button#download-button:hover {
    background-color: #5079b2; 
}

#export-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; 
    padding: 10px;
    border: 1px solid #cccccc;
}