/* /Components/Features/Catalog/CatalogPage.razor.rz.scp.css */
.ph-catalog-title[b-w9n3miwzdc] {
    margin: 0 0 1.75rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ph-text);
}

/* Responsive grid: cards keep a sensible width and fill the row left-to-right
   as more projects are added (a single card stays its natural size, not stretched). */
.ph-grid[b-w9n3miwzdc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    justify-content: start;
    gap: 1.5rem;
}

/* ============================================================
   CSS art for the first project — a 3D donut chart, using the
   site accent (blue -> indigo -> pink). No raster image.
   ============================================================ */
.donut-art[b-w9n3miwzdc] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(120% 90% at 50% 18%, #1b1e3d 0%, var(--ph-bg) 70%);
    overflow: hidden;
}

.donut-stage[b-w9n3miwzdc] {
    position: relative;
    width: 132px;
    height: 132px;
    perspective: 620px;
}

.donut-ring[b-w9n3miwzdc] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 210deg,
        var(--ph-accent-1),
        var(--ph-accent-2),
        var(--ph-accent-3),
        var(--ph-accent-2),
        var(--ph-accent-1));
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 41%, #000 42%);
    mask: radial-gradient(circle at 50% 50%, transparent 41%, #000 42%);
    transform: rotateX(64deg) rotate(0deg);
    box-shadow: 0 22px 34px rgba(0, 0, 0, 0.5);
    animation: donut-spin-b-w9n3miwzdc 16s linear infinite;
}

/* Faint inner highlight so the hole reads as a 3D core. */
.donut-core[b-w9n3miwzdc] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(64deg);
    background: radial-gradient(circle, rgba(129, 140, 248, 0.22), transparent 70%);
}

