@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-jd3ljrpyv3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-jd3ljrpyv3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Home.razor.rz.scp.css */
body[b-u16kzvo2hd], html[b-u16kzvo2hd] {
    margin: 0;
    padding: 0;
    height: 100%;
}

.outermost-container[b-u16kzvo2hd] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh; /* good, or 100vh if needed */
    overflow: hidden; /* <-- important new addition */
    min-height: 0;
    background-color: #f4f4f4;
    padding: 0;
    margin: 0;
}

.control-bar[b-u16kzvo2hd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0rem;
    align-items: flex-start;
    flex: 0 0 auto; /* <-- New line added here! */
    height: 2.5rem; /* <-- Fixed height */
}

    .control-bar select[b-u16kzvo2hd] {
        width: 12rem; /* uniform width */
        margin-bottom: 0.5rem;
        height: 2.0rem; /* uniform height */
        font-size: small;
    }


.disabled-overlay[b-u16kzvo2hd] {
    pointer-events: none;
    opacity: 0.5;
}


.control-group[b-u16kzvo2hd] {
    display: flex;
    flex-direction: column;
}

    .control-group label[b-u16kzvo2hd] {
        margin-bottom: 0.25rem;
        font-weight: bold;
    }

.control-dropdown[b-u16kzvo2hd] {
    padding: 0.5rem;
    font-size: 1rem;
}


.content-layout[b-u16kzvo2hd] {
    display: flex;
    height: 100%;
    width: 100%;
}

.leftmost-panel[b-u16kzvo2hd] {
    /* Temporarily hidden until final design decision */
    flex: 0 0 200px; /* fixed width */
    background-color: #f8d7da;
    padding: 1rem;
    display: none;
}

.middle-panel[b-u16kzvo2hd] {
    flex: 1 1 auto; /* flexible, fills remaining space */
    background-color: #d4edda;
    padding: 0.1rem;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem; /* or 1.5rem if you want slightly more breathing room */
    gap: 1rem;
    overflow: hidden; /* prevent overflow */
    /*height: calc(100dvh - 140px);*/ /* <-- Adjust based on your header + footer size */
}
    .content-area[b-u16kzvo2hd] {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
        display: flex;
        flex-direction: column; /* if you have chart and grid side-by-side */
        gap: 1rem;
    }

.rightmost-panel[b-u16kzvo2hd] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #d1ecf1;
    padding: 1rem;
    overflow-y: auto; /* Optional: Scroll if there are too many dropdowns */
    width: 10%;
    max-width: 250px; /* or 200px depending on taste */
}


.Footer[b-u16kzvo2hd] {
    background-color: #f8f9fa;
    text-align: center;
    padding-top: 0rem;
    height: 140px;
    min-height: 140px;
}

.footer-logos[b-u16kzvo2hd] {
    display: flex;
    flex-direction: row; /* Ensure horizontal layout */
    justify-content: center; /* Center logos */
    align-items: center; /* Vertically center logos if they vary in height */
    gap: 2rem; /* Equal spacing between logos */
    max-height: 140px;
    min-height: 140px;
    justify-content: center;
}

    .footer-logos img[b-u16kzvo2hd] {
        height: 40px; /* Consistent height for all logos */
        object-fit: contain; /* Maintain logo proportions */
    }

/* Control styles */
.gray-button[b-u16kzvo2hd] {
    background-color: lightgray !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: transform 0.1s ease, background-color 0.3s ease !important;
    height: 2rem;
    margin-top: 1rem;
}

    .gray-button:hover[b-u16kzvo2hd] {
        background-color: gray !important;
    }

.container[b-u16kzvo2hd] {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.content[b-u16kzvo2hd] {
    flex-grow: 1;
    padding: 1rem;
}

.dropdown label[b-u16kzvo2hd] {
    display: block;
    margin-bottom: 0.5rem;
}

.dropdown select[b-u16kzvo2hd] {
    width: 100%;
    padding: 0.5rem;
}

.button:active[b-u16kzvo2hd] {
    transform: translateY(2px);
}

.vertical-align[b-u16kzvo2hd] {
    display: flex;
    flex-direction: column;
}

.chart-container[b-u16kzvo2hd] {
    flex: 2 1 0%;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    overflow: hidden;
}

.grid-container[b-u16kzvo2hd] {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
    padding: 0.5rem;
    background-color: transparent; /* or whatever */
    display: flex;
    flex-direction: column;
}

    .grid-container > *[b-u16kzvo2hd] {
        background-color: white; /* cell background */
        border: 1px solid #ccc; /* gridline border around each cell */
        padding: 0.5rem;
    }

.rightmost-panel select[b-u16kzvo2hd] {
    width: 100%;
    margin-bottom: 0.5rem; /* <-- New line to add space between selects */
}

/* Debug mode backgrounds */
.debug-backgrounds .leftmost-panel[b-u16kzvo2hd] {
    background-color: #f8d7da; /* light red */
}

.debug-backgrounds .middle-panel[b-u16kzvo2hd] {
    background-color: #d4edda; /* light green */
}

.debug-backgrounds .rightmost-panel[b-u16kzvo2hd] {
    background-color: #d1ecf1; /* light blue */
}

.leftmost-panel[b-u16kzvo2hd],
.middle-panel[b-u16kzvo2hd],
.rightmost-panel[b-u16kzvo2hd] {
    background-color: transparent;
}

.grid-container > table[b-u16kzvo2hd] {
    flex: 1 1 auto; /* Allow it to grow */
    min-height: 0; /* Allow it to shrink if necessary */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: block;
}
