@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Jendela sambung-ulang circuit — rupa dialog aplikasi (tms-modal-card): lembar putih radius 16,
   bayangan lapis 4, tombol kobalt. Nilai warnanya variabel token global dari tms.tailwind.css. */
.components-reconnect-first-attempt-visible[b-hqmidfp6ne],
.components-reconnect-repeated-attempt-visible[b-hqmidfp6ne],
.components-reconnect-failed-visible[b-hqmidfp6ne],
.components-pause-visible[b-hqmidfp6ne],
.components-resume-failed-visible[b-hqmidfp6ne],
.components-rejoining-animation[b-hqmidfp6ne] {
    display: none;
}

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

#components-reconnect-modal[b-hqmidfp6ne] {
    background-color: var(--color-surface, #fff);
    color: var(--color-ink, #181e2a);
    width: 21rem;
    max-width: calc(100vw - 2rem);
    margin: 20vh auto;
    padding: 2rem 1.75rem 1.75rem;
    border: 1px solid rgb(16 23 39 / 0.06);
    border-radius: 1rem;
    box-shadow: var(--shadow-drawer, 0 28px 72px -16px rgb(16 23 39 / 0.34));
    font-family: var(--font-sans, system-ui, sans-serif);
    font-size: 0.875rem;
    line-height: 1.375rem;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-hqmidfp6ne 0.5s both;
}

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

#components-reconnect-modal[b-hqmidfp6ne]::backdrop {
    background-color: rgb(16 23 39 / 0.44);
    backdrop-filter: blur(3px);
    animation: components-reconnect-modal-fadeInOpacity-b-hqmidfp6ne 0.4s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-hqmidfp6ne {
    0% {
        transform: translateY(12px) scale(0.98);
    }

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-hqmidfp6ne] {
    margin: 0;
    text-align: center;
    color: var(--color-ink-soft, #3d424e);
}

#components-reconnect-modal button[b-hqmidfp6ne] {
    min-height: 2.5rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: var(--color-signal-strong, #264cb3);
    color: #fff;
    padding: 0 1.25rem;
    font-weight: 560;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(16 23 39 / 0.16);
}

#components-reconnect-modal button:hover[b-hqmidfp6ne] {
    background-color: var(--color-signal, #3360cc);
}

#components-reconnect-modal button:focus-visible[b-hqmidfp6ne] {
    outline: 2px solid var(--color-signal, #3360cc);
    outline-offset: 2px;
}

/* Tapak tiga blok yang berdenyut — tanda merek, bukan cincin biru bawaan templat. */
.components-rejoining-animation[b-hqmidfp6ne] {
    position: relative;
    width: 3.5rem;
    height: 2.5rem;
}

.components-rejoining-animation div[b-hqmidfp6ne] {
    position: absolute;
    top: 0.25rem;
    width: 0.375rem;
    height: 2rem;
    border-radius: 9999px;
    background-image: repeating-linear-gradient(180deg, var(--color-signal, #3360cc) 0 6px, transparent 6px 10px);
    animation: components-rejoining-animation-b-hqmidfp6ne 1.2s ease-in-out infinite;
}

.components-rejoining-animation div:nth-child(1)[b-hqmidfp6ne] {
    left: 1.125rem;
}

.components-rejoining-animation div:nth-child(2)[b-hqmidfp6ne] {
    left: 2rem;
    animation-delay: -0.6s;
}

@keyframes components-rejoining-animation-b-hqmidfp6ne {
    0%, 100% {
        opacity: 0.25;
        transform: translateY(2px);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .components-rejoining-animation div[b-hqmidfp6ne],
    #components-reconnect-modal[b-hqmidfp6ne],
    #components-reconnect-modal[open][b-hqmidfp6ne] {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}
