/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-20qbf4o40r] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-20qbf4o40r] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > .content[b-20qbf4o40r] {
    flex: 1 1 auto;
}

.sidebar[b-20qbf4o40r] {
    background: var(--chilli-sidebar-bg);
    background-image: linear-gradient(180deg, var(--chilli-sidebar-bg) 0%, var(--chilli-sidebar-gradient) 100%);
}

.top-row[b-20qbf4o40r] {
    background-color: var(--chilli-topbar-bg);
    border-bottom: 1px solid var(--chilli-topbar-border);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.top-row__left[b-20qbf4o40r],
.top-row__right[b-20qbf4o40r] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.flag[b-20qbf4o40r] {
    font-size: 1.05rem;
    line-height: 1;
}

.icon-button[b-20qbf4o40r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon[b-20qbf4o40r] {
    width: 1.1rem;
    height: 1.1rem;
}

.icon--sm[b-20qbf4o40r] {
    width: .95rem;
    height: .95rem;
}

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

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

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

.menu[b-20qbf4o40r] {
    position: relative;
    z-index: 60;
}

.menu__button[b-20qbf4o40r] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.menu__name[b-20qbf4o40r] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-overlay[b-20qbf4o40r] {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.15);
}

.menu__dropdown[b-20qbf4o40r] {
    position: absolute;
    right: 0;
    top: calc(100% + .35rem);
    min-width: 14rem;
    background: var(--chilli-topbar-bg);
    border: 1px solid var(--chilli-topbar-border);
    border-radius: .5rem;
    padding: .4rem;
    box-shadow: 0 .75rem 2rem rgba(0,0,0,.15);
    z-index: 70;
    overflow: hidden;
}

.dropdown-item[b-20qbf4o40r] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .6rem;
    border: 0;
    border-radius: .35rem;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
}

.dropdown-item:hover[b-20qbf4o40r] {
    background: var(--chilli-sidebar-hover);
}

.dropdown-item.active[b-20qbf4o40r] {
    background: var(--chilli-sidebar-active);
    font-weight: 600;
}

.dropdown-item.disabled[b-20qbf4o40r] {
    opacity: .5;
    cursor: not-allowed;
}

.dropdown-divider[b-20qbf4o40r] {
    height: 1px;
    background: var(--chilli-topbar-border);
    margin: .35rem .25rem;
}

@media (max-width: 640.98px) {
    .top-row[b-20qbf4o40r] {
        justify-content: space-between;
        height: 3rem;
        padding-inline: 0.75rem !important;
    }

    .top-row__right[b-20qbf4o40r] {
        padding-right: 0.5rem;
    }

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

    .menu__name[b-20qbf4o40r] {
        max-width: 8rem;
    }
}

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

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

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

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

#blazor-error-ui[b-20qbf4o40r] {
    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-20qbf4o40r] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ghi08eewe4] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--chilli-sidebar-text);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--chilli-sidebar-hover);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 128, 128, 0.8%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(--chilli-sidebar-hover);
    border-radius: 4px;
}

.navbar-toggler:checked[b-ghi08eewe4] {
    background-color: var(--chilli-sidebar-active);
}

.top-row[b-ghi08eewe4] {
    min-height: 3.5rem;
    background-color: var(--chilli-sidebar-bg);
}

