@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.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%;
    min-height: 100vh;
    background-color: #fffafc;
    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;
}

    .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] {
    flex: 0 0 260px; /* fixed width */
    background-color: white;
    padding: 1.5rem;
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin: 1rem;
}

.top-scenario-bar[b-u16kzvo2hd] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    padding: 1.25rem 2rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin: 1rem 1rem 0 1rem;
}

.middle-panel[b-u16kzvo2hd] {
    flex: 1 1 auto; /* flexible, fills remaining space */
    background-color: transparent;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
    .content-area[b-u16kzvo2hd] {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column; /* if you have chart and grid side-by-side */
        justify-content: flex-start; /* Chart at the top */
        gap: 1rem;
    }

.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: #cbd5e1 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 1.25rem !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    height: 2.25rem;
    margin-top: 1rem;
    border-radius: 6px !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .gray-button:hover[b-u16kzvo2hd] {
        background-color: #94a3b8 !important;
        border-color: #94a3b8 !important;
        color: white !important;
    }

.outline-button[b-u16kzvo2hd] {
    background-color: white !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 1.25rem !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    height: 2.25rem;
    border-radius: 6px !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.outline-button:hover[b-u16kzvo2hd] {
    background-color: #94a3b8 !important;
    border-color: #94a3b8 !important;
    color: white !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;
    }

/* 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 */
}

.leftmost-panel[b-u16kzvo2hd],
.middle-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;
}

.control-dropdown[b-u16kzvo2hd],
.top-scenario-bar select[b-u16kzvo2hd],
.leftmost-panel select[b-u16kzvo2hd] {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 100%;
    min-width: 12rem; /* Give dropdowns more breathing room */
    transition: border-color 0.2s, box-shadow 0.2s;
}

.control-dropdown:focus[b-u16kzvo2hd],
.top-scenario-bar select:focus[b-u16kzvo2hd],
.leftmost-panel select:focus[b-u16kzvo2hd] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.beta-badge[b-u16kzvo2hd] {
    background-color: #FFD700;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}
