/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-hcyj54v39z] {
    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-hcyj54v39z] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.site-nav[b-hcyj54v39z] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 3.5rem;
    padding: 0 1.25rem;
    background: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links[b-hcyj54v39z] {
    display: flex;
    gap: 0.25rem;
}

.nav-link[b-hcyj54v39z] {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 0.35rem;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover[b-hcyj54v39z],
.nav-link:focus-visible[b-hcyj54v39z] {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active[b-hcyj54v39z] {
    color: #e2e8f0;
    background: rgba(59, 130, 246, 0.15);
}

.full-screen-container[b-hcyj54v39z] {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .site-nav[b-hcyj54v39z] {
        padding: 0 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-nav[b-hcyj54v39z]::-webkit-scrollbar {
        display: none;
    }

    .nav-links[b-hcyj54v39z] {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links[b-hcyj54v39z]::-webkit-scrollbar {
        display: none;
    }

    .nav-link[b-hcyj54v39z] {
        font-size: 0.82rem;
        padding: 0.35rem 0.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-v9t93ishen],
.components-reconnect-repeated-attempt-visible[b-v9t93ishen],
.components-reconnect-failed-visible[b-v9t93ishen],
.components-pause-visible[b-v9t93ishen],
.components-resume-failed-visible[b-v9t93ishen],
.components-rejoining-animation[b-v9t93ishen] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

    #components-reconnect-modal button:hover[b-v9t93ishen],
    #components-reconnect-modal button:focus-visible[b-v9t93ishen] {
        background-color: #3b6ea2;
    }

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

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

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

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

@keyframes components-rejoining-animation-b-v9t93ishen {
    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 */
.proc-btn[b-dtf54fttrf] {
    flex-shrink: 0;
    border: none;
    border-radius: 0.3rem;
    padding: 0.4rem;
    background: #374151;
    color: #e2e8f0;
    cursor: pointer;
    transition: background-color 0.2s;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    min-height: 1.75rem;
}

    .proc-btn:hover[b-dtf54fttrf],
    .proc-btn:focus-visible[b-dtf54fttrf] {
        background: #4b5563;
    }

.chart-card[b-dtf54fttrf] {
    margin-top: 0.9rem;
}

.chart-wrap[b-dtf54fttrf] {
    width: 100%;
    overflow: hidden;
    margin-top: 0.75rem;
    border-radius: 0.35rem;
    background: #020617;
}

.chart-canvas-wrap[b-dtf54fttrf] {
    width: 100%;
    height: clamp(240px, 38vh, 320px);
}

.chart-canvas[b-dtf54fttrf] {
    width: 100%;
    height: 100%;
    display: block;
}

.legend[b-dtf54fttrf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

    .legend span[b-dtf54fttrf] {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .legend i[b-dtf54fttrf] {
        display: inline-block;
        width: 14px;
        height: 3px;
        margin-right: 0.35rem;
        vertical-align: middle;
    }

.legend-cpu[b-dtf54fttrf] {
    background: #f97316;
}

.legend-mem[b-dtf54fttrf] {
    background: #22c55e;
}

.legend-disk[b-dtf54fttrf] {
    background: #38bdf8;
}

/* ── Self Deploy Card ───────────────────────────────────────────────── */

.deploy-card[b-dtf54fttrf] {
    margin-top: 1.5rem;
    background: #0d1117;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 1.75rem;
}

.deploy-card-content[b-dtf54fttrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.deploy-card-text[b-dtf54fttrf] {
    flex: 1;
    min-width: 0;
}

.deploy-card h2[b-dtf54fttrf] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e2e8f0;
}

.deploy-description[b-dtf54fttrf] {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: #94a3b8;
}

.deploy-actions[b-dtf54fttrf] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.btn[b-dtf54fttrf] {
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    letter-spacing: 0.03em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn:disabled[b-dtf54fttrf] {
        opacity: 0.45;
        cursor: not-allowed;
        filter: none;
        transform: none;
    }

.btn-deploy[b-dtf54fttrf] {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

    .btn-deploy:hover:not(:disabled)[b-dtf54fttrf] {
        filter: brightness(1.15);
        transform: scale(1.04);
        box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    }

    .btn-deploy:focus-visible[b-dtf54fttrf] {
        outline: 2px solid #818cf8;
        outline-offset: 3px;
    }

.btn-restart[b-dtf54fttrf] {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

    .btn-restart:hover:not(:disabled)[b-dtf54fttrf] {
        filter: brightness(1.15);
        transform: scale(1.04);
        box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    }

    .btn-restart:focus-visible[b-dtf54fttrf] {
        outline: 2px solid #fca5a5;
        outline-offset: 3px;
    }

.btn-maintenance[b-dtf54fttrf] {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

    .btn-maintenance:hover:not(:disabled)[b-dtf54fttrf] {
        filter: brightness(1.15);
        transform: scale(1.04);
        box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    }

    .btn-maintenance:focus-visible[b-dtf54fttrf] {
        outline: 2px solid #67e8f9;
        outline-offset: 3px;
    }

@media (max-width: 480px) {
    .chart-canvas-wrap[b-dtf54fttrf] {
        height: clamp(240px, 44vh, 300px);
    }

    .legend[b-dtf54fttrf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.95rem;
    }

    .deploy-card-content[b-dtf54fttrf] {
        flex-direction: column;
        align-items: stretch;
    }

    .deploy-actions[b-dtf54fttrf] {
        flex-direction: column;
    }

        .deploy-actions .btn[b-dtf54fttrf] {
            width: 100%;
            text-align: center;
        }
}
/* /Components/Pages/Files.razor.rz.scp.css */
.files-page[b-m4bms7uoc6] {
    width: 100%;
    height: calc(100vh - 3.5rem);
    display: flex;
    box-sizing: border-box;
    padding: 1rem;
}

/* ── Main content area ────────────────────────────────────────────────── */

.main-content[b-m4bms7uoc6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    min-width: 0;
}

.error-banner[b-m4bms7uoc6] {
    color: #ff6b6b;
    background: #2a1a1a;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0.75rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.error-dismiss[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.error-dismiss:hover[b-m4bms7uoc6],
.error-dismiss:focus-visible[b-m4bms7uoc6] {
    color: #ff9999;
}

.empty-state[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #4b5563;
    font-size: 0.85rem;
    padding: 2rem;
}

.loading-indicator[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.bundle-all-spinner[b-m4bms7uoc6] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #4b5563;
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: bundle-all-spin-b-m4bms7uoc6 0.6s linear infinite;
}

@keyframes bundle-all-spin-b-m4bms7uoc6 {
    to { transform: rotate(360deg); }
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────── */

.breadcrumbs[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #1f2937;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.breadcrumb-link[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.1rem 0.2rem;
    border-radius: 0.2rem;
    transition: background-color 0.2s;
}

.breadcrumb-link:hover[b-m4bms7uoc6],
.breadcrumb-link:focus-visible[b-m4bms7uoc6] {
    background: #1f2937;
    color: #93c5fd;
}

.breadcrumb-sep[b-m4bms7uoc6] {
    color: #4b5563;
    font-size: 0.75rem;
}

.new-file-btn[b-m4bms7uoc6] {
    background: #374151;
    color: #e2e8f0;
    border: none;
    border-radius: 0.3rem;
    padding: 0.4rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: auto;
}

.new-file-btn:hover:not(:disabled)[b-m4bms7uoc6],
.new-file-btn:focus-visible:not(:disabled)[b-m4bms7uoc6] {
    background: #4b5563;
}

.new-file-btn:disabled[b-m4bms7uoc6] {
    opacity: 0.5;
    cursor: not-allowed;
}

.refresh-btn[b-m4bms7uoc6] {
    background: #374151;
    color: #e2e8f0;
    border: none;
    border-radius: 0.3rem;
    padding: 0.4rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: 0;
}

.refresh-btn:hover:not(:disabled)[b-m4bms7uoc6],
.refresh-btn:focus-visible:not(:disabled)[b-m4bms7uoc6] {
    background: #4b5563;
}

.refresh-btn:disabled[b-m4bms7uoc6] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── New file input row ───────────────────────────────────────────────── */

.new-file-row[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #1f2937;
    flex-shrink: 0;
    min-width: 0;
}

.new-file-input[b-m4bms7uoc6] {
    flex: 1;
    min-width: 0;
    background: #1a1a2e;
    border: 1px solid #374151;
    border-radius: 0.3rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.new-file-input:focus[b-m4bms7uoc6] {
    border-color: #60a5fa;
}

.new-file-input[b-m4bms7uoc6]::placeholder {
    color: #4b5563;
}

.new-file-create-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    background: #374151;
    color: #22c55e;
    border: 1px solid #4b5563;
    border-radius: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.new-file-create-btn:hover:not(:disabled)[b-m4bms7uoc6],
.new-file-create-btn:focus-visible:not(:disabled)[b-m4bms7uoc6] {
    background: #4b5563;
    border-color: #22c55e;
}

.new-file-create-btn:disabled[b-m4bms7uoc6] {
    opacity: 0.5;
    cursor: not-allowed;
}

.new-file-cancel-btn[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.new-file-cancel-btn:hover[b-m4bms7uoc6],
.new-file-cancel-btn:focus-visible[b-m4bms7uoc6] {
    color: #e2e8f0;
}

/* ── Search bar ───────────────────────────────────────────────────────── */

.search-bar[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #1f2937;
    flex-shrink: 0;
    min-width: 0;
}

.search-input[b-m4bms7uoc6] {
    flex: 1;
    min-width: 0;
    background: #1a1a2e;
    border: 1px solid #374151;
    border-radius: 0.3rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus[b-m4bms7uoc6] {
    border-color: #60a5fa;
}

.search-input[b-m4bms7uoc6]::placeholder {
    color: #4b5563;
}

.search-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #374151;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 0.3rem;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s, border-color 0.2s;
}

.search-btn:hover:not(:disabled)[b-m4bms7uoc6],
.search-btn:focus-visible:not(:disabled)[b-m4bms7uoc6] {
    background: #4b5563;
    border-color: #60a5fa;
}

.search-btn:disabled[b-m4bms7uoc6] {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-clear-btn[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 0.2rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.2rem;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.search-clear-btn:hover[b-m4bms7uoc6],
.search-clear-btn:focus-visible[b-m4bms7uoc6] {
    color: #e2e8f0;
    background: #374151;
}

.no-results[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #4b5563;
    font-size: 0.8rem;
}

/* ── Column headers ───────────────────────────────────────────────────── */

.column-headers[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border-bottom: 1px solid #1f2937;
    background: #111827;
    flex-shrink: 0;
    min-width: 0;
}

.col-icon[b-m4bms7uoc6] {
    width: 14px;
    flex-shrink: 0;
}

.col-header[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0.15rem 0.25rem;
    border-radius: 0.2rem;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.col-header:hover[b-m4bms7uoc6],
.col-header:focus-visible[b-m4bms7uoc6] {
    color: #e2e8f0;
    background: #1f2937;
}

.col-header.active[b-m4bms7uoc6] {
    color: #60a5fa;
}

.col-header-name[b-m4bms7uoc6] {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.col-header-size[b-m4bms7uoc6] {
    flex-shrink: 0;
    min-width: 60px;
    text-align: right;
}

.col-header-date[b-m4bms7uoc6] {
    flex-shrink: 0;
    min-width: 110px;
    text-align: right;
}

/* ── File/folder tree (main content browser) ─────────────────────────── */

.tree-view[b-m4bms7uoc6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.file-list[b-m4bms7uoc6] {
    flex: 1;
    overflow-y: auto;
}

.file-item[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1a1a2e;
    color: #e2e8f0;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.file-item:hover[b-m4bms7uoc6],
.file-item:focus-visible[b-m4bms7uoc6] {
    background: #1f2937;
}

.file-item.active[b-m4bms7uoc6] {
    background: #1f2937;
    color: #22c55e;
}

.file-name[b-m4bms7uoc6] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.file-size[b-m4bms7uoc6] {
    color: #6b7280;
    font-size: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.file-date[b-m4bms7uoc6] {
    color: #6b7280;
    font-size: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 110px;
    text-align: right;
}

/* ── Download button (file header) ────────────────────────────────────── */

.download-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    background: #374151;
    color: #60a5fa;
    border: 1px solid #4b5563;
    border-radius: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.download-btn:hover[b-m4bms7uoc6],
.download-btn:focus-visible[b-m4bms7uoc6] {
    background: #4b5563;
    border-color: #60a5fa;
}

/* ── Download icon button (file listing) ─────────────────────────────── */

.download-icon-btn[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #4b5563;
    padding: 0.2rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.2rem;
    flex-shrink: 0;
    transition: color 0.2s, background-color 0.2s;
}

.download-icon-btn:hover[b-m4bms7uoc6],
.download-icon-btn:focus-visible[b-m4bms7uoc6] {
    color: #60a5fa;
    background: #1e293b;
}

/* ── Delete button & confirmation ─────────────────────────────────────── */

.delete-btn[b-m4bms7uoc6] {
    background: none;
    border: none;
    color: #4b5563;
    padding: 0.2rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.2rem;
    flex-shrink: 0;
    transition: color 0.2s, background-color 0.2s;
}

.delete-btn:hover[b-m4bms7uoc6],
.delete-btn:focus-visible[b-m4bms7uoc6] {
    color: #ff6b6b;
    background: #2a1a1a;
}

.delete-confirm-row[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    background: #1a1a2e;
    border: none;
    border-bottom: 1px solid #374151;
    font-size: 0.8rem;
    box-sizing: border-box;
    min-width: 0;
}

.delete-confirm-text[b-m4bms7uoc6] {
    color: #e2e8f0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.delete-confirm-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #ff6b6b;
    border-radius: 0.3rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.delete-confirm-btn:hover[b-m4bms7uoc6],
.delete-confirm-btn:focus-visible[b-m4bms7uoc6] {
    background: #991b1b;
}

.delete-cancel-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #374151;
    color: #9ca3af;
    border: 1px solid #4b5563;
    border-radius: 0.3rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.delete-cancel-btn:hover[b-m4bms7uoc6],
.delete-cancel-btn:focus-visible[b-m4bms7uoc6] {
    background: #4b5563;
    color: #e2e8f0;
}

/* ── File editor view ────────────────────────────────────────────────── */

.file-view[b-m4bms7uoc6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.file-header[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #1f2937;
    flex-shrink: 0;
    min-width: 0;
}

.back-btn[b-m4bms7uoc6] {
    background: #374151;
    color: #e2e8f0;
    border: none;
    border-radius: 0.3rem;
    padding: 0.3rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.back-btn:hover[b-m4bms7uoc6],
.back-btn:focus-visible[b-m4bms7uoc6] {
    background: #4b5563;
}

.file-path-label[b-m4bms7uoc6] {
    color: #9ca3af;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.save-btn[b-m4bms7uoc6] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    background: #374151;
    color: #22c55e;
    border: 1px solid #4b5563;
    border-radius: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.save-btn:hover:not(:disabled)[b-m4bms7uoc6],
.save-btn:focus-visible:not(:disabled)[b-m4bms7uoc6] {
    background: #4b5563;
    border-color: #22c55e;
}

.save-btn:disabled[b-m4bms7uoc6] {
    opacity: 0.5;
    cursor: not-allowed;
}

.save-spinner[b-m4bms7uoc6] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #4b5563;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: save-spin-b-m4bms7uoc6 0.6s linear infinite;
}

@keyframes save-spin-b-m4bms7uoc6 {
    to { transform: rotate(360deg); }
}

.file-content-wrapper[b-m4bms7uoc6] {
    flex: 1;
    overflow: auto;
    background: #1a1a2e;
}

.file-edit-textarea[b-m4bms7uoc6] {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.75rem;
    background: #1a1a2e;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.5;
    border: none;
    outline: none;
    resize: none;
    white-space: pre;
    overflow: auto;
}

/* ── Search section headers & content matches ────────────────────────── */

.search-section-header[b-m4bms7uoc6] {
    padding: 0.4rem 0.75rem;
    color: #9ca3af;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #1f2937;
    background: #111827;
    flex-shrink: 0;
}

.content-match-item[b-m4bms7uoc6] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1a1a2e;
    color: #e2e8f0;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.content-match-item:hover[b-m4bms7uoc6],
.content-match-item:focus-visible[b-m4bms7uoc6] {
    background: #1f2937;
}

.content-match-item > svg[b-m4bms7uoc6] {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.content-match-details[b-m4bms7uoc6] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    overflow: hidden;
}

.content-match-path[b-m4bms7uoc6] {
    color: #e2e8f0;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-match-line[b-m4bms7uoc6] {
    color: #6b7280;
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-match-lineno[b-m4bms7uoc6] {
    color: #4b5563;
    margin-right: 0.3rem;
}

.search-timeout-note[b-m4bms7uoc6] {
    padding: 0.5rem 0.75rem;
    color: #f59e0b;
    font-size: 0.7rem;
    background: #1a1a2e;
    border-top: 1px solid #374151;
    flex-shrink: 0;
}

/* ── Scrollbar styling ────────────────────────────────────────────────── */

.file-list[b-m4bms7uoc6]::-webkit-scrollbar,
.file-content-wrapper[b-m4bms7uoc6]::-webkit-scrollbar {
    width: 10px;
}

.file-list[b-m4bms7uoc6]::-webkit-scrollbar-track,
.file-content-wrapper[b-m4bms7uoc6]::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.file-list[b-m4bms7uoc6]::-webkit-scrollbar-thumb,
.file-content-wrapper[b-m4bms7uoc6]::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 5px;
    border: 2px solid #1a1a2e;
}

.file-list[b-m4bms7uoc6]::-webkit-scrollbar-thumb:hover,
.file-content-wrapper[b-m4bms7uoc6]::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .files-page[b-m4bms7uoc6] {
        padding: 0.5rem;
        height: calc(100vh - 3rem);
        height: calc(100dvh - 3rem);
    }
}

@media (max-width: 480px) {
    .files-page[b-m4bms7uoc6] {
        padding: 0.25rem;
    }

    .main-content[b-m4bms7uoc6] {
        border-radius: 0.35rem;
    }
}
/* /Components/Pages/FrontDoor.razor.rz.scp.css */
.fd-page[b-dk7dcoht3z] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.fd-toolbar[b-dk7dcoht3z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fd-toolbar h1[b-dk7dcoht3z] {
    margin: 0;
    font-size: 1.25rem;
    color: #e2e8f0;
}

.fd-refresh-btn[b-dk7dcoht3z] {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.fd-refresh-btn:hover:not(:disabled)[b-dk7dcoht3z],
.fd-refresh-btn:focus-visible:not(:disabled)[b-dk7dcoht3z] {
    filter: brightness(1.15);
    outline: none;
}

.fd-refresh-btn:focus-visible[b-dk7dcoht3z] {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

.fd-refresh-btn:disabled[b-dk7dcoht3z] {
    opacity: 0.45;
    cursor: not-allowed;
}

.fd-config-banner[b-dk7dcoht3z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.85rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.error-banner[b-dk7dcoht3z] {
    color: #ff6b6b;
    font-size: 0.85rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
}

.success-banner[b-dk7dcoht3z] {
    color: #22c55e;
    font-size: 0.85rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
}

.pending-banner[b-dk7dcoht3z] {
    color: #60a5fa;
    font-size: 0.85rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
}

.fd-loading[b-dk7dcoht3z] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #94a3b8;
    font-style: italic;
    padding: 1rem 0;
}

.fd-empty[b-dk7dcoht3z] {
    color: #94a3b8;
    font-style: italic;
}

.fd-spinner[b-dk7dcoht3z] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fd-spin-b-dk7dcoht3z 0.7s linear infinite;
}

.fd-spinner-large[b-dk7dcoht3z] {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(99, 102, 241, 0.25);
    border-top-color: #818cf8;
    border-radius: 50%;
    animation: fd-spin-b-dk7dcoht3z 0.7s linear infinite;
}

@keyframes fd-spin-b-dk7dcoht3z {
    to {
        transform: rotate(360deg);
    }
}

.fd-table-container[b-dk7dcoht3z] {
    overflow-x: auto;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 0.5rem;
}

.fd-table[b-dk7dcoht3z] {
    width: 100%;
    border-collapse: collapse;
    background: #0d1117;
    color: #e2e8f0;
    font-size: 0.85rem;
    white-space: nowrap;
}

.fd-table th[b-dk7dcoht3z],
.fd-table td[b-dk7dcoht3z] {
    text-align: left;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.fd-table th[b-dk7dcoht3z] {
    color: #94a3b8;
    font-weight: 600;
    background: #020617;
}

.fd-table tbody tr:hover[b-dk7dcoht3z] {
    background: rgba(59, 130, 246, 0.06);
}

.fd-badge[b-dk7dcoht3z] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.fd-badge-approved[b-dk7dcoht3z] {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.fd-badge-pendingrevalidation[b-dk7dcoht3z] {
    background: rgba(96, 165, 250, 0.15);
    color: #fbbf24;
}

.fd-badge-pending[b-dk7dcoht3z] {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.fd-badge-refreshingvalidationtoken[b-dk7dcoht3z] {
    background: rgba(129, 140, 248, 0.15);
    color: #a78bfa;
}

.fd-badge-submitting[b-dk7dcoht3z] {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
}

.fd-badge-failed[b-dk7dcoht3z] {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.fd-badge-unknown[b-dk7dcoht3z] {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.fd-approved-indicator[b-dk7dcoht3z] {
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 600;
}

.fd-action-btn[b-dk7dcoht3z] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.fd-action-btn:hover:not(:disabled)[b-dk7dcoht3z],
.fd-action-btn:focus-visible:not(:disabled)[b-dk7dcoht3z] {
    background: #374151;
    outline: none;
}

.fd-action-btn:focus-visible[b-dk7dcoht3z] {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.fd-action-btn:disabled[b-dk7dcoht3z] {
    opacity: 0.45;
    cursor: not-allowed;
}
/* /Components/Pages/Sql.razor.rz.scp.css */
.sql-page[b-gquzb1l1cn] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    color: #e2e8f0;
}

.sql-toolbar[b-gquzb1l1cn] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    background: #0d1117;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.sql-field[b-gquzb1l1cn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 10rem;
    flex: 0 1 16rem;
}

.sql-field--presets[b-gquzb1l1cn] {
    flex: 0 0 auto;
}

.sql-field-block[b-gquzb1l1cn] {
    width: 100%;
    flex: 1 1 100%;
}

.sql-field-label[b-gquzb1l1cn] {
    font-size: 0.7rem;
    line-height: 1;
    color: #94a3b8;
    font-weight: 500;
}

.sql-select[b-gquzb1l1cn] {
    appearance: none;
    -webkit-appearance: none;
    background: #020617;
    color: #e2e8f0;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 0.4rem;
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
    min-height: 2.75rem;
    line-height: 1.2;
    cursor: pointer;
}

.sql-select:focus-visible[b-gquzb1l1cn] {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.sql-select:disabled[b-gquzb1l1cn] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sql-execute-btn[b-gquzb1l1cn] {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 6rem;
    min-height: 2.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: filter 0.2s, transform 0.2s;
}

.sql-execute-btn:hover:not(:disabled)[b-gquzb1l1cn],
.sql-execute-btn:focus-visible:not(:disabled)[b-gquzb1l1cn] {
    filter: brightness(1.15);
    outline: none;
}

.sql-execute-btn:focus-visible[b-gquzb1l1cn] {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

.sql-execute-btn:disabled[b-gquzb1l1cn] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sql-query[b-gquzb1l1cn] {
    display: flex;
    flex-direction: column;
}

.sql-textarea[b-gquzb1l1cn] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: #020617;
    color: #e2e8f0;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 0.4rem;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
    resize: vertical;
    min-height: 12rem;
}

.sql-textarea:focus-visible[b-gquzb1l1cn] {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.sql-output[b-gquzb1l1cn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #0d1117;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem;
    min-height: 12rem;
    flex: 1;
}

.sql-output-header[b-gquzb1l1cn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sql-output-meta[b-gquzb1l1cn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sql-meta-empty[b-gquzb1l1cn] {
    font-style: italic;
}

.sql-meta-mode[b-gquzb1l1cn] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

.sql-meta-mode-write[b-gquzb1l1cn] {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
}

.sql-meta-mode-error[b-gquzb1l1cn] {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

.sql-meta-mode-empty[b-gquzb1l1cn] {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.sql-copy-btn[b-gquzb1l1cn] {
    appearance: none;
    -webkit-appearance: none;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.4rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 3rem;
    min-height: 2.75rem;
    transition: background-color 0.2s;
}

.sql-copy-btn:hover:not(:disabled)[b-gquzb1l1cn],
.sql-copy-btn:focus-visible:not(:disabled)[b-gquzb1l1cn] {
    background: #374151;
}

.sql-copy-btn:focus-visible[b-gquzb1l1cn] {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.sql-copy-btn:disabled[b-gquzb1l1cn] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sql-error[b-gquzb1l1cn] {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 0.4rem;
    padding: 0.75rem;
    color: #fca5a5;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.sql-output-content[b-gquzb1l1cn] {
    background: #020617;
    border-radius: 0.4rem;
    padding: 0.75rem;
    overflow: auto;
    max-height: 60vh;
    min-height: 8rem;
    font-size: 0.85rem;
}

.sql-output-pre[b-gquzb1l1cn] {
    margin: 0;
    white-space: pre;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.sql-output-placeholder[b-gquzb1l1cn] {
    color: #64748b;
    font-style: italic;
}

@media (max-width: 768px) {
    .sql-toolbar[b-gquzb1l1cn] {
        flex-direction: column;
        align-items: stretch;
    }

    .sql-field[b-gquzb1l1cn] {
        min-width: 0;
        width: 100%;
    }

    .sql-field[b-gquzb1l1cn] {
        flex: 1 1 100%;
    }

    .sql-field--presets[b-gquzb1l1cn] {
        flex: 1 1 100%;
    }

    .sql-query-actions[b-gquzb1l1cn] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .sql-query-actions .sql-execute-btn[b-gquzb1l1cn] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sql-page[b-gquzb1l1cn] {
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .sql-output-content[b-gquzb1l1cn] {
        max-height: 50vh;
    }

    .sql-output-header[b-gquzb1l1cn] {
        flex-direction: column;
        align-items: stretch;
    }

    .sql-copy-btn[b-gquzb1l1cn] {
        width: 100%;
    }
}

.sql-preset-group[b-gquzb1l1cn] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sql-preset-btn[b-gquzb1l1cn] {
    appearance: none;
    -webkit-appearance: none;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, filter 0.2s;
}

.sql-preset-btn:hover:not(:disabled)[b-gquzb1l1cn],
.sql-preset-btn:focus-visible:not(:disabled)[b-gquzb1l1cn] {
    background: #374151;
    filter: brightness(1.1);
}

.sql-preset-btn:focus-visible[b-gquzb1l1cn] {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.sql-preset-btn:disabled[b-gquzb1l1cn] {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (min-width: 769px) and (pointer: fine) {
    .sql-page[b-gquzb1l1cn] {
        gap: 0.5rem;
    }

    .sql-select[b-gquzb1l1cn] {
        min-height: 2rem;
        padding: 0.35rem 0.6rem;
    }

    .sql-execute-btn[b-gquzb1l1cn] {
        min-height: 2rem;
        padding: 0.4rem 1rem;
    }

    .sql-preset-btn[b-gquzb1l1cn] {
        padding: 0.35rem 0.6rem;
    }

    .sql-preset-group[b-gquzb1l1cn] {
        flex-wrap: wrap;
    }
}

@media (min-width: 1280px) {
    .sql-page[b-gquzb1l1cn] {
        max-width: 1400px;
        margin: 0 auto;
    }
}

.sql-query-actions[b-gquzb1l1cn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.sql-query-hint[b-gquzb1l1cn] {
    font-size: 0.8rem;
    color: #94a3b8;
}

.sql-spinner[b-gquzb1l1cn] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sql-spin-b-gquzb1l1cn 0.7s linear infinite;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.sql-spinner-large[b-gquzb1l1cn] {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(99, 102, 241, 0.25);
    border-top-color: #818cf8;
    border-radius: 50%;
    animation: sql-spin-b-gquzb1l1cn 0.7s linear infinite;
    vertical-align: middle;
}

.sql-inline-spinner[b-gquzb1l1cn] {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border: 2px solid #6366f1;
    border-top-color: #fff;
    border-radius: 50%;
    animation: sql-spin-b-gquzb1l1cn 0.7s linear infinite;
    margin-left: 0.4rem;
    vertical-align: middle;
}

@keyframes sql-spin-b-gquzb1l1cn {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sql-output-loading[b-gquzb1l1cn] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #94a3b8;
    font-style: italic;
    padding: 1rem 0;
}

.sql-output--error[b-gquzb1l1cn] {
    border-color: rgba(239, 68, 68, 0.45);
    background: #1a0d0d;
}

.sql-meta-origin[b-gquzb1l1cn] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}
/* /Components/Pages/Tenants.razor.rz.scp.css */
.tenants-page[b-o6zbfs5igj] {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

/* ── Environment toggle ──────────────────────────────────────────────── */

.env-toggle[b-o6zbfs5igj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.env-btn[b-o6zbfs5igj] {
    background: #1f2937;
    color: #94a3b8;
    border: 1px solid #374151;
    border-radius: 0.3rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    min-height: 44px;
    min-width: 44px;
}

.env-btn:disabled[b-o6zbfs5igj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.env-btn.active-dev[b-o6zbfs5igj] {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: #22c55e;
}

.env-btn.active-prod[b-o6zbfs5igj] {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.copy-env-btn[b-o6zbfs5igj] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid #b45309;
    border-radius: 0.3rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    min-height: 44px;
    min-width: 44px;
}

.copy-env-btn ~ .copy-env-btn[b-o6zbfs5igj] {
    margin-left: 0;
}

.copy-env-btn:hover:not(:disabled)[b-o6zbfs5igj],
.copy-env-btn:focus-visible:not(:disabled)[b-o6zbfs5igj] {
    background: rgba(245, 158, 11, 0.22);
    border-color: #f59e0b;
}

.copy-env-btn:disabled[b-o6zbfs5igj] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Loading indicator ───────────────────────────────────────────────── */

.loading-indicator[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.spinner[b-o6zbfs5igj] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #4b5563;
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: tenant-spin-b-o6zbfs5igj 0.6s linear infinite;
}

@keyframes tenant-spin-b-o6zbfs5igj {
    to { transform: rotate(360deg); }
}

/* ── Tenant groups ──────────────────────────────────────────────────── */

.tenant-group[b-o6zbfs5igj] {
    margin-bottom: 1rem;
}

.tenant-header[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    user-select: none;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 0.75rem;
}

.tenant-header:hover[b-o6zbfs5igj],
.tenant-header:focus-visible[b-o6zbfs5igj] {
    color: #a78bfa;
}

.tenant-chevron[b-o6zbfs5igj] {
    display: inline-block;
    width: 1rem;
    text-align: center;
    font-size: .6rem;
    color: #94a3b8;
    transition: transform 0.2s;
}

/* ── Site grid ───────────────────────────────────────────────────────── */

.site-grid[b-o6zbfs5igj] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* ── Site card ───────────────────────────────────────────────────────── */

.site-card[b-o6zbfs5igj] {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-header[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 500;
    font-size: 0.8rem;
    color: #e2e8f0;
}

.card-subtitle[b-o6zbfs5igj] {
    font-weight: 400;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ── Icon section ────────────────────────────────────────────────────── */

.icon-section[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.icon-wrapper[b-o6zbfs5igj] {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 64px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.icon-img[b-o6zbfs5igj] {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.icon-placeholder[b-o6zbfs5igj] {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #374151;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.icon-overlay[b-o6zbfs5igj] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.icon-wrapper:hover .icon-overlay[b-o6zbfs5igj],
.icon-wrapper:focus-within .icon-overlay[b-o6zbfs5igj] {
    opacity: 1;
}

/* ── Branding row ────────────────────────────────────────────────────── */

.branding-row[b-o6zbfs5igj] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* ── Color section ───────────────────────────────────────────────────── */

.color-section[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.color-row[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 240px;
    min-width: 0;
}

.color-swatch[b-o6zbfs5igj] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #374151;
    flex-shrink: 0;
}

.color-input[b-o6zbfs5igj] {
    flex: 0 1 160px;
    max-width: 160px;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    background: #1a1a2e;
    border: 1px solid #374151;
    border-radius: 0.3rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.color-input:focus[b-o6zbfs5igj] {
    border-color: #60a5fa;
}

.color-input[b-o6zbfs5igj]::placeholder {
    color: #4b5563;
}

.color-input:disabled[b-o6zbfs5igj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.color-input--invalid[b-o6zbfs5igj] {
    border-color: #f87171;
}

.color-input--invalid:focus[b-o6zbfs5igj] {
    border-color: #f87171;
}

/* ── Site card expandable header ─────────────────────────────────────── */

.site-card-expandable-header[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

/* ── View schema editor ──────────────────────────────────────────────── */

.view-schema-list[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 720px;
}

/* ── Save bar ────────────────────────────────────────────────────────── */

.save-bar[b-o6zbfs5igj] {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #111827;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.save-bar-row[b-o6zbfs5igj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.dirty-summary[b-o6zbfs5igj] {
    font-size: 0.75rem;
    color: #94a3b8;
}

.btn-save[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #374151;
    color: #22c55e;
    border: 1px solid #4b5563;
    border-radius: 0.3rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-save:hover:not(:disabled)[b-o6zbfs5igj],
.btn-save:focus-visible:not(:disabled)[b-o6zbfs5igj] {
    background: #4b5563;
    border-color: #22c55e;
}

.btn-save:disabled[b-o6zbfs5igj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-banner[b-o6zbfs5igj] {
    color: #ff6b6b;
    font-size: 0.75rem;
}

.success-banner[b-o6zbfs5igj] {
    color: #22c55e;
    font-size: 0.75rem;
}

.reauth-banner[b-o6zbfs5igj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.75rem;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 0.3rem;
    padding: 0.5rem 0.75rem;
}

.reauth-banner form[b-o6zbfs5igj] {
    margin: 0;
}

.btn-reauth[b-o6zbfs5igj] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 0.3rem;
    border: 1px solid #fbbf24;
    background: transparent;
    color: #fbbf24;
    cursor: pointer;
    white-space: nowrap;
}

.btn-reauth:hover:not(:disabled)[b-o6zbfs5igj],
.btn-reauth:focus-visible:not(:disabled)[b-o6zbfs5igj] {
    background: rgba(251, 191, 36, 0.15);
    color: #fde68a;
}

/* ── Error text ──────────────────────────────────────────────────────── */

.field-error[b-o6zbfs5igj] {
    color: #ff6b6b;
    font-size: 0.75rem;
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .tenants-page[b-o6zbfs5igj] {
        padding: 0.5rem;
    }

    .btn-reauth[b-o6zbfs5igj] {
        min-height: 44px;
        padding: 0 0.9rem;
        font-size: 0.8125rem;
    }
}

/* ── ViewSchema panel ────────────────────────────────────────────────── */

.vs-divider[b-o6zbfs5igj] {
    border: 0;
    border-top: 1px solid #1f2937;
    margin: 1rem 0;
}

.vs-panel[b-o6zbfs5igj] {
    background: #0f172a;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.875rem 1rem;
}

.vs-panel-header[b-o6zbfs5igj] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1f2937;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.1s ease;
}

.vs-panel-title[b-o6zbfs5igj] {
    margin: 0;
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 600;
}

.vs-panel-id[b-o6zbfs5igj] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.vs-section[b-o6zbfs5igj] {
    margin-top: 0.75rem;
}

.vs-section:first-of-type[b-o6zbfs5igj] {
    margin-top: 0;
}

.vs-section--top[b-o6zbfs5igj] {
    margin-top: 0;
}

.vs-section-title[b-o6zbfs5igj] {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #1f2937;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ca3af;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.vs-section-action-btn[b-o6zbfs5igj] {
    padding: 0.3rem 0.7rem;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: auto;
    text-transform: none;
    letter-spacing: normal;
    min-height: 44px;
    min-width: 44px;
}

.vs-section-action-btn:hover[b-o6zbfs5igj],
.vs-section-action-btn:focus-visible[b-o6zbfs5igj] {
    background: #2a3344;
}

.vs-section:first-of-type .vs-section-title[b-o6zbfs5igj] {
    margin-top: 0;
}

.vs-section-body[b-o6zbfs5igj] {
    max-width: 720px;
    margin: 0;
}

.vs-grid[b-o6zbfs5igj] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.4rem;
    align-items: start;
    max-width: 720px;
}

.vs-field[b-o6zbfs5igj] {
    display: contents;
}

.vs-field-label[b-o6zbfs5igj] {
    color: #cbd5e1;
    font-size: 0.8125rem;
    text-align: left;
    padding-right: 0;
    padding-top: 0.45rem;
}

.vs-field-control[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.vs-field-help[b-o6zbfs5igj] {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.vs-subsection-label[b-o6zbfs5igj] {
    color: #cbd5e1;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
    display: block;
}

.vs-input[b-o6zbfs5igj] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    background: #0b1220;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.8125rem;
    box-sizing: border-box;
}

.vs-input:focus[b-o6zbfs5igj] {
    outline: none;
    border-color: #2563eb;
}

.vs-checkbox-row[b-o6zbfs5igj] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0 0;
    border-top: 1px dashed #1f2937;
}

.vs-checkbox[b-o6zbfs5igj] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
    font-size: 0.8125rem;
    cursor: pointer;
}

.vs-checkbox input[b-o6zbfs5igj] {
    margin: 0;
    cursor: pointer;
}

.vs-json-section[b-o6zbfs5igj] {
    padding-top: 0.5rem;
    border-top: 1px solid #1f2937;
}

.vs-json-row[b-o6zbfs5igj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 720px;
    padding: 0.3rem 0;
}

.vs-json-label[b-o6zbfs5igj] {
    color: #cbd5e1;
    font-size: 0.8125rem;
}

.vs-json-count[b-o6zbfs5igj] {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.vs-json-count--empty[b-o6zbfs5igj] {
    color: #6b7280;
}

.vs-json-btn[b-o6zbfs5igj] {
    padding: 0.3rem 0.7rem;
    margin-left: auto;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.vs-json-btn:hover[b-o6zbfs5igj],
.vs-json-btn:focus-visible[b-o6zbfs5igj] {
    background: #2a3344;
}

@media (max-width: 720px) {
    .vs-grid[b-o6zbfs5igj] {
        grid-template-columns: 1fr;
    }

    .vs-field-label[b-o6zbfs5igj],
    .vs-json-label[b-o6zbfs5igj] {
        text-align: left;
        padding-right: 0;
    }
}

.site-card--expanded .site-card-content[b-o6zbfs5igj] {
    max-width: 880px;
    margin: 0 auto;
}

.site-card--expanded .view-schema-list[b-o6zbfs5igj] {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.vs-panel-header:hover[b-o6zbfs5igj] {
    background: rgba(255, 255, 255, 0.02);
}

.vs-panel-header:focus-visible[b-o6zbfs5igj] {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    border-radius: 4px;
}

.vs-panel-chevron[b-o6zbfs5igj] {
    display: inline-block;
    width: 0.9rem;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.vs-panel:not(.vs-panel--expanded) .vs-panel-header[b-o6zbfs5igj] {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
}

/* ── Header a11y focus rings ─────────────────────────────────────────── */

.tenant-header[role="button"]:focus-visible[b-o6zbfs5igj],
.site-card-expandable-header[role="button"]:focus-visible[b-o6zbfs5igj] {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    border-radius: 4px;
}

.tenant-site-count[b-o6zbfs5igj] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
}

/* ── Site counts row ─────────────────────────────────────────────────── */

.site-counts[b-o6zbfs5igj] {
    color: #94a3b8;
    font-size: 0.7rem;
}

/* ── Empty placeholders ──────────────────────────────────────────────── */

.sn-empty[b-o6zbfs5igj] {
    color: #6b7280;
    font-size: 0.75rem;
    font-style: italic;
    padding: 0.5rem 0;
}

/* ── Site nav editor ─────────────────────────────────────────────────── */

.sn-panel[b-o6zbfs5igj] {
    background: #0f172a;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    cursor: grab;
}

.sn-panel:active[b-o6zbfs5igj] {
    cursor: grabbing;
}

.sn-panel-header[b-o6zbfs5igj] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    user-select: none;
    transition: background-color 0.1s ease;
}

.sn-panel--expanded .sn-panel-header[b-o6zbfs5igj] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1f2937;
}

.sn-panel-chevron[b-o6zbfs5igj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    min-width: 44px;
    min-height: 44px;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1;
    flex-shrink: 0;
    cursor: pointer;
}

.sn-panel-chevron:hover[b-o6zbfs5igj] {
    background: rgba(255, 255, 255, 0.02);
}

.sn-panel-chevron:focus-visible[b-o6zbfs5igj] {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    border-radius: 4px;
}

.sn-panel-title[b-o6zbfs5igj] {
    margin: 0;
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 600;
}

.sn-label-input[b-o6zbfs5igj] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    background: #0b1220;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.8125rem;
    box-sizing: border-box;
}

.sn-label-input:focus[b-o6zbfs5igj] {
    outline: none;
    border-color: #2563eb;
}

.sn-delete-btn[b-o6zbfs5igj] {
    margin-left: auto;
    padding: 0.2rem 0.5rem;
    background: transparent;
    color: #ff6b6b;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
}

.sn-delete-btn:focus-visible[b-o6zbfs5igj] {
    border-color: #ff6b6b;
    outline: none;
}

.sn-pill[b-o6zbfs5igj] {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    font-size: 0.65rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}

.sn-pill--section[b-o6zbfs5igj] {
    color: #38bdf8;
}

.sn-pill--inactive[b-o6zbfs5igj] {
    color: #6b7280;
}

.sn-panel--child[b-o6zbfs5igj] {
    border-left: 3px solid #1e3a8a;
}

.sn-panel--orphan[b-o6zbfs5igj] {
    border-left: 3px solid #b45309;
}

.sn-children[b-o6zbfs5igj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid #1f2937;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.sn-orphans-group[b-o6zbfs5igj] {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #1f2937;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sn-orphans-title[b-o6zbfs5igj] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sn-unlinked-title[b-o6zbfs5igj] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sn-add-child-btn[b-o6zbfs5igj] {
    padding: 0.3rem 0.7rem;
    background: #1f2937;
    color: #e2e8f0;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 0;
    text-transform: none;
    letter-spacing: normal;
    width: fit-content;
    min-height: 44px;
    min-width: 44px;
}

.sn-add-child-btn:hover[b-o6zbfs5igj],
.sn-add-child-btn:focus-visible[b-o6zbfs5igj] {
    background: #2a3344;
}

@media (max-width: 480px) {
    .color-input[b-o6zbfs5igj] {
        font-size: 1rem;
        min-height: 44px;
        padding: 0.5rem 0.75rem;
    }
}

.vs-section-title-row[b-o6zbfs5igj] {
    padding-bottom: 5px;
}

.vs-section-title-row h4[b-o6zbfs5igj] {
    flex-grow: 1;
}

.vs-section-title-row > button:first-of-type[b-o6zbfs5igj] {
    margin-left: auto;
}

.sn-view-config-header[b-o6zbfs5igj] {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-top: 1px dashed #1f2937;
    margin-top: 0.5rem;
}

.sn-view-config-header:focus-visible[b-o6zbfs5igj] {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    border-radius: 4px;
}

.sn-view-chips[b-o6zbfs5igj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0;
}

.sn-view-chip[b-o6zbfs5igj] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.5rem;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #cbd5e1;
}

.sn-view-chip-label[b-o6zbfs5igj] {
    color: #94a3b8;
}

.sn-view-chip-value[b-o6zbfs5igj] {
    color: #e2e8f0;
}
/* /Components/Pages/Terminal.razor.rz.scp.css */
.terminal-page[b-1oojacbn0v] {
    width: 100%;
    height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    box-sizing: border-box;
}

.terminal-window[b-1oojacbn0v] {
    position: relative;
    flex: 1;
    background: #1a1a2e; /* Match xterm theme.background */
    border: 1px solid #1f2937;
    border-radius: 0.5rem 0.5rem 0 0;
    /* No padding — xterm.js manages its own internal padding */
    overflow: hidden; /* xterm.js handles scrolling internally */
    min-height: 0; /* Critical for flex child to shrink properly */
}

.xterm-container[b-1oojacbn0v] {
    width: 100%;
    height: 100%;
}

/* ── Override xterm.js viewport scrollbar to match site theme ── */
.xterm-container .xterm-viewport[b-1oojacbn0v]::-webkit-scrollbar {
    width: 10px;
}

.xterm-container .xterm-viewport[b-1oojacbn0v]::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.xterm-container .xterm-viewport[b-1oojacbn0v]::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 5px;
    border: 2px solid #1a1a2e;
}

.xterm-container .xterm-viewport[b-1oojacbn0v]::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.copy-btn[b-1oojacbn0v] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10; /* Above xterm.js layers */
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.25rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}

.terminal-window:hover .copy-btn[b-1oojacbn0v] {
    opacity: 1;
}

.copy-btn:hover[b-1oojacbn0v],
.copy-btn:focus-visible[b-1oojacbn0v] {
    color: #e2e8f0;
    background: #374151;
}

.copy-btn:active[b-1oojacbn0v] {
    background: #4b5563;
}

.copy-btn .icon-check[b-1oojacbn0v] {
    display: none;
}

.copy-btn.copied .icon-copy[b-1oojacbn0v] {
    display: none;
}

.copy-btn.copied .icon-check[b-1oojacbn0v] {
    display: block;
    color: #22c55e;
}

.terminal-input-bar[b-1oojacbn0v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #111827;
    border: 1px solid #1f2937;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 0.75rem;
    flex-shrink: 0;
}

.input-prompt[b-1oojacbn0v] {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.terminal-input[b-1oojacbn0v] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e2e8f0;
    font-size: 0.85rem;
    caret-color: #22c55e;
    min-width: 50px;
    resize: none;
    overflow: hidden;
    height: 1.5rem;
    padding-top: 0.2rem;
    white-space: pre;
}

.terminal-input[b-1oojacbn0v]::placeholder {
    color: #4b5563;
}

.terminal-btn[b-1oojacbn0v] {
    flex-shrink: 0;
    border: none;
    border-radius: 0.3rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
}

.execute-btn[b-1oojacbn0v] {
    background: #16a34a;
}

.execute-btn:hover:not(:disabled)[b-1oojacbn0v],
.execute-btn:focus-visible:not(:disabled)[b-1oojacbn0v] {
    background: #15803d;
}

.clear-btn[b-1oojacbn0v] {
    background: #374151;
    color: #e2e8f0;
}

.clear-btn:hover:not(:disabled)[b-1oojacbn0v],
.clear-btn:focus-visible:not(:disabled)[b-1oojacbn0v] {
    background: #4b5563;
}

.terminal-btn:disabled[b-1oojacbn0v] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .terminal-page[b-1oojacbn0v] {
        padding: 0.5rem;
        height: calc(100vh - 3rem);
        height: calc(100dvh - 3rem);
    }

    .terminal-input-bar[b-1oojacbn0v] {
        flex-wrap: wrap;
        gap: 0.4rem;
        padding: 0.5rem;
    }

    .terminal-input[b-1oojacbn0v] {
        order: 1;
        min-width: 0;
        font-size: 1rem;
    }

    .input-prompt[b-1oojacbn0v] {
        order: 0;
        font-size: 0.85rem;
    }

    .terminal-btn[b-1oojacbn0v] {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
        min-height: 2.25rem;
    }

    .execute-btn[b-1oojacbn0v] {
        order: 2;
    }

    .clear-btn[b-1oojacbn0v] {
        order: 3;
    }

    .stop-btn[b-1oojacbn0v] {
        order: 4;
    }

    .copy-btn[b-1oojacbn0v] {
        opacity: 1; /* Always visible on touch devices */
    }
}

@media (max-width: 480px) {
    .terminal-page[b-1oojacbn0v] {
        padding: 0.25rem;
    }

    .terminal-window[b-1oojacbn0v] {
        border-radius: 0.35rem 0.35rem 0 0;
    }

    .terminal-input-bar[b-1oojacbn0v] {
        border-radius: 0 0 0.35rem 0.35rem;
    }

    .terminal-btn[b-1oojacbn0v] {
        padding: 0.45rem 0.6rem;
    }
}

.stop-btn[b-1oojacbn0v] {
    background: #991b1b;
    color: #fca5a5;
}

.stop-btn:hover:not(:disabled)[b-1oojacbn0v],
.stop-btn:focus-visible:not(:disabled)[b-1oojacbn0v] {
    background: #b91c1c;
}
/* /Components/TopProcessesModal.razor.rz.scp.css */
.proc-modal-overlay[b-rdqbxsil69] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.proc-modal[b-rdqbxsil69] {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    width: min(40rem, 90vw);
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.proc-modal-header[b-rdqbxsil69] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #1f2937;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proc-modal-close[b-rdqbxsil69] {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
}

.proc-modal-close:hover[b-rdqbxsil69],
.proc-modal-close:focus-visible[b-rdqbxsil69] {
    color: #e2e8f0;
}

.proc-modal-body[b-rdqbxsil69] {
    padding: 0.75rem 1rem;
    overflow-y: auto;
    flex: 1;
}

.proc-modal-empty[b-rdqbxsil69] {
    color: #6b7280;
    font-size: 0.8rem;
    text-align: center;
    padding: 1.5rem 0;
    margin: 0;
}

.proc-modal-table[b-rdqbxsil69] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.proc-modal-table th[b-rdqbxsil69] {
    text-align: left;
    color: #6b7280;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.65rem;
}

.proc-modal-table td[b-rdqbxsil69] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #1f293744;
    vertical-align: top;
}

.proc-pid[b-rdqbxsil69] {
    white-space: nowrap;
    color: #9ca3af;
}

.proc-name[b-rdqbxsil69] {
    color: #93c5fd;
    word-break: break-word;
}

.proc-cpu[b-rdqbxsil69] {
    white-space: nowrap;
    color: #d1d5db;
}

.proc-cpu-red[b-rdqbxsil69] {
    color: #fca5a5;
}

.proc-cpu-orange[b-rdqbxsil69] {
    color: #fdba74;
}

.proc-mem[b-rdqbxsil69] {
    white-space: nowrap;
    color: #d1d5db;
}

@media (max-width: 480px) {
    .proc-modal[b-rdqbxsil69] {
        width: 95vw;
        max-height: 80vh;
    }

    .proc-modal-table[b-rdqbxsil69] {
        font-size: 0.65rem;
    }
}