.navbar-brand[b-ghi08eewe4] {
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover[b-ghi08eewe4] {
    text-decoration: none;
}

.brand-text[b-ghi08eewe4] {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-shift-b-ghi08eewe4 3s linear infinite;
}

@keyframes rainbow-shift-b-ghi08eewe4 {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.brand-icon[b-ghi08eewe4] {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--chilli-accent-color);
}

.navbar-brand:hover .brand-icon[b-ghi08eewe4] {
    color: var(--chilli-accent-color-hover);
}

.nav-icon[b-ghi08eewe4] {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    color: currentColor;
}

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

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

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

    .nav-item[b-ghi08eewe4]  .nav-link {
        color: var(--chilli-sidebar-text-muted);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0 0.75rem;
        line-height: 3rem;
        width: 100%;
        text-decoration: none;
    }

.nav-item[b-ghi08eewe4]  a.active {
    background-color: var(--chilli-sidebar-active);
    color: var(--chilli-sidebar-text);
}

.nav-item[b-ghi08eewe4]  .nav-link:hover {
    background-color: var(--chilli-sidebar-hover);
    color: var(--chilli-sidebar-text);
}

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

.navbar-toggler:checked ~ .nav-scrollable[b-ghi08eewe4] {
    display: block;
}

.nav-link-button[b-ghi08eewe4] {
    appearance: none;
    background: none;
    border: 0;
    padding: 0 0.75rem;
    color: var(--chilli-sidebar-text-muted);
    width: 100%;
    text-align: left;
    height: 3rem;
    line-height: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link-button:hover[b-ghi08eewe4] {
    color: var(--chilli-sidebar-text);
    background-color: var(--chilli-sidebar-hover);
    border-radius: 4px;
}

.nav-item[b-ghi08eewe4]  .nav-link.sub {
    padding-left: 2rem;
}

.submenu-caret[b-ghi08eewe4] {
    margin-left: auto;
}

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

    .nav-scrollable[b-ghi08eewe4] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4x4rj68po8],
.components-reconnect-repeated-attempt-visible[b-4x4rj68po8],
.components-reconnect-failed-visible[b-4x4rj68po8],
.components-pause-visible[b-4x4rj68po8],
.components-resume-failed-visible[b-4x4rj68po8],
.components-rejoining-animation[b-4x4rj68po8] {
    display: none;
}

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


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

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

}

#components-reconnect-modal[b-4x4rj68po8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-4x4rj68po8 0.5s ease-in-out;
    opacity: 1;
}

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

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

@keyframes components-reconnect-modal-fadeInOpacity-b-4x4rj68po8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-4x4rj68po8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4x4rj68po8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4x4rj68po8] {
        background-color: #6b9ed2;
    }

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

    .components-rejoining-animation div[b-4x4rj68po8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4x4rj68po8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-4x4rj68po8 {
    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/Pages/Dashboard.razor.rz.scp.css */
.dashboard-icon[b-kuf5v9zjkx] {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-icon .icon[b-kuf5v9zjkx] {
    width: 1.25rem;
    height: 1.25rem;
}

.card[b-kuf5v9zjkx] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover[b-kuf5v9zjkx] {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.1);
}

:root[data-bs-theme='dark'] .card:hover[b-kuf5v9zjkx] {
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.3);
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-container[b-5qu2r21qm0] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card[b-5qu2r21qm0] {
    width: 100%;
    max-width: 28rem;
}

/* Make the card pop more in light mode */
:root:not([data-bs-theme='dark']) .login-card .card[b-5qu2r21qm0] {
    box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, .14) !important;
}

/* Slightly softer in dark mode */
:root[data-bs-theme='dark'] .login-card .card[b-5qu2r21qm0] {
    box-shadow: 0 .9rem 2.2rem rgba(0, 0, 0, .35) !important;
}

.login-header[b-5qu2r21qm0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}

.login-title[b-5qu2r21qm0] {
    font-weight: 600;
}

.login-theme[b-5qu2r21qm0] {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
}

.login-theme .icon[b-5qu2r21qm0] {
    width: 1.1rem;
    height: 1.1rem;
}

/* Remove the heavy bootstrap focus ring / highlight for this icon button */
.login-theme:focus[b-5qu2r21qm0],
.login-theme:focus-visible[b-5qu2r21qm0],
.login-theme:active[b-5qu2r21qm0] {
    outline: none;
    box-shadow: none;
}


.login-container .icon[b-5qu2r21qm0] {
    width: 1.1rem;
    height: 1.1rem;
}

.login-dots[b-5qu2r21qm0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 .25rem;
    margin: .25rem 0 1.1rem;
    height: 1.75rem;
    opacity: .8;
}

.login-dot[b-5qu2r21qm0] {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgba(13,110,253,.25);
    animation: login-dot-wave-b-5qu2r21qm0 1.25s ease-in-out infinite;
}

@keyframes login-dot-wave-b-5qu2r21qm0 {
    0%, 100% { transform: translateY(0); background: rgba(13,110,253,.24); }
    50% { transform: translateY(-.5rem); background: rgba(13,110,253,.65); }
}

@media (prefers-reduced-motion: reduce) {
    .login-dot[b-5qu2r21qm0] { animation: none; }
}
/* /Components/Pages/UnitConversionPage.razor.rz.scp.css */
/* Responsive table: stack rows as cards on small screens */
@media (max-width: 767.98px) {
    .table[b-urze8gbiat] {
        display: block;
        width: 100%;
    }

    .table thead[b-urze8gbiat] {
        display: none;
    }

    .table tbody[b-urze8gbiat] {
        display: block;
    }

    .table tbody tr[b-urze8gbiat] {
        display: block;
        margin-bottom: .75rem;
        border: 1px solid var(--bs-border-color, rgba(255,255,255,.1));
        border-radius: .5rem;
        overflow: hidden;
        background: var(--bs-body-bg);
    }

    .table tbody tr td[b-urze8gbiat] {
        display: flex;
        justify-content: space-between;
        padding: .5rem .75rem;
        border: 0;
        border-bottom: 1px solid var(--bs-border-color, rgba(255,255,255,.05));
    }

    .table tbody tr td:last-child[b-urze8gbiat] {
        border-bottom: 0;
    }

    .table tbody tr td[b-urze8gbiat]::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: .5rem;
    }

    .table-actions[b-urze8gbiat] {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        padding: .75rem !important;
    }

    .table-actions[b-urze8gbiat]::before {
        display: none;
    }

    .table-actions .btn[b-urze8gbiat] {
        width: 100%;
        margin-left: 0 !important;
    }
}
/* /Components/Pages/UnitsPage.razor.rz.scp.css */
.row-highlight[b-r2mq6rhokj] {
    /* Theme-aware highlight using Bootstrap vars */
    background-color: color-mix(in srgb, var(--bs-warning-bg-subtle) 70%, transparent);
}

