@import '_content/ChrisM.GraphIt/ChrisM.GraphIt.3midyhi8co.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped styles */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Hide all state-specific children by default */
.components-reconnect-first-attempt-visible[b-d2m2k0llxx],
.components-reconnect-repeated-attempt-visible[b-d2m2k0llxx],
.components-reconnect-failed-visible[b-d2m2k0llxx],
.components-pause-visible[b-d2m2k0llxx],
.components-resume-failed-visible[b-d2m2k0llxx],
.components-rejoining-animation[b-d2m2k0llxx] {
    display: none;
}

/* Show the banner only when an active reconnect state is set */
#components-reconnect-modal[b-d2m2k0llxx] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1e3a5f;
    color: #e2e8f0;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    animation: components-reconnect-slideDown-b-d2m2k0llxx 0.3s ease-out;
}

#components-reconnect-modal.components-reconnect-show[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-retrying[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-failed[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-paused[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-resume-failed[b-d2m2k0llxx] {
    display: block;
}

/* Show the correct message for each state */
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d2m2k0llxx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d2m2k0llxx] {
    display: inline;
}

.components-reconnect-container[b-d2m2k0llxx] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Spinner dots */
.components-rejoining-animation[b-d2m2k0llxx] {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.components-rejoining-animation span[b-d2m2k0llxx] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #93c5fd;
    animation: components-reconnect-bounce-b-d2m2k0llxx 1.2s infinite ease-in-out;
}

.components-rejoining-animation span:nth-child(2)[b-d2m2k0llxx] { animation-delay: 0.2s; }
.components-rejoining-animation span:nth-child(3)[b-d2m2k0llxx] { animation-delay: 0.4s; }

@keyframes components-reconnect-bounce-b-d2m2k0llxx {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40%            { transform: scale(1);   opacity: 1;   }
}

@keyframes components-reconnect-slideDown-b-d2m2k0llxx {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

#components-reconnect-modal button[b-d2m2k0llxx] {
    border: 0;
    background-color: #3b82f6;
    color: white;
    padding: 2px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

#components-reconnect-modal button:hover[b-d2m2k0llxx] {
    background-color: #2563eb;
    }

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

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

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

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

@keyframes components-rejoining-animation-b-d2m2k0llxx {
    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/Tools/GraphItAbout.razor.rz.scp.css */
/* ── Shell ─────────────────────────────────────────────────────────────── */
.about-shell[b-q0ktz98t0v] {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    color: #cdd6f4;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.about-hero[b-q0ktz98t0v] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #1e1e2e 0%, #181825 100%);
    border: 1px solid #313244;
    border-radius: 14px;
    padding: 2rem 2rem 1.75rem;
    margin-bottom: 1.75rem;
}

.about-hero-icon[b-q0ktz98t0v] {
    font-size: 2.8rem;
    line-height: 1;
}

.about-hero-title[b-q0ktz98t0v] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #cdd6f4;
    line-height: 1.2;
}

.about-hero-sub[b-q0ktz98t0v] {
    font-weight: 400;
    color: #6c7086;
    font-size: 1.35rem;
}

.about-hero-tagline[b-q0ktz98t0v] {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    color: #a6adc8;
    line-height: 1.7;
    max-width: 640px;
}

.about-cta-btn[b-q0ktz98t0v] {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: #4c6ef5;
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.about-cta-btn:hover[b-q0ktz98t0v] {
    background: #3b5bdb;
    color: #fff;
}

/* ── Feature pills ─────────────────────────────────────────────────────── */
.about-features[b-q0ktz98t0v] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.about-feature-pill[b-q0ktz98t0v] {
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.82rem;
    color: #89b4fa;
    white-space: nowrap;
}

/* ── Body ──────────────────────────────────────────────────────────────── */
.about-body[b-q0ktz98t0v] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* ── Section ───────────────────────────────────────────────────────────── */
.about-section[b-q0ktz98t0v] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-section-title[b-q0ktz98t0v] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #cdd6f4;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #313244;
}

