/* /Components/Common/Grid/GridToolbarDefault.razor.rz.scp.css */
/* GridToolbarDefault - CSS aligned with MessageCenter */
.toolbar[b-lasrnapiot] {
    border: #ddd solid 1px;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    max-width: 100%;
    --tb-btn-size: 38px;
}

.toolbar-container[b-lasrnapiot] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
}

.toolbar-buttons[b-lasrnapiot] {
    display: flex;
    gap: 8px;
    align-items: center;
}

[b-lasrnapiot] .toolbar .k-icon-button {
    width: var(--tb-btn-size) !important;
    min-width: var(--tb-btn-size) !important;
    height: var(--tb-btn-size) !important;
    min-height: var(--tb-btn-size) !important;
    padding: 0 !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

[b-lasrnapiot] .toolbar .k-button:not(.k-icon-button) {
    height: var(--tb-btn-size);
}

[b-lasrnapiot] .toolbar .k-button .k-svg-icon {
    width: 1.25rem;
    height: 1.25rem;
}

[b-lasrnapiot] .toolbar .k-button .k-button-text {
    padding: 0;
    line-height: 1;
}
/* /Components/Common/Grid/GridToolbarList.razor.rz.scp.css */
/* ===========================
   GridToolbarList – CSS
   Stile coerente con GridToolbarDefault
   =========================== */

.toolbar[b-1nfmaksrdi] {
    border: #ddd solid 1px;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    max-width: 100%;
    --tb-btn-size: 38px;
}

.toolbar-container[b-1nfmaksrdi] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar-buttons[b-1nfmaksrdi] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar-right[b-1nfmaksrdi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-1nfmaksrdi] .toolbar .k-icon-button {
    width: var(--tb-btn-size) !important;
    min-width: var(--tb-btn-size) !important;
    height: var(--tb-btn-size) !important;
    min-height: var(--tb-btn-size) !important;
    padding: 0 !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

[b-1nfmaksrdi] .toolbar .k-button:not(.k-icon-button) {
    height: var(--tb-btn-size);
}

[b-1nfmaksrdi] .toolbar .k-button .k-svg-icon {
    width: 1.25rem;
    height: 1.25rem;
}

[b-1nfmaksrdi] .toolbar .k-button .k-button-text {
    padding: 0;
    line-height: 1;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-eudwi746x7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-eudwi746x7] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-eudwi746x7] {
    background:
        linear-gradient(180deg, rgba(35, 50, 58, 0.98) 0%, rgba(24, 38, 45, 0.98) 100%);
    border-right: 1px solid rgba(157, 184, 200, 0.28);
    box-shadow: inset -1px 0 0 rgba(157, 184, 200, 0.14);
}

.top-row[b-eudwi746x7] {
    background: rgba(247, 251, 255, 0.92);
    border-bottom: 1px solid rgba(157, 184, 200, 0.7);
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 8px 24px rgba(35, 50, 58, 0.08);
    backdrop-filter: blur(10px);
}

.top-row[b-eudwi746x7]  a,
.top-row[b-eudwi746x7]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
}

.topbar-user[b-eudwi746x7] {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(22, 140, 130, 0.1);
    border: 1px solid rgba(22, 140, 130, 0.2);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ctf-green-deep);
    white-space: nowrap;
}

.top-row-content[b-eudwi746x7] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.ctf-topbar-context[b-eudwi746x7] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-right: auto;
}

.ctf-topbar-kicker[b-eudwi746x7] {
    color: var(--ctf-green-deep);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.ctf-topbar-subtitle[b-eudwi746x7] {
    color: var(--ctf-ink-soft);
    font-size: 0.95rem;
    font-weight: 600;
}

.ctf-topbar-emphasis[b-eudwi746x7] {
    color: var(--ctf-red);
}

.top-row[b-eudwi746x7]  .btn-primary {
    min-height: 2.9rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ctf-green) 0%, var(--ctf-green-deep) 100%);
    border-color: var(--ctf-green-deep);
    color: #ffffff;
    font-weight: 700;
}

.top-row[b-eudwi746x7]  .btn-primary:hover,
.top-row[b-eudwi746x7]  .btn-primary:focus {
    background: linear-gradient(135deg, var(--ctf-green-deep) 0%, #064f55 100%);
    border-color: #064f55;
    color: #ffffff;
}

.top-row[b-eudwi746x7]  .btn-outline-primary {
    min-height: 2.9rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border-color: rgba(241, 143, 1, 0.28);
    color: var(--ctf-red);
    font-weight: 700;
}

.top-row[b-eudwi746x7]  .btn-outline-primary:hover,
.top-row[b-eudwi746x7]  .btn-outline-primary:focus {
    background: rgba(241, 143, 1, 0.08);
    color: var(--ctf-red);
    border-color: rgba(241, 143, 1, 0.4);
}

@media (max-width: 640.98px) {
    .top-row[b-eudwi746x7] {
        height: auto;
        min-height: 3.5rem;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .top-row[b-eudwi746x7]  a,
    .top-row[b-eudwi746x7]  .btn-link {
        margin-left: 0;
    }

    .ctf-topbar-context[b-eudwi746x7] {
        width: 100%;
    }
}

@media (min-width: 641px) {
    .page[b-eudwi746x7] {
        flex-direction: row;
    }

    .sidebar[b-eudwi746x7] {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        flex: 0 0 320px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-eudwi746x7],
    article[b-eudwi746x7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-eudwi746x7] {
    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-eudwi746x7] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-lqr8rkqljh] {
    appearance: none;
    cursor: pointer;
    width: 3.35rem;
    height: 2.5rem;
    color: #f7fbff;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(247, 251, 255, 0.2);
    border-radius: 12px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28247, 251, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem rgba(255, 255, 255, 0.06);
}

.navbar-toggler:checked[b-lqr8rkqljh] {
    background-color: rgba(255, 255, 255, 0.12);
}

.ctf-nav-header[b-lqr8rkqljh] {
    min-height: 9.5rem;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(232, 242, 247, 0.98) 100%);
    border-bottom: 1px solid rgba(157, 184, 200, 0.28);
}

.ctf-nav-brand[b-lqr8rkqljh] {
    width: 100%;
    padding: 1rem 0.35rem 0.9rem 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ctf-ink);
    text-decoration: none;
}

