@import '_content/PTDoc.UI/PTDoc.UI.bundle.scp.css';

/* _content/PTDoc.Web/Components/Layout/ReconnectModal.razor.rz.scp.css */
#components-reconnect-modal[b-7c4avo0yxc] {
    position: fixed;
    inset: 0;
    z-index: var(--z-alert-dialog);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4);
    background: var(--modal-overlay-bg);
}

#components-reconnect-modal.components-reconnect-show[b-7c4avo0yxc],
#components-reconnect-modal.components-reconnect-retrying[b-7c4avo0yxc],
#components-reconnect-modal.components-reconnect-failed[b-7c4avo0yxc],
#components-reconnect-modal.components-reconnect-rejected[b-7c4avo0yxc] {
    display: flex;
}

.reconnect-modal__panel[b-7c4avo0yxc] {
    width: min(100%, 30rem);
    padding: var(--spacing-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    color: var(--card-foreground);
    box-shadow: var(--shadow-xl);
}

.reconnect-modal__title[b-7c4avo0yxc] {
    margin: 0 0 var(--spacing-3);
    font-size: var(--text-xl);
}

.reconnect-modal__description[b-7c4avo0yxc],
.reconnect-modal__attempt[b-7c4avo0yxc] {
    margin: 0 0 var(--spacing-4);
    color: var(--text-secondary);
}

.reconnect-modal__failed[b-7c4avo0yxc],
.reconnect-modal__rejected[b-7c4avo0yxc],
.components-reconnect-failed .reconnect-modal__retrying[b-7c4avo0yxc],
.components-reconnect-rejected .reconnect-modal__retrying[b-7c4avo0yxc],
.components-reconnect-rejected .reconnect-modal__failed[b-7c4avo0yxc] {
    display: none;
}

.components-reconnect-failed .reconnect-modal__failed[b-7c4avo0yxc],
.components-reconnect-rejected .reconnect-modal__rejected[b-7c4avo0yxc] {
    display: block;
}

.reconnect-modal__actions[b-7c4avo0yxc] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--spacing-3);
}

.reconnect-modal__button[b-7c4avo0yxc] {
    min-height: var(--touch-target-mobile);
    padding: var(--spacing-2) var(--spacing-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.reconnect-modal__button--primary[b-7c4avo0yxc] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
}

.reconnect-modal__button--secondary[b-7c4avo0yxc] {
    background: var(--card);
    color: var(--card-foreground);
}

.components-reconnect-show .reconnect-modal__actions[b-7c4avo0yxc],
.components-reconnect-retrying .reconnect-modal__actions[b-7c4avo0yxc],
.components-reconnect-failed [data-reconnect-reload][b-7c4avo0yxc],
.components-reconnect-rejected [data-reconnect-retry][b-7c4avo0yxc] {
    display: none;
}
