/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-l8ga6bnn26] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-l8ga6bnn26] {
    flex: 1;
}

.sidebar[b-l8ga6bnn26] {
    background-color: var(--app-sidebar-bg);
}

.top-row[b-l8ga6bnn26] {
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

@media (max-width: 640.98px) {
    .top-row[b-l8ga6bnn26] {
        justify-content: space-between;
    }

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

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

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

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

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

    .top-row[b-l8ga6bnn26], article[b-l8ga6bnn26] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-l8ga6bnn26] {
    color-scheme: light only;
    background: var(--blazor-error-banner-bg);
    bottom: 0;
    box-shadow: 0 -1px 2px var(--overlay-light);
    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-l8ga6bnn26] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-oq5x8qjigz] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--brand-white);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--app-sidebar-hover-bg);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem var(--app-sidebar-hover-bg);
}

.navbar-toggler:checked[b-oq5x8qjigz] {
    background-color: var(--navbar-toggler-checked-bg);
}

.top-row[b-oq5x8qjigz] {
    min-height: 3.5rem;
    background-color: var(--overlay-medium);
}

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

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

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

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

    .nav-item[b-oq5x8qjigz]  .nav-link {
        color: var(--app-sidebar-color);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-oq5x8qjigz]  a.active {
    background-color: var(--app-sidebar-active-bg);
    color: var(--app-sidebar-color-active);
}

.nav-item[b-oq5x8qjigz]  .nav-link:hover {
    background-color: var(--app-sidebar-hover-bg);
    color: var(--app-sidebar-color-active);
}

.nav-scrollable[b-oq5x8qjigz] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-oq5x8qjigz] {
    display: flex;
    flex-direction: column;
}