.ctf-nav-brand:hover[b-lqr8rkqljh] {
    color: var(--ctf-ink);
}

.ctf-nav-brand-lockup[b-lqr8rkqljh] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ctf-nav-logo-round[b-lqr8rkqljh] {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.1rem;
}

.ctf-nav-logo-rect[b-lqr8rkqljh] {
    width: 150px;
    height: auto;
    padding: 0.45rem 0.55rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(157, 184, 200, 0.45);
}

.nav-item[b-lqr8rkqljh] {
    font-size: 0.98rem;
    padding-bottom: 0.45rem;
}

.nav-item[b-lqr8rkqljh]  .menu-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    vertical-align: middle;
    opacity: 0.95;
}

.nav-group[b-lqr8rkqljh] {
    color: rgba(247, 251, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    padding-left: 0.25rem;
}

.nav-item:first-of-type[b-lqr8rkqljh] {
    padding-top: 0.75rem;
}

.nav-item:last-of-type[b-lqr8rkqljh] {
    padding-bottom: 1rem;
}

.nav-item[b-lqr8rkqljh]  a {
    color: rgba(247, 251, 255, 0.92);
    border-radius: 14px;
    min-height: 3rem;
    display: flex;
    align-items: center;
    line-height: 1.35;
    width: 100%;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.nav-item[b-lqr8rkqljh]  a.active {
    background: linear-gradient(135deg, rgba(22, 140, 130, 0.28) 0%, rgba(22, 140, 130, 0.16) 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(22, 140, 130, 0.3);
}

.nav-item[b-lqr8rkqljh]  a:hover {
    background-color: rgba(247, 251, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.nav-scrollable[b-lqr8rkqljh] {
    display: none;
    padding: 0.65rem 0.35rem 1rem;
}

.navbar-toggler:checked ~ .nav-scrollable[b-lqr8rkqljh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-lqr8rkqljh] {
        display: none;
    }

    .nav-scrollable[b-lqr8rkqljh] {
        display: block;
        height: calc(100vh - 9.5rem);
        overflow-y: auto;
        min-width: 320px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7lsysr9i2g],
.components-reconnect-repeated-attempt-visible[b-7lsysr9i2g],
.components-reconnect-failed-visible[b-7lsysr9i2g],
.components-pause-visible[b-7lsysr9i2g],
.components-resume-failed-visible[b-7lsysr9i2g],
.components-rejoining-animation[b-7lsysr9i2g] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-retrying[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-failed[b-7lsysr9i2g],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7lsysr9i2g] {
    display: block;
}


#components-reconnect-modal[b-7lsysr9i2g] {
    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-7lsysr9i2g 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-7lsysr9i2g 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7lsysr9i2g 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-7lsysr9i2g]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7lsysr9i2g 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7lsysr9i2g {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7lsysr9i2g {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7lsysr9i2g {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7lsysr9i2g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7lsysr9i2g] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7lsysr9i2g] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-7lsysr9i2g] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-7lsysr9i2g] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-7lsysr9i2g] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7lsysr9i2g] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7lsysr9i2g 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7lsysr9i2g] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7lsysr9i2g {
    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/MessageCenter/MessageCenter.razor.rz.scp.css */
.message-center[b-28mb6vq1k8] {
    border: #ddd solid 1px;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    max-width: 100%;
}

.message-center-container[b-28mb6vq1k8] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-center-controls[b-28mb6vq1k8] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.message-counter[b-28mb6vq1k8] {
    border: #ccc solid 1px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-message[b-28mb6vq1k8] {
    flex-grow: 1;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgb(0, 0, 0, 0.1);
    min-height: 40px;
}

.status-success[b-28mb6vq1k8] {
    background-color: #e6f9e6;
    color: #2d662d;
}

.status-warning[b-28mb6vq1k8] {
    background-color: #fff8e1;
    color: #655303;
}

.status-danger[b-28mb6vq1k8] {
    background-color: #fdecea;
    color: #721c24;
}

.status-system[b-28mb6vq1k8] {
    background-color: #e8f3ff;
    color: #0b4a8b;
}

.status-default[b-28mb6vq1k8] {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
}