/* ── Language cards ────────────────────────────────────────────────────── */
.about-lang-grid[b-q0ktz98t0v] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.about-lang-card[b-q0ktz98t0v] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.about-lang-icon[b-q0ktz98t0v] {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.about-lang-name[b-q0ktz98t0v] {
    font-size: 0.92rem;
    font-weight: 600;
    color: #cdd6f4;
}

.about-lang-ext code[b-q0ktz98t0v] {
    background: #313244;
    color: #89b4fa;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.8rem;
}

.about-lang-note[b-q0ktz98t0v] {
    font-size: 0.78rem;
    color: #6c7086;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* ── Steps ─────────────────────────────────────────────────────────────── */
.about-steps[b-q0ktz98t0v] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid #313244;
    margin-left: 1rem;
}

.about-step[b-q0ktz98t0v] {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 0 0 2rem 1.5rem;
    position: relative;
}

.about-step:last-child[b-q0ktz98t0v] {
    padding-bottom: 0;
}

.about-step-num[b-q0ktz98t0v] {
    position: absolute;
    left: -1.1rem;
    top: 0.05rem;
    width: 2rem;
    height: 2rem;
    background: #4c6ef5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #11111b;
}

.about-step-body[b-q0ktz98t0v] {
    padding-top: 0.2rem;
    min-width: 0;
}

.about-step-title[b-q0ktz98t0v] {
    font-size: 1rem;
    font-weight: 700;
    color: #cdd6f4;
    margin-bottom: 0.45rem;
}

.about-step-body p[b-q0ktz98t0v] {
    margin: 0 0 0.6rem;
    font-size: 0.92rem;
    color: #a6adc8;
    line-height: 1.7;
}

.about-step-body p:last-child[b-q0ktz98t0v] {
    margin-bottom: 0;
}

/* ── Tip callout ───────────────────────────────────────────────────────── */
.about-tip[b-q0ktz98t0v] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    background: rgba(76, 110, 245, 0.08);
    border: 1px solid rgba(76, 110, 245, 0.25);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
    color: #a6adc8;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.about-tip-icon[b-q0ktz98t0v] {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 0.05rem;
}

.about-tip code[b-q0ktz98t0v] {
    background: #313244;
    color: #89b4fa;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ── Sub-feature grid ──────────────────────────────────────────────────── */
.about-sub-grid[b-q0ktz98t0v] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem;
}

.about-sub-item[b-q0ktz98t0v] {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    font-size: 0.88rem;
    color: #a6adc8;
    line-height: 1.55;
}

.about-sub-icon[b-q0ktz98t0v] {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ── Export row ────────────────────────────────────────────────────────── */
.about-export-row[b-q0ktz98t0v] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.88rem;
    color: #a6adc8;
}

