@import '_content/ErpIT.Bibliotheque.UI/ErpIT.Bibliotheque.UI.51jc993l0g.bundle.scp.css';
@import '_content/ErpIT.HelpDesk.UI/ErpIT.HelpDesk.UI.g09xcytozp.bundle.scp.css';
@import '_content/ErpIT.Todos.UI/ErpIT.Todos.UI.4z6cyudxd5.bundle.scp.css';

/* /Components/Layout/ChatAIBar.razor.rz.scp.css */
.chat-ai-panel[b-kjoo5fj04r] {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    background: var(--rz-base-background-color);
    border-left: 1px solid var(--rz-border-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.12);
    z-index: 100;
    transition: width 0.2s ease;
    min-width: 0;
}

.chat-ai-panel.resizing[b-kjoo5fj04r] {
    transition: none;
}

.chat-ai-panel.open[b-kjoo5fj04r] {
    display: flex;
}

.chat-ai-panel.toolbar[b-kjoo5fj04r] {
    width: var(--chat-ai-panel-width-collapsed, 48px);
}

.chat-ai-resize-handle[b-kjoo5fj04r] {
    flex-shrink: 0;
    width: 6px;
    cursor: ew-resize;
    background: transparent;
    transition: background 0.15s ease;
    touch-action: none;
}

.chat-ai-resize-handle:hover[b-kjoo5fj04r],
.chat-ai-panel.resizing .chat-ai-resize-handle[b-kjoo5fj04r] {
    background: var(--rz-primary-lighter);
}

.chat-ai-panel-inner[b-kjoo5fj04r] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-ai-toolbar[b-kjoo5fj04r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.25rem;
    height: 100%;
    background: var(--rz-panel-background-color);
}

.chat-ai-toolbar-icon[b-kjoo5fj04r] {
    color: var(--rz-primary);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.chat-ai-header[b-kjoo5fj04r] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--rz-border-color);
    background: var(--rz-panel-background-color);
    flex-shrink: 0;
}

.chat-ai-messages[b-kjoo5fj04r] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--rz-base-background-color);
}

.chat-ai-empty-state[b-kjoo5fj04r] {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--rz-text-color);
    opacity: 0.6;
}

.chat-message[b-kjoo5fj04r] {
    max-width: 92%;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    line-height: 1.4;
}

.chat-message.user[b-kjoo5fj04r] {
    align-self: flex-end;
    background: var(--rz-primary-darker);
    border: 1px solid var(--rz-primary);
    color: var(--rz-text-contrast-color);
}

.chat-message.assistant[b-kjoo5fj04r] {
    align-self: flex-start;
    background: var(--rz-panel-background-color);
    border: 1px solid var(--rz-border-color);
    color: var(--rz-text-color);
}

.chat-message-content[b-kjoo5fj04r] {
    display: flex;
    flex-direction: column;
}

.chat-ai-input[b-kjoo5fj04r] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--rz-border-color);
    background: var(--rz-panel-background-color);
    flex-shrink: 0;
}

.chat-ai-prompt-editor[b-kjoo5fj04r] {
    width: 100%;
    min-width: 0;
}

.chat-ai-prompt-editor[b-kjoo5fj04r]  .rz-html-editor-toolbar {
    padding: 0.15rem 0.35rem;
    min-height: unset;
}

.chat-ai-prompt-editor[b-kjoo5fj04r]  .rz-html-editor-content {
    min-height: calc(1.4em * 5);
    max-height: calc(1.4em * 5);
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 0.35rem 0.5rem;
}

.chat-ai-input-actions[b-kjoo5fj04r] {
    flex-shrink: 0;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.erpit-app-shell[b-kbjzx1lktt] {
    display: flex;
    flex-direction: row;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.erpit-main-content[b-kbjzx1lktt] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.erpit-main-content[b-kbjzx1lktt]  .erpit-main-layout.rz-layout {
    flex: 1 1 auto;
    min-height: 0;
}

.erpit-app-shell[b-kbjzx1lktt]  .erpit-main-layout.rz-layout {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    max-height: 100%;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr) !important;
}

.erpit-app-shell[b-kbjzx1lktt]  .rz-sidebar {
    min-height: 0;
    overflow-y: auto;
}

.erpit-app-shell[b-kbjzx1lktt]  .rz-body {
    min-height: 0;
    max-height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.erpit-work-area[b-kbjzx1lktt] {
    box-sizing: border-box;
    padding: 1rem;
    min-height: min-content;
}

.page[b-kbjzx1lktt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kbjzx1lktt] {
    flex: 1;
}

/* Fix sidebar background to use Radzen variables */
[b-kbjzx1lktt] .rz-sidebar {
    background-color: var(--rz-sidebar-background-color) !important;
}

[b-kbjzx1lktt] .rz-header {
    background-color: var(--rz-header-background-color) !important;
}

@media (min-width: 641px) {
    .page[b-kbjzx1lktt] {
        flex-direction: row;
    }
}

#blazor-error-ui[b-kbjzx1lktt] {
    color-scheme: light only;
    background: var(--rz-warning-lighter);
    bottom: 0;
    box-shadow: 0 -1px 2px var(--rz-border-color);
    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-kbjzx1lktt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Custom styles for RadzenPanelMenu if needed */
.rz-panel-menu[b-o6ojzvsg0b] {
    border: none;
}

/* Ensure separators match theme */
.nav-separator[b-o6ojzvsg0b] {
    height: 1px;
    background-color: var(--rz-divider-color);
    margin: 8px 16px;
    opacity: 0.5;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0lb3hmjcjh],
.components-reconnect-repeated-attempt-visible[b-0lb3hmjcjh],
.components-reconnect-failed-visible[b-0lb3hmjcjh],
.components-pause-visible[b-0lb3hmjcjh],
.components-resume-failed-visible[b-0lb3hmjcjh],
.components-rejoining-animation[b-0lb3hmjcjh] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-0lb3hmjcjh] {
    border: 0;
    background-color: var(--rz-info);
    color: var(--rz-text-contrast-color);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0lb3hmjcjh] {
        background-color: var(--rz-info-dark);
    }

    #components-reconnect-modal button:active[b-0lb3hmjcjh] {
        background-color: var(--rz-info);
    }

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

    .components-rejoining-animation div[b-0lb3hmjcjh] {
        position: absolute;
        border: 3px solid var(--rz-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0lb3hmjcjh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-0lb3hmjcjh {
    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;
    }
}
