@import '_content/Seyfor.Dms.Web.Shared/Seyfor.Dms.Web.Shared.vno71dvyxm.bundle.scp.css';

/* /Components/CounterComponents/Workflow/WorkflowDefinitionStepsForm.razor.rz.scp.css */
/*
    Scoped (isolated) styles for WorkflowDefinitionStepsForm.
    Most classes land on MudBlazor components whose rendered DOM does NOT receive
    this component's scope attribute, so we anchor on the authored .wf-root element
    and use ::deep to reach descendants (incl. child-component markup).
    See: https://learn.microsoft.com/aspnet/core/blazor/components/css-isolation
*/

.wf-root[b-nur0iwbk57]  .radio-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.wf-root[b-nur0iwbk57]  .radio-wrapper .mud-grid-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

/* --- Workflow steps list --- */
.wf-root[b-nur0iwbk57]  .wf-steps {
    width: 100%;
}

.wf-root[b-nur0iwbk57]  .wf-step-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.wf-root[b-nur0iwbk57]  .wf-step__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 40px;
    padding-top: 4px;
}

.wf-root[b-nur0iwbk57]  .wf-step__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
}

.wf-root[b-nur0iwbk57]  .wf-step-card {
    flex: 1;
    min-width: 0;
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    transition: box-shadow .15s ease, border-color .15s ease;
}

.wf-root[b-nur0iwbk57]  .wf-step-card:hover {
    border-color: var(--mud-palette-primary);
}

.wf-root[b-nur0iwbk57]  .wf-step-card.wf-step-card--open {
    box-shadow: 0 3px 14px rgba(0, 0, 0, .10);
    border-color: var(--mud-palette-primary);
}

.wf-root[b-nur0iwbk57]  .wf-step__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 16px;
    background: var(--mud-palette-primary);
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.wf-root[b-nur0iwbk57]  .wf-step__header-icon {
    color: rgba(255, 255, 255, .85);
    flex: 0 0 auto;
}

.wf-root[b-nur0iwbk57]  .wf-step__title {
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-root[b-nur0iwbk57]  .wf-step__action {
    color: #fff !important;
}

.wf-root[b-nur0iwbk57]  .wf-step__action:hover {
    background: rgba(255, 255, 255, .18) !important;
}

.wf-root[b-nur0iwbk57]  .wf-add-step {
    border-style: dashed !important;
    border-width: 2px !important;
    border-radius: 12px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-transform: none;
}

/* --- Settings sections inside a step --- */
.wf-root[b-nur0iwbk57]  .wf-section {
    border-radius: 10px !important;
    overflow: hidden;
}

.wf-root[b-nur0iwbk57]  .wf-section__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--mud-palette-background-grey);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.wf-root[b-nur0iwbk57]  .wf-section__body {
    padding: 14px 16px;
}

.wf-root[b-nur0iwbk57]  .wf-setting {
    padding: 2px 0;
}

.wf-root[b-nur0iwbk57]  .wf-approver {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 8px 10px;
    background: var(--mud-palette-surface);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-86ek9kvqx3],
.components-reconnect-repeated-attempt-visible[b-86ek9kvqx3],
.components-reconnect-failed-visible[b-86ek9kvqx3],
.components-pause-visible[b-86ek9kvqx3],
.components-resume-failed-visible[b-86ek9kvqx3],
.components-rejoining-animation[b-86ek9kvqx3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-retrying[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-failed[b-86ek9kvqx3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-86ek9kvqx3] {
    display: block;
}


#components-reconnect-modal[b-86ek9kvqx3] {
    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-86ek9kvqx3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-86ek9kvqx3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-86ek9kvqx3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-86ek9kvqx3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-86ek9kvqx3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-86ek9kvqx3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-86ek9kvqx3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-86ek9kvqx3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-86ek9kvqx3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-86ek9kvqx3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-86ek9kvqx3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-86ek9kvqx3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-86ek9kvqx3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-86ek9kvqx3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-86ek9kvqx3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-86ek9kvqx3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-86ek9kvqx3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-86ek9kvqx3 {
    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/Shirt/DocumentDetailHeader.razor.rz.scp.css */
/* container-type here (not @media) so the label/value layout also adapts
   when a document preview panel shrinks the available space without
   changing the viewport. ::deep reaches into MudGrid/MudItem's own markup,
   which needs a scoped ancestor — shirt-header-fields is a plain <div>
   authored directly in this file, so it gets the scope attribute. */
.shirt-header-fields[b-rgecrtmzdr] {
    container-type: inline-size;
}

.shirt-header-fields[b-rgecrtmzdr]  .cf-label,
.shirt-header-fields[b-rgecrtmzdr]  .cf-value,
.shirt-header-fields[b-rgecrtmzdr]  .cf-value-wide {
    display: flex;
    align-items: center;
    padding: 0;
}

.shirt-header-fields[b-rgecrtmzdr]  .mud-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    width: 100%;
    margin: 0;
}

@container (min-width: 600px) {
    .shirt-header-fields[b-rgecrtmzdr]  .mud-grid {
        grid-template-columns: auto 1fr auto 1fr;
    }

    .shirt-header-fields[b-rgecrtmzdr]  .cf-value-wide {
        grid-column: span 3;
    }
}

/* Horizontal-vs-vertical timeline switch, replacing the old viewport-based
   <MudHidden> (which decides via JS before the DOM renders and can't react
   to a container). shirt-header-responsive is a plain <div> wrapping the
   timeline + MudGrid block, needed as a scoped anchor since the component's
   own root is <MudPaper>, not a plain tag. */
.shirt-header-responsive[b-rgecrtmzdr] {
    container-type: inline-size;

    /* Nested (not ::deep) because it's the first rule in this block, which
       Blazor's scoped-css compiler happens to strip scoping from correctly.
       Do NOT nest a second selector here — only the first nested rule in a
       block is reliably unscoped; anything after it silently breaks with no
       build warning. Add further rules as flat ".shirt-header-responsive
       ::deep ..." selectors instead, like the ones below. */
    .cq-timeline-horizontal {
        display: flex; /* MudTimeline itself is display:flex; "block" here collapses its row layout */
    }
}

.shirt-header-responsive[b-rgecrtmzdr]  .cq-timeline-vertical {
    display: none;
}

.shirt-header-responsive[b-rgecrtmzdr]  .cq-form-column {
    width: 100%;
}

@container (min-width: 900px) {
    .shirt-header-responsive[b-rgecrtmzdr]  .cq-timeline-horizontal {
        display: none;
    }

    .shirt-header-responsive[b-rgecrtmzdr]  .cq-timeline-vertical {
        display: block;
        width: 25%;
    }

    .shirt-header-responsive[b-rgecrtmzdr]  .cq-form-column {
        width: 75%;
    }
}
/* /Pages/AccessDenied.razor.rz.scp.css */
@keyframes fadeInUp-b-i85cqtw40p {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-b-i85cqtw40p {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.unauthorized-container[b-i85cqtw40p] {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.unauthorized-content[b-i85cqtw40p] {
    animation: fadeInUp-b-i85cqtw40p 0.6s ease-out;
    max-width: 600px;
    width: 100%;
}

.unauthorized-icon-wrapper[b-i85cqtw40p] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: pulse-b-i85cqtw40p 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.4);
}

.unauthorized-title[b-i85cqtw40p] {
    text-align: center;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 16px;
}

.unauthorized-subtitle[b-i85cqtw40p] {
    text-align: center;
    color: #666;
    margin-bottom: 32px;
}

.action-button[b-i85cqtw40p] {
    margin: 8px;
}

.glassmorphism[b-i85cqtw40p] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
