@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 */
.components-reconnect-first-attempt-visible[b-la7ej7cied],
.components-reconnect-repeated-attempt-visible[b-la7ej7cied],
.components-reconnect-failed-visible[b-la7ej7cied],
.components-pause-visible[b-la7ej7cied],
.components-resume-failed-visible[b-la7ej7cied],
.components-rejoining-animation[b-la7ej7cied] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-retrying[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-failed[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-la7ej7cied] {
    display: block;
}

#components-reconnect-modal[b-la7ej7cied] {
    background: linear-gradient(145deg, #00382f 0%, #004D40 45%, #002b24 100%);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgba(191, 54, 12, 0.18);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 30px rgba(0, 77, 64, 0.22);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-la7ej7cied 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-la7ej7cied 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-la7ej7cied 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

    #components-reconnect-modal[b-la7ej7cied]::backdrop {
        background: rgba(0, 20, 16, 0.55);
        backdrop-filter: blur(4px);
        animation: components-reconnect-modal-fadeInOpacity-b-la7ej7cied 0.5s ease-in-out;
        opacity: 1;
    }

@keyframes components-reconnect-modal-slideUp-b-la7ej7cied {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-la7ej7cied {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-la7ej7cied {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-la7ej7cied] {
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#components-reconnect-modal p[b-la7ej7cied] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-la7ej7cied] {
    border: 0;
    background-color: #BF360C;
    color: white;
    padding: 4px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    #components-reconnect-modal button:hover[b-la7ej7cied] {
        background-color: #d84315;
    }

    #components-reconnect-modal button:active[b-la7ej7cied] {
        background-color: #a52f0a;
    }

.reconnect-progress[b-la7ej7cied] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-bar[b-la7ej7cied] {
    height: 100%;
    width: 30%;
    background: linear-gradient( 90deg, #004D40 0%, #26A69A 35%, #BF360C 65%, #004D40 100% );
    background-size: 200% 100%;
    animation: progressMove-b-la7ej7cied 1.5s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes progressMove-b-la7ej7cied {
    0% {
        transform: translateX(-100%);
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        transform: translateX(400%);
        background-position: 0% 50%;
    }
}

/* Icon container */
.reconnect-icon-container[b-la7ej7cied] {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reconnect-icon[b-la7ej7cied],
.reconnect-icon-error[b-la7ej7cied],
.reconnect-icon-pause[b-la7ej7cied] {
    width: 48px;
    height: 48px;
    color: #26A69A;
    z-index: 10;
    animation: iconPulse-b-la7ej7cied 2s ease-in-out infinite;
}

.reconnect-icon-error[b-la7ej7cied],
.reconnect-icon-pause[b-la7ej7cied] {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-icon[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-icon[b-la7ej7cied] {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-icon-error[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-icon-error[b-la7ej7cied] {
    display: block;
    color: #ff8a65;
    animation: iconShake-b-la7ej7cied 0.5s ease-in-out;
}

#components-reconnect-modal.components-reconnect-paused .reconnect-icon[b-la7ej7cied] {
    display: none;
}

#components-reconnect-modal.components-reconnect-paused .reconnect-icon-pause[b-la7ej7cied] {
    display: block;
    color: #ffb74d;
    animation: none;
}

@keyframes iconPulse-b-la7ej7cied {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes iconShake-b-la7ej7cied {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

/* Pulse rings */
.reconnect-pulse-ring[b-la7ej7cied] {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(38, 166, 154, 0.45);
    opacity: 0;
    animation: pulseRing-b-la7ej7cied 2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

    .reconnect-pulse-ring.delay-1[b-la7ej7cied] {
        animation-delay: 0.4s;
    }

    .reconnect-pulse-ring.delay-2[b-la7ej7cied] {
        animation-delay: 0.8s;
    }

#components-reconnect-modal.components-reconnect-failed .reconnect-pulse-ring[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-pulse-ring[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-paused .reconnect-pulse-ring[b-la7ej7cied] {
    animation: none;
    display: none;
}

@keyframes pulseRing-b-la7ej7cied {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Content */
.reconnect-content[b-la7ej7cied] {
    text-align: center;
}

/* Titles */
.reconnect-title[b-la7ej7cied] {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3faf8;
    letter-spacing: -0.02em;
}

    .reconnect-title.error[b-la7ej7cied] {
        color: #ffab91;
    }

    .reconnect-title.warning[b-la7ej7cied] {
        color: #ffcc80;
    }

.reconnect-subtitle[b-la7ej7cied] {
    margin: 0;
    font-size: 0.95rem;
    color: #b2dfdb;
    line-height: 1.5;
}

/* Progress */
.reconnect-progress[b-la7ej7cied] {
    background: rgba(255, 255, 255, 0.08);
}

/* Badge */
.countdown-badge[b-la7ej7cied] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: linear-gradient(135deg, #BF360C 0%, #d84315 100%);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(191, 54, 12, 0.35);
}

/* Actions */
.reconnect-actions[b-la7ej7cied] {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.btn-primary[b-la7ej7cied] {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #BF360C 0%, #d84315 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(191, 54, 12, 0.35);
}

#components-reconnect-modal.components-reconnect-failed .btn-primary.components-reconnect-failed-visible[b-la7ej7cied],
#components-reconnect-modal.components-reconnect-paused .btn-primary.components-pause-visible[b-la7ej7cied] {
    display: inline-flex;
}

.btn-primary:hover[b-la7ej7cied] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 54, 12, 0.45);
    background: linear-gradient(135deg, #d84315 0%, #e64a19 100%);
}

.btn-primary:active[b-la7ej7cied] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(191, 54, 12, 0.35);
}
