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

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


/* Literal hex, not var(--mud-palette-*), on purpose: this modal appears precisely
   when the Blazor circuit is dead, i.e. when the thing that injects the theme
   variables has stopped working. Failure-mode UI must not depend on the app. */
#components-reconnect-modal[b-t3jeblhjdx] {
    background-color: #FDF8E7;
    color: #2D2F2D;
    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-t3jeblhjdx 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

    #components-reconnect-modal button:hover[b-t3jeblhjdx] {
        background-color: #383B14;
    }

    #components-reconnect-modal button:active[b-t3jeblhjdx] {
        background-color: #4B4F1B;
    }

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

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

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

@keyframes components-rejoining-animation-b-t3jeblhjdx {
    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/Landing.razor.rz.scp.css */
/* Landing hero. Colours come from the theme (var(--mud-palette-*)), so the measured
   brand hex values live only in AppTheme.cs. Padding/margin values are multiples of 4
   per the established rhythm; widths/heights are layout dimensions and exempt.

   The fan's rotation angles, overlap offsets and stack height were chosen WITHOUT a
   browser — there is none in this environment. These four transform lines and .hero-logo's
   width are the knobs to turn if the hero does not balance or the fan does not read as
   a deck of cards.

   ::deep is required: Blazor CSS isolation stamps [b-hash] only onto elements written
   in Landing.razor, never onto a child component's rendered root. `.card-fan__card { }`
   alone would compile to `.card-fan__card[b-hash]` and match nothing. */

.hero-logo[b-qzm4vhflb6] {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

@media (max-width: 599.98px) {
    .hero-logo[b-qzm4vhflb6] { width: 96px; height: 96px; margin-inline: auto; }
}

.card-fan[b-qzm4vhflb6] {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 300px;
    margin-inline: auto;
    /* no overflow:hidden — the rotated cards must be allowed to extend */
}

.card-fan[b-qzm4vhflb6]  .card-fan__card {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 240px;
    min-height: 150px;
    margin-inline: auto;
    padding: 24px;
    border-radius: 16px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-background);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    transform-origin: 50% 100%;
}

.card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(1) { z-index: 1; transform: translateY(-50%) translateX(-56px) rotate(-12deg); }
.card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(2) { z-index: 2; transform: translateY(-50%) translateX(-18px) rotate(-4deg); }
.card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(3) { z-index: 3; transform: translateY(-50%) translateX(18px)  rotate(4deg); }
.card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(4) { z-index: 4; transform: translateY(-50%) translateX(56px)  rotate(11deg); }

/* Mobile: narrower fan so nothing leaves the viewport. */
@media (max-width: 599.98px) {
    .card-fan[b-qzm4vhflb6] { height: 240px; max-width: 100%; }
    .card-fan[b-qzm4vhflb6]  .card-fan__card { width: 200px; min-height: 130px; padding: 16px; }
    .card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(1) { transform: translateY(-50%) translateX(-32px) rotate(-9deg); }
    .card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(2) { transform: translateY(-50%) translateX(-11px) rotate(-3deg); }
    .card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(3) { transform: translateY(-50%) translateX(11px)  rotate(3deg); }
    .card-fan[b-qzm4vhflb6]  .card-fan__card:nth-child(4) { transform: translateY(-50%) translateX(32px)  rotate(9deg); }
}

/* Alternating explainer rows. DOM order is always text-then-visual so the mobile
   reading order stays consistent; the flip is presentation only. */
.step[b-qzm4vhflb6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-block: 48px;
}

@media (min-width: 600px) {
    .step[b-qzm4vhflb6] { flex-direction: row; gap: 48px; align-items: center; }
    .step > *[b-qzm4vhflb6] { flex: 1 1 0; min-width: 0; }
    .step--flip[b-qzm4vhflb6] { flex-direction: row-reverse; }
}
