/* /Components/Demo/NetlyDBInteractiveDemo.razor.rz.scp.css */
.demo-shell[b-wx6nn4l8mf] {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1rem;
    padding: 1.5rem;
}

.demo-subtitle[b-wx6nn4l8mf] { color: #93c5fd; margin-bottom: 1rem; }
.demo-queries[b-wx6nn4l8mf] { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; margin-top:3rem; }
.query-chip[b-wx6nn4l8mf] { background: #1f2937; color: #e2e8f0; border: 1px solid #334155; border-radius: 999px; padding: .45rem .75rem; }
.query-chip.active[b-wx6nn4l8mf] { border-color: #22d3ee; color: #22d3ee; }
.query-label[b-wx6nn4l8mf] { display: block; margin-bottom: .35rem; color: #cbd5e1; }
.query-input[b-wx6nn4l8mf] {
    width: 100%; min-height: 88px; background: #0b1220; color: #f8fafc; border: 1px solid #334155; border-radius: .75rem;
    padding: .75rem; margin-bottom: 1rem; resize: vertical;
}
.demo-actions[b-wx6nn4l8mf] { display: flex; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.demo-stats[b-wx6nn4l8mf] { margin-bottom: 1rem; color: #cbd5e1; margin-top:3rem; }
.demo-error[b-wx6nn4l8mf] { color: #fda4af; background: rgba(127,29,29,.35); border: 1px solid rgba(253,164,175,.4); padding: .6rem .8rem; border-radius: .5rem; }
.demo-results-block[b-wx6nn4l8mf] { max-height:80vh; }

@media (max-width: 680px) {
    .demo-shell[b-wx6nn4l8mf] { padding: 1rem; }
    .query-input[b-wx6nn4l8mf] { min-height: 110px; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-83vkydkhgn] {
    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;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-83vkydkhgn] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ============================================================================
   ReconnectModal.razor.css  -  collocated (scoped) styles for the custom
   .NET 10 reconnection modal.

   This matches the template's own location/approach (a scoped .razor.css).
   Framework-toggled state classes on #components-reconnect-modal still match
   because the scope attribute stays on the element when JS adds/removes those
   classes.

   Note: DbLogo styles itself from the GLOBAL db-logo.css. This file only sizes
   and centers the logo wrapper (.brand-logo); it does not reach into DbLogo.
   ============================================================================ */

/* ---------- dialog chrome ---------- */
#components-reconnect-modal[b-mia7rmh44s] {
    color: #e6edf6;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    padding: 2rem 1.75rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08)!important;
    border-radius: 16px;
    background: radial-gradient(120% 120% at 50% 0%, #16233b 0%, #0b1120 72%);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(46, 123, 255, 0.10), 0 0 40px -10px rgba(23, 224, 196, 0.15);
    /* <dialog>.showModal() centers via margin:auto; keep it explicit */
    margin: auto;
    animation: db-modal-in-b-mia7rmh44s 0.35s cubic-bezier(0.05, 0.7, 0.3, 1) both;
}

    #components-reconnect-modal:focus[b-mia7rmh44s] {
        outline: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    #components-reconnect-modal[b-mia7rmh44s]::backdrop {
        background: rgba(4, 6, 11, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

@keyframes db-modal-in-b-mia7rmh44s {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.components-reconnect-container[b-mia7rmh44s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

/* ---------- brand: logo + ripple ---------- */
.brand[b-mia7rmh44s] {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0.25rem 0 0.5rem;
}

    /* soft halo so the logo's glassmorphism has something to blur behind it */
    .brand[b-mia7rmh44s]::before {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(46, 123, 255, 0.35) 0%, transparent 65%);
        filter: blur(18px);
        z-index: 0;
    }

.brand-logo[b-mia7rmh44s] {
    position: relative;
    z-index: 2;
    line-height: 0;
}

/* ripple layer sits behind the logo, same box, allowed to overflow */
.brand-ripple[b-mia7rmh44s] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
    pointer-events: none;
}

    .brand-ripple svg[b-mia7rmh44s] {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

.ripple[b-mia7rmh44s] {
    fill: none;
    stroke: url(#db-reconnect-ripple);
    stroke-width: 6;
    stroke-linejoin: round;
    transform-box: fill-box; /* scale each hexagon about its own centre */
    transform-origin: center;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(46, 123, 255, 0.7));
    animation: db-ripple-b-mia7rmh44s 2.4s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

    .ripple.r1[b-mia7rmh44s] {
        animation-delay: 0.8s;
    }

    .ripple.r2[b-mia7rmh44s] {
        animation-delay: 1.6s;
    }

@keyframes db-ripple-b-mia7rmh44s {
    0% {
        transform: scale(0.94);
        opacity: 0;
    }

    18% {
        opacity: 0.65;
    }

    100% {
        transform: scale(2.15);
        opacity: 0;
    }
}

/* Pause the ripple once we have given up or the server rejected us: a calm,
   frozen logo reads better than a pulse that implies "still working". */
#components-reconnect-modal.components-reconnect-failed .ripple[b-mia7rmh44s],
#components-reconnect-modal.components-reconnect-rejected .ripple[b-mia7rmh44s] {
    animation: none;
    opacity: 0;
}

/* ---------- text ---------- */
.reconnect-content[b-mia7rmh44s] {
    max-width: 17rem;
}

.reconnect-title[b-mia7rmh44s] {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f1f5f9;
}

    .reconnect-title.is-error[b-mia7rmh44s] {
        color: #f87171;
    }

.reconnect-subtitle[b-mia7rmh44s] {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.5;
    color: #9fb0c4;
}

.countdown[b-mia7rmh44s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0 0.4rem;
    font-weight: 700;
    color: #eafcff;
}

/* ---------- state visibility ----------
   Defensive rules driven by the framework state classes on the root. If your
   generated template already toggles these helper classes, these simply agree
   with it. "First attempt" = shown but not yet retrying and not failed. */
.components-reconnect-first-attempt-visible[b-mia7rmh44s],
.components-reconnect-repeated-attempt-visible[b-mia7rmh44s],
.components-reconnect-failed-visible[b-mia7rmh44s] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying):not(.components-reconnect-failed) .components-reconnect-first-attempt-visible[b-mia7rmh44s] {
    display: block;
}

#components-reconnect-modal.components-reconnect-retrying:not(.components-reconnect-failed) .components-reconnect-repeated-attempt-visible[b-mia7rmh44s] {
    display: block;
}

#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mia7rmh44s] {
    display: block;
}

/* ---------- action button ---------- */
.reconnect-actions[b-mia7rmh44s] {
    display: flex;
    width: 100%;
    margin-top: 0.25rem;
}

.db-btn[b-mia7rmh44s] {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #2e7bff 0%, #17c9d4 100%);
    box-shadow: 0 6px 18px rgba(46, 123, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

    .db-btn:hover[b-mia7rmh44s] {
        transform: translateY(-1px);
        filter: brightness(1.06);
        box-shadow: 0 8px 22px rgba(46, 123, 255, 0.45);
    }

    .db-btn:active[b-mia7rmh44s] {
        transform: translateY(0);
    }

    .db-btn:focus-visible[b-mia7rmh44s] {
        outline: 2px solid #7cc0ff;
        outline-offset: 2px;
    }

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-mia7rmh44s] {
        animation: none;
    }

    .ripple[b-mia7rmh44s] {
        animation: none;
        opacity: 0.35;
    }
}
/* /Components/Pages/Documentation.razor.rz.scp.css */
.docs-hero[b-b7vcmjsya8] {
    padding-bottom: 1.5rem;
}

.docs-lead[b-b7vcmjsya8] {
    color: var(--muted);
    max-width: 68ch;
    line-height: 1.6;
    margin: 0.75rem 0 1.25rem;
}

.docs-hero-actions[b-b7vcmjsya8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.docs-layout[b-b7vcmjsya8] {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 2rem;
    align-items: start;
}

.docs-toc[b-b7vcmjsya8] {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(12, 20, 41, 0.55);
}

.docs-toc-title[b-b7vcmjsya8] {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.docs-toc a[b-b7vcmjsya8] {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.docs-toc a:hover[b-b7vcmjsya8] {
    color: var(--text);
}

.docs-content[b-b7vcmjsya8] {
    min-width: 0;
}

.docs-section[b-b7vcmjsya8] {
    margin-bottom: 3rem;
}

.docs-section > h2[b-b7vcmjsya8] {
    scroll-margin-top: 5.5rem;
}

.docs-section h2[b-b7vcmjsya8] {
    margin-bottom: 0.75rem;
}

.docs-section h3[b-b7vcmjsya8] {
    margin: 1.5rem 0 0.6rem;
    font-size: 1.15rem;
}

.docs-section h4[b-b7vcmjsya8] {
    margin: 1.1rem 0 0.4rem;
    font-size: 1rem;
    color: var(--brand);
}

.docs-section p[b-b7vcmjsya8] {
    color: var(--muted);
    line-height: 1.65;
    max-width: 72ch;
}

.docs-list[b-b7vcmjsya8] {
    color: var(--muted);
    line-height: 1.65;
    padding-left: 1.25rem;
    max-width: 72ch;
}

.docs-list code[b-b7vcmjsya8] {
    color: #cae7ff;
}

.docs-table-wrap[b-b7vcmjsya8] {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 11, 24, 0.55);
}

.docs-table[b-b7vcmjsya8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.docs-table th[b-b7vcmjsya8],
.docs-table td[b-b7vcmjsya8] {
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(164, 188, 255, 0.12);
    vertical-align: top;
}

.docs-table th[b-b7vcmjsya8] {
    color: var(--text);
    font-weight: 600;
    background: rgba(18, 29, 61, 0.5);
}

.docs-table td[b-b7vcmjsya8] {
    color: var(--muted);
}

.docs-table code[b-b7vcmjsya8] {
    color: #cae7ff;
    white-space: nowrap;
}

.docs-csharp[b-b7vcmjsya8] {
    margin-top: 0.5rem;
}

@media (max-width: 940px) {
    .docs-layout[b-b7vcmjsya8] {
        grid-template-columns: 1fr;
    }

    .docs-toc[b-b7vcmjsya8] {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .docs-toc-title[b-b7vcmjsya8] {
        width: 100%;
    }
}
/* /Components/Timeline/NetlyDBTimeLine.razor.rz.scp.css */
.netlydb-timeline-section[b-hivw7byeoq] {
    width: 100%;
    color: var(--text);
}

.swirl-timeline[b-hivw7byeoq] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 1.25rem;
    padding: 0.5rem 0 1rem;
}

    .swirl-timeline[b-hivw7byeoq]::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(164, 188, 255, 0.2) 0%, rgba(0, 177, 255, 1) 7%, rgba(9, 217, 140, 1) 18%, rgba(90, 118, 255, 1) 25%, rgba(123, 90, 255, 1) 37%, rgba(164, 188, 255, 0.2) 42%, rgba(0, 177, 255, 1) 49%, rgba(9, 217, 140, 1) 62%, rgba(90, 118, 255, 1) 74%, rgba(123, 90, 255, 1) 86%, rgb(189 172 255) 100%);
        z-index: 0;
    }

.timeline-year-block[b-hivw7byeoq] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1;
}

.timeline-year-label[b-hivw7byeoq] {
    align-self: center;
    margin-bottom: 2.25rem;
    padding: .5rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: rgba(7, 11, 24, 1);
    color: var(--text);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.timeline-stop[b-hivw7byeoq] {
    --accent: var(--brand);
    --card-column: 1;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.75rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

    .timeline-stop.sky[b-hivw7byeoq] {
        --accent: #00b1ff;
    }

    .timeline-stop.mint[b-hivw7byeoq] {
        --accent: #09d98c;
    }

    .timeline-stop.indigo[b-hivw7byeoq] {
        --accent: #5b7cff;
    }

    .timeline-stop.violet[b-hivw7byeoq] {
        --accent: #9b7bff;
    }

    .timeline-stop:nth-of-type(odd)[b-hivw7byeoq] {
        --card-column: 1;
    }

    .timeline-stop:nth-of-type(even)[b-hivw7byeoq] {
        --card-column: 3;
    }

.timeline-marker[b-hivw7byeoq] {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: rgba(7, 11, 24, 1);
    border: 2px solid var(--accent);
    z-index: 3;
}

.timeline-card[b-hivw7byeoq] {
    position: relative;
    grid-column: var(--card-column);
    max-width: 100%;
    padding: 1.2rem 1.25rem 1.3rem;
    border-radius: 8px;
    background: linear-gradient(140deg, rgba(18,29,61,.8), rgba(14,21,43,.58));
    border: 1px solid var(--accent);
    box-shadow: inset 0 0 3px var(--accent);
    transition: border-color .2s ease, transform .2s ease;
}

    .timeline-stop:nth-of-type(even) .timeline-card[b-hivw7byeoq] {
        box-shadow: inset 0 0 3px var(--accent);
    }

    .timeline-card[b-hivw7byeoq]::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 1.85rem;
        border-top: 1px solid var(--accent);
        opacity: .45;
    }

    .timeline-stop:nth-of-type(odd) .timeline-card[b-hivw7byeoq]::before {
        right: -1.85rem;
    }

    .timeline-stop:nth-of-type(even) .timeline-card[b-hivw7byeoq]::before {
        left: -1.85rem;
    }

    .timeline-card h3[b-hivw7byeoq] {
        margin: 0 0 .8rem;
        font-size: .8rem;
        line-height: 1.2;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .12em;
        color: var(--accent);
    }

.timeline-card-item + .timeline-card-item[b-hivw7byeoq] {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
}

.timeline-card-item h4[b-hivw7byeoq] {
    margin: 0 0 .4rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
}

.timeline-card-item p[b-hivw7byeoq] {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

@media (max-width: 940px) {
    .swirl-timeline[b-hivw7byeoq] {
        padding-left: 0.2rem;
    }

        .swirl-timeline[b-hivw7byeoq]::before {
            left: 1.7rem;
            transform: none;
        }

    .timeline-year-label[b-hivw7byeoq] {
        align-self: flex-start;
        margin-bottom: 1.75rem;
    }

    .timeline-stop[b-hivw7byeoq] {
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: 1.1rem;
    }

    .timeline-marker[b-hivw7byeoq] {
        grid-column: 1;
        width: 2.6rem;
        height: 2.6rem;
        font-size: .8rem;
    }

    .timeline-card[b-hivw7byeoq],
    .timeline-stop:nth-of-type(even) .timeline-card[b-hivw7byeoq],
    .timeline-stop:nth-of-type(odd) .timeline-card[b-hivw7byeoq] {
        grid-column: 2;
        box-shadow: inset 3px 0 0 var(--accent);
    }

        .timeline-card[b-hivw7byeoq]::before,
        .timeline-stop:nth-of-type(even) .timeline-card[b-hivw7byeoq]::before,
        .timeline-stop:nth-of-type(odd) .timeline-card[b-hivw7byeoq]::before {
            left: -1.1rem;
            right: auto;
            width: 1.1rem;
        }
}
