@import '_content/AuralizeBlazor/AuralizeBlazor.tf5u2o3oxg.bundle.scp.css';
@import '_content/Nextended.Blazor/Nextended.Blazor.tkxqvq0zjw.bundle.scp.css';

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

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

/* ===========================
   Modal principal
   =========================== */
#components-reconnect-modal[b-wf0xjuynuy] {
    background-color: #ffffff;
    width: min(22rem, 90vw);
    margin: 20vh auto;
    padding: 2.5rem;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 3px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete, opacity 0.5s ease;
    animation: components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy 0.5s both;
}

    #components-reconnect-modal[open][b-wf0xjuynuy] {
        animation: components-reconnect-modal-slideUp-b-wf0xjuynuy 0.6s cubic-bezier(0.16, 1, 0.3, 1), components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out;
        animation-fill-mode: both;
    }

    /* Backdrop mejorado */
    #components-reconnect-modal[b-wf0xjuynuy]::backdrop {
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        animation: components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.3s ease-in-out;
        opacity: 1;
    }

/* ===========================
   Animaciones
   =========================== */
@keyframes components-reconnect-modal-slideUp-b-wf0xjuynuy {
    0% {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

/* ===========================
   Contenedor y layout
   =========================== */
.components-reconnect-container[b-wf0xjuynuy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ===========================
   Textos
   =========================== */
#components-reconnect-modal p[b-wf0xjuynuy] {
    margin: 0;
    text-align: center;
    color: #334155;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

    #components-reconnect-modal p:first-of-type[b-wf0xjuynuy] {
        font-size: 1.125rem;
    }

/* ===========================
   Botones
   =========================== */
#components-reconnect-modal button[b-wf0xjuynuy] {
    border: 0;
    background: linear-gradient(135deg, #6b9ed2 0%, #5a8dc4 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(107, 158, 210, 0.3);
}

    #components-reconnect-modal button:hover[b-wf0xjuynuy] {
        background: linear-gradient(135deg, #5a8dc4 0%, #4a7db4 100%);
        box-shadow: 0 4px 12px rgba(107, 158, 210, 0.4);
        transform: translateY(-2px);
    }

    #components-reconnect-modal button:active[b-wf0xjuynuy] {
        background: linear-gradient(135deg, #4a7db4 0%, #3b6ea2 100%);
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(107, 158, 210, 0.3);
    }

    #components-reconnect-modal button:focus-visible[b-wf0xjuynuy] {
        outline: 3px solid rgba(107, 158, 210, 0.5);
        outline-offset: 2px;
    }

/* ===========================
   Animaci�n de carga
   =========================== */
.components-rejoining-animation[b-wf0xjuynuy] {
    position: relative;
    width: 80px;
    height: 80px;
}

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

        .components-rejoining-animation div:nth-child(2)[b-wf0xjuynuy] {
            animation-delay: -0.75s;
            border-color: #6b9ed2;
        }

@keyframes components-rejoining-animation-b-wf0xjuynuy {
    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: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 640px) {
    #components-reconnect-modal[b-wf0xjuynuy] {
        padding: 2rem 1.5rem;
        margin: 15vh auto;
    }

        #components-reconnect-modal p[b-wf0xjuynuy] {
            font-size: 0.9375rem;
        }

        #components-reconnect-modal button[b-wf0xjuynuy] {
            padding: 0.625rem 1.75rem;
            font-size: 0.9375rem;
        }
}
