@import '_content/ShellDocs.Components/ShellDocs.Components.7p10urfvnl.bundle.scp.css';

/* /Components/Home/NativeBento.razor.rz.scp.css */
.bento-section[b-0n8536b9zz] { margin-top: 5rem; }

.bento-head[b-0n8536b9zz] {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
    gap: 0.25rem 0.75rem; margin-bottom: 2rem; text-align: center;
}
.bento-head h2[b-0n8536b9zz] { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.bento-head p[b-0n8536b9zz] { margin: 0; color: var(--muted-foreground); font-size: 1.05rem; }

/* Hairline grid: 1px gaps over a border-coloured background, Efferd-style corner marks. */
.bento[b-0n8536b9zz] {
    position: relative;
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--border); border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
@media (min-width: 768px) { .bento[b-0n8536b9zz] { grid-template-columns: repeat(2, 1fr); } .span-2[b-0n8536b9zz] { grid-column: span 2; } }
@media (min-width: 1024px) { .bento[b-0n8536b9zz] { grid-template-columns: repeat(3, 1fr); } }

.cell[b-0n8536b9zz] { display: flex; flex-direction: column; background: var(--background); min-width: 0; }
.visual[b-0n8536b9zz] {
    position: relative; height: 15rem; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background-image: radial-gradient(color-mix(in oklch, var(--foreground) 12%, transparent) 1px, transparent 1px);
    background-size: 16px 16px;
    border-bottom: 1px solid var(--border);
}
.text[b-0n8536b9zz] { padding: 1.25rem 1.4rem 1.5rem; }
.text h3[b-0n8536b9zz] { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.35rem; }
.text p[b-0n8536b9zz] { font-size: 0.9rem; line-height: 1.55; color: var(--muted-foreground); margin: 0 0 0.75rem; }
.text a[b-0n8536b9zz] { font-size: 0.85rem; font-weight: 500; color: var(--foreground); text-decoration: none; }
.text a:hover[b-0n8536b9zz] { text-decoration: underline; text-underline-offset: 4px; }
code[b-0n8536b9zz] {
    font-family: var(--font-mono); font-size: 0.82em; color: var(--foreground);
    background: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0.05rem 0.3rem;
}

/* Themes */
.visual-theme[b-0n8536b9zz] { padding: 1.25rem; }
.theme-demo[b-0n8536b9zz] {
    width: 100%; max-width: 15rem; display: flex; flex-direction: column; gap: 1rem;
    padding: 1rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); background: var(--card);
}
.theme-row[b-0n8536b9zz] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.swatches[b-0n8536b9zz] { display: flex; gap: 0.5rem; justify-content: center; }
.swatch[b-0n8536b9zz] {
    width: 1.5rem; height: 1.5rem; border-radius: 50%; cursor: pointer; padding: 0;
    border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--border); transition: transform 150ms, box-shadow 150ms;
}
.swatch:hover[b-0n8536b9zz] { transform: scale(1.1); }
.swatch.on[b-0n8536b9zz] { box-shadow: 0 0 0 2px var(--foreground); }

/* Forms */
.visual-form[b-0n8536b9zz] { padding: 1.25rem; }
.mini-form[b-0n8536b9zz] {
    width: 100%; max-width: 15rem; display: flex; flex-direction: column; gap: 0.6rem;
    padding: 1rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); background: var(--card);
}
.form-row[b-0n8536b9zz] { display: flex; align-items: center; justify-content: space-between; margin: 0.2rem 0; }

/* Shared SVG marks (CLI + accessibility) */
.visual svg *[b-0n8536b9zz] { transform-box: fill-box; }
.visual-a11y svg[b-0n8536b9zz] { width: 100%; height: 100%; display: block; }
.frame[b-0n8536b9zz] { fill: var(--card); stroke: color-mix(in oklch, var(--foreground) 22%, var(--border)); stroke-width: 1.2; }
.rule[b-0n8536b9zz] { stroke: var(--border); stroke-width: 1.2; }
.dot[b-0n8536b9zz] { fill: color-mix(in oklch, var(--foreground) 25%, transparent); }
.bar[b-0n8536b9zz] { fill: color-mix(in oklch, var(--foreground) 16%, transparent); }
.key[b-0n8536b9zz] { fill: color-mix(in oklch, var(--muted) 60%, var(--card)); }
.mono[b-0n8536b9zz] { font-family: var(--font-mono); font-size: 11.5px; }
.strong[b-0n8536b9zz] { fill: var(--foreground); }
.soft[b-0n8536b9zz] { fill: var(--muted-foreground); }
.ok[b-0n8536b9zz] { fill: oklch(0.72 0.17 150); }

