/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-rptmapwbr7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-rptmapwbr7] {
    flex: 1;
}

.sidebar[b-rptmapwbr7] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-rptmapwbr7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-rptmapwbr7]  a, .top-row[b-rptmapwbr7]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-rptmapwbr7]  a:hover, .top-row[b-rptmapwbr7]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-rptmapwbr7]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-rptmapwbr7] {
        justify-content: space-between;
    }

    .top-row[b-rptmapwbr7]  a, .top-row[b-rptmapwbr7]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rptmapwbr7] {
        flex-direction: row;
    }

    .sidebar[b-rptmapwbr7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rptmapwbr7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-rptmapwbr7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-rptmapwbr7], article[b-rptmapwbr7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-rptmapwbr7] {
    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-rptmapwbr7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-kk9cvai6tx] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    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 rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-kk9cvai6tx] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-kk9cvai6tx] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-kk9cvai6tx] {
    font-size: 1.1rem;
}

.bi[b-kk9cvai6tx] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-building-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-building' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM4 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM10.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm-7.5 3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H3Z'/%3E%3Cpath d='M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V1Zm11 0H3v14h3v-2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5V15h3V1Z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.bi-shield-lock-fill-nav-menu[b-kk9cvai6tx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-shield-lock-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0c-.69 0-1.843.265-2.928.56-1.11.3-2.229.655-2.887.87a1.54 1.54 0 0 0-1.044 1.262c-.596 4.477.787 7.795 2.465 9.99a11.777 11.777 0 0 0 2.517 2.453c.386.273.744.482 1.048.625.28.132.581.24.829.24s.548-.108.829-.24a7.159 7.159 0 0 0 1.048-.625 11.775 11.775 0 0 0 2.517-2.453c1.678-2.195 3.061-5.513 2.465-9.99a1.541 1.541 0 0 0-1.044-1.263 62.467 62.467 0 0 0-2.887-.87C9.843.266 8.69 0 8 0Zm0 5a1.5 1.5 0 0 1 .5 2.915l.385 1.99a.5.5 0 0 1-.491.595h-.788a.5.5 0 0 1-.49-.595l.384-1.99A1.5 1.5 0 0 1 8 5Z'/%3E%3C/svg%3E");
}

.nav-item[b-kk9cvai6tx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-kk9cvai6tx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-kk9cvai6tx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-kk9cvai6tx]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-kk9cvai6tx]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-kk9cvai6tx]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-kk9cvai6tx] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-kk9cvai6tx] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-kk9cvai6tx] {
        display: none;
    }

    .nav-scrollable[b-kk9cvai6tx] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ── Visibility toggles ─────────────────────────────────── */
.components-reconnect-first-attempt-visible[b-3bd03mla50],
.components-reconnect-repeated-attempt-visible[b-3bd03mla50],
.components-reconnect-failed-visible[b-3bd03mla50],
.components-pause-visible[b-3bd03mla50],
.components-resume-failed-visible[b-3bd03mla50],
.components-rejoining-animation[b-3bd03mla50],
.crm-progress-bar[b-3bd03mla50],
.crm-actions[b-3bd03mla50] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-show .crm-progress-bar[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-retrying .crm-progress-bar[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-failed .crm-actions[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-paused .crm-actions[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-resume-failed .crm-actions[b-3bd03mla50] {
    display: flex;
}

#components-reconnect-modal.components-reconnect-failed .crm-progress-bar[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-paused .crm-progress-bar[b-3bd03mla50],
#components-reconnect-modal.components-reconnect-resume-failed .crm-progress-bar[b-3bd03mla50] {
    display: none;
}

/* ── Dialog / backdrop ──────────────────────────────────── */
#components-reconnect-modal[b-3bd03mla50] {
    border: none;
    padding: 0;
    background: transparent;
    width: min(22rem, 92vw);
    margin: 18vh auto;
    overflow: visible;
    animation: crm-fadeOut-b-3bd03mla50 0.4s ease both;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;

    &[open] {
        animation: crm-slideUp-b-3bd03mla50 0.55s cubic-bezier(.22, 1, .36, 1) both,
                   crm-fadeIn-b-3bd03mla50  0.4s ease both;
    }
}

#components-reconnect-modal[b-3bd03mla50]::backdrop {
    background: radial-gradient(ellipse at center, rgba(0,8,30,0.82) 0%, rgba(0,0,0,0.72) 100%);
    backdrop-filter: blur(4px);
    animation: crm-fadeIn-b-3bd03mla50 0.4s ease both;
}

/* ── Card shell ─────────────────────────────────────────── */
.components-reconnect-container[b-3bd03mla50] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding: 2.2rem 2rem 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #0f1b2d 0%, #0a1628 55%, #0d1f38 100%);
    border: 1px solid rgba(99, 179, 255, 0.18);
    box-shadow:
        0 0 0 1px rgba(99,179,255,0.07),
        0 8px 32px rgba(0,0,0,0.55),
        0 0 60px rgba(0,120,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
}

/* glowing top bar */
.components-reconnect-container[b-3bd03mla50]::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, #3b9eff, #7dd4fc, #3b9eff, transparent);
    animation: crm-barShimmer-b-3bd03mla50 2.8s linear infinite;
}

