/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Handled by Tailwind in the template */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavLink active state */
[b-vlp6s8fp7m] .active {
    background: rgba(0,180,0,0.08) !important;
    color: #00e600 !important;
    text-shadow: 0 0 4px rgba(0,230,0,0.3);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-fvah8sir2n],
.components-reconnect-repeated-attempt-visible[b-fvah8sir2n],
.components-reconnect-failed-visible[b-fvah8sir2n],
.components-pause-visible[b-fvah8sir2n],
.components-resume-failed-visible[b-fvah8sir2n],
.components-rejoining-animation[b-fvah8sir2n] {
    display: none;
}

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


#components-reconnect-modal[b-fvah8sir2n] {
    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-fvah8sir2n 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-fvah8sir2n {
    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/Editor.razor.rz.scp.css */
/* Editor — full viewport overlay, Mission Control theme */
#editor-root[b-2t3ejujqvw] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #080d18;
    color: #d1d5db;
    font-family: 'IBM Plex Sans', sans-serif;
}

[b-2t3ejujqvw] #editor-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 36px;
    background: rgba(8, 13, 24, 0.9);
    border-bottom: 1px solid rgba(0, 180, 0, 0.12);
    flex-shrink: 0;
}

[b-2t3ejujqvw] #editor-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 42px;
    background: rgba(12, 18, 32, 0.6);
    border-bottom: 1px solid rgba(0, 180, 0, 0.08);
    flex-shrink: 0;
}

[b-2t3ejujqvw] #editor-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

[b-2t3ejujqvw] #editor-sidebar {
    width: 220px;
    background: rgba(12, 18, 32, 0.4);
    border-right: 1px solid rgba(0, 180, 0, 0.08);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

[b-2t3ejujqvw] #editor-canvas-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(0, 180, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

[b-2t3ejujqvw] #editor-canvas {
    position: absolute;
    top: 0;
    left: 0;
    cursor: crosshair;
}

/* Buttons */
[b-2t3ejujqvw] .editor-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #9ca3af;
    background: transparent;
    border: 1px solid rgba(0, 180, 0, 0.12);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

[b-2t3ejujqvw] .editor-btn:hover:not(:disabled) {
    border-color: rgba(0, 180, 0, 0.3);
    color: #d1d5db;
}

[b-2t3ejujqvw] .editor-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

[b-2t3ejujqvw] .editor-btn-primary {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #050f05;
    background: #00b300;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

[b-2t3ejujqvw] .editor-btn-primary:hover {
    background: #00e600;
}

[b-2t3ejujqvw] .editor-kbd {
    background: rgba(0, 180, 0, 0.08);
    border: 1px solid rgba(0, 180, 0, 0.2);
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(0, 230, 0, 0.7);
}

/* Annotation list items (populated by JS) */
[b-2t3ejujqvw] #annotation-list .anno-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    margin-bottom: 2px;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #9ca3af;
    transition: background 0.1s;
    border: 1px solid transparent;
}

[b-2t3ejujqvw] #annotation-list .anno-item:hover {
    background: rgba(10, 31, 10, 0.4);
}

[b-2t3ejujqvw] #annotation-list .anno-item.selected {
    background: rgba(10, 31, 10, 0.5);
    border-color: rgba(0, 180, 0, 0.15);
    color: #d1d5db;
}

[b-2t3ejujqvw] #annotation-list .anno-color {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
