/* /Shared/Dashboard/EnergyLossCard.razor.rz.scp.css */

.kpi-card[b-588bi1y80c] {
    border-radius: 0.25rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.kpi-card:hover[b-588bi1y80c] {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.kpi-header[b-588bi1y80c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kpi-title[b-588bi1y80c] {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

.kpi-icon[b-588bi1y80c] {
    opacity: 0.8;
    font-size: 1.25rem;
}

.kpi-value[b-588bi1y80c] {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.kpi-trend[b-588bi1y80c] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.trend-up[b-588bi1y80c] {
    background-color: rgba(16, 185, 129, 0.2);
    color: #ecfdf5;
}

.trend-down[b-588bi1y80c] {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fef2f2;
}

.kpi-subtitle[b-588bi1y80c] {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.kpi-footer[b-588bi1y80c] {
    position: absolute;
    bottom: 1.5rem; /* Adjust based on your padding */
    right: 1.5rem; /* Adjust based on your padding */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

    /* Optional: Adjust the score badge to be on top of the text */
    .kpi-footer .kpi-score[b-588bi1y80c] {
        flex-direction: column-reverse;
    }


/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-333xqmj1d1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-333xqmj1d1] {
    flex: 1;
}

.sidebar[b-333xqmj1d1] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-333xqmj1d1] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-333xqmj1d1]  a, .top-row[b-333xqmj1d1]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-333xqmj1d1]  a:hover, .top-row[b-333xqmj1d1]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-333xqmj1d1]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-333xqmj1d1] {
        display: none;
    }

    .top-row.auth[b-333xqmj1d1] {
        justify-content: space-between;
    }

    .top-row[b-333xqmj1d1]  a, .top-row[b-333xqmj1d1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-333xqmj1d1] {
        flex-direction: row;
    }

    .sidebar[b-333xqmj1d1] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-333xqmj1d1] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-333xqmj1d1]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-333xqmj1d1], article[b-333xqmj1d1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-izgpcqzxpv] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-izgpcqzxpv] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-izgpcqzxpv] {
    font-size: 1.1rem;
}

.oi[b-izgpcqzxpv] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-izgpcqzxpv] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-izgpcqzxpv] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-izgpcqzxpv] {
        padding-bottom: 1rem;
    }

    .nav-item[b-izgpcqzxpv]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-izgpcqzxpv]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-izgpcqzxpv]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-izgpcqzxpv] {
        display: none;
    }

    .collapse[b-izgpcqzxpv] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-izgpcqzxpv] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