@keyframes donut-spin-b-w9n3miwzdc {
    to {
        transform: rotateX(64deg) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .donut-ring[b-w9n3miwzdc] {
        animation: none;
    }
}
/* /Components/Features/Catalog/ProjectCard.razor.rz.scp.css */
/* All classes prefixed "ph-" to avoid clashing with Bootstrap. */

.ph-card[b-ktwc3s2lqg] {
    display: flex;
    flex-direction: column;
    background: var(--ph-surface);
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ph-card:hover[b-ktwc3s2lqg] {
    border-color: var(--ph-accent-2);
    transform: translateY(-2px);
}

/* ---- Media (optional screenshot) ---- */
.ph-card-media[b-ktwc3s2lqg] {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--ph-bg);
}

.ph-card-media img[b-ktwc3s2lqg] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ph-card-media .ph-badge[b-ktwc3s2lqg] {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ---- Body ---- */
.ph-card-body[b-ktwc3s2lqg] {
    display: flex;
    flex-direction: column;
    padding: 1.05rem 1.15rem 1.15rem;
    flex: 1 1 auto;
}

.ph-card-top[b-ktwc3s2lqg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.ph-card-icon[b-ktwc3s2lqg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ph-bg);
    color: var(--ph-accent-2);
    font-size: 1.05rem;
}

.ph-card-title[b-ktwc3s2lqg] {
    margin: 0 0 0.35rem;
    color: var(--ph-text);
    font-size: 1.05rem;
    font-weight: 600;
}

.ph-card-tagline[b-ktwc3s2lqg] {
    margin: 0 0 0.85rem;
    color: var(--ph-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ---- Tags ---- */
.ph-card-tags[b-ktwc3s2lqg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ph-tag[b-ktwc3s2lqg] {
    font-size: 0.72rem;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    color: var(--ph-text-muted);
}

/* ---- Badge (live / soon) ---- */
.ph-badge[b-ktwc3s2lqg] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.ph-badge--live[b-ktwc3s2lqg] {
    background: var(--ph-accent);
    color: #0f1021;
}

.ph-badge--soon[b-ktwc3s2lqg] {
    background: transparent;
    border: 1px solid var(--ph-border);
    color: var(--ph-text-muted);
}

/* ---- Links ---- */
.ph-card-links[b-ktwc3s2lqg] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ph-border);
}

.ph-card-link[b-ktwc3s2lqg] {
    color: var(--ph-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.ph-card-link:hover[b-ktwc3s2lqg] {
    color: var(--ph-text);
}

.ph-card-more[b-ktwc3s2lqg] {
    margin-left: auto;
    color: var(--ph-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.ph-card-more:hover[b-ktwc3s2lqg] {
    color: var(--ph-accent-2);
}
/* /Components/Layout/LanguageSwitch.razor.rz.scp.css */
/* Segmented "pill": two options inside a rounded, bordered track. */
.lang[b-bpyb1fmfgv] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ph-border);
    border-radius: 999px;
    overflow: hidden;
}

.opt[b-bpyb1fmfgv] {
    color: var(--ph-text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.18rem 0.62rem;
    line-height: 1.2;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.opt:hover[b-bpyb1fmfgv] {
    color: var(--ph-text);
}

.opt.is-active[b-bpyb1fmfgv] {
    color: var(--ph-text);
    background: var(--ph-surface);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.ph-shell[b-7afq3a1v8b] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ph-main[b-7afq3a1v8b] {
    flex: 1 1 auto;
    width: 100%;
}

#blazor-error-ui[b-7afq3a1v8b] {
    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-7afq3a1v8b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavBar.razor.rz.scp.css */
/* All classes prefixed "ph-" to avoid clashing with Bootstrap (notably .nav). */

.ph-nav[b-0k0dqw3jnd] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ph-nav-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Gains a subtle border + shadow once the page is scrolled (toggled in site.js). */
.ph-nav.ph-scrolled[b-0k0dqw3jnd] {
    border-bottom-color: var(--ph-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.ph-nav-inner[b-0k0dqw3jnd] {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.ph-brand[b-0k0dqw3jnd] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ph-text);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.ph-brand-mark[b-0k0dqw3jnd] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--ph-accent);
}

/* Right-hand cluster: links + controls */
.ph-cluster[b-0k0dqw3jnd] {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.ph-nav-links[b-0k0dqw3jnd] {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

/* NavLink renders its own <a>, so reach it with ::deep */
.ph-nav-links[b-0k0dqw3jnd]  a {
    position: relative;
    color: var(--ph-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.ph-nav-links[b-0k0dqw3jnd]  a:hover {
    color: var(--ph-text);
}

.ph-nav-links[b-0k0dqw3jnd]  a.active {
    color: var(--ph-text);
}

.ph-nav-links[b-0k0dqw3jnd]  a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: var(--ph-accent);
}

/* Vertical divider between the links and the right-hand controls */
.ph-divider[b-0k0dqw3jnd] {
    width: 1px;
    height: 18px;
    background: var(--ph-border);
}

.ph-controls[b-0k0dqw3jnd] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.ph-icon-btn[b-0k0dqw3jnd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ph-text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ph-icon-btn:hover[b-0k0dqw3jnd] {
    color: var(--ph-text);
}

/* CSS-only hamburger (hidden on desktop) */
.ph-nav-cb[b-0k0dqw3jnd] {
    display: none;
}

.ph-hamburger[b-0k0dqw3jnd] {
    display: none;
    cursor: pointer;
    color: var(--ph-text);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.1rem 0.2rem;
}

/* ---- Mobile ---- */
@media (max-width: 719.98px) {
    .ph-hamburger[b-0k0dqw3jnd] {
        display: inline-flex;
    }

    .ph-cluster[b-0k0dqw3jnd] {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
        padding: 1.1rem 1.25rem 1.35rem;
        background: var(--ph-surface);
        border-bottom: 1px solid var(--ph-border);
    }

    .ph-nav-cb:checked ~ .ph-cluster[b-0k0dqw3jnd] {
        display: flex;
    }

    .ph-nav-links[b-0k0dqw3jnd] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    /* Divider is purely decorative between desktop sections — hide when stacked. */
    .ph-divider[b-0k0dqw3jnd] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-tf4pf9njm0],
.components-reconnect-repeated-attempt-visible[b-tf4pf9njm0],
.components-reconnect-failed-visible[b-tf4pf9njm0],
.components-pause-visible[b-tf4pf9njm0],
.components-resume-failed-visible[b-tf4pf9njm0],
.components-rejoining-animation[b-tf4pf9njm0] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-tf4pf9njm0 {
    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/Home.razor.rz.scp.css */
.uc-wrap[b-62vdl21nlo] {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.uc-term[b-62vdl21nlo] {
    width: 100%;
    max-width: 460px;
    background: #1e1e2e;
    border: 1px solid #313244;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Consolas', 'Courier New', monospace;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.uc-bar[b-62vdl21nlo] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid #313244;
}

.uc-dot[b-62vdl21nlo] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.uc-red[b-62vdl21nlo] {
    background: #f38ba8;
}

.uc-amber[b-62vdl21nlo] {
    background: #f9e2af;
}

.uc-green[b-62vdl21nlo] {
    background: #a6e3a1;
}

.uc-body[b-62vdl21nlo] {
    padding: 22px;
    font-size: 14px;
    line-height: 1.9;
    color: #cdd6f4;
    min-height: 120px;
}

.uc-prompt[b-62vdl21nlo] {
    color: #89b4fa;
    margin-right: 8px;
}

.uc-cmd[b-62vdl21nlo] {
    color: #cdd6f4;
}

.uc-cursor[b-62vdl21nlo] {
    display: inline-block;
    width: 9px;
    height: 17px;
    background: #cdd6f4;
    vertical-align: -3px;
    margin-left: 2px;
    animation: blink-b-62vdl21nlo 1.1s steps(1) infinite;
}

@keyframes blink-b-62vdl21nlo {
    50% {
        opacity: 0;
    }
}

.uc-out[b-62vdl21nlo] {
    margin-top: 14px;
    animation: fadein-b-62vdl21nlo 0.5s ease;
}

@keyframes fadein-b-62vdl21nlo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.uc-name[b-62vdl21nlo] {
    font-size: 16px;
    font-weight: 600;
    color: #cdd6f4;
}

.uc-sub[b-62vdl21nlo] {
    font-size: 13px;
    color: #a6adc8;
    margin-top: 2px;
}

.uc-status[b-62vdl21nlo] {
    font-size: 13px;
    color: #89b4fa;
    margin-top: 10px;
}
