/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-739djkm78g] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
}

main[b-739djkm78g] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

article[b-739djkm78g] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.sidebar[b-739djkm78g] {
    background-image: linear-gradient(180deg, var(--site-nav-start, rgb(5, 39, 103)) 0%, var(--site-nav-end, #3a0647) 70%);
}

.top-row[b-739djkm78g] {
    background-color: var(--site-topbar-bg, #f7f7f7);
    color: var(--site-topbar-fg, #1f2937);
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

    .top-row .top-actions[b-739djkm78g] {
        display: inline-flex;
        align-items: center;
        gap: 14px;
    }

    .top-row .top-user[b-739djkm78g] {
        font-size: 0.95rem;
        color: var(--site-topbar-fg, #1f2937);
        white-space: nowrap;
    }

    .top-row .settings-icon-link[b-739djkm78g] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        margin-left: 0 !important;
    }

    .top-row .settings-icon-link .bi[b-739djkm78g] {
        font-size: 1.12rem;
    }

    .top-row[b-739djkm78g]  a, .top-row[b-739djkm78g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--site-topbar-fg, #1f2937);
    }

    .top-row[b-739djkm78g]  a:hover, .top-row[b-739djkm78g]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-739djkm78g]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-739djkm78g] {
        justify-content: space-between;
    }

    .top-row .top-actions[b-739djkm78g] {
        gap: 8px;
        width: 100%;
        justify-content: flex-end;
    }

    .top-row .top-user[b-739djkm78g] {
        max-width: calc(100vw - 110px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-row[b-739djkm78g]  a, .top-row[b-739djkm78g]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-739djkm78g] {
        flex-direction: row;
    }

    .sidebar[b-739djkm78g] {
        width: 250px;
        height: 100dvh;
        position: sticky;
        top: 0;
    }

    .top-row[b-739djkm78g] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-739djkm78g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-739djkm78g], article[b-739djkm78g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-739djkm78g] {
    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-739djkm78g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-rg61plsfb0] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-rg61plsfb0] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-rg61plsfb0] {
    height: 3.5rem;
    min-height: 3.5rem;
    background-color: color-mix(in srgb, var(--site-nav-start, #052767) 72%, black);
}

.navbar-brand[b-rg61plsfb0] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.bi[b-rg61plsfb0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    background-size: cover;
    vertical-align: middle;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-optimisation-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'%3E%3Cline x1='2' y1='3.5' x2='14' y2='3.5'/%3E%3Ccircle cx='6' cy='3.5' r='1.4' fill='white' stroke='none'/%3E%3Cline x1='2' y1='8' x2='14' y2='8'/%3E%3Ccircle cx='10' cy='8' r='1.4' fill='white' stroke='none'/%3E%3Cline x1='2' y1='12.5' x2='14' y2='12.5'/%3E%3Ccircle cx='5' cy='12.5' r='1.4' fill='white' stroke='none'/%3E%3C/svg%3E");
}

.bi-generation-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M8 1l1.2 3.1 3.1 1.2-3.1 1.2L8 9.6 6.8 6.5 3.7 5.3l3.1-1.2L8 1z'/%3E%3Cpath d='M12.4 9.4l.6 1.5 1.5.6-1.5.6-.6 1.5-.6-1.5-1.5-.6 1.5-.6.6-1.5z'/%3E%3Ccircle cx='3.2' cy='12.1' r='1.1'/%3E%3C/svg%3E");
}

.bi-produits-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='2.2' y='3' width='11.6' height='10' rx='1.2'/%3E%3Cpath d='M2.2 6.3h11.6M8 6.3V13'/%3E%3C/svg%3E");
}

.bi-info-circle-nav-menu[b-rg61plsfb0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-info-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E");
}

.nav-item[b-rg61plsfb0] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rg61plsfb0] {
        padding-top: 0.5rem;
    }

    .nav-item:last-of-type[b-rg61plsfb0] {
        padding-bottom: 0.5rem;
    }

    .nav-item[b-rg61plsfb0]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-rg61plsfb0]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-rg61plsfb0]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-rg61plsfb0] {
    display: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-scrollable[b-rg61plsfb0]::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-rg61plsfb0] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-rg61plsfb0] {
        display: none;
    }

    .nav-scrollable[b-rg61plsfb0] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100dvh - 3.5rem - 2px);
        box-sizing: border-box;
        padding-bottom: 2px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.nav-shell[b-rg61plsfb0] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.nav-main[b-rg61plsfb0] {
    flex: 1 1 auto;
}

