/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-0l61pn68w0] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0l61pn68w0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2uab3y9r2a],
.components-reconnect-repeated-attempt-visible[b-2uab3y9r2a],
.components-reconnect-failed-visible[b-2uab3y9r2a],
.components-pause-visible[b-2uab3y9r2a],
.components-resume-failed-visible[b-2uab3y9r2a],
.components-rejoining-animation[b-2uab3y9r2a] {
    display: none;
}

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


#components-reconnect-modal[b-2uab3y9r2a] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2uab3y9r2a 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2uab3y9r2a 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2uab3y9r2a 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2uab3y9r2a]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2uab3y9r2a 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2uab3y9r2a {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-2uab3y9r2a] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2uab3y9r2a] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2uab3y9r2a] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2uab3y9r2a] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2uab3y9r2a] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2uab3y9r2a] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2uab3y9r2a 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2uab3y9r2a] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2uab3y9r2a {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/SuperAdmin/Billing.razor.rz.scp.css */
/* Billing screen is ported verbatim from the prototype using inline styles only.
   No screen-specific scoped CSS is required. */
/* /Components/Pages/SuperAdmin/Forms.razor.rz.scp.css */
/* ---------- Builder drawer shell ---------- */
.builder[b-2znwv5hgpf] {
    width: 1040px;
    max-width: 100%;
    height: 100%;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.builder__head[b-2znwv5hgpf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}

.builder__title[b-2znwv5hgpf] {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--r-control);
    padding: 4px 8px;
    width: 100%;
    font-family: var(--font-ui);
}
.builder__title:hover[b-2znwv5hgpf] { border-color: var(--border); }
.builder__title:focus[b-2znwv5hgpf] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.builder__cat[b-2znwv5hgpf] { height: 32px; max-width: 220px; }
.builder__status[b-2znwv5hgpf] { height: 32px; max-width: 150px; }

.builder__body[b-2znwv5hgpf] {
    flex: 1;
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    min-height: 0;
}

.builder__palette[b-2znwv5hgpf],
.builder__config[b-2znwv5hgpf] { padding: 18px; overflow-y: auto; }
.builder__palette[b-2znwv5hgpf] { border-right: 1px solid var(--border); }
.builder__config[b-2znwv5hgpf] { border-left: 1px solid var(--border); }
.builder__canvas[b-2znwv5hgpf] { padding: 18px; overflow-y: auto; background: var(--bg); }

.builder__section[b-2znwv5hgpf] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    font-weight: 700;
    margin-bottom: 14px;
}

.builder__foot[b-2znwv5hgpf] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 22px;
    border-top: 1px solid var(--border);
}

/* ---------- Palette ---------- */
.palette-grid[b-2znwv5hgpf] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.palette-chip[b-2znwv5hgpf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-control);
    background: var(--surface);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.palette-chip:hover[b-2znwv5hgpf] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.palette-chip span[b-2znwv5hgpf] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Canvas ---------- */
.canvas-list[b-2znwv5hgpf] { display: flex; flex-wrap: wrap; gap: 10px; }

.canvas-item[b-2znwv5hgpf] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-control);
    background: var(--surface);
    cursor: pointer;
    flex: 1 1 100%;
    min-width: 0;
}
.canvas-item.is-half[b-2znwv5hgpf] { flex: 1 1 calc(50% - 5px); }
.canvas-item:hover[b-2znwv5hgpf] { border-color: var(--border-2); }
.canvas-item.is-selected[b-2znwv5hgpf] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.canvas-item__icon[b-2znwv5hgpf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: var(--r-control);
    background: var(--surface-2);
    color: var(--text-2);
}

.canvas-item__main[b-2znwv5hgpf] { flex: 1; min-width: 0; }
.canvas-item__label[b-2znwv5hgpf] { font-size: 13.5px; font-weight: 600; color: var(--text); }
.canvas-item__req[b-2znwv5hgpf] { color: var(--danger); margin-left: 2px; }
.canvas-item__meta[b-2znwv5hgpf] {
    font-size: 11.5px;
    color: var(--text-3);
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.canvas-item__tools[b-2znwv5hgpf] { display: flex; gap: 2px; flex-shrink: 0; }

/* ---------- Config panel ---------- */
.config-type[b-2znwv5hgpf] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-control);
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.config-row[b-2znwv5hgpf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.config-seg[b-2znwv5hgpf] {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--r-control);
    overflow: hidden;
    width: 100%;
}
.config-seg__btn[b-2znwv5hgpf] {
    flex: 1;
    padding: 8px 0;
    background: var(--surface);
    color: var(--text-2);
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.config-seg__btn + .config-seg__btn[b-2znwv5hgpf] { border-left: 1px solid var(--border); }
.config-seg__btn.is-on[b-2znwv5hgpf] { background: var(--accent-soft); color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .builder[b-2znwv5hgpf] { width: 100%; }
    .builder__body[b-2znwv5hgpf] { grid-template-columns: 200px 1fr 280px; }
}
/* /Components/Pages/SuperAdmin/Integrations.razor.rz.scp.css */
/* Connect / Add-custom drawer form: stack labels + inputs with breathing room. */
.q-form[b-96rmdj1ehx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.q-form__label[b-96rmdj1ehx] {
    margin-top: 8px;
}
/* /Components/Pages/SuperAdmin/Plans.razor.rz.scp.css */
/* Plans & Modules — fully inline-styled per the ported prototype markup.
   No screen-specific classes needed; hover behaviour uses the global q-hov / q-hov-accent helpers. */
/* /Components/Pages/SuperAdmin/Templates.razor.rz.scp.css */
/* Templates screen — all layout is ported inline from the prototype (see Templates.razor).
   No screen-specific scoped CSS is required. */
/* /Components/Pages/SuperAdmin/Tenants.razor.rz.scp.css */
/* Tenants list — screen-specific hover fidelity only.
   The prototype's inline styles carry the layout/design verbatim (see PORTING.md);
   these scoped rules reproduce the prototype's style-hover="…" runtime hints. */

.q-hov-row:hover[b-73rabelwe0] { background: var(--surface-2); }

.q-hov-icon:hover[b-73rabelwe0] { background: var(--surface-3); color: var(--text); }

.q-hov-danger:hover[b-73rabelwe0] { background: var(--danger-soft); color: var(--danger-text); }
