/* /Components/Layout/CopilotSyncStatus.razor.rz.scp.css */
/* Fixed bottom-right overlay that shows Copilot sync progress and warnings */
.sync-overlay[b-pbjdibdpov] {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 22rem;
    width: calc(100vw - 2.5rem);
}

.sync-toast[b-pbjdibdpov] {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    animation: syncFadeIn-b-pbjdibdpov 0.2s ease-out;
    color: #fff;
}

.sync-toast--info[b-pbjdibdpov]    { background: #0969da; }
.sync-toast--success[b-pbjdibdpov] { background: #1a7f37; }
.sync-toast--error[b-pbjdibdpov]   { background: #cf222e; }
.sync-toast--warning[b-pbjdibdpov] { background: #9a6700; }

@keyframes syncFadeIn-b-pbjdibdpov {
    from { opacity: 0; transform: translateY(0.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes syncFadeOut-b-pbjdibdpov {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(0.5rem); }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-container[b-yodzig31vw] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-yodzig31vw] {
    display: flex;
    flex-direction: column;
    width: 260px; /* Slightly wider for the modern look */
    min-width: 260px;
    background: #010409;
    border-right: 1px solid #21262d;
    padding: 0 0rem; /* Adjusted padding */
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* --- Brand / Title --- */
.sidebar-brand[b-yodzig31vw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.5rem 1.8rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: #ffffff;
    letter-spacing: -0.01em;
    background-color: #0d1117;
    border-bottom: 1px solid #21262d;
}

.sidebar-brand svg[b-yodzig31vw] {
    color: #58a6ff;
    flex-shrink: 0;
    width: 26px; /* Slightly larger icon */
    height: 26px;
    filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.5)); /* Modern glow */
}

/* --- Navigation --- */
.sidebar-nav[b-yodzig31vw] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Increased spacing between items */
    flex: 1;
    padding: 0.5rem 1.8rem;
}

.sidebar-nav-link[b-yodzig31vw] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    color: #8b949e;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px; /* Modern rounded rectangles instead of pills */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth animation */
    position: relative;
}

/* Cooler Hover Effect */
.sidebar-nav-link:hover[b-yodzig31vw] {
    color: #ffffff;
    background: rgba(139, 148, 158, 0.1); 
    transform: translateX(8px); 
    text-decoration: none;
}

/* Modern Active State */
.sidebar-nav-link.active[b-yodzig31vw] {
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(88, 166, 255, 0.12) 0%, rgba(88, 166, 255, 0) 100%);
    transform: none; /* Keep active state planted */
}

/* Glowing left accent line for active item */
.sidebar-nav-link.active[b-yodzig31vw]::before {
    content: '';
    position: absolute;
    left: -0.5rem; /* Pulls it slightly outside the padding */
    top: 15%;
    height: 70%;
    width: 4px;
    background: #58a6ff;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.6);
}

.sidebar-nav-link.active .nav-icon[b-yodzig31vw] {
    color: #58a6ff;
    filter: drop-shadow(0 0 6px rgba(88, 166, 255, 0.4));
}

.nav-icon[b-yodzig31vw] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

/* Slight icon bounce on hover */
.sidebar-nav-link:hover .nav-icon[b-yodzig31vw] {
    transform: scale(1.1);
}

.nav-label[b-yodzig31vw] {
    white-space: nowrap;
}

/* --- Footer / User Profile --- */
.sidebar-footer[b-yodzig31vw] {
    border-top: 1px solid rgba(139, 148, 158, 0.15); /* Softer divider */
}

.sidebar-user-row[b-yodzig31vw] {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Increased gap */
    padding: 0.5rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

/* Added a hover state to the user row */
.sidebar-user-row:hover[b-yodzig31vw] {
    background: rgba(139, 148, 158, 0.1);
}

.sidebar-avatar[b-yodzig31vw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #21262d;
    color: #f0f6fc;
    font-size: 0.95rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #010409, 0 0 0 4px #30363d; /* Modern double ring effect */
}

.sidebar-user-info[b-yodzig31vw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sidebar-user[b-yodzig31vw] {
    color: #f0f6fc;
    font-size: 0.85rem;
    font-weight: 600; /* Made slightly bolder */
    word-break: break-all;
    line-height: 1.2;
}

.sidebar-signout[b-yodzig31vw] {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.15s;
}

.sidebar-signout:hover[b-yodzig31vw] {
    color: #58a6ff; /* Match primary accent instead of just white */
    text-decoration: none;
}



main[b-yodzig31vw] {
    flex: 1;
    min-width: 0;
    max-width: 1800px;
    background: #0d1117;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-footer[b-yodzig31vw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-top: 1px solid #21262d;
    background: #0d1117;
    font-size: 0.75rem;
    color: #484f58;
    flex-shrink: 0;
}

#blazor-error-ui[b-yodzig31vw] {
    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-yodzig31vw] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uiuiezuo8u],
.components-reconnect-repeated-attempt-visible[b-uiuiezuo8u],
.components-reconnect-failed-visible[b-uiuiezuo8u],
.components-pause-visible[b-uiuiezuo8u],
.components-resume-failed-visible[b-uiuiezuo8u],
.components-rejoining-animation[b-uiuiezuo8u] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-uiuiezuo8u {
    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/Home.razor.rz.scp.css */
.home-chart[b-rtiizy0sfz] {
    display: block;
    width: 100%;
    height: auto;
}

.legend-item[b-rtiizy0sfz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.legend-dot[b-rtiizy0sfz] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* KPI stat cards */
.kpi-card .card-body[b-rtiizy0sfz] {
    padding: 14px 16px 12px;
}

.kpi-header[b-rtiizy0sfz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.kpi-label[b-rtiizy0sfz] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.kpi-value[b-rtiizy0sfz] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #e6edf3;
    line-height: 1.1;
    margin-bottom: 5px;
}

.kpi-sub[b-rtiizy0sfz] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.kpi-sub-label[b-rtiizy0sfz] {
    font-weight: 400;
    color: #8b949e;
}

.kpi-up[b-rtiizy0sfz] {
    color: #3fb950;
}

.kpi-down[b-rtiizy0sfz] {
    color: #f85149;
}
/* /Components/Pages/SignIn.razor.rz.scp.css */
.signin-page[b-4owp0shgld] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 139, 253, 0.12), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(125, 86, 194, 0.10), transparent 55%),
        #0d1117;
}

.signin-card[b-4owp0shgld] {
    width: 100%;
    max-width: 420px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #c9d1d9;
}

.signin-brand[b-4owp0shgld] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #58a6ff;
    margin-bottom: 0.25rem;
}

.signin-brand h1[b-4owp0shgld] {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    color: #f0f6fc;
    letter-spacing: -0.01em;
}

.signin-tagline[b-4owp0shgld] {
    margin: 0 0 2rem;
    color: #8b949e;
    font-size: 0.9rem;
}

.signin-button[b-4owp0shgld] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: #238636;
    border: 1px solid rgba(240, 246, 252, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.05s ease;
}

.signin-button:hover[b-4owp0shgld] {
    background: #2ea043;
    color: #ffffff;
    text-decoration: none;
}

.signin-button:active[b-4owp0shgld] {
    transform: translateY(1px);
    background: #1f7a30;
}

.signin-button:focus-visible[b-4owp0shgld] {
    outline: 2px solid #58a6ff;
    outline-offset: 2px;
}

.signin-footnote[b-4owp0shgld] {
    margin: 1.5rem 0 0;
    color: #6e7681;
    font-size: 0.8rem;
}