.nav-footer[b-rg61plsfb0] {
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-link-footer[b-rg61plsfb0] {
    font-weight: 600;
}

.nav-link-footer .bi[b-rg61plsfb0] {
    top: -1px;
    align-self: center;
}
/* /Components/Layout/PageBuilderLayout.razor.rz.scp.css */
.pb-layout-root[b-1qbp44b34l] {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #111827;
}

#blazor-error-ui[b-1qbp44b34l] {
    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-1qbp44b34l] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mzcemie4t6],
.components-reconnect-repeated-attempt-visible[b-mzcemie4t6],
.components-reconnect-failed-visible[b-mzcemie4t6],
.components-pause-visible[b-mzcemie4t6],
.components-resume-failed-visible[b-mzcemie4t6],
.components-rejoining-animation[b-mzcemie4t6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-failed[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mzcemie4t6] {
    display: block;
}


#components-reconnect-modal[b-mzcemie4t6] {
    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-mzcemie4t6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mzcemie4t6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mzcemie4t6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mzcemie4t6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mzcemie4t6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mzcemie4t6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mzcemie4t6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mzcemie4t6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mzcemie4t6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mzcemie4t6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mzcemie4t6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mzcemie4t6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mzcemie4t6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mzcemie4t6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mzcemie4t6 {
    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/RapidEditGrid.razor.rz.scp.css */
.rapid-edit-grid[b-i94wev04fz] {
    outline: none;
    overflow: auto;
    max-height: 100%;
}

.rapid-toolbar[b-i94wev04fz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.rapid-empty[b-i94wev04fz] {
    padding: 1rem;
    color: #6c757d;
    text-align: center;
}

.rapid-table[b-i94wev04fz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    table-layout: fixed;
}

.rapid-table thead th[b-i94wev04fz] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.3rem 0.4rem;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
}

.rapid-cell[b-i94wev04fz] {
    border: 1px solid #dee2e6;
    padding: 0.2rem 0.35rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.rapid-row-focus[b-i94wev04fz] {
    background: #f0f6ff;
}

.rapid-cell-readonly[b-i94wev04fz] {
    background: #f5f5f5;
    color: #888;
    cursor: default;
}

.rapid-cell-dirty[b-i94wev04fz] {
    background: #fff9db !important;
}

.rapid-cell-focus[b-i94wev04fz] {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
    z-index: 1;
}

.rapid-cell-editing[b-i94wev04fz] {
    outline: 2px solid #0a58ca;
    outline-offset: -2px;
    padding: 0;
    z-index: 2;
}

.rapid-input[b-i94wev04fz] {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    text-align: center;
    font-size: inherit;
    font-family: inherit;
    padding: 0.2rem 0.35rem;
    background: #fff;
    box-sizing: border-box;
}

.rapid-checkbox[b-i94wev04fz] {
    width: 18px;
    height: 18px;
    accent-color: #0d6efd;
    cursor: pointer;
}

.rapid-display[b-i94wev04fz] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rapid-delete-btn[b-i94wev04fz] {
    padding: 0 0.3rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Sort header */
.rapid-col-sortable[b-i94wev04fz] {
    cursor: pointer;
}

.rapid-sort-header[b-i94wev04fz] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.rapid-sort-header:hover[b-i94wev04fz] {
    color: #0d6efd;
}

.rapid-sort-indicator[b-i94wev04fz] {
    font-size: 0.65rem;
    line-height: 1;
}

.rapid-sort-idle[b-i94wev04fz] {
    opacity: 0.35;
}

/* Mobile card list */
.rapid-mobile-list[b-i94wev04fz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rapid-mobile-card[b-i94wev04fz] {
    border: 1px solid #dee2e6;
    border-radius: 0.35rem;
    padding: 0.3rem 0.5rem;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(var(--rapid-mobile-cols, 4), 1fr);
    gap: 0.15rem 0.4rem;
    align-items: center;
}

.rapid-mobile-card:active[b-i94wev04fz] {
    opacity: 0.7;
}

.rapid-mobile-field[b-i94wev04fz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.rapid-mobile-label[b-i94wev04fz] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1;
}

.rapid-mobile-value[b-i94wev04fz] {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mobile bool group – checkboxes aligned inline */
.rapid-mobile-bools[b-i94wev04fz] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.1rem 0;
}

.rapid-mobile-bool-item[b-i94wev04fz] {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.rapid-checkbox-sm[b-i94wev04fz] {
    width: 15px;
    height: 15px;
    accent-color: #0d6efd;
    cursor: pointer;
}

/* Dialog overlay */
.rapid-dialog-overlay[b-i94wev04fz] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.rapid-dialog[b-i94wev04fz] {
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 1.2rem;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    animation: rapid-dialog-slide-up-b-i94wev04fz 0.2s ease-out;
}

@keyframes rapid-dialog-slide-up-b-i94wev04fz {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.rapid-dialog-title[b-i94wev04fz] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.rapid-dialog-fields[b-i94wev04fz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rapid-dialog-field[b-i94wev04fz] {
    grid-column: 1 / -1;
}

.rapid-dialog-field-bool-group[b-i94wev04fz] {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rapid-dialog-field-bool-group .rapid-dialog-checkbox[b-i94wev04fz] {
    display: block;
    margin: 0 auto;
}

.rapid-dialog-field-bool-group .rapid-dialog-label[b-i94wev04fz] {
    width: 100%;
    text-align: center;
    margin-bottom: 0.35rem;
}

.rapid-dialog-label[b-i94wev04fz] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #495057;
}

.rapid-dialog-checkbox[b-i94wev04fz] {
    width: 20px;
    height: 20px;
}

/* Numeric keypad – inline under active field */
.rapid-numpad-wrapper[b-i94wev04fz] {
    position: relative;
}

.rapid-numpad[b-i94wev04fz] {
    margin-top: 0.3rem;
    padding: 0.4rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rapid-numpad-keys[b-i94wev04fz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.rapid-numpad-key[b-i94wev04fz] {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.55rem 0;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.1s;
}

.rapid-numpad-key:active[b-i94wev04fz] {
    background: #e2e6ea;
}

.rapid-numpad-actions[b-i94wev04fz] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.rapid-numpad-key-action[b-i94wev04fz] {
    background: #e9ecef;
    font-size: 1rem;
}

.rapid-numpad-key-action:active[b-i94wev04fz] {
    background: #ced4da;
}

.rapid-numpad-key-clear[b-i94wev04fz] {
    color: #dc3545;
    font-weight: 700;
}

.rapid-numpad-key-confirm[b-i94wev04fz] {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    font-size: 1.15rem;
}

.rapid-numpad-key-confirm:active[b-i94wev04fz] {
    background: #0a58ca;
}

.rapid-numpad-active-input[b-i94wev04fz] {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
    background: #f0f6ff !important;
}

/* When numpad is open, the parent field should span the full dialog width */
.rapid-dialog-field:has(.rapid-numpad)[b-i94wev04fz] {
    grid-column: 1 / -1;
}

.rapid-dialog-actions[b-i94wev04fz] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
}
