@import '_content/Z.Blazor.Diagrams/Z.Blazor.Diagrams.ezdqu7jd9f.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-o9zkc401tj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-o9zkc401tj] {
/*    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #000;
}

.top-row[b-o9zkc401tj] {
    background-color: #000;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}
    .top-row a[b-o9zkc401tj] {
    color:white;
    font-weight: bold;
    font-size: 16px;
    }

    .top-row[b-o9zkc401tj]  a, .top-row[b-o9zkc401tj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-o9zkc401tj]  a:hover, .top-row[b-o9zkc401tj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-o9zkc401tj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-o9zkc401tj] {
        justify-content: space-between;
    }

    .top-row[b-o9zkc401tj]  a, .top-row[b-o9zkc401tj]  .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar[b-o9zkc401tj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-o9zkc401tj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-o9zkc401tj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-o9zkc401tj], article[b-o9zkc401tj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-o9zkc401tj] {
    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-o9zkc401tj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-som2wfl6iy] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-som2wfl6iy] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-som2wfl6iy] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,1);
}

.navbar-brand[b-som2wfl6iy] {
    font-size: 1.1rem;
}

.bi[b-som2wfl6iy] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-som2wfl6iy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-som2wfl6iy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-som2wfl6iy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-som2wfl6iy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-som2wfl6iy]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-som2wfl6iy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-som2wfl6iy]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-som2wfl6iy] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-som2wfl6iy] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-som2wfl6iy] {
        display: none;
    }

    .nav-scrollable[b-som2wfl6iy] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Workflow.razor.rz.scp.css */
/* Workflow Page Layout */
.workflow-page[b-0ryld0775s] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background-color: #1a1a2e;
}

/* Header / Toolbar */
.workflow-header[b-0ryld0775s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #16213e;
    border-bottom: 1px solid #5c1c86;
}

.workflow-title-section[b-0ryld0775s] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workflow-name-input[b-0ryld0775s] {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #e8eaed;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    min-width: 250px;
    transition: border-color 0.3s;
}

.workflow-name-input:hover[b-0ryld0775s],
.workflow-name-input:focus[b-0ryld0775s] {
    border-bottom-color: #5c1c86;
    outline: none;
}

.saving-indicator[b-0ryld0775s] {
    color: #e5bcf9;
    font-size: 0.875rem;
    animation: pulse-b-0ryld0775s 1s infinite;
}

