/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout styling lives in wwwroot/app.css so MudBlazor classes can share the same tokens. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-ccs633kyxv] {
    padding: 10px;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-aalqyrnv4g],
.components-reconnect-repeated-attempt-visible[b-aalqyrnv4g],
.components-reconnect-failed-visible[b-aalqyrnv4g],
.components-pause-visible[b-aalqyrnv4g],
.components-resume-failed-visible[b-aalqyrnv4g],
.components-rejoining-animation[b-aalqyrnv4g] {
    display: none;
}

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

#components-reconnect-modal.components-reconnect-paused[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-resume-failed[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-show[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-retrying[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-failed[b-aalqyrnv4g] {
    display: block;
}

#components-reconnect-modal[b-aalqyrnv4g] {
    width: min(92vw, 460px);
    margin: 18vh auto 0;
    padding: 0;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 16px;
    color: #e7f1ee;
    background:
        radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(9, 23, 33, 0.98), rgba(6, 15, 22, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(16, 185, 129, 0.08) inset;
    opacity: 0;
    overflow: hidden;
    animation: reconnect-fade-out-b-aalqyrnv4g 0.2s ease both;
}

#components-reconnect-modal[open][b-aalqyrnv4g] {
    animation: reconnect-pop-in-b-aalqyrnv4g 0.28s ease both;
}

#components-reconnect-modal[b-aalqyrnv4g]::backdrop {
    background:
        radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.14), transparent 32%),
        rgba(1, 8, 12, 0.68);
    backdrop-filter: blur(5px);
}

.components-reconnect-container[b-aalqyrnv4g] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 22px;
}

.reconnect-status-mark[b-aalqyrnv4g] {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2) inset;
}

.reconnect-status-mark[b-aalqyrnv4g]::before,
.reconnect-status-mark[b-aalqyrnv4g]::after,
.reconnect-status-mark span[b-aalqyrnv4g] {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.reconnect-status-mark[b-aalqyrnv4g]::before {
    inset: 12px;
    border: 3px solid rgba(34, 211, 238, 0.18);
    border-top-color: #22d3ee;
    animation: reconnect-spin-b-aalqyrnv4g 0.9s linear infinite;
}

.reconnect-status-mark[b-aalqyrnv4g]::after {
    inset: 24px;
    background: #10b981;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.75);
}

.reconnect-status-mark span[b-aalqyrnv4g] {
    inset: 7px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: reconnect-pulse-b-aalqyrnv4g 1.4s ease-out infinite;
}

.reconnect-copy[b-aalqyrnv4g] {
    min-width: 0;
}

.reconnect-copy strong[b-aalqyrnv4g] {
    display: block;
    margin-bottom: 6px;
    color: #f7fffd;
    font-size: 1rem;
    line-height: 1.25;
}

#components-reconnect-modal p[b-aalqyrnv4g] {
    margin: 0;
    color: #b8c9c6;
    font-size: 0.88rem;
    line-height: 1.45;
}

#components-reconnect-modal small[b-aalqyrnv4g] {
    display: block;
    margin-top: 10px;
    color: #7f9490;
    font-size: 0.76rem;
    line-height: 1.35;
}

.reconnect-actions[b-aalqyrnv4g] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

#components-reconnect-modal button[b-aalqyrnv4g] {
    display: none;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 8px;
    color: #eafffb;
    background: rgba(15, 23, 42, 0.78);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

#components-reconnect-modal.components-reconnect-paused #components-resume-button[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-resume-failed #components-resume-button[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-failed #components-reconnect-button[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-failed .reconnect-actions button:last-child[b-aalqyrnv4g],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-actions button:last-child[b-aalqyrnv4g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#components-reconnect-button[b-aalqyrnv4g],
#components-resume-button[b-aalqyrnv4g] {
    border-color: rgba(16, 185, 129, 0.45) !important;
    background: linear-gradient(135deg, #10b981, #14b8a6) !important;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.22);
}

#components-reconnect-modal.components-reconnect-failed .reconnect-status-mark[b-aalqyrnv4g]::before,
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-status-mark[b-aalqyrnv4g]::before {
    border-top-color: #ff4d5e;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-status-mark[b-aalqyrnv4g]::after,
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-status-mark[b-aalqyrnv4g]::after {
    background: #ff4d5e;
    box-shadow: 0 0 18px rgba(255, 77, 94, 0.62);
}

@keyframes reconnect-pop-in-b-aalqyrnv4g {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

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

@keyframes reconnect-fade-out-b-aalqyrnv4g {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes reconnect-spin-b-aalqyrnv4g {
    to {
        transform: rotate(360deg);
    }
}

@keyframes reconnect-pulse-b-aalqyrnv4g {
    0% {
        opacity: 0.8;
        transform: scale(0.86);
    }

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

@media (max-width: 560px) {
    #components-reconnect-modal[b-aalqyrnv4g] {
        margin-top: 12vh;
    }

    .components-reconnect-container[b-aalqyrnv4g] {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .reconnect-actions[b-aalqyrnv4g] {
        justify-content: center;
    }
}
