/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* The connection box (owner 2026-11-16). Its look is the style guide's dialog; this file only
   centres it and shows one state at a time. Blazor keeps "show" on while it retries, so the first
   state is "show and nothing else" (the default box showed two messages at once). */
/* The box sits outside the page's .site, which is where the body font is set. */
.reconnect[b-dygawrylsf] { align-items: center; text-align: center; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
.reconnect p[b-dygawrylsf] { margin: 0; }
.reconnect__state[b-dygawrylsf], .reconnect__ring[b-dygawrylsf] { display: none; }

#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying, .components-reconnect-failed, .components-reconnect-paused, .components-reconnect-resume-failed) .reconnect__state--rejoining[b-dygawrylsf],
#components-reconnect-modal.components-reconnect-retrying .reconnect__state--retrying[b-dygawrylsf],
#components-reconnect-modal.components-reconnect-failed .reconnect__state--failed[b-dygawrylsf],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect__state--failed[b-dygawrylsf],
#components-reconnect-modal.components-reconnect-paused:not(.components-reconnect-resume-failed) .reconnect__state--paused[b-dygawrylsf] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#components-reconnect-modal .dialog__actions.reconnect__state[b-dygawrylsf] { flex-direction: row; justify-content: center; }

#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-failed, .components-reconnect-paused, .components-reconnect-resume-failed) .reconnect__ring[b-dygawrylsf],
#components-reconnect-modal.components-reconnect-retrying .reconnect__ring[b-dygawrylsf] {
    display: block;
}