@keyframes pulse-b-0ryld0775s {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.workflow-actions[b-0ryld0775s] {
    display: flex;
    gap: 0.75rem;
}

.btn-workflow[b-0ryld0775s] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-save[b-0ryld0775s] {
    background-color: #5c1c86;
    color: white;
}

.btn-save:hover[b-0ryld0775s] {
    background-color: #7a2ca0;
    box-shadow: 0 0 10px #e5bcf9;
}

.btn-settings[b-0ryld0775s] {
    background-color: #2a2a4a;
    color: #e8eaed;
}

.btn-settings:hover[b-0ryld0775s] {
    background-color: #3a3a5a;
}

/* Main Container */
.workflow-container[b-0ryld0775s] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Node Palette (Left Sidebar) */
.node-palette[b-0ryld0775s] {
    width: 200px;
    background-color: #16213e;
    border-right: 1px solid #5c1c86;
    padding: 1rem;
    overflow-y: auto;
}

.node-palette h4[b-0ryld0775s] {
    color: #e5bcf9;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.palette-hint[b-0ryld0775s] {
    color: #808080;
    font-size: 0.7rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.node-types[b-0ryld0775s] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.node-type-item[b-0ryld0775s] {
    background-color: #1a1a2e;
    border-radius: 0.375rem;
    padding: 0.625rem 0.75rem;
    cursor: grab;
    transition: all 0.2s;
    user-select: none;
}

.node-type-item:hover[b-0ryld0775s] {
    background-color: #2a2a4a;
    transform: translateX(4px);
}

.node-type-item.selected[b-0ryld0775s] {
    background-color: #5c1c86;
    box-shadow: 0 0 8px #e5bcf9;
}

.node-type-item:active[b-0ryld0775s] {
    cursor: grabbing;
}

.node-type-name[b-0ryld0775s] {
    color: #e8eaed;
    font-size: 0.8125rem;
}

/* Canvas Container */
.canvas-container[b-0ryld0775s] {
    flex: 1;
    background-color: #0f0f23;
    background-image:
        radial-gradient(circle, #2a2a4a 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.canvas-container.placing-node[b-0ryld0775s] {
    cursor: crosshair;
}

/* Zoom Controls */
.zoom-controls[b-0ryld0775s] {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #16213e;
    border: 1px solid #5c1c86;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

.zoom-btn[b-0ryld0775s] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #e8eaed;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.zoom-btn:hover[b-0ryld0775s] {
    background-color: #2a2a4a;
    color: #e5bcf9;
}

.zoom-btn:active[b-0ryld0775s] {
    background-color: #3a3a5a;
}

.zoom-level[b-0ryld0775s] {
    color: #e8eaed;
    font-size: 0.8125rem;
    font-weight: 500;
    min-width: 48px;
    text-align: center;
    padding: 0 4px;
}

/* Properties Panel (Right Sidebar) */
.properties-panel[b-0ryld0775s] {
    width: 320px;
    background-color: #16213e;
    border-left: 1px solid #5c1c86;
    display: flex;
    flex-direction: column;
}

.properties-header[b-0ryld0775s],
.settings-header[b-0ryld0775s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #2a2a4a;
}

.properties-header h4[b-0ryld0775s],
.settings-header h4[b-0ryld0775s] {
    color: #e5bcf9;
    margin: 0;
    font-size: 1rem;
}

.btn-close-panel[b-0ryld0775s] {
    background: none;
    border: none;
    color: #e8eaed;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.btn-close-panel:hover[b-0ryld0775s] {
    color: #e5bcf9;
}

.properties-content[b-0ryld0775s],
.settings-content[b-0ryld0775s] {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.form-group[b-0ryld0775s] {
    margin-bottom: 1rem;
}

.form-group label[b-0ryld0775s] {
    display: block;
    color: #b0b0b0;
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
}

.form-group .form-control[b-0ryld0775s] {
    width: 100%;
    background-color: #1a1a2e;
    border: 1px solid #2a2a4a;
    border-radius: 0.375rem;
    color: #e8eaed;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.form-group .form-control:focus[b-0ryld0775s] {
    outline: none;
    border-color: #5c1c86;
    box-shadow: 0 0 0 2px rgba(92, 28, 134, 0.2);
}

.form-group textarea.form-control[b-0ryld0775s] {
    resize: vertical;
    min-height: 80px;
}

.form-group select.form-control[b-0ryld0775s] {
    cursor: pointer;
}

.btn-delete-node[b-0ryld0775s] {
    width: 100%;
    background-color: #7a2a5f;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.625rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-delete-node:hover[b-0ryld0775s] {
    background-color: #8c3a70;
}

.checkbox-label[b-0ryld0775s] {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"][b-0ryld0775s] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span[b-0ryld0775s] {
    color: #e8eaed;
}

/* Settings Panel Overlay */
.settings-overlay[b-0ryld0775s] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.settings-panel[b-0ryld0775s] {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: #16213e;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 101;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-0ryld0775s 0.3s ease;
}

@keyframes slideIn-b-0ryld0775s {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Validation Toast */
.validation-toast[b-0ryld0775s] {
    position: fixed;
    top: 80px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    background-color: #3a1a2e;
    border: 1px solid #e74c3c;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 200;
    animation: slideInRight-b-0ryld0775s 0.3s ease;
}

@keyframes slideInRight-b-0ryld0775s {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.validation-header[b-0ryld0775s] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.validation-header svg[b-0ryld0775s] {
    flex-shrink: 0;
}

.validation-header span[b-0ryld0775s] {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-dismiss[b-0ryld0775s] {
    background: none;
    border: none;
    color: #e8eaed;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-dismiss:hover[b-0ryld0775s] {
    opacity: 1;
}

.validation-list[b-0ryld0775s] {
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    list-style: disc;
}

.validation-list li[b-0ryld0775s] {
    color: #e8eaed;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}

.validation-list li:last-child[b-0ryld0775s] {
    margin-bottom: 0;
}

/* Diagram Overrides */
[b-0ryld0775s] .diagram-canvas {
    width: 100%;
    height: 100%;
}

[b-0ryld0775s] .diagram-navigator {
    background-color: #16213e;
    border: 1px solid #5c1c86;
    border-radius: 0.5rem;
}

/* Port Styling - must be here for global scope */
[b-0ryld0775s] .diagram-port {
    width: 12px !important;
    height: 12px !important;
    background-color: #1a1a2e;
    border: 2px solid #e5bcf9;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: crosshair;
    position: relative !important;
    z-index: 10;
    flex-shrink: 0;
}

[b-0ryld0775s] .diagram-port:hover {
    background-color: #5c1c86;
    transform: scale(1.3);
    box-shadow: 0 0 8px #e5bcf9;
    border-color: #e5bcf9;
}

/* Link/Connection Styling */
[b-0ryld0775s] .diagram-link-default,
[b-0ryld0775s] .diagram-link path {
    stroke: #5c1c86;
    stroke-width: 2px;
    fill: none;
    transition: stroke 0.2s, stroke-width 0.2s;
}

[b-0ryld0775s] .diagram-link-default:hover,
[b-0ryld0775s] .diagram-link:hover path {
    stroke: #e5bcf9;
    stroke-width: 3px;
}

[b-0ryld0775s] .diagram-link-default.selected,
[b-0ryld0775s] .diagram-link.selected path {
    stroke: #e5bcf9;
    stroke-width: 3px;
    filter: drop-shadow(0 0 4px #e5bcf9);
}

/* Link being created (ongoing) */
[b-0ryld0775s] .diagram-link-ongoing path,
[b-0ryld0775s] .diagram-link.ongoing path {
    stroke: #e5bcf9;
    stroke-width: 2px;
    stroke-dasharray: 8 4;
    animation: dashMove-b-0ryld0775s 0.5s linear infinite;
}

@keyframes dashMove-b-0ryld0775s {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -12;
    }
}

/* Link vertex points */
[b-0ryld0775s] .diagram-link-vertex {
    fill: #5c1c86;
    stroke: #e5bcf9;
    stroke-width: 2px;
    r: 6;
    cursor: move;
    transition: all 0.2s;
}

[b-0ryld0775s] .diagram-link-vertex:hover {
    fill: #e5bcf9;
    r: 8;
}

/* Selection box */
[b-0ryld0775s] .diagram-selection-box {
    fill: rgba(92, 28, 134, 0.1);
    stroke: #5c1c86;
    stroke-width: 1px;
    stroke-dasharray: 4 2;
}
/* /Components/Pages/WorkflowList.razor.rz.scp.css */
.workflows-page[b-3eq0w7ds8p] {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.workflows-header[b-3eq0w7ds8p] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.header-left h2[b-3eq0w7ds8p] {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 600;
    color: #111827;
}

.header-left .subtitle[b-3eq0w7ds8p] {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.btn-create[b-3eq0w7ds8p] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-create:hover[b-3eq0w7ds8p] {
    background: #1d4ed8;
}

/* Loading State */
.loading-container[b-3eq0w7ds8p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #6b7280;
}

.loading-spinner[b-3eq0w7ds8p] {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin-b-3eq0w7ds8p 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin-b-3eq0w7ds8p {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state[b-3eq0w7ds8p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon[b-3eq0w7ds8p] {
    color: #9ca3af;
    margin-bottom: 24px;
}

.empty-state h3[b-3eq0w7ds8p] {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #374151;
}

.empty-state p[b-3eq0w7ds8p] {
    margin: 0 0 24px 0;
    color: #6b7280;
    font-size: 14px;
}

.btn-create-large[b-3eq0w7ds8p] {
    padding: 14px 28px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-create-large:hover[b-3eq0w7ds8p] {
    background: #1d4ed8;
}

/* Workflow Grid */
.workflows-grid[b-3eq0w7ds8p] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Workflow Card */
.workflow-card[b-3eq0w7ds8p] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.workflow-card:hover[b-3eq0w7ds8p] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.workflow-card.active[b-3eq0w7ds8p] {
    border-color: #10b981;
}

.card-header[b-3eq0w7ds8p] {
    padding: 20px 20px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.card-title-row[b-3eq0w7ds8p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title[b-3eq0w7ds8p] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge[b-3eq0w7ds8p] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active[b-3eq0w7ds8p] {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.inactive[b-3eq0w7ds8p] {
    background: #f3f4f6;
    color: #6b7280;
}

.card-phone[b-3eq0w7ds8p] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.card-body[b-3eq0w7ds8p] {
    padding: 16px 20px;
}

.card-description[b-3eq0w7ds8p] {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    min-height: 42px;
}

.card-description.muted[b-3eq0w7ds8p] {
    color: #9ca3af;
    font-style: italic;
}

.card-meta[b-3eq0w7ds8p] {
    display: flex;
    gap: 16px;
}

.meta-item[b-3eq0w7ds8p] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.card-actions[b-3eq0w7ds8p] {
    display: flex;
    border-top: 1px solid #f3f4f6;
}

.btn-action[b-3eq0w7ds8p] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-action:not(:last-child)[b-3eq0w7ds8p] {
    border-right: 1px solid #f3f4f6;
}

.btn-edit[b-3eq0w7ds8p] {
    color: #2563eb;
}

.btn-edit:hover[b-3eq0w7ds8p] {
    background: #eff6ff;
}

.btn-duplicate[b-3eq0w7ds8p] {
    color: #7c3aed;
}

.btn-duplicate:hover[b-3eq0w7ds8p] {
    background: #f5f3ff;
}

.btn-delete[b-3eq0w7ds8p] {
    color: #dc2626;
}

.btn-delete:hover[b-3eq0w7ds8p] {
    background: #fef2f2;
}

/* Modal Styles */
.modal-overlay[b-3eq0w7ds8p] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-3eq0w7ds8p] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header[b-3eq0w7ds8p] {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3[b-3eq0w7ds8p] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.modal-body[b-3eq0w7ds8p] {
    padding: 24px;
}

.modal-body p[b-3eq0w7ds8p] {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #374151;
}

.modal-body .warning[b-3eq0w7ds8p] {
    color: #dc2626;
    font-size: 13px;
}

.form-group[b-3eq0w7ds8p] {
    margin-bottom: 0;
}

.form-group label[b-3eq0w7ds8p] {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-control[b-3eq0w7ds8p] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus[b-3eq0w7ds8p] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-actions[b-3eq0w7ds8p] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
}

.btn-cancel[b-3eq0w7ds8p] {
    padding: 10px 20px;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cancel:hover[b-3eq0w7ds8p] {
    background: #f3f4f6;
}

.btn-confirm[b-3eq0w7ds8p] {
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-confirm:hover[b-3eq0w7ds8p] {
    background: #1d4ed8;
}

.btn-confirm:disabled[b-3eq0w7ds8p] {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-confirm-delete[b-3eq0w7ds8p] {
    padding: 10px 20px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-confirm-delete:hover[b-3eq0w7ds8p] {
    background: #b91c1c;
}

/* Responsive */
@media (max-width: 768px) {
    .workflows-page[b-3eq0w7ds8p] {
        padding: 16px;
    }

    .workflows-header[b-3eq0w7ds8p] {
        flex-direction: column;
        gap: 16px;
    }

    .workflows-grid[b-3eq0w7ds8p] {
        grid-template-columns: 1fr;
    }

    .btn-action[b-3eq0w7ds8p] {
        padding: 10px;
        font-size: 12px;
    }
}
/* /Components/Workflow/WorkflowNodeWidget.razor.rz.scp.css */
/* Custom Workflow Node Styling */
.workflow-node[b-lg5wl5a4ov] {
    background-color: #1a1a2e;
    border: 8px solid var(--node-color, #5c1c86);
    border-radius: 12px;
    min-width: 160px;
    max-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    overflow: visible;
    position: relative;
    padding: 0;
}

.workflow-node:hover[b-lg5wl5a4ov] {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4),
                0 0 0 1px var(--node-color);
}

.workflow-node.selected[b-lg5wl5a4ov] {
    box-shadow: 0 0 0 3px var(--node-color),
                0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Node Header */
.node-header[b-lg5wl5a4ov] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.node-icon[b-lg5wl5a4ov] {
    font-size: 1rem;
    line-height: 1;
}

.node-title[b-lg5wl5a4ov] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Node Content */
.node-content[b-lg5wl5a4ov] {
    padding: 6px 8px;
    background-color: #16213e;
}

.node-message[b-lg5wl5a4ov] {
    color: #b0b0b0;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 6px;
    word-wrap: break-word;
}

.node-detail[b-lg5wl5a4ov] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    margin-top: 4px;
}

.detail-label[b-lg5wl5a4ov] {
    color: #808080;
}

.detail-value[b-lg5wl5a4ov] {
    color: #e5bcf9;
    font-weight: 500;
}

.detail-value.condition[b-lg5wl5a4ov] {
    font-family: monospace;
    background-color: rgba(92, 28, 134, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
}

/* Port Wrapper - positions the port and label together */
.port-wrapper[b-lg5wl5a4ov] {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 10;
}

.port-wrapper-top[b-lg5wl5a4ov] {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
}

.port-wrapper-bottom[b-lg5wl5a4ov] {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column-reverse;
}

.port-wrapper-left[b-lg5wl5a4ov] {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: row;
}

.port-wrapper-right[b-lg5wl5a4ov] {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: row-reverse;
}

/* Port Labels */
.port-label[b-lg5wl5a4ov] {
    font-size: 0.55rem;
    color: #e5bcf9;
    white-space: nowrap;
    pointer-events: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.port-label-top[b-lg5wl5a4ov] {
    margin-bottom: 2px;
}

.port-label-bottom[b-lg5wl5a4ov] {
    margin-top: 2px;
}

.port-label-left[b-lg5wl5a4ov] {
    margin-left: 4px;
}

.port-label-right[b-lg5wl5a4ov] {
    margin-right: 4px;
}
