@import '_content/Shared.UI/Shared.UI.veqxkwpdwx.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-vo32s3kpcm] {
    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-vo32s3kpcm] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.app-header-login-link[b-vo32s3kpcm] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--app-text);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

    .app-header-login-link:hover[b-vo32s3kpcm] {
        color: var(--app-accent);
    }


.app-header-role-container[b-vo32s3kpcm] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.app-role-settings-button[b-vo32s3kpcm] {
    border: none;
    background: transparent;
    padding: 0.2rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.role-drawer-overlay[b-vo32s3kpcm] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2000;
}

.role-drawer[b-vo32s3kpcm] {
    position: fixed;
    top: 0;
    right: 0;
    width: 22rem;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -0.2rem 0 1rem rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.role-drawer-header[b-vo32s3kpcm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 0.0625rem solid #ddd;
    font-weight: 600;
}

.role-drawer-close[b-vo32s3kpcm] {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
}

.role-drawer-body[b-vo32s3kpcm] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-drawer-item[b-vo32s3kpcm] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 0.0625rem solid #ddd;
    background: white;
    border-radius: 0.4rem;
    cursor: pointer;
    text-align: start;
}

    .role-drawer-item:hover[b-vo32s3kpcm] {
        background: #f5f5f5;
    }

    .role-drawer-item.selected[b-vo32s3kpcm] {
        font-weight: 600;
    }

.role-drawer-overlay[b-vo32s3kpcm] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2000;
    animation: roleOverlayIn-b-vo32s3kpcm 0.3s ease forwards;
}

    .role-drawer-overlay.closing[b-vo32s3kpcm] {
        animation: roleOverlayOut-b-vo32s3kpcm 0.3s ease forwards;
    }

