body {
    font-family: "Lato", sans-serif;
    margin: 0;
    background-color: #ffffff;
}

.header {
    background-color: #255532;
    height: 90px;
    padding: 16px 0 0 0;
    width: 100%;
}

.header2 {
    background-color: #ffffff;
    height: 90px;
    padding: 15px 0px 0px 0px;
    width: 100%;
    border: 1px solid #255532;
}

.header-emoji {
    font-size: 40px;
    margin: 0 auto;
    text-align: center;
}

.header-title {
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    font-family: "Tahoma";
}


.header button {
    position: absolute;
    right: 0;
}

.header-description {
    color: #0c4213;
    margin: 4px auto;
    text-align: center;
    max-width: 500px;
    font-size: 18px;
    font-family: "Tahoma"
}

.text {
    color:#000000;
    text-align: center;
    font-size: 15px;
    font-family: "Tahoma";
}

.wrapper {
    display: flex; /* Flexbox to manage sidebar and main content layout */
    flex-direction: column;
    width: 100%;
    padding: 10px 10px;
    margin-top: 10px;
}
    

.sidebar-container { 
    position: fixed;
    display: flex;
    justify-content: flex-start;
    width: 21rem;
    top: 110px; /* Sidebar appears below the header */
    bottom: 90px;    
    background-color: #f8f9fa;
    overflow-y: auto;  /* Enable vertical scrolling */  
}

.sidebar-style {
    top: 100px;  /* Sidebar appears below the header */
    left: 10px;
    width: 21rem;
    height: 100%;
    padding: 2rem 1rem;
    background-color: #f8f9fa;
    border: 2px solid #000000;  /* Add a border */
    overflow-y : auto  /* Allow scrolling when content overflows */
}

.sidebar-header {
    color: #d1a71b;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    font-family: "Tahoma"
}

.card {
    margin-bottom: 24px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.18);
}


/* ---------- Dropdown Sizing and Wrapping ---------- */

/* Set the width of the visible dropdown control */
.Select-control {
    width: 300px !important;
    min-height: 48px !important;
}

/* Ensure the placeholder and selected value align vertically */
.Select--single > .Select-control .Select-value,
.Select-placeholder {
    line-height: 48px !important;
    white-space: normal !important;
}

/* Allow wrapping in multi-select dropdowns if used */
.Select--multi .Select-value-label {
    line-height: 32px !important;
    white-space: normal !important;
}

/* Set width and enable word wrap in dropdown menu */
.Select-menu-outer {
    width: 300px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    z-index: 1050 !important;
}

/* Ensure each dropdown option auto-expands for long text */
.VirtualizedSelectOption,
.Select-option {
    white-space: normal !important;
    height: auto !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    display: block !important;
}

/* Allow selected value in dropdown box to wrap if needed */
.Select-value-label {
    white-space: normal !important;
}

.menu-title {
    margin-bottom: 6px;
    font-weight: bold;
    color: #079A82;
}

.main-content {
    display: flex;
    flex-direction: column;
    margin-left: 20rem; /* Ensures the content doesn't get hidden behind the sidebar */
    width: calc(100% - 20rem); /* Ensures it spans the remaining width */
    padding: 1rem; /* Adds padding to the content */
}


/* General graph styles */
.graph {
    width: 700px;  /* Could put a percentage e.g., to make graphs take up 48% of the container width */
    height: 600px;  /* Fixed height */
    border: 2px solid #E1A91E;  /* Add a border */
    margin-bottom: 20px;  /* Add space below each graph */
    background-color: #ffffff;
}


/* Flexbox container for graphs */
.graphs-wrapper {
    display: flex;
    justify-content: space-between;  /* Distribute graphs with space between them */
    gap: 10px;  /* Add gap between graphs */
    flex-wrap: wrap;  /* Allow graphs to wrap to the next line on smaller screens */
    background-color: #ffffff;
    width: 100%;
    left: 20rem;
}


/* For small screens, adjust the graph width */
@media (max-width: 768px) {
    .graph {
        width: 100%;
        height: 300px;  /* Reduce the height for smaller screens */
    }

    .graphs-wrapper {
        flex-direction: column;  /* Stack the graphs vertically */
        gap: 10px;
    }
}

.results-text{
    color: #000000;
    text-align: left;
    font-size: 20px;
    font-family: "Tahoma";
}

/* Grey out disabled buttons */
button:disabled,
.dbc-button:disabled {
    background-color: #d3d3d3 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border-color: #ccc !important;
}

