/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-x86zhr8r9n],
.components-reconnect-repeated-attempt-visible[b-x86zhr8r9n],
.components-reconnect-failed-visible[b-x86zhr8r9n],
.components-pause-visible[b-x86zhr8r9n],
.components-resume-failed-visible[b-x86zhr8r9n],
.components-rejoining-animation[b-x86zhr8r9n] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-retrying[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-failed[b-x86zhr8r9n],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-x86zhr8r9n] {
    display: block;
}


#components-reconnect-modal[b-x86zhr8r9n] {
    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-x86zhr8r9n 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-x86zhr8r9n 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-x86zhr8r9n 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-x86zhr8r9n]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-x86zhr8r9n 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-x86zhr8r9n {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-x86zhr8r9n {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-x86zhr8r9n {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-x86zhr8r9n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-x86zhr8r9n] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-x86zhr8r9n] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-x86zhr8r9n] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-x86zhr8r9n] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-x86zhr8r9n] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-x86zhr8r9n] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-x86zhr8r9n 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-x86zhr8r9n] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-x86zhr8r9n {
    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/Shared/FymLoader.razor.rz.scp.css */
.fym-loader[b-wyj4g47ci5] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 34px 34px,
        radial-gradient(circle at 50% 38%, #1c4268 0%, #10253b 58%, #0a1829 100%);
    /* Si la verificación termina en menos de ~150 ms, la persona ni lo ve. */
    animation: fym-loader-in-b-wyj4g47ci5 .3s ease .15s both;
}

.fym-loader__content[b-wyj4g47ci5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.fym-loader__badge[b-wyj4g47ci5] {
    position: relative;
    display: grid;
    place-items: center;
    width: 7.5rem;
    height: 7.5rem;
}

.fym-loader__ring[b-wyj4g47ci5] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(245, 165, 36, .18);
    border-top-color: #f5a524;
    border-right-color: rgba(245, 165, 36, .55);
    animation: fym-loader-spin-b-wyj4g47ci5 1.1s cubic-bezier(.55, .15, .45, .85) infinite;
}

.fym-loader__mark[b-wyj4g47ci5] {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.4rem;
    background: #f5a524;
    color: #10253b;
    font: 800 1.5rem/1 "Inter", system-ui, sans-serif;
    letter-spacing: -.02em;
    box-shadow: 0 0 0 0 rgba(245, 165, 36, .5), 0 14px 34px rgba(0, 0, 0, .35);
    animation: fym-loader-pulse-b-wyj4g47ci5 1.8s ease-in-out infinite;
}

/* Cinco ladrillos que se iluminan en secuencia, como una pared que se levanta. */
.fym-loader__bricks[b-wyj4g47ci5] {
    display: flex;
    gap: .4rem;
}

.fym-loader__bricks i[b-wyj4g47ci5] {
    display: block;
    width: 1.9rem;
    height: .7rem;
    border-radius: .2rem;
    background: rgba(255, 255, 255, .16);
    animation: fym-loader-brick-b-wyj4g47ci5 1.5s ease-in-out infinite;
}

.fym-loader__bricks i:nth-child(2)[b-wyj4g47ci5] { animation-delay: .15s; }
.fym-loader__bricks i:nth-child(3)[b-wyj4g47ci5] { animation-delay: .3s; }
.fym-loader__bricks i:nth-child(4)[b-wyj4g47ci5] { animation-delay: .45s; }
.fym-loader__bricks i:nth-child(5)[b-wyj4g47ci5] { animation-delay: .6s; }

.fym-loader__text[b-wyj4g47ci5] {
    margin: 0;
    font: 600 .8rem/1 "Inter", system-ui, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #cfd9e4;
}

@keyframes fym-loader-in-b-wyj4g47ci5 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fym-loader-spin-b-wyj4g47ci5 {
    to { transform: rotate(360deg); }
}

@keyframes fym-loader-pulse-b-wyj4g47ci5 {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 165, 36, .45), 0 14px 34px rgba(0, 0, 0, .35); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(245, 165, 36, 0), 0 14px 34px rgba(0, 0, 0, .35); }
}

@keyframes fym-loader-brick-b-wyj4g47ci5 {
    0%, 100% { background: rgba(255, 255, 255, .16); transform: translateY(0); }
    35% { background: #f5a524; transform: translateY(-5px); }
    70% { background: rgba(245, 165, 36, .35); transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fym-loader[b-wyj4g47ci5],
    .fym-loader__ring[b-wyj4g47ci5],
    .fym-loader__mark[b-wyj4g47ci5],
    .fym-loader__bricks i[b-wyj4g47ci5] {
        animation: none;
    }

    .fym-loader__bricks i[b-wyj4g47ci5] { background: rgba(245, 165, 36, .6); }
}