.role-drawer[b-vo32s3kpcm] {
    position: fixed;
    top: 0;
    width: 22rem;
    max-width: 90%;
    height: 100%;
    background: white;
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

    /* عربي: يطلع من اليمين */
    .role-drawer.right[b-vo32s3kpcm] {
        right: 0;
        animation: roleDrawerRightIn-b-vo32s3kpcm 0.3s ease forwards;
    }

        .role-drawer.right.closing[b-vo32s3kpcm] {
            animation: roleDrawerRightOut-b-vo32s3kpcm 0.3s ease forwards;
        }

    /* English: يطلع من اليسار */
    .role-drawer.left[b-vo32s3kpcm] {
        left: 0;
        animation: roleDrawerLeftIn-b-vo32s3kpcm 0.3s ease forwards;
    }

        .role-drawer.left.closing[b-vo32s3kpcm] {
            animation: roleDrawerLeftOut-b-vo32s3kpcm 0.3s ease forwards;
        }

@keyframes roleDrawerRightIn-b-vo32s3kpcm {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes roleDrawerRightOut-b-vo32s3kpcm {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes roleDrawerLeftIn-b-vo32s3kpcm {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes roleDrawerLeftOut-b-vo32s3kpcm {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes roleOverlayIn-b-vo32s3kpcm {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes roleOverlayOut-b-vo32s3kpcm {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 48rem) {

    .role-drawer[b-vo32s3kpcm] {
        width: 92vw;
        max-width: 92vw;
    }

    .role-drawer-header[b-vo32s3kpcm] {
        padding: 0.85rem;
    }

    .role-drawer-body[b-vo32s3kpcm] {
        padding: 0.85rem;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .role-drawer-item[b-vo32s3kpcm] {
        padding: 0.7rem;
        min-width: 0;
    }

    .app-header-role-container[b-vo32s3kpcm] {
        min-width: 0;
    }

    .app-role-settings-button[b-vo32s3kpcm] {
        flex-shrink: 0;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-x61jx6g9l2],
.components-reconnect-repeated-attempt-visible[b-x61jx6g9l2],
.components-reconnect-failed-visible[b-x61jx6g9l2],
.components-pause-visible[b-x61jx6g9l2],
.components-resume-failed-visible[b-x61jx6g9l2],
.components-rejoining-animation[b-x61jx6g9l2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-retrying[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-failed[b-x61jx6g9l2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-x61jx6g9l2] {
    display: block;
}


#components-reconnect-modal[b-x61jx6g9l2] {
    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-x61jx6g9l2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-x61jx6g9l2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-x61jx6g9l2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-x61jx6g9l2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-x61jx6g9l2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-x61jx6g9l2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-x61jx6g9l2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-x61jx6g9l2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-x61jx6g9l2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-x61jx6g9l2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-x61jx6g9l2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-x61jx6g9l2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-x61jx6g9l2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-x61jx6g9l2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-x61jx6g9l2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-x61jx6g9l2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-x61jx6g9l2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-x61jx6g9l2 {
    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/AppLogin.razor.rz.scp.css */
/* CSS for Login component */
.login-page[b-uh4zv6ixsm] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem;
}

.login-card[b-uh4zv6ixsm] {
    width: 100%;
    max-width: 28rem;
    padding: 2rem;
    background: var(--app-surface);
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}

.login-header[b-uh4zv6ixsm] {
    text-align: center;
    margin-bottom: 2rem;
}

    .login-header i[b-uh4zv6ixsm] {
        font-size: 2.5rem;
        color: var(--app-accent);
    }

    .login-header h2[b-uh4zv6ixsm] {
        margin: 0.75rem 0 0.25rem;
    }

    .login-header p[b-uh4zv6ixsm] {
        margin: 0;
        color: var(--app-text-muted);
    }

.login-button[b-uh4zv6ixsm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: var(--app-radius);
    background: var(--app-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

    .login-button:hover[b-uh4zv6ixsm] {
        background: var(--app-primary-hover);
    }

.login-register[b-uh4zv6ixsm] {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    color: var(--app-text-muted);
}

    .login-register a[b-uh4zv6ixsm] {
        color: var(--app-accent);
        text-decoration: none;
        font-weight: 600;
    }

.login-error[b-uh4zv6ixsm] {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--app-radius);
    background: #fef2f2;
    color: var(--app-danger);
}

.password-input-container[b-uh4zv6ixsm] {
    position: relative;
    width: 100%;
}

    .password-input-container .password-input[b-uh4zv6ixsm] {
        width: 100%;
        padding-inline-end: 3rem;
    }

.password-toggle[b-uh4zv6ixsm] {
    position: absolute;
    inset-inline-end: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--app-text-muted);
    font-size: 1.15rem;
    cursor: pointer;
}

    .password-toggle:hover[b-uh4zv6ixsm] {
        color: var(--app-accent);
        background: transparent;
    }

    .password-toggle:focus[b-uh4zv6ixsm],
    .password-toggle:active[b-uh4zv6ixsm] {
        border: none;
        outline: none;
        box-shadow: none;
        background: transparent;
    }

.app-signout-button[b-uh4zv6ixsm] {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0.4rem;
}

    .app-signout-button:hover[b-uh4zv6ixsm] {
        opacity: 0.65;
    }
/* /Components/Pages/ManageApplications.razor.rz.scp.css */
/* /Components/Pages/ManageRoles.razor.rz.scp.css */
.role-users-list[b-cdo0ih25et] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-user-row[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
}

.role-user-info[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.role-user-email[b-cdo0ih25et] {
    color: var(--app-text-muted);
    font-size: 0.8rem;
}

.role-window-function-row[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .role-window-function-row:hover[b-cdo0ih25et] {
        border-color: #cbd5e1;
        box-shadow: 0 0.125rem 0.4rem rgb(0 0 0 / 5%);
    }

    .role-window-function-row.selected[b-cdo0ih25et] {
        background: #f0f7ff;
        border-color: #93c5fd;
    }

.role-window-function-info[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.role-window-function-icon[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 1.1rem;
}

.role-window-function-text[b-cdo0ih25et] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.role-window-function-name[b-cdo0ih25et] {
    font-weight: 600;
    color: var(--app-text);
}

.role-window-function-code[b-cdo0ih25et] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.role-window-function-checkbox[b-cdo0ih25et] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

/* =========================================
   Role Permissions Accordion
   ========================================= */

.permissions-accordion[b-cdo0ih25et] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.permission-window[b-cdo0ih25et] {
    overflow: hidden;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
}

.permission-window-header[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0;
    background: #f8fafc;
    color: var(--app-text);
    cursor: pointer;
    text-align: start;
    transition: background 0.2s ease;
}

    .permission-window-header:hover[b-cdo0ih25et] {
        background: #f1f5f9;
    }

.permission-window-title[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
}

.permission-count[b-cdo0ih25et] {
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    background: #e2e8f0;
    color: var(--app-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.permission-window-body[b-cdo0ih25et] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 0.0625rem solid var(--app-border);
}

.select-all-row[b-cdo0ih25et] {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
}

    .select-all-row label[b-cdo0ih25et] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-weight: 600;
        cursor: pointer;
    }

    .select-all-row input[b-cdo0ih25et] {
        width: 1.2rem;
        height: 1.2rem;
        cursor: pointer;
    }
/* /Components/Pages/ManageUsers.razor.rz.scp.css */
/* CSS for ManageUsers component */
.role-users-list[b-chmme1xtn7] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
}

.user-role-row[b-chmme1xtn7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .user-role-row:hover[b-chmme1xtn7] {
        border-color: #cbd5e1;
        box-shadow: 0 0.125rem 0.4rem rgb(0 0 0 / 5%);
    }

    .user-role-row.selected[b-chmme1xtn7] {
        background: #f0f7ff;
        border-color: #93c5fd;
    }

.user-role-info[b-chmme1xtn7] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-role-icon[b-chmme1xtn7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 1.1rem;
}

.user-role-text[b-chmme1xtn7] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-role-name[b-chmme1xtn7] {
    font-weight: 600;
    color: var(--app-text);
}

.user-role-code[b-chmme1xtn7] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.user-role-checkbox[b-chmme1xtn7] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}
/* /Components/Pages/ManageWindows.razor.rz.scp.css */
/* CSS for ManageWindows component */
.window-functions-list[b-hb8e0mjaa7] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
}

.window-function-row[b-hb8e0mjaa7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .window-function-row:hover[b-hb8e0mjaa7] {
        border-color: #cbd5e1;
        box-shadow: 0 0.125rem 0.4rem rgb(0 0 0 / 5%);
    }

    .window-function-row.selected[b-hb8e0mjaa7] {
        background: #f0f7ff;
        border-color: #93c5fd;
    }

.window-function-info[b-hb8e0mjaa7] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.window-function-icon[b-hb8e0mjaa7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 1.1rem;
}

.window-function-text[b-hb8e0mjaa7] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.window-function-name[b-hb8e0mjaa7] {
    font-weight: 600;
    color: var(--app-text);
}

.window-function-code[b-hb8e0mjaa7] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.window-function-checkbox[b-hb8e0mjaa7] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.select-all-row[b-hb8e0mjaa7] {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 0.0625rem solid var(--app-border);
    border-radius: var(--app-radius);
}

    .select-all-row label[b-hb8e0mjaa7] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-weight: 600;
        cursor: pointer;
    }

    .select-all-row input[b-hb8e0mjaa7] {
        width: 1.2rem;
        height: 1.2rem;
        cursor: pointer;
    }
