/* /Components/Layout/HeroCarousel.razor.rz.scp.css */
/* ─── Hero Carousel ─────────────────────────────────────────────── */
.hero-carousel[b-de96mxjdag] {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    height: clamp(360px, 44vw, 600px);
}

.hc-track[b-de96mxjdag] {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.hc-slide[b-de96mxjdag] {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

/* The SVG image fills the whole slide — no cropping, no text inside */
.hc-img[b-de96mxjdag] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

/*
 * Overlay: covers only the LEFT ~48% of the slide so the
 * right-side illustration stays fully visible with no overlap.
 * The gradient fades to transparent before it reaches the art.
 */
.hc-overlay[b-de96mxjdag] {
    position: absolute;
    inset: 0;
    /* strong left → fades out by ~52% — illustration lives in the right half */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.15) 52%,
        transparent 62%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* content constrained to left 46% so it never bleeds onto the art */
    padding: 0 0 0 clamp(1.8rem, 6vw, 7rem);
    gap: 0.7rem;
    /* pointer-events pass through the transparent right side */
    pointer-events: none;
}

/* Re-enable clicks for the interactive children */
.hc-overlay > *[b-de96mxjdag] {
    pointer-events: auto;
}

.hc-label[b-de96mxjdag] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #f59e0b;
    text-transform: uppercase;
    max-width: 46%;
}

.hc-title[b-de96mxjdag] {
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    max-width: 46%;
    margin: 0;
}

.hc-sub[b-de96mxjdag] {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: #cbd5e1;
    max-width: 42%;
    margin: 0;
    line-height: 1.6;
}

.hc-btn[b-de96mxjdag] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    padding: 0.72rem 1.6rem;
    border-radius: 8px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    position: relative;
    z-index: 5;
    transition: background 0.2s, transform 0.15s;
}

.hc-btn:hover[b-de96mxjdag] {
    background: #fbbf24;
    transform: translateX(4px);
    color: #0f172a;
    text-decoration: none;
}

/* ── Navigation arrows ── */
.hc-arrow[b-de96mxjdag] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 20;
}

.hc-arrow:hover[b-de96mxjdag] { background: rgba(255, 255, 255, 0.26); }

.hc-prev[b-de96mxjdag] { left: 1.2rem; }
.hc-next[b-de96mxjdag] { right: 1.2rem; }

/* ── Dots ── */
.hc-dots[b-de96mxjdag] {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 20;
}

.hc-dot[b-de96mxjdag] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hc-dot.active[b-de96mxjdag] {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: scale(1.3);
}

/* ── Progress bar ── */
.hc-progress[b-de96mxjdag] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 20;
}

.hc-progress-bar[b-de96mxjdag] {
    height: 100%;
    width: 0;
    background: #f59e0b;
}

.hc-progress-bar.run[b-de96mxjdag] {
    animation: hc-fill-b-de96mxjdag linear forwards;
}

@keyframes hc-fill-b-de96mxjdag {
    from { width: 0; }
    to   { width: 100%; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hero-carousel[b-de96mxjdag] { height: clamp(280px, 62vw, 420px); }

    .hc-overlay[b-de96mxjdag] {
        /* On mobile the overlay covers more width since screen is narrow */
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.60) 55%,
            transparent 80%
        );
        padding: 0 0 0 1.4rem;
        gap: 0.5rem;
    }

    .hc-label[b-de96mxjdag],
    .hc-title[b-de96mxjdag],
    .hc-sub[b-de96mxjdag] { max-width: 68%; }

    .hc-title[b-de96mxjdag] { font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
    .hc-sub[b-de96mxjdag]   { font-size: 0.8rem; }
    .hc-btn[b-de96mxjdag]   { font-size: 0.78rem; padding: 0.55rem 1.1rem; }
    .hc-arrow[b-de96mxjdag] { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
    .hc-sub[b-de96mxjdag] { display: none; }
    .hc-label[b-de96mxjdag],
    .hc-title[b-de96mxjdag] { max-width: 80%; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kk7lnhevop],
.components-reconnect-repeated-attempt-visible[b-kk7lnhevop],
.components-reconnect-failed-visible[b-kk7lnhevop],
.components-pause-visible[b-kk7lnhevop],
.components-resume-failed-visible[b-kk7lnhevop],
.components-rejoining-animation[b-kk7lnhevop] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-retrying[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-failed[b-kk7lnhevop],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kk7lnhevop] {
    display: block;
}


#components-reconnect-modal[b-kk7lnhevop] {
    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-kk7lnhevop 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kk7lnhevop 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kk7lnhevop 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kk7lnhevop]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kk7lnhevop 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kk7lnhevop {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kk7lnhevop {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kk7lnhevop {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kk7lnhevop] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kk7lnhevop] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kk7lnhevop] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kk7lnhevop] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kk7lnhevop] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kk7lnhevop] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kk7lnhevop] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kk7lnhevop 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kk7lnhevop] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kk7lnhevop {
    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;
    }
}
