/* /Components/Designer/Canvas.razor.rz.scp.css */
.designer-wrapper[b-guwterubo9] {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: auto;
    background-color: white;
    background-image: linear-gradient(#ececec 1px, transparent 1px), linear-gradient(90deg,#ececec 1px,transparent 1px);
    background-size: 25px 25px;
    border: 1px solid #dcdcdc;
}

.designer-node[b-guwterubo9] {
    position: absolute;
    width: 180px;
    height: 80px;
    background: white;
    border-radius: 10px;
    border: 2px solid #bfbfbf;
    cursor: move;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: .2s;
}

    .designer-node:hover[b-guwterubo9] {
        transform: scale(1.02);
    }

.selected[b-guwterubo9] {
    border: 3px solid #0d6efd;
}

.node-header[b-guwterubo9] {
    height: 28px;
    background: #0d6efd;
    color: white;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}

.node-body[b-guwterubo9] {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.designer-lines[b-guwterubo9] {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* =========================================================
   WORKFLOW DESIGNER CHANGES FROM workflow.zip

   IMPORTANT:
   - Existing latest-repo CSS above is kept unchanged.
   - The styles below are the actual Canvas.razor.css styles
     from your workflow.zip.
   - No additional feature/style has been invented here.
   - These classes support the updated Canvas.razor:
       Start / End event shapes
       Approval / Email / Service task shapes
       Decision gateway shape
       connector preview / handles
       resize handle
       inline rename editor
       connection mode hint
       context menu
   ========================================================= */

.workflow-designer-canvas[b-guwterubo9] {
    position: relative;
    width: 100%;
    height: 700px;
    min-width: 900px;
    overflow: auto;
    outline: none;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background-color: #fbfcfe;
    background-image: radial-gradient(circle, #dce3ec 1px, transparent 1px);
    background-size: 18px 18px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .02);
}

    .workflow-designer-canvas.workflow-drop-active[b-guwterubo9] {
        box-shadow: inset 0 0 0 3px rgba(37, 99, 235, .18);
        background-color: #f8fbff;
    }

.workflow-connector[b-guwterubo9] {
    fill: none;
    stroke: #334155;
    stroke-width: 2.25;
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
}

.workflow-connector-hit[b-guwterubo9] {
    fill: none;
    stroke: transparent;
    stroke-width: 18;
    pointer-events: stroke;
    cursor: context-menu;
}

.workflow-connection-preview[b-guwterubo9] {
    fill: none;
    stroke: #2563eb;
    stroke-width: 2.5;
    stroke-dasharray: 7 5;
    pointer-events: none;
    display: none;
}

/* ---------------------------------------------------------
   Shared node wrapper
   --------------------------------------------------------- */
.workflow-node[b-guwterubo9] {
    position: absolute;
    z-index: 2;
    overflow: visible;
    user-select: none;
    touch-action: none;
    cursor: move;
    transition: filter .14s ease, box-shadow .14s ease, border-color .14s ease;
}

    .workflow-node:hover[b-guwterubo9] {
        filter: brightness(.995);
    }

.node-body[b-guwterubo9] {
    position: relative;
    width: 100%;
    height: 100%;
}

.node-name[b-guwterubo9] {
    color: #172033;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    cursor: text;
}

/* ---------------------------------------------------------
   BPMN Events: Start / End
   --------------------------------------------------------- */
.node-start[b-guwterubo9],
.node-end[b-guwterubo9] {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.event-node-body[b-guwterubo9] {
    overflow: visible;
}

.event-shape[b-guwterubo9] {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    transition: box-shadow .14s ease, transform .14s ease;
}

.node-start .event-shape[b-guwterubo9] {
    border: 3px solid #16a34a;
    background: #f5fff7;
}

.node-end .event-shape[b-guwterubo9] {
    border: 3px solid #ef4444;
}

    .node-end .event-shape[b-guwterubo9]::after {
        content: "";
        position: absolute;
        inset: 5px;
        border: 2px solid #ef4444;
        border-radius: 50%;
    }

.event-node-name[b-guwterubo9] {
    position: absolute;
    left: 50%;
    top: 78px;
    min-width: 120px;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.node-start.selected .event-shape[b-guwterubo9],
.node-start.js-selected .event-shape[b-guwterubo9],
.node-end.selected .event-shape[b-guwterubo9],
.node-end.js-selected .event-shape[b-guwterubo9] {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}

.node-start:hover .event-shape[b-guwterubo9],
.node-end:hover .event-shape[b-guwterubo9] {
    transform: scale(1.025);
}

/* ---------------------------------------------------------
   BPMN Gateway: Decision / Exclusive Gateway
   --------------------------------------------------------- */
.node-decision[b-guwterubo9] {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.gateway-node-body[b-guwterubo9] {
    overflow: visible;
}

.gateway-shape[b-guwterubo9] {
    position: absolute;
    left: 13px;
    top: 13px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #f59e0b;
    border-radius: 3px;
    background: #fffaf0;
    transform: rotate(45deg);
    transition: box-shadow .14s ease, filter .14s ease;
}

    .gateway-shape span[b-guwterubo9] {
        transform: rotate(-45deg);
        color: #f59e0b;
        font-size: 34px;
        font-weight: 500;
        line-height: 1;
    }

.gateway-node-name[b-guwterubo9] {
    position: absolute;
    left: 50%;
    top: 85px;
    min-width: 140px;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.node-decision.selected .gateway-shape[b-guwterubo9],
.node-decision.js-selected .gateway-shape[b-guwterubo9] {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}

/* ---------------------------------------------------------
   BPMN Tasks: Approval / Email / Service
   --------------------------------------------------------- */
.node-approval[b-guwterubo9],
.node-email[b-guwterubo9],
.node-service[b-guwterubo9],
.node-task[b-guwterubo9] {
    min-width: 140px;
    min-height: 70px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .10);
}

.node-approval[b-guwterubo9] {
    border-color: #f59e0b;
    background: #fffdf8;
}

.node-email[b-guwterubo9] {
    border-color: #3b82f6;
    background: #fbfdff;
}

.node-service[b-guwterubo9] {
    border-color: #22a447;
    background: #fbfffc;
}

    .node-approval.selected[b-guwterubo9],
    .node-approval.js-selected[b-guwterubo9],
    .node-email.selected[b-guwterubo9],
    .node-email.js-selected[b-guwterubo9],
    .node-service.selected[b-guwterubo9],
    .node-service.js-selected[b-guwterubo9],
    .node-task.selected[b-guwterubo9],
    .node-task.js-selected[b-guwterubo9] {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .14), 0 5px 14px rgba(15, 23, 42, .10);
    }

.task-node-body[b-guwterubo9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    text-align: center;
    overflow: hidden;
}

.task-node-icon[b-guwterubo9] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    font-size: 25px;
    font-weight: 650;
    line-height: 1;
}

.node-approval .task-node-icon[b-guwterubo9] {
    color: #f59e0b;
}

.node-email .task-node-icon[b-guwterubo9] {
    color: #2563eb;
}

.node-service .task-node-icon[b-guwterubo9] {
    color: #16a34a;
}

.task-node-name[b-guwterubo9] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Connector handles

   The handles are present on every node but hidden by default.
   Hovering/selecting a node reveals the four blue points.
   Dragging any point is handled by workflowDesigner.js.
   --------------------------------------------------------- */
.connection-handle[b-guwterubo9] {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 2px solid #ffffff;
    background: #2563eb;
    border-radius: 50%;
    z-index: 20;
    transform: translate(-50%, -50%) scale(.85);
    cursor: crosshair;
    box-shadow: 0 0 0 1px #2563eb, 0 2px 5px rgba(15, 23, 42, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease, background-color .12s ease;
}

/* Show four blue dots when the user hovers the node.
   Keep them visible for the selected/source node as well. */
.workflow-node:hover > .connection-handle[b-guwterubo9],
.workflow-node.selected > .connection-handle[b-guwterubo9],
.workflow-node.js-selected > .connection-handle[b-guwterubo9] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.connection-handle:hover[b-guwterubo9] {
    background: #1d4ed8;
    transform: translate(-50%, -50%) scale(1.22) !important;
}

.handle-top[b-guwterubo9] {
    left: 50%;
    top: 0;
}

.handle-right[b-guwterubo9] {
    left: 100%;
    top: 50%;
}

.handle-bottom[b-guwterubo9] {
    left: 50%;
    top: 100%;
}

.handle-left[b-guwterubo9] {
    left: 0;
    top: 50%;
}

.resize-handle[b-guwterubo9] {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    background: #f59e0b;
    cursor: nwse-resize;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
}

.workflow-node:hover .resize-handle[b-guwterubo9],
.workflow-node.selected .resize-handle[b-guwterubo9],
.workflow-node.js-selected .resize-handle[b-guwterubo9] {
    opacity: 1;
}

.inline-node-name-editor[b-guwterubo9] {
    width: calc(100% - 18px);
    min-width: 80px;
    padding: 4px 6px;
    border: 1px solid #2563eb;
    border-radius: 5px;
    background: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.connection-mode-hint[b-guwterubo9] {
    position: sticky;
    left: 16px;
    top: 16px;
    z-index: 10;
    display: inline-block;
    margin: 12px;
    padding: 8px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #31537a;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

/* Existing context-menu support is preserved. */
.workflow-context-menu[b-guwterubo9] {
    position: fixed;
    z-index: 10000;
    min-width: 185px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .20);
}

    .workflow-context-menu button[b-guwterubo9] {
        display: block;
        width: 100%;
        padding: 7px 10px;
        background: transparent;
        border: 0;
        border-radius: 5px;
        text-align: left;
        font-size: 13px;
        color: #27313d;
    }

        .workflow-context-menu button:hover[b-guwterubo9] {
            background: #eef4fb;
        }

        .workflow-context-menu button.danger[b-guwterubo9] {
            color: #c62828;
        }

    .workflow-context-menu .menu-separator[b-guwterubo9] {
        height: 1px;
        margin: 5px 0;
        background: #eceff1;
    }
/* /Components/Designer/DesignerToolbar.razor.rz.scp.css */
.designer-command-bar[b-t1wiy95com] {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 96px;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.workflow-summary[b-t1wiy95com] {
    display: flex;
    align-items: center;
    min-width: 330px;
    max-width: 420px;
    flex: 0 1 390px;
    gap: 0.9rem;
}

.workflow-summary-icon[b-t1wiy95com] {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 12px;
    background: #eef6ff;
    color: #155eef;
}

    .workflow-summary-icon svg[b-t1wiy95com] {
        width: 30px;
        height: 30px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.workflow-summary-copy[b-t1wiy95com] {
    min-width: 0;
}

.workflow-summary-title[b-t1wiy95com] {
    overflow: hidden;
    color: #172033;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-summary-subtitle[b-t1wiy95com] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
    color: #667085;
    font-size: 0.78rem;
    line-height: 1.35;
}

.workflow-state[b-t1wiy95com] {
    font-weight: 600;
}

.workflow-state-saved[b-t1wiy95com] {
    color: #12824c;
}

.workflow-state-unsaved[b-t1wiy95com] {
    color: #b54708;
}

.status-separator[b-t1wiy95com] {
    color: #c3cad5;
}

.command-divider[b-t1wiy95com] {
    width: 1px;
    height: 58px;
    flex: 0 0 1px;
    margin: 0 1.6rem;
    background: #e3e8ef;
}

.designer-command-actions[b-t1wiy95com] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    flex: 1 1 auto;
    gap: 0;
}

.command-group[b-t1wiy95com] {
    display: inline-flex;
    align-items: center;
}

.command-group-secondary .designer-command-button[b-t1wiy95com] {
    border-radius: 0;
}

    .command-group-secondary .designer-command-button:first-child[b-t1wiy95com] {
        border-radius: 7px 0 0 7px;
    }

    .command-group-secondary .designer-command-button:last-child[b-t1wiy95com] {
        border-radius: 0 7px 7px 0;
    }

    .command-group-secondary .designer-command-button + .designer-command-button[b-t1wiy95com] {
        margin-left: -1px;
    }

.designer-command-button[b-t1wiy95com] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
}

    .designer-command-button svg[b-t1wiy95com] {
        width: 18px;
        height: 18px;
        margin-right: 0.55rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .designer-command-button:hover[b-t1wiy95com] {
        transform: translateY(-1px);
    }

    .designer-command-button:active[b-t1wiy95com] {
        transform: translateY(0);
    }

    .designer-command-button:focus-visible[b-t1wiy95com] {
        outline: 3px solid rgba(37, 99, 235, 0.18);
        outline-offset: 2px;
    }

    .designer-command-button.secondary[b-t1wiy95com] {
        border-color: #cfd8e5;
        color: #24324a;
        background: #ffffff;
    }

        .designer-command-button.secondary svg[b-t1wiy95com] {
            color: #155eef;
        }

        .designer-command-button.secondary.new-button svg[b-t1wiy95com] {
            color: #0f9f5f;
        }

        .designer-command-button.secondary:hover[b-t1wiy95com] {
            z-index: 1;
            border-color: #9db6d8;
            background: #f8fbff;
            box-shadow: 0 3px 9px rgba(23, 41, 70, 0.08);
        }

.action-divider[b-t1wiy95com] {
    height: 46px;
    margin: 0 1.45rem;
}

.publish-button[b-t1wiy95com] {
    min-width: 128px;
    border-color: #f3bd4b;
    color: #8a4b05;
    background: #fff7e2;
}

    .publish-button svg[b-t1wiy95com] {
        color: #f59e0b;
    }

    .publish-button:hover[b-t1wiy95com] {
        border-color: #e9a91f;
        background: #ffefc5;
        box-shadow: 0 4px 10px rgba(217, 119, 6, 0.12);
    }

.execute-button[b-t1wiy95com] {
    min-width: 132px;
    border-color: #155eef;
    color: #ffffff;
    background: linear-gradient(180deg, #246bfd 0%, #1556df 100%);
    box-shadow: 0 4px 10px rgba(21, 94, 239, 0.2);
}

    .execute-button svg[b-t1wiy95com] {
        fill: currentColor;
        stroke: none;
    }

    .execute-button .play-fill[b-t1wiy95com] {
        fill: currentColor;
    }

    .execute-button:hover[b-t1wiy95com] {
        border-color: #0e4ed2;
        color: #ffffff;
        background: linear-gradient(180deg, #155eef 0%, #124bc4 100%);
        box-shadow: 0 6px 14px rgba(21, 94, 239, 0.26);
    }

@media (max-width: 1199.98px) {
    .designer-command-bar[b-t1wiy95com] {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .workflow-summary[b-t1wiy95com] {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex-basis: auto;
    }

    .designer-command-bar > .command-divider[b-t1wiy95com] {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .designer-command-actions[b-t1wiy95com] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

        .designer-command-actions .action-divider[b-t1wiy95com] {
            display: none;
        }
}

@media (max-width: 720px) {
    .designer-command-bar[b-t1wiy95com] {
        padding: 0.9rem;
    }

    .workflow-summary-icon[b-t1wiy95com] {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .designer-command-actions[b-t1wiy95com],
    .command-group[b-t1wiy95com] {
        width: 100%;
    }

    .command-group-secondary[b-t1wiy95com] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .designer-command-button[b-t1wiy95com],
    .publish-button[b-t1wiy95com],
    .execute-button[b-t1wiy95com] {
        min-width: 0;
        flex: 1 1 auto;
    }

    .publish-button[b-t1wiy95com],
    .execute-button[b-t1wiy95com] {
        width: calc(50% - 0.375rem);
    }
}
/* /Components/Designer/ExecuteWorkflowDialog.razor.rz.scp.css */
.recipient-count[b-lwbokq5ved] {
    margin-top: 0.35rem;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 600;
}

#execute-email-to[b-lwbokq5ved] {
    min-height: 82px;
    resize: vertical;
}
/* /Components/Designer/NewWorkflowDialog.razor.rz.scp.css */
.new-workflow-backdrop[b-1pvl5cacst] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
}

.new-workflow-dialog[b-1pvl5cacst] {
    width: min(560px, 100%);
    overflow: hidden;
    border: 1px solid #d8e1ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.new-workflow-header[b-1pvl5cacst] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.1rem;
    border-bottom: 1px solid #e8edf3;
}

.new-workflow-heading[b-1pvl5cacst] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.new-workflow-icon[b-1pvl5cacst] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    color: #155eef;
    background: #eef5ff;
}

    .new-workflow-icon svg[b-1pvl5cacst] {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }

.new-workflow-header h2[b-1pvl5cacst] {
    margin: 0;
    color: #172033;
    font-size: 1.08rem;
    font-weight: 700;
}

.new-workflow-header p[b-1pvl5cacst] {
    margin: 0.28rem 0 0;
    color: #667085;
    font-size: 0.82rem;
}

.new-workflow-close[b-1pvl5cacst] {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #667085;
    background: transparent;
    font-size: 1.55rem;
    line-height: 1;
}

    .new-workflow-close:hover:not(:disabled)[b-1pvl5cacst] {
        color: #172033;
        background: #f2f4f7;
    }

.new-workflow-body[b-1pvl5cacst] {
    display: grid;
    gap: 1.05rem;
    padding: 1.35rem 1.5rem;
}

.new-workflow-field[b-1pvl5cacst] {
    display: grid;
    gap: 0.45rem;
}

    .new-workflow-field label[b-1pvl5cacst] {
        color: #344054;
        font-size: 0.82rem;
        font-weight: 650;
    }

.required-mark[b-1pvl5cacst] {
    color: #d92d20;
}

.new-workflow-field input[b-1pvl5cacst],
.new-workflow-field textarea[b-1pvl5cacst] {
    width: 100%;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
    color: #172033;
    background: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.new-workflow-field input[b-1pvl5cacst] {
    height: 42px;
    padding: 0 0.8rem;
}

.new-workflow-field textarea[b-1pvl5cacst] {
    min-height: 96px;
    padding: 0.7rem 0.8rem;
    resize: vertical;
}

    .new-workflow-field input:focus[b-1pvl5cacst],
    .new-workflow-field textarea:focus[b-1pvl5cacst] {
        border-color: #155eef;
        box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.12);
    }

    .new-workflow-field input[b-1pvl5cacst]::placeholder,
    .new-workflow-field textarea[b-1pvl5cacst]::placeholder {
        color: #98a2b3;
    }

    .new-workflow-field input:disabled[b-1pvl5cacst],
    .new-workflow-field textarea:disabled[b-1pvl5cacst] {
        cursor: not-allowed;
        background: #f8fafc;
    }

.field-hint[b-1pvl5cacst] {
    justify-self: end;
    margin-top: -0.2rem;
    color: #98a2b3;
    font-size: 0.72rem;
}

.new-workflow-error[b-1pvl5cacst] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #fecdca;
    border-radius: 8px;
    color: #b42318;
    background: #fef3f2;
    font-size: 0.8rem;
}

    .new-workflow-error > span[b-1pvl5cacst] {
        display: grid;
        place-items: center;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        border-radius: 50%;
        color: #ffffff;
        background: #d92d20;
        font-size: 0.7rem;
        font-weight: 800;
    }

.new-workflow-footer[b-1pvl5cacst] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid #e8edf3;
    background: #fbfcfe;
}

.dialog-button[b-1pvl5cacst] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 650;
}

.cancel-button[b-1pvl5cacst] {
    border: 1px solid #cfd8e5;
    color: #344054;
    background: #ffffff;
}

    .cancel-button:hover:not(:disabled)[b-1pvl5cacst] {
        background: #f8fafc;
    }

.create-button[b-1pvl5cacst] {
    min-width: 132px;
    border: 1px solid #155eef;
    color: #ffffff;
    background: linear-gradient(180deg, #246bfd 0%, #1556df 100%);
    box-shadow: 0 3px 8px rgba(21, 94, 239, 0.18);
}

    .create-button:hover:not(:disabled)[b-1pvl5cacst] {
        background: linear-gradient(180deg, #155eef 0%, #124bc4 100%);
    }

.dialog-button:disabled[b-1pvl5cacst],
.new-workflow-close:disabled[b-1pvl5cacst] {
    cursor: not-allowed;
    opacity: 0.6;
}

.button-spinner[b-1pvl5cacst] {
    width: 14px;
    height: 14px;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: new-workflow-spin-b-1pvl5cacst 0.7s linear infinite;
}

@keyframes new-workflow-spin-b-1pvl5cacst {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 575.98px) {
    .new-workflow-backdrop[b-1pvl5cacst] {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .new-workflow-dialog[b-1pvl5cacst] {
        border-radius: 14px;
    }

    .new-workflow-header[b-1pvl5cacst],
    .new-workflow-body[b-1pvl5cacst],
    .new-workflow-footer[b-1pvl5cacst] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .new-workflow-footer[b-1pvl5cacst] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .dialog-button[b-1pvl5cacst] {
        width: 100%;
    }
}
/* /Components/Designer/PropertyPanel.razor.rz.scp.css */
.property-panel[b-t5t4q9izmp] {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.property-tabs[b-t5t4q9izmp] {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 1fr);
    background: #ffffff;
    border-bottom: 1px solid #d8dee8;
}

.property-tab[b-t5t4q9izmp] {
    min-width: 0;
    padding: 10px 4px;
    border: 0;
    border-right: 1px solid #d8dee8;
    border-bottom: 3px solid transparent;
    background: #ffffff;
    color: #0d6efd;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

    .property-tab:last-child[b-t5t4q9izmp] {
        border-right: 0;
    }

    .property-tab:hover[b-t5t4q9izmp] {
        background: #f3f7ff;
    }

    .property-tab.active[b-t5t4q9izmp] {
        color: #084298;
        background: #e8f1ff;
        border-bottom-color: #0d6efd;
        font-weight: 600;
    }

    .property-tab:focus-visible[b-t5t4q9izmp] {
        position: relative;
        z-index: 1;
        outline: 2px solid #0d6efd;
        outline-offset: -2px;
    }

.property-content[b-t5t4q9izmp] {
    min-height: 300px;
    overflow-y: auto;
}
/* /Components/Designer/TaskList.razor.rz.scp.css */
.workflow-inbox-page[b-zeiwaa9vp1] {
    --inbox-bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: #e2e8f0;
    --border-strong: #d7deea;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-soft: #eef5ff;
    --warning: #f59e0b;
    --warning-soft: #fff7e6;
    --success: #16a34a;
    --success-soft: #eefbf3;
    min-height: calc(100vh - 45px);
    padding: 18px 20px 28px;
    color: var(--text);
    background: var(--inbox-bg);
}

.inbox-heading[b-zeiwaa9vp1] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .inbox-heading h1[b-zeiwaa9vp1] {
        margin: 0;
        color: var(--text);
        font-size: 1.55rem;
        font-weight: 650;
        letter-spacing: -0.02em;
    }

    .inbox-heading p[b-zeiwaa9vp1] {
        margin: 4px 0 0;
        color: var(--muted);
        font-size: 0.84rem;
    }

.inbox-summary[b-zeiwaa9vp1] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    min-height: 92px;
    margin-bottom: 18px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.summary-item[b-zeiwaa9vp1] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 4px 14px;
}

.summary-icon[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

    .summary-icon svg[b-zeiwaa9vp1],
    .column-heading svg[b-zeiwaa9vp1],
    .task-document-icon svg[b-zeiwaa9vp1],
    .assignee-avatar svg[b-zeiwaa9vp1],
    .empty-icon svg[b-zeiwaa9vp1] {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.summary-total .summary-icon[b-zeiwaa9vp1] {
    color: var(--primary);
    background: var(--primary-soft);
}

.summary-unassigned .summary-icon[b-zeiwaa9vp1] {
    color: var(--warning);
    background: var(--warning-soft);
}

.summary-assigned .summary-icon[b-zeiwaa9vp1] {
    color: var(--success);
    background: var(--success-soft);
}

.summary-copy[b-zeiwaa9vp1] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .summary-copy span[b-zeiwaa9vp1] {
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 500;
    }

    .summary-copy strong[b-zeiwaa9vp1] {
        margin-top: 1px;
        color: var(--text);
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1.2;
    }

.summary-total .summary-copy strong[b-zeiwaa9vp1] {
    color: var(--primary-dark);
}

.summary-unassigned .summary-copy strong[b-zeiwaa9vp1] {
    color: #d97706;
}

.summary-assigned .summary-copy strong[b-zeiwaa9vp1] {
    color: #15803d;
}

.summary-divider[b-zeiwaa9vp1] {
    width: 1px;
    height: 44px;
    background: var(--border);
}

.inbox-table-card[b-zeiwaa9vp1],
.inbox-empty-card[b-zeiwaa9vp1],
.inbox-state-card[b-zeiwaa9vp1] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.table-card-header[b-zeiwaa9vp1] {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
}

.task-list-summary[b-zeiwaa9vp1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.78rem;
}

    .task-list-summary strong[b-zeiwaa9vp1] {
        color: #334155;
        font-weight: 650;
    }

.task-filter-label[b-zeiwaa9vp1] {
    overflow: hidden;
    max-width: 420px;
    padding: 4px 8px;
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-responsive[b-zeiwaa9vp1] {
    overflow-x: auto;
    border-radius: 0 0 10px 10px;
}

.inbox-table[b-zeiwaa9vp1] {
    width: 100%;
    min-width: 720px;
    margin: 0;
    border-collapse: collapse;
    background: var(--surface);
}

    .inbox-table thead th[b-zeiwaa9vp1] {
        height: 46px;
        padding: 0 18px;
        color: #334155;
        background: #fbfcfe;
        border-bottom: 1px solid var(--border-strong);
        font-size: 0.78rem;
        font-weight: 650;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
    }

    .inbox-table tbody td[b-zeiwaa9vp1] {
        height: 54px;
        padding: 8px 18px;
        color: #334155;
        border-bottom: 1px solid #e9edf3;
        font-size: 0.82rem;
        vertical-align: middle;
    }

    .inbox-table tbody tr:last-child td[b-zeiwaa9vp1] {
        border-bottom: 0;
    }

    .inbox-table tbody tr[b-zeiwaa9vp1] {
        transition: background-color 120ms ease;
    }

        .inbox-table tbody tr:nth-child(even)[b-zeiwaa9vp1] {
            background: #fcfdff;
        }

        .inbox-table tbody tr:hover[b-zeiwaa9vp1] {
            background: #f7faff;
        }

.column-heading[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .column-heading svg[b-zeiwaa9vp1] {
        width: 16px;
        height: 16px;
        color: #64748b;
    }

.task-name-cell[b-zeiwaa9vp1] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-document-icon[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 7px;
}

    .task-document-icon svg[b-zeiwaa9vp1] {
        width: 16px;
        height: 16px;
    }

.task-name[b-zeiwaa9vp1] {
    color: #172033;
    font-weight: 600;
}

.unassigned-value[b-zeiwaa9vp1] {
    color: #94a3b8;
    font-size: 1rem;
}

.assignee-chip[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 500;
}

.assignee-avatar[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #15803d;
    background: var(--success-soft);
    border: 1px solid #d7f1df;
    border-radius: 50%;
}

    .assignee-avatar svg[b-zeiwaa9vp1] {
        width: 15px;
        height: 15px;
    }

.created-value[b-zeiwaa9vp1] {
    color: #475569;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.action-column[b-zeiwaa9vp1] {
    width: 120px;
    text-align: center !important;
}

.action-heading[b-zeiwaa9vp1] {
    justify-content: center;
}

.review-button[b-zeiwaa9vp1] {
    min-width: 72px;
    padding: 6px 14px;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.16);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

    .review-button:hover[b-zeiwaa9vp1] {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        box-shadow: 0 3px 8px rgba(13, 110, 253, 0.2);
        transform: translateY(-1px);
    }

    .review-button:focus-visible[b-zeiwaa9vp1] {
        outline: 3px solid rgba(13, 110, 253, 0.2);
        outline-offset: 2px;
    }

.inbox-state-card[b-zeiwaa9vp1],
.inbox-empty-card[b-zeiwaa9vp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 180px;
    padding: 28px;
    text-align: left;
}

.inbox-empty-card[b-zeiwaa9vp1] {
    flex-direction: column;
    text-align: center;
}

    .inbox-state-card strong[b-zeiwaa9vp1],
    .inbox-empty-card h2[b-zeiwaa9vp1] {
        margin: 0;
        color: #1e293b;
        font-size: 0.95rem;
        font-weight: 650;
    }

    .inbox-state-card p[b-zeiwaa9vp1],
    .inbox-empty-card p[b-zeiwaa9vp1] {
        margin: 4px 0 0;
        color: var(--muted);
        font-size: 0.8rem;
    }

.empty-icon[b-zeiwaa9vp1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 12px;
}

.state-spinner[b-zeiwaa9vp1] {
    width: 28px;
    height: 28px;
    border: 3px solid #dbeafe;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: inbox-spin-b-zeiwaa9vp1 0.8s linear infinite;
}

@keyframes inbox-spin-b-zeiwaa9vp1 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .workflow-inbox-page[b-zeiwaa9vp1] {
        padding: 16px;
    }

    .inbox-summary[b-zeiwaa9vp1] {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 14px;
    }

    .summary-item[b-zeiwaa9vp1] {
        padding: 12px 4px;
    }

    .summary-divider[b-zeiwaa9vp1] {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 650px) {
    .workflow-inbox-page[b-zeiwaa9vp1] {
        padding: 14px 10px 20px;
    }

    .inbox-heading h1[b-zeiwaa9vp1] {
        font-size: 1.3rem;
    }

    .task-list-summary[b-zeiwaa9vp1] {
        align-items: flex-start;
        flex-direction: column;
    }

    .task-filter-label[b-zeiwaa9vp1] {
        max-width: 100%;
    }
}
/* /Components/Designer/Toolbox.razor.rz.scp.css */
.workflow-toolbox[b-jrknwuti38] {
    height: 100%;
    min-height: 700px;
    background: #ffffff;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    color: #172033;
}

.toolbox-header[b-jrknwuti38] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 14px 10px;
}

    .toolbox-header h6[b-jrknwuti38] {
        margin: 0;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .03em;
        color: #162033;
    }

.toolbox-subtitle[b-jrknwuti38] {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    color: #7a8494;
}

.toolbox-search[b-jrknwuti38] {
    position: relative;
    padding: 0 12px 10px;
}

    .toolbox-search .search-icon[b-jrknwuti38] {
        position: absolute;
        left: 23px;
        top: 50%;
        transform: translateY(-66%);
        font-size: 16px;
        color: #64748b;
        pointer-events: none;
    }

    .toolbox-search input[b-jrknwuti38] {
        width: 100%;
        height: 34px;
        padding: 0 10px 0 32px;
        border: 1px solid #d8e0ea;
        border-radius: 6px;
        background: #fff;
        color: #1f2937;
        font-size: 12px;
        outline: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .toolbox-search input:focus[b-jrknwuti38] {
            border-color: #6aa4ff;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
        }

.toolbox-alert[b-jrknwuti38] {
    margin: 0 12px 10px;
    padding: 8px 10px;
    border: 1px solid #f3d38a;
    border-radius: 6px;
    background: #fff8e5;
    color: #805b12;
    font-size: 11px;
    line-height: 1.35;
}

.toolbox-sections[b-jrknwuti38] {
    padding: 0 12px;
}

.toolbox-section[b-jrknwuti38] {
    border-top: 1px solid #edf1f5;
}

    .toolbox-section:first-child[b-jrknwuti38] {
        border-top: 0;
    }

.toolbox-section-header[b-jrknwuti38] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 2px 7px;
    border: 0;
    background: transparent;
    color: #253046;
    font-size: 12px;
    font-weight: 750;
    text-align: left;
}

.section-chevron[b-jrknwuti38] {
    display: inline-block;
    color: #6b7280;
    transition: transform .16s ease;
}

    .section-chevron.collapsed[b-jrknwuti38] {
        transform: rotate(-90deg);
    }

.toolbox-section-items[b-jrknwuti38] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 8px;
}

.toolbox-node-item[b-jrknwuti38] {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid #dce3ec;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    text-align: left;
    cursor: grab;
    transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

    .toolbox-node-item:hover:not(:disabled)[b-jrknwuti38] {
        border-color: #9cbff7;
        background: #f8fbff;
        box-shadow: 0 2px 7px rgba(37, 99, 235, .08);
        transform: translateY(-1px);
    }

    .toolbox-node-item:active:not(:disabled)[b-jrknwuti38] {
        cursor: grabbing;
    }

    .toolbox-node-item:disabled[b-jrknwuti38] {
        opacity: .45;
        cursor: not-allowed;
    }

    .toolbox-node-item.connector-tool[b-jrknwuti38] {
        cursor: pointer;
    }

        .toolbox-node-item.connector-tool.active[b-jrknwuti38] {
            border-color: #2563eb;
            background: #eff6ff;
        }

.toolbox-node-copy[b-jrknwuti38] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.toolbox-node-name[b-jrknwuti38] {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    color: #172033;
}

.toolbox-node-description[b-jrknwuti38] {
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.2;
    color: #7a8494;
}

.toolbox-node-icon[b-jrknwuti38] {
    position: relative;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.icon-start[b-jrknwuti38] {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    margin: 0 2px;
    border: 2px solid #16a34a;
    border-radius: 50%;
    background: #f0fdf4;
}

.icon-end[b-jrknwuti38] {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    margin: 0 2px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    background: #fff;
}

    .icon-end[b-jrknwuti38]::after {
        content: "";
        width: 14px;
        height: 14px;
        border: 1.5px solid #ef4444;
        border-radius: 50%;
    }

.icon-approval[b-jrknwuti38] {
    color: #2563eb;
}

.icon-email[b-jrknwuti38] {
    color: #0ea5e9;
}

.icon-service[b-jrknwuti38] {
    color: #16a34a;
}

.icon-decision[b-jrknwuti38] {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    margin: 3px 5px;
    border: 2px solid #f59e0b;
    transform: rotate(45deg);
    color: #f59e0b;
}

    .icon-decision > span[b-jrknwuti38] {
        transform: rotate(-45deg);
        font-size: 16px;
        line-height: 1;
    }

.icon-connector[b-jrknwuti38] {
    color: #4f46e5;
    font-size: 24px;
    font-weight: 500;
}

.connection-help[b-jrknwuti38] {
    padding: 8px 9px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #eff6ff;
    color: #31537a;
    font-size: 10px;
    line-height: 1.4;
}

.toolbox-cancel-connection[b-jrknwuti38] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #475569;
    font-size: 11px;
}

.toolbox-actions[b-jrknwuti38] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 12px 0;
    padding-top: 10px;
    border-top: 1px solid #edf1f5;
}

.toolbox-action[b-jrknwuti38] {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
}

    .toolbox-action:hover:not(:disabled)[b-jrknwuti38] {
        background: #f8fafc;
    }

    .toolbox-action.danger[b-jrknwuti38] {
        border-color: #f4a7a7;
        color: #dc2626;
    }

        .toolbox-action.danger:hover:not(:disabled)[b-jrknwuti38] {
            background: #fff5f5;
        }

    .toolbox-action:disabled[b-jrknwuti38] {
        opacity: .45;
        cursor: not-allowed;
    }

.toolbox-summary[b-jrknwuti38] {
    margin: 11px 12px 12px;
    padding: 9px 10px;
    border: 1px solid #dbe8fb;
    border-radius: 6px;
    background: #f7fbff;
    color: #526174;
    font-size: 10px;
    line-height: 1.55;
}

    .toolbox-summary strong[b-jrknwuti38] {
        color: #234c87;
    }

.summary-divider[b-jrknwuti38] {
    padding: 0 5px;
    color: #b7c0cc;
}
/* /Components/Layout/Header.razor.rz.scp.css */
/*.fc-header {
    height: 70px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    border-bottom: 1px solid #ddd;
}

.fc-logo {
    display: flex;
    flex-direction: column;
}

.fc-title {
    font-size: 24px;
    font-weight: bold;
    color: #1E3A8A;
}

.fc-subtitle {
    font-size: 12px;
    color: #777;
}

.fc-search input {
    width: 350px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.fc-user {
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: 600;
}*/
/*chaned from here*/
/*.fc-header {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(320px, 520px) minmax(180px, 1fr);
    align-items: center;
    gap: 1.5rem;
    min-height: 70px;
    padding: 0 25px;
    background: #ffffff;
    border-bottom: 1px solid #dfe5ee;
}

.fc-logo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fc-title {
    color: #1e3a8a;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.fc-subtitle {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.72rem;
}

.fc-search {
    width: 100%;
    margin: 0;
}

.fc-search-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

    .fc-search-control input {
        width: 100%;
        min-height: 40px;
        padding: 0.55rem 7rem 0.55rem 2.5rem;
        color: #172033;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        outline: none;
        transition: border-color 120ms ease, box-shadow 120ms ease;
    }

        .fc-search-control input:hover {
            border-color: #94a3b8;
        }

        .fc-search-control input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        }

.fc-search-icon {
    position: absolute;
    left: 0.8rem;
    z-index: 1;
    pointer-events: none;
    font-size: 0.85rem;
}

.fc-search-clear {
    position: absolute;
    right: 4.8rem;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    color: #64748b;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
}

    .fc-search-clear:hover {
        color: #172033;
        background: #e2e8f0;
    }

.fc-search-submit {
    position: absolute;
    right: 0.3rem;
    min-height: 32px;
    padding: 0.3rem 0.75rem;
    color: #ffffff;
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

    .fc-search-submit:hover {
        background: #1d4ed8;
    }

.fc-user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .fc-header {
        grid-template-columns: minmax(220px, 1fr) minmax(260px, 420px) auto;
    }

    .fc-subtitle {
        display: none;
    }
}

@media (max-width: 760px) {
    .fc-header {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .fc-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .fc-title {
        font-size: 1.05rem;
    }

    .fc-user span:last-child {
        display: none;
    }
}*/

/*.fc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 70px;
    padding: 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #dfe5ee;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}*/
.fc-header[b-mb7p5h2wnq] {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
  
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 70px;
    padding: 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #dfe5ee;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Brand remains at the left side. */
.fc-logo[b-mb7p5h2wnq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-self: start;
}

.fc-title[b-mb7p5h2wnq] {
    color: #038596;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.fc-subtitle[b-mb7p5h2wnq] {
    margin-top: 0.15rem;
    color: #038596;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Navigation occupies the exact center column. */
.fc-navigation[b-mb7p5h2wnq] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 12px;
    min-width: 0;
}

/* Each navigation link appears as a button. */
.fc-navigation-link[b-mb7p5h2wnq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 115px;
    min-height: 40px;
    padding: 0 18px;
    color: #038596;
    background: #ffffff;
    border: 1px solid #038596;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

    /* Workflow Designer needs slightly more width. */
    .fc-navigation-link:nth-child(2)[b-mb7p5h2wnq] {
        min-width: 155px;
    }

    .fc-navigation-link:hover[b-mb7p5h2wnq] {
        color: #ffffff;
        background: #027584;
        border-color: #027584;
        box-shadow: 0 3px 8px rgba(3, 133, 150, 0.22);
        text-decoration: none;
        transform: translateY(-1px);
    }

    /* Current page button. */
    .fc-navigation-link.active[b-mb7p5h2wnq] {
        color: #ffffff;
        background: #038596;
        border-color: #038596;
        box-shadow: 0 3px 8px rgba(3, 133, 150, 0.25);
    }

    .fc-navigation-link:focus-visible[b-mb7p5h2wnq] {
        outline: 3px solid rgba(3, 133, 150, 0.25);
        outline-offset: 2px;
    }
@media (max-width: 900px) {
    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link {
        min-width: auto;
        padding: 0 12px;
        font-size: 0.8rem;
    }

        .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:nth-child(2) {
            min-width: auto;
        }
}

@media (max-width: 680px) {
    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.78rem;
    }
}

@media (max-width: 460px) {
    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link,
    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:nth-child(2) {
        width: 100%;
        min-width: 0;
    }
}

.fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 115px;
    min-height: 40px;
    padding: 0 18px;
    color: #038596;
    background: #ffffff;
    border: 1px solid #038596;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:nth-child(2) {
        min-width: 155px;
    }

    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:hover {
        color: #ffffff;
        background: #027584;
        border-color: #027584;
        box-shadow: 0 3px 8px rgba(3, 133, 150, 0.22);
        text-decoration: none !important;
        transform: translateY(-1px);
    }

    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link.active {
        color: #ffffff;
        background: #038596;
        border-color: #038596;
        box-shadow: 0 3px 8px rgba(3, 133, 150, 0.25);
        text-decoration: none !important;
    }

    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:focus-visible {
        outline: 3px solid rgba(3, 133, 150, 0.25);
        outline-offset: 2px;
        text-decoration: none !important;
    }

    .fc-navigation[b-mb7p5h2wnq]  .fc-navigation-link:visited {
        text-decoration: none !important;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9jkvjgq70j] {
    display: flex;
    min-height: 100vh;
    background: #F5F7FA;
}

/*main {
    flex: 1;
    display: flex;
    flex-direction: column;
}*/

/*.content {
    padding: 25px;
}*/

.content[b-9jkvjgq70j] {
    width: 100%;
    min-width: 0;
    padding: 25px;
}

.main-content[b-9jkvjgq70j] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .content[b-9jkvjgq70j] {
        padding: 16px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-68zm24van3] {
    width: 250px;
    background: #1E293B;
    color: white;
    min-height: 100vh;
}

.logo[b-68zm24van3] {
    padding: 25px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #334155;
}

.sidebar ul[b-68zm24van3] {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.sidebar li[b-68zm24van3] {
    padding: 15px 25px;
}

.sidebar a[b-68zm24van3] {
    color: white;
    text-decoration: none;
    font-size: 15px;
    display: block;
}

    .sidebar a.active[b-68zm24van3] {
        background: #2563EB;
        border-radius: 6px;
        padding: 10px;
    }

.sidebar li:hover[b-68zm24van3] {
    background: #334155;
}
/* /Components/Monitoring/MonitoringInstanceDetails.razor.rz.scp.css */
.monitoring-dialog-backdrop[b-10kvronxc0] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.55);
}

.monitoring-dialog[b-10kvronxc0] {
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.monitoring-dialog-header[b-10kvronxc0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

    .monitoring-dialog-header h4[b-10kvronxc0] {
        margin: 0;
        color: #172554;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .monitoring-dialog-header p[b-10kvronxc0] {
        margin: 0.25rem 0 0;
        color: #64748b;
        font-size: 0.875rem;
    }

.monitoring-dialog-body[b-10kvronxc0] {
    overflow-y: auto;
    padding: 1.5rem;
}

.details-section + .details-section[b-10kvronxc0] {
    margin-top: 1.5rem;
}

.details-section h5[b-10kvronxc0] {
    margin: 0 0 1rem;
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.details-grid[b-10kvronxc0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.details-field[b-10kvronxc0] {
    min-width: 0;
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

    .details-field.full-width[b-10kvronxc0] {
        grid-column: 1 / -1;
    }

    .details-field > span:first-child[b-10kvronxc0] {
        display: block;
        margin-bottom: 0.35rem;
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 600;
    }

    .details-field strong[b-10kvronxc0] {
        color: #0f172a;
        font-size: 0.92rem;
        overflow-wrap: anywhere;
    }

    .details-field code[b-10kvronxc0] {
        display: block;
        color: #334155;
        font-size: 0.78rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

.monitoring-dialog-footer[b-10kvronxc0] {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
    .monitoring-dialog-backdrop[b-10kvronxc0] {
        align-items: flex-end;
        padding: 0;
    }

    .monitoring-dialog[b-10kvronxc0] {
        max-height: 92vh;
        border-radius: 12px 12px 0 0;
    }

    .details-grid[b-10kvronxc0] {
        grid-template-columns: 1fr;
    }

    .details-field.full-width[b-10kvronxc0] {
        grid-column: auto;
    }
}
/* /Pages/Approval/ApprovalForm.razor.rz.scp.css */
.approval-page[b-vhnqhpw0ij] {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem;
    color: #172033;
}

.approval-header[b-vhnqhpw0ij] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .approval-header h1[b-vhnqhpw0ij] {
        margin: 0.4rem 0 0.25rem;
        font-size: 1.75rem;
        font-weight: 700;
    }

    .approval-header p[b-vhnqhpw0ij] {
        margin: 0;
        color: #64748b;
    }

.approval-back[b-vhnqhpw0ij] {
    padding: 0;
    color: #2563eb;
    background: none;
    border: 0;
    font-weight: 600;
}

.approval-layout[b-vhnqhpw0ij] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}

.approval-card[b-vhnqhpw0ij] {
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

    .approval-card h2[b-vhnqhpw0ij] {
        margin: 0 0 1rem;
        font-size: 1.05rem;
        font-weight: 700;
    }

.card-heading[b-vhnqhpw0ij] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

    .card-heading h2[b-vhnqhpw0ij] {
        margin-bottom: 0.25rem;
        font-size: 1.3rem;
    }

    .card-heading span[b-vhnqhpw0ij] {
        color: #64748b;
        font-size: 0.85rem;
    }

.request-summary[b-vhnqhpw0ij] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.summary-item[b-vhnqhpw0ij] {
    min-width: 0;
    padding: 0.85rem;
    background: #f8fafc;
    border-radius: 8px;
}

    .summary-item.amount[b-vhnqhpw0ij] {
        grid-column: span 2;
    }

    .summary-item span[b-vhnqhpw0ij] {
        display: block;
        margin-bottom: 0.3rem;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .summary-item strong[b-vhnqhpw0ij] {
        overflow-wrap: anywhere;
    }

.request-description[b-vhnqhpw0ij] {
    min-height: 90px;
    color: #334155;
    line-height: 1.7;
    white-space: pre-wrap;
}

.section-help[b-vhnqhpw0ij] {
    color: #64748b;
}

.decision-options[b-vhnqhpw0ij] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 0.5rem;
}

.decision-option[b-vhnqhpw0ij] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 88px;
    padding: 1rem;
    text-align: left;
    background: #fff;
    border: 2px solid #dfe5ee;
    border-radius: 10px;
    transition: border-color 120ms ease, background-color 120ms ease;
}

    .decision-option strong[b-vhnqhpw0ij],
    .decision-option small[b-vhnqhpw0ij] {
        display: block;
    }

    .decision-option small[b-vhnqhpw0ij] {
        margin-top: 0.2rem;
        color: #64748b;
    }

.approve-option:hover[b-vhnqhpw0ij],
.approve-option.selected[b-vhnqhpw0ij] {
    background: #f0fdf4;
    border-color: #16a34a;
}

.reject-option:hover[b-vhnqhpw0ij],
.reject-option.selected[b-vhnqhpw0ij] {
    background: #fef2f2;
    border-color: #dc2626;
}

.decision-icon[b-vhnqhpw0ij] {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
}

    .decision-icon.approve[b-vhnqhpw0ij] {
        background: #16a34a;
    }

    .decision-icon.reject[b-vhnqhpw0ij] {
        background: #dc2626;
    }

.remarks-field[b-vhnqhpw0ij] {
    margin-top: 1.25rem;
}

.required[b-vhnqhpw0ij] {
    color: #dc2626;
    font-size: 0.75rem;
}

.optional[b-vhnqhpw0ij] {
    color: #64748b;
    font-size: 0.75rem;
}

.remarks-footer[b-vhnqhpw0ij] {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
}

.sticky-card[b-vhnqhpw0ij] {
    position: sticky;
    top: 1rem;
}

.task-information[b-vhnqhpw0ij] {
    margin: 0;
}

    .task-information div[b-vhnqhpw0ij] {
        padding: 0.75rem 0;
        border-bottom: 1px solid #edf0f4;
    }

    .task-information dt[b-vhnqhpw0ij] {
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .task-information dd[b-vhnqhpw0ij] {
        margin: 0.25rem 0 0;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

.technical-id[b-vhnqhpw0ij] {
    font-family: Consolas, monospace;
    font-size: 0.76rem;
}

.priority-badge[b-vhnqhpw0ij] {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

    .priority-badge.high[b-vhnqhpw0ij] {
        color: #991b1b;
        background: #fee2e2;
    }

    .priority-badge.normal[b-vhnqhpw0ij] {
        color: #1e40af;
        background: #dbeafe;
    }

    .priority-badge.low[b-vhnqhpw0ij] {
        color: #475569;
        background: #e2e8f0;
    }

.decision-content[b-vhnqhpw0ij] {
    display: block;
    min-width: 0;
}

    .decision-content strong[b-vhnqhpw0ij] {
        display: block;
        color: #111827;
        font-size: 0.92rem;
    }
.decision-content small[b-vhnqhpw0ij] {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
}

.submit-button[b-vhnqhpw0ij] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 40px;
}

.submission-warning[b-vhnqhpw0ij] {
    margin: 0.9rem 0 0;
    color: #64748b;
    font-size: 0.76rem;
    text-align: center;
}

.approval-state[b-vhnqhpw0ij] {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    gap: 1rem;
    color: #64748b;
}

@media (max-width: 1000px) {
    .approval-layout[b-vhnqhpw0ij] {
        grid-template-columns: 1fr;
    }

    .sticky-card[b-vhnqhpw0ij] {
        position: static;
    }
}

@media (max-width: 700px) {
    .approval-page[b-vhnqhpw0ij] {
        padding: 1rem;
    }

    .request-summary[b-vhnqhpw0ij],
    .decision-options[b-vhnqhpw0ij] {
        grid-template-columns: 1fr;
    }

    .summary-item.amount[b-vhnqhpw0ij] {
        grid-column: auto;
    }

    .card-heading[b-vhnqhpw0ij] {
        flex-direction: column;
    }
}
/* /Pages/Dashboard/Dashboard.razor.rz.scp.css */
.dashboard[b-ojife7d63q] {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.card[b-ojife7d63q] {
    background: white;
    width: 220px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}
/* /Pages/Workflow/WorkflowList.razor.rz.scp.css */
.workflow-list-page[b-64qls9ua1d] {
    padding: 1.5rem 0;
}

.workflow-list-header[b-64qls9ua1d] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.workflow-search-summary[b-64qls9ua1d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    color: #334155;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}

.workflow-table-container[b-64qls9ua1d] {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
}

.workflow-description[b-64qls9ua1d] {
    max-width: 420px;
    color: #475569;
    white-space: normal;
}

.workflow-state[b-64qls9ua1d] {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #64748b;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
}

@media (max-width: 700px) {
    .workflow-list-header[b-64qls9ua1d],
    .workflow-search-summary[b-64qls9ua1d] {
        align-items: stretch;
        flex-direction: column;
    }
}