/* Blink the saved row with brief white flash that works in dark/light */
@keyframes blink-white-b-r2mq6rhokj {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    10% { box-shadow: 0 0 0 9999px rgba(255,255,255,0.85) inset; }
    30% { box-shadow: 0 0 0 9999px rgba(255,255,255,0.0) inset; }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.blink-white[b-r2mq6rhokj] {
    position: relative;
    animation: blink-white-b-r2mq6rhokj 1s ease-out 1;
}

/* Ensure table stripe/hover don't override the highlight entirely */
.table .row-highlight > td[b-r2mq6rhokj] {
    background-color: inherit;
}

/* Responsive table: stack rows as cards on small screens */
@media (max-width: 767.98px) {
    .table[b-r2mq6rhokj] {
        display: block;
        width: 100%;
    }

    .table thead[b-r2mq6rhokj] {
        display: none;
    }

    .table tbody[b-r2mq6rhokj] {
        display: block;
    }

    .table tbody tr[b-r2mq6rhokj] {
        display: block;
        margin-bottom: .75rem;
        border: 1px solid var(--bs-border-color, rgba(255,255,255,.1));
        border-radius: .5rem;
        overflow: hidden;
        background: var(--bs-body-bg);
    }

    .table tbody tr td[b-r2mq6rhokj] {
        display: flex;
        justify-content: space-between;
        padding: .5rem .75rem;
        border: 0;
        border-bottom: 1px solid var(--bs-border-color, rgba(255,255,255,.05));
    }

    .table tbody tr td:last-child[b-r2mq6rhokj] {
        border-bottom: 0;
    }

    .table tbody tr td[b-r2mq6rhokj]::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: .5rem;
    }

    .table-actions[b-r2mq6rhokj] {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        padding: .75rem !important;
    }

    .table-actions[b-r2mq6rhokj]::before {
        display: none;
    }

    .table-actions .btn[b-r2mq6rhokj] {
        width: 100%;
        margin-left: 0 !important;
    }
}
/* /Components/Shared/ModalDialog.razor.rz.scp.css */
.modal-overlay[b-ogsmwg379o] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}

.modal-container[b-ogsmwg379o] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 480px);
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    padding: 0;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    z-index: 1050;
}

.modal-header[b-ogsmwg379o], .modal-footer[b-ogsmwg379o] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.modal-footer[b-ogsmwg379o] {
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 0;
    justify-content: flex-end;
}

.modal-body[b-ogsmwg379o] {
    padding: 1rem;
}

.level-info .modal-header[b-ogsmwg379o] { background-color: var(--bs-info-bg-subtle); }
.level-warning .modal-header[b-ogsmwg379o] { background-color: var(--bs-warning-bg-subtle); }
.level-error .modal-header[b-ogsmwg379o] { background-color: var(--bs-danger-bg-subtle); }

.level-icon[b-ogsmwg379o] { margin-right: .25rem; }
