/* /Components/Demo/NetlyDBInteractiveDemo.razor.rz.scp.css */
.demo-shell[b-wx6nn4l8mf] { padding: 1.75rem; }
.demo-head[b-wx6nn4l8mf] { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1.5rem; }
.demo-head h3[b-wx6nn4l8mf] { margin: 0 0 .35rem; font-size: 1.4rem; }
.demo-subtitle[b-wx6nn4l8mf] { color: var(--muted); margin: 0; max-width: 60ch; line-height: 1.55; }
.demo-subtitle strong[b-wx6nn4l8mf] { color: var(--text-strong); }
.demo-live[b-wx6nn4l8mf] { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.demo-live[b-wx6nn4l8mf]::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); box-shadow: none; }

.demo-queries[b-wx6nn4l8mf] { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.query-chip[b-wx6nn4l8mf] { background: rgba(255, 255, 255, 0.03); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .75rem; font: inherit; font-family: var(--font-mono); font-size: .8rem; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.query-chip:hover[b-wx6nn4l8mf] { border-color: var(--line-strong); }
.query-chip.active[b-wx6nn4l8mf] { border-color: var(--line-strong); color: var(--text-strong); background: var(--surface-3); }
.query-label[b-wx6nn4l8mf] { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.query-input[b-wx6nn4l8mf] {
    width: 100%; min-height: 80px; background: var(--well); color: var(--text-strong); border: 1px solid var(--line-strong); border-radius: 10px;
    padding: .8rem .9rem; margin-bottom: 1rem; resize: vertical; font-family: var(--font-mono); font-size: .9rem;
}
.query-input:focus-visible[b-wx6nn4l8mf] { outline: 2px solid var(--accent); outline-offset: 1px; }
.demo-actions[b-wx6nn4l8mf] { display: flex; gap: .6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.demo-error[b-wx6nn4l8mf] { color: #ffb4bd; background: rgba(127, 29, 29, .3); border: 1px solid rgba(253, 164, 175, .4); padding: .65rem .85rem; border-radius: 8px; }

.demo-stats[b-wx6nn4l8mf] { display: grid; grid-template-columns: auto auto 1fr; gap: 1rem 2rem; align-items: center; padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); margin-bottom: 1.5rem; }
.demo-stat[b-wx6nn4l8mf] { display: grid; gap: .15rem; }
.demo-stat-label[b-wx6nn4l8mf] { font-size: .82rem; font-weight: 550; color: var(--muted); }
.demo-stat-value[b-wx6nn4l8mf] { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-strong); letter-spacing: -0.02em; }
.demo-stat-value small[b-wx6nn4l8mf] { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: .3rem; }
.demo-note[b-wx6nn4l8mf] { color: var(--muted); font-size: .82rem; margin: 0; line-height: 1.5; }

.demo-shell h4[b-wx6nn4l8mf] { margin: 0 0 .5rem; font-size: .9rem; font-weight: 600; color: var(--text-strong); }
.demo-shell h4 span[b-wx6nn4l8mf] { font-weight: 400; color: var(--muted); }
.demo-shell .code-block[b-wx6nn4l8mf] { margin-bottom: 1.5rem; }
.demo-results-block[b-wx6nn4l8mf] { max-height: 22rem; margin-bottom: 0 !important; }

@media (max-width: 760px) {
    .demo-shell[b-wx6nn4l8mf] { padding: 1.25rem; }
    .demo-stats[b-wx6nn4l8mf] { grid-template-columns: 1fr 1fr; }
    .demo-note[b-wx6nn4l8mf] { grid-column: 1 / -1; }
}
/* /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.

   The modal is shared verbatim by the public site and the Management UI, so it
   carries its own colours instead of either app's tokens: a graphite panel with
   a lit top edge, the logo's cyan for the ripple and focus, and a light key for
   the action. It always renders dark, also over the Management UI's light theme.

   Note: DbLogo styles itself from the GLOBAL db-logo.css. This file only sizes
   and centers the logo wrapper (.brand-logo), and only reaches into DbLogo to turn off
   the glass blur (see .brand-logo below).
   ============================================================================ */

/* ---------- dialog chrome ---------- */
#components-reconnect-modal[b-mia7rmh44s] {
    color: #c9c9cf;
    font-family: "Mona Sans", "Segoe UI", system-ui, sans-serif;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    padding: 2rem 1.75rem 1.75rem;
    border: 0 !important;
    border-radius: 18px;
    background: radial-gradient(90% 60% at 50% 0%, rgba(92, 212, 232, 0.06), transparent 70%), #151518;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.5), 0 40px 80px -24px rgba(0, 0, 0, 0.85);
    /* <dialog>.showModal() centers via margin:auto; keep it explicit */
    margin: auto;
    animation: db-modal-in-b-mia7rmh44s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

    #components-reconnect-modal:focus[b-mia7rmh44s] {
        outline: none;
    }

    #components-reconnect-modal[b-mia7rmh44s]::backdrop {
        background: rgba(8, 8, 10, 0.62);
        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;
}

    /* faint light behind the logo so its glass has something to blur */
    .brand[b-mia7rmh44s]::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(92, 212, 232, 0.16) 0%, transparent 65%);
        z-index: 0;
    }

