/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-j5fk61s62t],
.components-reconnect-repeated-attempt-visible[b-j5fk61s62t],
.components-reconnect-failed-visible[b-j5fk61s62t],
.components-pause-visible[b-j5fk61s62t],
.components-resume-failed-visible[b-j5fk61s62t] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-j5fk61s62t],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-j5fk61s62t],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-j5fk61s62t],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-j5fk61s62t],
#components-reconnect-modal.components-resume-failed .components-resume-failed-visible[b-j5fk61s62t] {
    display: inline;
}

#components-reconnect-modal[b-j5fk61s62t] {
    position: fixed;
    inset: auto 14px 14px auto;
    z-index: 1000;
    width: max-content;
    max-width: calc(100vw - 28px);
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #bf9854;
    border-radius: 8px;
    background: #142b43;
    color: #fff;
    box-shadow: 0 4px 14px rgb(0 0 0 / 16%);
    font-size: 12px;
    line-height: 1.3;
}

.components-reconnect-container[b-j5fk61s62t] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.connection-indicator[b-j5fk61s62t] {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f2c459;
    animation: connection-pulse-b-j5fk61s62t 1.5s ease-in-out infinite;
}

#components-reconnect-modal.components-reconnect-failed .connection-indicator[b-j5fk61s62t],
#components-reconnect-modal.components-resume-failed .connection-indicator[b-j5fk61s62t] {
    animation: none;
}

#components-reconnect-modal p[b-j5fk61s62t] {
    margin: 0;
}

#components-reconnect-modal button[b-j5fk61s62t] {
    padding: 0;
    border: 0;
    background: none;
    color: #f2c459;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

#components-reconnect-modal button:focus-visible[b-j5fk61s62t] {
    outline: 2px solid #f2c459;
    outline-offset: 3px;
}

@keyframes connection-pulse-b-j5fk61s62t {
    50% { opacity: .35; }
}

@media (max-width: 480px) {
    #components-reconnect-modal[b-j5fk61s62t] {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .connection-indicator[b-j5fk61s62t] { animation: none; }
}