.sidebar-footer[b-oq5x8qjigz] {
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.icon-white[b-oq5x8qjigz] {
    color: var(--brand-white);
}

.nav-item[b-oq5x8qjigz]  .admin-toggle {
    cursor: pointer;
    text-align: left;
    font: inherit;
}

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

    .nav-scrollable[b-oq5x8qjigz] {
        /* Never collapse the sidebar for wide screens */
        display: flex;
        flex-direction: column;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8ny4qovxsd],
.components-reconnect-repeated-attempt-visible[b-8ny4qovxsd],
.components-reconnect-failed-visible[b-8ny4qovxsd],
.components-pause-visible[b-8ny4qovxsd],
.components-resume-failed-visible[b-8ny4qovxsd],
.components-rejoining-animation[b-8ny4qovxsd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-retrying[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-failed[b-8ny4qovxsd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8ny4qovxsd] {
    display: block;
}


#components-reconnect-modal[b-8ny4qovxsd] {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px var(--overlay-shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-8ny4qovxsd 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8ny4qovxsd 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8ny4qovxsd 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8ny4qovxsd]::backdrop {
    background-color: var(--overlay-medium);
    animation: components-reconnect-modal-fadeInOpacity-b-8ny4qovxsd 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8ny4qovxsd {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8ny4qovxsd {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8ny4qovxsd {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8ny4qovxsd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8ny4qovxsd] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8ny4qovxsd] {
    border: 0;
    background-color: var(--app-sidebar-bg);
    color: var(--brand-white);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8ny4qovxsd] {
        background-color: var(--app-sidebar-active-bg);
    }

    #components-reconnect-modal button:active[b-8ny4qovxsd] {
        background-color: var(--app-sidebar-bg);
    }

.components-rejoining-animation[b-8ny4qovxsd] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8ny4qovxsd] {
        position: absolute;
        border: 3px solid var(--app-sidebar-active-bg);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8ny4qovxsd 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8ny4qovxsd] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8ny4qovxsd {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-s5lyaihk1z] {
    margin-bottom: 0.75rem;
}

.theme-toggle .form-check-label[b-s5lyaihk1z] {
    color: var(--app-sidebar-color);
    cursor: pointer;
}

.theme-toggle .form-check-input[b-s5lyaihk1z] {
    cursor: pointer;
}
/* /Components/Pages/Admin/Admin.razor.rz.scp.css */
.user-table[b-nvnn1icyd9] {
    white-space: nowrap;
}

.user-table thead th[b-nvnn1icyd9] {
    border-bottom: 2px solid var(--bs-border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bs-secondary-color);
}

.user-table thead th.sortable[b-nvnn1icyd9] {
    cursor: pointer;
    user-select: none;
}

.modal-actions[b-nvnn1icyd9] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
/* /Components/Pages/Admin/Budget.razor.rz.scp.css */
.budget-summary-grid[b-v8j6hwk9ay] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.budget-table[b-v8j6hwk9ay] {
    white-space: nowrap;
}

.amount[b-v8j6hwk9ay] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.budget-table .amount-cell .badge[b-v8j6hwk9ay] {
    display: inline-block;
    min-width: 9ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.budget-table thead th[b-v8j6hwk9ay] {
    border-bottom: 2px solid var(--bs-border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bs-secondary-color);
}
/* /Components/Pages/Admin/Innberettelse.razor.rz.scp.css */
.expense-table .amount[b-wd6nghmh9w] {
    display: inline-block;
    min-width: 9ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.expense-table .report-toggle-btn[b-wd6nghmh9w] {
    width: 11rem;
}

.modal-actions[b-wd6nghmh9w] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
/* /Components/Pages/Admin/Overview.razor.rz.scp.css */
.usage-cards[b-e90xk3odh6] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.budget-tables-row[b-e90xk3odh6] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.budget-table-col[b-e90xk3odh6] {
    /* Same wrap-to-stack behaviour and max-width cap as .budget-card (BudgetCard.razor.css)
       above, so this row doesn't end up wider than the card row once the cards themselves
       stop growing - side by side (SEP left, Kompetanse right) when there's room, each on its
       own row once the pair no longer fits. */
    flex: 1 1 28rem;
    max-width: 40rem;
}

.budget-table th:nth-child(2)[b-e90xk3odh6],
.budget-table td:nth-child(2)[b-e90xk3odh6] {
    min-width: 16rem;
}

.budget-row-status[b-e90xk3odh6] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.budget-row-figures[b-e90xk3odh6] {
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.budget-table tbody .budget-progress-wrap[b-e90xk3odh6] {
    margin-top: 0.35rem;
}

.budget-table-total td[b-e90xk3odh6] {
    font-weight: 600;
    border-top: 2px solid var(--bs-border-color);
}
/* /Components/Pages/BudgetCard.razor.rz.scp.css */
.budget-card[b-jqsioyy1nx] {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bs-tertiary-bg);
    /* Wide enough that the headline/footer figures stay on one line - grows to fill spare
       row width (e.g. only one card on a row) but wraps onto its own line, rather than
       squeezing next to a sibling, once the row can't fit two at this width. */
    flex: 1 1 30rem;
    max-width: 40rem;
    margin-bottom: 1.25rem;
}

.budget-card-header[b-jqsioyy1nx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.budget-card-title[b-jqsioyy1nx] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}

.budget-card-headline[b-jqsioyy1nx] {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.budget-card-footer[b-jqsioyy1nx] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.budget-card-footer-plain[b-jqsioyy1nx] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}
/* /Components/Pages/ConsultantView.razor.rz.scp.css */
.chart-row[b-hdsljx54d1] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-col[b-hdsljx54d1] {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
}

@media (max-width: 640px) {
    .chart-col[b-hdsljx54d1] {
        flex: 1 1 100%;
    }
}

.chart-overlay-wrapper[b-hdsljx54d1] {
    position: relative;
    /* Charts whose series come from a data-driven @foreach (e.g. invoiced hours) render
       nothing when the list is empty, which collapses the chart's height. Without a floor
       here, the overlay message shrinks along with it instead of centering like it does
       over the other charts. */
    min-height: 350px;
}

.chart-overlay[b-hdsljx54d1] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-body-bg-rgb), 0.6);
    pointer-events: none;
}

/* The Prognose line is hand-drawn SVG (see ConsultantView.razor.js) positioned directly from the
   bar chart's own rendered plot rect, rather than a second ApexChart - see the comment on
   _highlightedPrognosisIndex in the .cs file for why. pointer-events is disabled so the bar chart
   underneath stays hoverable with its normal per-segment tooltip behaviour - the bar chart's
   custom tooltip (also in the .cs file) reads the Prognose value itself instead of relying on
   hovering this layer directly. */
.chart-overlay-line[b-hdsljx54d1] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.prognosis-overlay-svg[b-hdsljx54d1] {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* JS (highlightPrognosisPoint/clearPrognosisHighlight) only ever changes a point circle's r
   attribute - this is what makes that size change animate instead of snapping instantly. */
.prognosis-overlay-svg circle[b-hdsljx54d1] {
    transition: r 0.15s ease;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.usage-cards[b-1ksapnu9l3] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
/* /Components/Pages/KompetanseView.razor.rz.scp.css */
.expense-table[b-aoquz772xa] {
    white-space: nowrap;
}

.expense-table .amount[b-aoquz772xa] {
    display: inline-block;
    min-width: 9ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.expense-table thead th[b-aoquz772xa] {
    border-bottom: 2px solid var(--bs-border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bs-secondary-color);
}

.expense-table td.note-cell[b-aoquz772xa] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-field[b-aoquz772xa] {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-actions[b-aoquz772xa] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-box[b-ocpud2w3nt] {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* /Components/Pages/LoginDenied.razor.rz.scp.css */
/* /Components/Pages/ModalBackdrop.razor.rz.scp.css */
.modal-backdrop-custom[b-5oucchzn24] {
    position: fixed;
    inset: 0;
    background: var(--overlay-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-5oucchzn24] {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 24rem;
    width: 90%;
    box-shadow: 0 0.5rem 1.5rem var(--overlay-shadow);
}

.modal-card-wide[b-5oucchzn24] {
    max-width: 48rem;
}
/* /Components/Pages/SepView.razor.rz.scp.css */
.expense-table[b-x75gbp2u5m] {
    white-space: nowrap;
}

.expense-table .amount[b-x75gbp2u5m] {
    display: inline-block;
    min-width: 9ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.expense-table td.description-cell[b-x75gbp2u5m],
.expense-table td.note-cell[b-x75gbp2u5m] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expense-table thead th[b-x75gbp2u5m] {
    border-bottom: 2px solid var(--bs-border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bs-secondary-color);
}

.expense-table tr.row-incomplete td[b-x75gbp2u5m] {
    box-shadow: inset 0 2px 0 var(--danger), inset 0 -2px 0 var(--danger);
}

.expense-table tr.row-incomplete td:first-child[b-x75gbp2u5m] {
    box-shadow: inset 2px 0 0 var(--danger), inset 0 2px 0 var(--danger), inset 0 -2px 0 var(--danger);
}

.expense-table tr.row-incomplete td:last-child[b-x75gbp2u5m] {
    box-shadow: inset -2px 0 0 var(--danger), inset 0 2px 0 var(--danger), inset 0 -2px 0 var(--danger);
}

.modal-field[b-x75gbp2u5m] {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-actions[b-x75gbp2u5m] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
/* /Components/Pages/UserForm.razor.rz.scp.css */
.form-field[b-ffzfnugfsp] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    max-width: 24rem;
}

.form-field label[b-ffzfnugfsp] {
    font-weight: 600;
}

.form-hint[b-ffzfnugfsp] {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}