.brand-logo[b-mia7rmh44s] {
    position: relative;
    z-index: 2;
    line-height: 0;
}

    /* Inside the modal dialog the browser applies the glass layer's backdrop blur to its whole
       bounding square instead of the hexagon clip, which paints a blurred square over the ripple.
       The tint alone keeps the glass look here. */
    .brand-logo[b-mia7rmh44s]  .db-logo-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

/* 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: 4;
    stroke-linejoin: round;
    transform-box: fill-box; /* scale each hexagon about its own centre */
    transform-origin: center;
    opacity: 0;
    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.55;
    }

    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.4rem;
    font-weight: 620;
    font-stretch: 112%;
    letter-spacing: -0.025em;
    color: #f4f4f6;
}

    .reconnect-title.is-error[b-mia7rmh44s] {
        color: #ff8a7a;
    }

.reconnect-subtitle[b-mia7rmh44s] {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: #8d8d97;
}

.countdown[b-mia7rmh44s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0 0.4rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #5cd4e8;
}

/* ---------- 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.72rem 1.25rem;
    border: none;
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111114;
    cursor: pointer;
    background: linear-gradient(180deg, #ffffff, #e4e4e8);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.5), 0 6px 16px -6px rgba(0, 0, 0, 0.6);
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

    .db-btn:hover[b-mia7rmh44s] {
        background: linear-gradient(180deg, #ffffff, #f0f0f3);
    }

    .db-btn:active[b-mia7rmh44s] {
        transform: translateY(1px);
    }

    .db-btn:focus-visible[b-mia7rmh44s] {
        outline: 2px solid #5cd4e8;
        outline-offset: 3px;
    }

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-mia7rmh44s] {
        animation: none;
    }

    .ripple[b-mia7rmh44s] {
        animation: none;
        opacity: 0.35;
    }
}
/* /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: var(--line-strong);
        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: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-stretch: var(--display-stretch);
}

.timeline-stop[b-hivw7byeoq] {
    --accent: #7ea6ff;
    --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: #7ea6ff;
    }

    .timeline-stop.mint[b-hivw7byeoq] {
        --accent: #5fd99f;
    }

    .timeline-stop.indigo[b-hivw7byeoq] {
        --accent: #5cd4e8;
    }

    .timeline-stop.violet[b-hivw7byeoq] {
        --accent: #b9a8ff;
    }

    .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: var(--bg);
    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: var(--surface);
    box-shadow: var(--panel-shadow);
    border: 1px solid var(--line-strong);
    transition: border-color .2s ease, transform .2s ease;
}


    .timeline-card[b-hivw7byeoq]::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 1.85rem;
        border-top: 1px solid var(--line);
    }

    .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: .95rem;
        line-height: 1.2;
        font-weight: 600;
        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;
    }

        .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;
        }
}
