/* _content/Portal/Dialogs/BuyEnergyPricingBreakdown.razor.rz.scp.css */

.header-wrap-limit[b-ayuvxw50zi] {
    white-space: normal; /* allow wrapping at spaces */
    word-break: keep-all; /* don't break inside words */
    overflow: hidden; /* optional: hide overflow */
    text-overflow: ellipsis; /* optional: add "�" if clipped */
    min-width: 200px; /* give it breathing room */
    max-width: 300px; /* cap it so it doesn�t stretch forever */
}



/* Floating button styling */
.floating-button[b-ayuvxw50zi] {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
}

/* Keep dialog itself from double scrolling */
.mud-dialog .mud-dialog-content[b-ayuvxw50zi] {
    overflow-y: hidden !important;
}

/* Fix MudSelect popover inside dialogs */
.mud-dialog .dialog-select-popover[b-ayuvxw50zi] {
    position: absolute !important; /* stays inside dialog */
    z-index: 1500 !important; /* above grid, below floating button */
    min-width: unset !important;
    inset: auto !important; /* prevent layout shift / scrollbar */
}

    .mud-dialog .dialog-select-popover .mud-popover-paper[b-ayuvxw50zi] {
        width: var(--mud-select-input-width, auto) !important;
        max-width: 100% !important;
    }

/* Let sticky elements escape the table's own scroll */
.sticky-grid .mud-table-container[b-ayuvxw50zi] {
    overflow: visible;
}

    /* Sticky header row */
    .sticky-grid .mud-table-container thead th[b-ayuvxw50zi] {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 3;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* subtle shadow for depth */
        font-weight: 600;
    }

    /* Sticky footer row */
    .sticky-grid .mud-table-container tfoot[b-ayuvxw50zi] {
        position: sticky;
        bottom: 0;
        background-color: var(--mud-palette-surface);
        border-top: 2px solid var(--mud-palette-lines-default);
        z-index: 5;
    }

        /* Remove per-cell bottom borders in footer */
        .sticky-grid .mud-table-container tfoot td[b-ayuvxw50zi] {
            border-bottom: none !important;
            font-weight: 600;
        }

    /* Sticky first column - body cells */
    .sticky-grid .mud-table-container td:first-child[b-ayuvxw50zi] {
        position: sticky;
        left: 0;
        background-color: white;
        z-index: 2;
        box-shadow: 2px 0 2px -1px rgba(0,0,0,0.1);
        font-weight: 500;
    }

    /* Sticky first column - header cell */
    .sticky-grid .mud-table-container thead th:first-child[b-ayuvxw50zi] {
        position: sticky;
        left: 0;
        background-color: white;
        z-index: 4;
        box-shadow: 2px 0 2px -1px rgba(0,0,0,0.1);
    }

    /* Sticky first column - footer cell */
    .sticky-grid .mud-table-container tfoot td:first-child[b-ayuvxw50zi] {
        position: sticky;
        left: 0;
        background-color: var(--mud-palette-surface);
        z-index: 6;
        box-shadow: 2px 0 2px -1px rgba(0,0,0,0.1);
    }

/* Switch bar styling */
.switch-bar[b-ayuvxw50zi] {
    padding: 0.75rem 1rem;
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Smooth column toggle transitions */
.sticky-grid th[b-ayuvxw50zi],
.sticky-grid td[b-ayuvxw50zi] {
    transition: all 0.15s ease-in-out;
    padding: 0.5rem 0.75rem; /* more breathing room */
}

/* Table layout fixes */
.sticky-grid table[b-ayuvxw50zi] {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove ghost borders when hiding columns */
.sticky-grid th[hidden][b-ayuvxw50zi],
.sticky-grid td[hidden][b-ayuvxw50zi] {
    border: none !important;
}

/* Remove right border from last visible cell to avoid vertical cut line */
.sticky-grid .mud-table-container col:last-child[b-ayuvxw50zi],
.sticky-grid .mud-table-container th:last-child[b-ayuvxw50zi],
.sticky-grid .mud-table-container td:last-child[b-ayuvxw50zi] {
    border-right: none !important;
}

/* Optional: add a consistent right edge line */
.sticky-grid .mud-table-container[b-ayuvxw50zi]::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--mud-palette-lines-default);
    z-index: 6;
    pointer-events: none;
}

/* Row striping with softer tone */
.sticky-grid tbody tr:nth-child(even)[b-ayuvxw50zi] {
    background-color: #fafafa;
}

/* Highlight important columns */
.sticky-grid td[data-key="AnnualTotalCost"][b-ayuvxw50zi],
.sticky-grid th[data-key="AnnualTotalCost"][b-ayuvxw50zi] {
    background-color: #fff8e1; /* light amber */
}

/* Conditional formatting for Previous Comparison */
.sticky-grid .diff-positive[b-ayuvxw50zi] {
    color: green;
    font-weight: 600;
}

.sticky-grid .diff-negative[b-ayuvxw50zi] {
    color: red;
    font-weight: 600;
}

.sticky-grid .diff-neutral[b-ayuvxw50zi] {
    color: gray;
    font-weight: 600;
}

.bad-performer[b-ayuvxw50zi] {
    background-color: #ffebee; /* light red */
}

.good-performer[b-ayuvxw50zi] {
    background-color: #e8f5e9; /* light green */
}

/* _content/Portal/Shared/MainLayout.razor.rz.scp.css */
.page[b-dgvf162c4q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-dgvf162c4q] {
    flex: 1;
}

.sidebar[b-dgvf162c4q] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dgvf162c4q] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dgvf162c4q]  a, .top-row .btn-link[b-dgvf162c4q] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-dgvf162c4q] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-dgvf162c4q] {
        display: none;
    }

    .top-row.auth[b-dgvf162c4q] {
        justify-content: space-between;
    }

    .top-row a[b-dgvf162c4q], .top-row .btn-link[b-dgvf162c4q] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dgvf162c4q] {
        flex-direction: row;
    }

    .sidebar[b-dgvf162c4q] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dgvf162c4q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-dgvf162c4q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/Portal/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dg1ljn7cqa] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dg1ljn7cqa] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dg1ljn7cqa] {
    font-size: 1.1rem;
}

.oi[b-dg1ljn7cqa] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-dg1ljn7cqa] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dg1ljn7cqa] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dg1ljn7cqa] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dg1ljn7cqa]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-dg1ljn7cqa]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-dg1ljn7cqa]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dg1ljn7cqa] {
        display: none;
    }

    .collapse[b-dg1ljn7cqa] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