/* subtle grid overlay */
.components-reconnect-container[b-3bd03mla50]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,179,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,179,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* ── Icon area ──────────────────────────────────────────── */
.crm-icon-wrapper[b-3bd03mla50] {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    z-index: 1;
}

/* signal rings */
.crm-signal-rings[b-3bd03mla50] {
    position: absolute;
    inset: -24px;
}

.crm-signal-rings span[b-3bd03mla50] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(59, 158, 255, 0.35);
    animation: crm-signalPulse-b-3bd03mla50 2.4s ease-out infinite;
}

.crm-signal-rings span:nth-child(2)[b-3bd03mla50] { animation-delay: 0.8s; }
.crm-signal-rings span:nth-child(3)[b-3bd03mla50] { animation-delay: 1.6s; }

/* ripple circles (rejoining animation) */
.components-rejoining-animation[b-3bd03mla50] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.components-rejoining-animation div[b-3bd03mla50] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #3b9eff;
    opacity: 0;
    animation: crm-ripple-b-3bd03mla50 2s cubic-bezier(0, 0.4, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-3bd03mla50] { animation-delay: -0.67s; }
.components-rejoining-animation div:nth-child(3)[b-3bd03mla50] { animation-delay: -1.33s; }

/* core icon circle */
.crm-icon-core[b-3bd03mla50] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, #1a3a6e, #0b1e3d);
    border: 1.5px solid rgba(99, 179, 255, 0.3);
    box-shadow: 0 0 20px rgba(59,158,255,0.25), inset 0 0 16px rgba(59,158,255,0.07);
}

.crm-wifi-icon[b-3bd03mla50] {
    width: 38px;
    height: 38px;
    color: #7dd4fc;
    filter: drop-shadow(0 0 6px rgba(125, 212, 252, 0.6));
}

/* ── Text ───────────────────────────────────────────────── */
.crm-text-block[b-3bd03mla50] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    z-index: 1;
}

.crm-title[b-3bd03mla50] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #e2f0ff;
    text-align: center;
}

.crm-subtitle[b-3bd03mla50] {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(160, 200, 240, 0.7);
    text-align: center;
    line-height: 1.5;
}

#components-reconnect-modal p[b-3bd03mla50] { margin: 0; }

/* ── Progress bar ───────────────────────────────────────── */
.crm-progress-bar[b-3bd03mla50] {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: rgba(59,158,255,0.15);
    overflow: hidden;
    z-index: 1;
}

.crm-progress-fill[b-3bd03mla50] {
    height: 100%;
    width: 40%;
    border-radius: 99px;
    background: linear-gradient(90deg, #3b9eff, #7dd4fc, #3b9eff);
    background-size: 200% 100%;
    animation: crm-progressSlide-b-3bd03mla50 1.6s linear infinite;
}

/* ── Buttons ────────────────────────────────────────────── */
.crm-actions[b-3bd03mla50] {
    flex-direction: row;
    gap: 0.75rem;
    z-index: 1;
}

.crm-btn[b-3bd03mla50] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem;
    border: none;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.crm-btn svg[b-3bd03mla50] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.crm-btn-primary[b-3bd03mla50] {
    background: linear-gradient(135deg, #1d6fc4 0%, #1a5ba8 100%);
    color: #e8f4ff;
    box-shadow: 0 3px 14px rgba(29,111,196,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}

.crm-btn-primary:hover[b-3bd03mla50] {
    background: linear-gradient(135deg, #2680d9 0%, #1e6bbf 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29,111,196,0.6), inset 0 1px 0 rgba(255,255,255,0.12);
}

.crm-btn-primary:active[b-3bd03mla50] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29,111,196,0.4);
}

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes crm-slideUp-b-3bd03mla50 {
    from { transform: translateY(32px) scale(0.96); }
    to   { transform: translateY(0)    scale(1); }
}

@keyframes crm-fadeIn-b-3bd03mla50 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes crm-fadeOut-b-3bd03mla50 {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes crm-signalPulse-b-3bd03mla50 {
    0%   { transform: scale(0.6); opacity: 0.7; }
    80%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes crm-ripple-b-3bd03mla50 {
    0%   { transform: scale(0.3); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes crm-progressSlide-b-3bd03mla50 {
    0%   { background-position: 100% 0; transform: translateX(-60%); }
    100% { background-position: -100% 0; transform: translateX(160%); }
}

@keyframes crm-barShimmer-b-3bd03mla50 {
    0%   { opacity: 0.4; background-position: -200% center; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; background-position: 200% center; }
}