.about-export-badge[b-q0ktz98t0v] {
    background: #313244;
    color: #cdd6f4;
    border-radius: 5px;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ── Privacy box ───────────────────────────────────────────────────────── */
.about-privacy-box[b-q0ktz98t0v] {
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-privacy-row[b-q0ktz98t0v] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #a6adc8;
    line-height: 1.6;
}

.about-privacy-icon[b-q0ktz98t0v] {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.about-privacy-row strong[b-q0ktz98t0v] {
    color: #cdd6f4;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.about-faq[b-q0ktz98t0v] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #313244;
    border-radius: 10px;
    overflow: hidden;
}

.about-faq-item[b-q0ktz98t0v] {
    border-bottom: 1px solid #313244;
}

.about-faq-item:last-child[b-q0ktz98t0v] {
    border-bottom: none;
}

.about-faq-item summary[b-q0ktz98t0v] {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1.1rem;
    font-size: 0.93rem;
    font-weight: 600;
    color: #cdd6f4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.12s;
    user-select: none;
}

.about-faq-item summary[b-q0ktz98t0v]::-webkit-details-marker { display: none; }

.about-faq-item summary[b-q0ktz98t0v]::before {
    content: '›';
    font-size: 1.2rem;
    color: #4c6ef5;
    transition: transform 0.18s;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.about-faq-item[open] summary[b-q0ktz98t0v]::before {
    transform: rotate(90deg);
}

.about-faq-item summary:hover[b-q0ktz98t0v] {
    background: #1e1e2e;
}

.about-faq-item[open] summary[b-q0ktz98t0v] {
    background: #1e1e2e;
}

.about-faq-a[b-q0ktz98t0v] {
    margin: 0;
    padding: 0.1rem 1.1rem 1rem 2.6rem;
    font-size: 0.88rem;
    color: #a6adc8;
    line-height: 1.75;
    background: #181825;
}

.about-faq-a code[b-q0ktz98t0v] {
    background: #313244;
    color: #89b4fa;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ── Shared link style ─────────────────────────────────────────────────── */
.about-link[b-q0ktz98t0v] {
    color: #89b4fa;
    text-decoration: none;
}

.about-link:hover[b-q0ktz98t0v] {
    text-decoration: underline;
    color: #b4befe;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .about-shell[b-q0ktz98t0v] {
        padding: 1.25rem 1rem 3rem;
    }

    .about-hero[b-q0ktz98t0v] {
        padding: 1.4rem 1.2rem;
    }

    .about-hero-title[b-q0ktz98t0v] {
        font-size: 1.35rem;
    }

    .about-hero-sub[b-q0ktz98t0v] {
        display: block;
        font-size: 1rem;
    }

    .about-steps[b-q0ktz98t0v] {
        margin-left: 0.5rem;
    }
}
/* /Components/Pages/Tools/GraphView.razor.rz.scp.css */
.graph-view-container[b-x18waioaj7] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 0;
    min-width: 0;
}

.cluster-toggle[b-x18waioaj7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #cdd6f4;
    cursor: pointer;
    user-select: none;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #313244;
    background: #181825;
    white-space: nowrap;
}

.cluster-toggle input[type="checkbox"][b-x18waioaj7] {
    accent-color: #6366f1;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* ── Shell: side nav + main ──────────────────────────────────────────────── */

.graphit-shell[b-x18waioaj7] {
    display: flex;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
}

.graph-nav[b-x18waioaj7] {
    width: 220px;
    min-width: 160px;
    flex-shrink: 0;
    background: #181825;
    border-right: 1px solid #313244;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0.75rem 0;
}

.graph-nav-about[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #89b4fa;
    text-decoration: none;
    border-bottom: 1px solid #313244;
    margin-bottom: 0.4rem;
    transition: background 0.12s, color 0.12s;
}

.graph-nav-about:hover[b-x18waioaj7] {
    background: #1e1e2e;
    color: #b4befe;
}

.graph-nav-about-icon[b-x18waioaj7] {
    font-size: 1rem;
    flex-shrink: 0;
}

.graph-nav-header[b-x18waioaj7] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c7086;
    padding: 0 0.9rem 0.6rem;
    border-bottom: 1px solid #313244;
    margin-bottom: 0.4rem;
}

.graph-nav-empty[b-x18waioaj7] {
    font-size: 0.82rem;
    color: #45475a;
    padding: 0.5rem 0.9rem;
}

.graph-nav-list[b-x18waioaj7] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.graph-nav-item[b-x18waioaj7] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.12s, border-color 0.12s;
}

.graph-nav-item:hover[b-x18waioaj7] {
    background: #1e1e2e;
}

.graph-nav-item.active[b-x18waioaj7] {
    border-left-color: #4c6ef5;
    background: #1e1e2e;
}

.graph-nav-folder[b-x18waioaj7] {
    font-size: 0.86rem;
    color: #cdd6f4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.graph-nav-date[b-x18waioaj7] {
    font-size: 0.72rem;
    color: #6c7086;
}

.graph-main[b-x18waioaj7] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



h2[b-x18waioaj7] {
    margin: 0;
    font-size: 1.5rem;
}

.toolbar[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.browse-btn[b-x18waioaj7] {
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
    background: #313244;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.browse-btn:hover:not(:disabled)[b-x18waioaj7] {
    background: #45475a;
}

.browse-btn:disabled[b-x18waioaj7] {
    opacity: 0.6;
    cursor: not-allowed;
}

.folder-badge[b-x18waioaj7] {
    font-size: 0.88rem;
    color: #89b4fa;
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-count[b-x18waioaj7] {
    color: #6c7086;
    font-size: 0.8rem;
}

.analyze-btn[b-x18waioaj7] {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    background: #4c6ef5;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.analyze-btn:hover:not(:disabled)[b-x18waioaj7] {
    background: #3b5bdb;
}

.analyze-btn:disabled[b-x18waioaj7] {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-banner[b-x18waioaj7] {
    background: #ff3b3b22;
    border: 1px solid #ff3b3b;
    color: #ff6b6b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.graph-stats[b-x18waioaj7] {
    font-size: 0.9rem;
    color: #a6adc8;
}

.canvas-wrapper[b-x18waioaj7] {
    position: relative;
    overflow: hidden;
    border: 1px solid #313244;
    border-radius: 8px;
    background: #11111b;
    height: calc(100vh - 280px);
    min-height: 300px;
    touch-action: none;
    cursor: move;
}

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

.zoom-toolbar[b-x18waioaj7] {
    position: sticky;
    top: 8px;
    left: 0;
    z-index: 10;
    display: inline-flex;
    gap: 4px;
    padding: 4px 6px;
    margin: 8px 0 0 8px;
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 8px;
    pointer-events: all;
}

.zoom-btn[b-x18waioaj7] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    background: #313244;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.12s;
    user-select: none;
}

.zoom-btn:hover[b-x18waioaj7] {
    background: #45475a;
}

canvas[b-x18waioaj7] {
    display: block;
}

.progress-bar-container[b-x18waioaj7] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.progress-bar-track[b-x18waioaj7] {
    height: 4px;
    background: #313244;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill[b-x18waioaj7] {
    height: 100%;
    width: 40%;
    background: #4c6ef5;
    border-radius: 2px;
    animation: progress-slide 1.4s ease-in-out infinite;
}

@@keyframes progress-slide {
    0%[b-x18waioaj7]   { transform: translateX(-100%); }
    100%[b-x18waioaj7] { transform: translateX(350%); }
}

.progress-status[b-x18waioaj7] {
    font-size: 0.82rem;
    color: #6c7086;
}

/* ── Privacy Modal ─────────────────────────────────────────────────────────── */

.modal-backdrop[b-x18waioaj7] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(3px);
}

.modal-box[b-x18waioaj7] {
    background: #1e1e2e;
    border: 1px solid #45475a;
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.modal-header[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #313244;
    flex-shrink: 0;
}

.modal-icon[b-x18waioaj7] {
    font-size: 1.5rem;
    line-height: 1;
}

.modal-title[b-x18waioaj7] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #cdd6f4;
}

.modal-body[b-x18waioaj7] {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-lead[b-x18waioaj7] {
    color: #a6adc8;
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0 0 1.1rem;
}

.modal-steps[b-x18waioaj7] {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.modal-steps li[b-x18waioaj7] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #a6adc8;
    font-size: 0.9rem;
    line-height: 1.65;
}

.step-icon[b-x18waioaj7] {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.modal-steps li strong[b-x18waioaj7] {
    color: #cdd6f4;
}

.modal-steps li code[b-x18waioaj7] {
    background: #313244;
    color: #89b4fa;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.85em;
}

.modal-privacy-note[b-x18waioaj7] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    background: rgba(76, 110, 245, 0.1);
    border: 1px solid rgba(76, 110, 245, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #a5b4fc;
    line-height: 1.6;
}

.modal-privacy-note strong[b-x18waioaj7] {
    color: #c7d2fe;
}

.modal-footer[b-x18waioaj7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #313244;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.modal-suppress[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #6c7086;
    cursor: pointer;
    user-select: none;
}

.modal-suppress input[type="checkbox"][b-x18waioaj7] {
    accent-color: #4c6ef5;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.modal-actions[b-x18waioaj7] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.modal-btn-cancel[b-x18waioaj7] {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    background: transparent;
    color: #6c7086;
    border: 1px solid #45475a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.modal-btn-cancel:hover[b-x18waioaj7] {
    background: #313244;
    color: #cdd6f4;
}

.modal-btn-confirm[b-x18waioaj7] {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    background: #4c6ef5;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s;
}

.modal-btn-confirm:hover[b-x18waioaj7] {
    background: #3b5bdb;
}

/* ── Toolbar select / input ──────────────────────────────────────────────── */

.toolbar-select[b-x18waioaj7] {
    padding: 0.4rem 0.6rem;
    font-size: 0.88rem;
    background: #313244;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 6px;
    cursor: pointer;
}

.toolbar-input[b-x18waioaj7] {
    padding: 0.38rem 0.6rem;
    font-size: 0.88rem;
    background: #1e1e2e;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 6px;
    outline: none;
    min-width: 130px;
}

.toolbar-input:focus[b-x18waioaj7] {
    border-color: #4c6ef5;
}

/* ── Dropdown ────────────────────────────────────────────────────────────── */

.dropdown-wrap[b-x18waioaj7] {
    position: relative;
    display: inline-flex;
}

.dropdown-menu[b-x18waioaj7] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 200;
    background: #1e1e2e;
    border: 1px solid #45475a;
    border-radius: 8px;
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.snapshot-menu[b-x18waioaj7] {
    min-width: 200px;
}

.dropdown-item[b-x18waioaj7] {
    padding: 0.4rem 0.75rem;
    font-size: 0.88rem;
    background: transparent;
    color: #cdd6f4;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}

.dropdown-item:hover[b-x18waioaj7] {
    background: #313244;
}

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

.search-bar[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-input[b-x18waioaj7] {
    padding: 0.38rem 0.6rem;
    font-size: 0.9rem;
    background: #1e1e2e;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 6px;
    outline: none;
    min-width: 200px;
}

.search-input:focus[b-x18waioaj7] {
    border-color: #4c6ef5;
}

.search-clear[b-x18waioaj7] {
    padding: 0.3rem 0.55rem;
    font-size: 0.85rem;
    background: #313244;
    color: #a6adc8;
    border: 1px solid #45475a;
    border-radius: 6px;
    cursor: pointer;
}

/* ── Connector endpoint popup ──────────────────────────────────────────────── */

.connector-popup-backdrop[b-x18waioaj7] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: transparent;
    cursor: default;
}

.connector-popup[b-x18waioaj7] {
    position: fixed;
    z-index: 1000;
    background: #1e1e2e;
    border: 1px solid rgba(99,102,241,0.6);
    border-radius: 8px;
    padding: 0;
    min-width: 220px;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translate(-50%, -110%);
    overflow: hidden;
}

.connector-popup-title[b-x18waioaj7] {
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(139,148,247,0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.8rem 0.4rem;
    background: #1e1e2e;
    border-bottom: 1px solid #313244;
}

.connector-popup-list[b-x18waioaj7] {
    overflow-y: auto;
    max-height: calc(5 * 4.2rem);
    display: flex;
    flex-direction: column;
}

.connector-popup-item[b-x18waioaj7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #313244;
    color: #cdd6f4;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
    width: 100%;
}

.connector-popup-item:last-of-type[b-x18waioaj7] {
    border-bottom: none;
}

.connector-popup-item:hover[b-x18waioaj7] {
    background: rgba(99,102,241,0.15);
}

.connector-popup-class[b-x18waioaj7] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #89b4fa;
    font-family: monospace;
}

.connector-popup-method[b-x18waioaj7] {
    font-size: 0.8rem;
    color: #a6e3a1;
    font-family: monospace;
}

.connector-popup-hint[b-x18waioaj7] {
    font-size: 0.72rem;
    color: #6c7086;
    font-family: monospace;
    margin-top: 0.1rem;
}

.connector-popup-close[b-x18waioaj7] {
    position: sticky;
    bottom: 0;
    align-self: flex-end;
    background: #1e1e2e;
    border: none;
    border-top: 1px solid #313244;
    color: #6c7086;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.6rem;
    border-radius: 0 0 8px 8px;
    width: 100%;
    text-align: right;
}

.connector-popup-close:hover[b-x18waioaj7] {
    color: #cdd6f4;
    background: #313244;
}

.search-clear:hover[b-x18waioaj7] {
    background: #45475a;
}

.search-depth-label[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #a6adc8;
}

.search-depth-val[b-x18waioaj7] {
    min-width: 1.2em;
    text-align: center;
    color: #89b4fa;
}

/* ── Diff panel ──────────────────────────────────────────────────────────── */

.diff-panel[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
    background: #181825;
    border: 1px solid #313244;
    border-radius: 8px;
}

.diff-label[b-x18waioaj7] {
    font-size: 0.85rem;
    color: #6c7086;
    white-space: nowrap;
}

.diff-vs[b-x18waioaj7] {
    font-size: 0.82rem;
    color: #45475a;
}

.diff-summary[b-x18waioaj7] {
    font-size: 0.83rem;
    color: #a6adc8;
    padding: 0.2rem 0.5rem;
    background: #1e1e2e;
    border-radius: 5px;
}

/* ── Path panel ──────────────────────────────────────────────────────────── */

.path-panel[b-x18waioaj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
    background: #181825;
    border: 1px solid #313244;
    border-radius: 8px;
}

.path-result[b-x18waioaj7] {
    font-size: 0.83rem;
    color: #38bdf8;
    padding: 0.2rem 0.5rem;
    background: #1e1e2e;
    border-radius: 5px;
    font-family: monospace;
}

/* ── Toast ───────────────────────────────────────────────────────────────── */

.toast[b-x18waioaj7] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 500;
    background: #313244;
    color: #cdd6f4;
    border: 1px solid #45475a;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    animation: toast-in 0.2s ease;
}

@@keyframes toast-in {
    from[b-x18waioaj7] { opacity: 0; transform: translateY(12px); }
    to[b-x18waioaj7]   { opacity: 1; transform: translateY(0); }
}
/* /Components/Shared/ContactDialog.razor.rz.scp.css */
dialog.contact-dialog[b-tzip5e7ye8],
#contact-dialog[b-tzip5e7ye8] {
    border: 1px solid var(--color-accent, #7c6af7);
    border-radius: 12px;
    padding: 0;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(124, 106, 247, 0.25);
    background: #1e1e32;
    color: var(--color-text, #e0e0e0);
    /* centering */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#contact-dialog[b-tzip5e7ye8]::backdrop {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
}

.contact-form[b-tzip5e7ye8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
}

.contact-title[b-tzip5e7ye8] {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.contact-intro[b-tzip5e7ye8] {
    font-size: 0.9rem;
    color: var(--color-text-muted, #888);
    margin: 0 0 0.5rem;
}

.contact-label[b-tzip5e7ye8] {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-text-muted, #888);
}

.contact-optional[b-tzip5e7ye8] {
    font-weight: 400;
    font-style: italic;
    opacity: 0.7;
}

.contact-input[b-tzip5e7ye8],
.contact-textarea[b-tzip5e7ye8] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--color-border, #333);
    background: var(--color-bg, #0f0f1a);
    color: var(--color-text, #e0e0e0);
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-input:focus[b-tzip5e7ye8],
.contact-textarea:focus[b-tzip5e7ye8] {
    outline: none;
    border-color: var(--color-accent, #7c6af7);
}

.contact-textarea[b-tzip5e7ye8] {
    resize: vertical;
    min-height: 100px;
}

.contact-actions[b-tzip5e7ye8] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-success[b-tzip5e7ye8] {
    color: #4caf91;
    font-size: 0.9rem;
    margin: 0;
}

.contact-error[b-tzip5e7ye8] {
    color: #e05c5c;
    font-size: 0.9rem;
    margin: 0;
}