/* CLI: a terminal replaying the 0.4 `shellui init` (lines are injected by wwwroot/cli-replay.js, hence ::deep). */
.visual-cli[b-0n8536b9zz] { height: 24rem; padding: 1.25rem 1.25rem 0; align-items: stretch; justify-content: stretch; }
.terminal[b-0n8536b9zz] {
    flex: 1; display: flex; flex-direction: column; min-width: 0;
    border-radius: 10px 10px 0 0; border: 1px solid oklch(0.32 0 0); border-bottom: 0;
    background: oklch(0.16 0 0); color: oklch(0.9 0 0); overflow: hidden;
    box-shadow: 0 -8px 40px -12px color-mix(in oklch, var(--foreground) 22%, transparent);
}
.terminal-bar[b-0n8536b9zz] { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid oklch(0.26 0 0); }
.terminal-bar span[b-0n8536b9zz] { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.36 0 0); }
.terminal-bar em[b-0n8536b9zz] { margin-left: 8px; font-style: normal; font-size: 0.72rem; color: oklch(0.6 0 0); }
.term-body[b-0n8536b9zz] {
    flex: 1; overflow: hidden; padding: 0.75rem 1rem 1rem;
    font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.55;
}
.term-body[b-0n8536b9zz]  .term-line { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 1.55em; }
.term-body[b-0n8536b9zz]  .term-header { display: flex; align-items: center; gap: 0.75rem; }
.term-body[b-0n8536b9zz]  .term-dots { margin: 0; font: inherit; line-height: 1.05; letter-spacing: -0.05em; }
.term-body[b-0n8536b9zz]  .term-header-text { line-height: 1.55; }
.term-body[b-0n8536b9zz]  .dot-on { color: oklch(0.97 0 0); }
.term-body[b-0n8536b9zz]  .dot-off { color: oklch(0.3 0 0); }
.term-body[b-0n8536b9zz]  .t-prompt { color: oklch(0.72 0.17 150); }
.term-body[b-0n8536b9zz]  .t-green { color: oklch(0.74 0.17 150); }
.term-body[b-0n8536b9zz]  .t-cyan { color: oklch(0.78 0.11 210); }
.term-body[b-0n8536b9zz]  .t-blue { color: oklch(0.7 0.15 255); }
.term-body[b-0n8536b9zz]  .t-yellow { color: oklch(0.85 0.15 90); }
.term-body[b-0n8536b9zz]  .t-dim { color: oklch(0.6 0 0); }
.term-body[b-0n8536b9zz]  .t-link { text-decoration: underline; text-underline-offset: 3px; }
.term-body[b-0n8536b9zz]  .t-select { color: oklch(0.78 0.11 210); }
.term-body[b-0n8536b9zz]  .t-cursor {
    display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; vertical-align: text-bottom;
    background: oklch(0.9 0 0); animation: term-blink-b-0n8536b9zz 1s steps(1, end) infinite;
}
@keyframes term-blink-b-0n8536b9zz { 50% { opacity: 0; } }

/* Accessibility: each Tab press moves the focus ring along. */
.focus-ring[b-0n8536b9zz] { fill: none; stroke: var(--ring, var(--primary)); stroke-width: 2.4; animation: focus-step-b-0n8536b9zz 4.5s ease-in-out infinite; }
.tab-key[b-0n8536b9zz] { transform-origin: center; animation: key-press-b-0n8536b9zz 1.5s ease-in-out infinite; }
@keyframes focus-step-b-0n8536b9zz { 0%, 26% { transform: translateX(0); } 33%, 59% { transform: translateX(86px); } 66%, 92% { transform: translateX(172px); } 100% { transform: translateX(0); } }
@keyframes key-press-b-0n8536b9zz { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(3px); } }

@media (prefers-reduced-motion: reduce) {
    .visual *[b-0n8536b9zz], kbd[b-0n8536b9zz] { animation: none !important; }
    .trend-area[b-0n8536b9zz] { opacity: 1; }
    .trend-line[b-0n8536b9zz] { stroke-dashoffset: 0; }
}

/* One design, two platforms: live card beside its XAML. */
.visual-platforms[b-0n8536b9zz] { height: auto; min-height: 15rem; gap: 1.25rem; padding: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.platform-card[b-0n8536b9zz] { width: 100%; max-width: 19rem; }
.setting[b-0n8536b9zz] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; }
.platform-code[b-0n8536b9zz] { flex: 1 1 18rem; min-width: 0; max-width: 26rem; font-size: 0.78rem; }
.platform-code pre[b-0n8536b9zz] { margin: 0; padding: 0.75rem 1rem; overflow-x: auto; }

/* Overlays: the trigger sits centred; the dialog opens over the page. */
.visual-overlay[b-0n8536b9zz] { padding: 1.25rem; }

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lpx7enfswi],
.components-reconnect-repeated-attempt-visible[b-lpx7enfswi],
.components-reconnect-failed-visible[b-lpx7enfswi],
.components-pause-visible[b-lpx7enfswi],
.components-resume-failed-visible[b-lpx7enfswi],
.components-rejoining-animation[b-lpx7enfswi] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-lpx7enfswi {
    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;
    }
}
