/* Workflow Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #0f0f0f;
    color: #e0e0e0;
}

/* Header */
.workflow-header {
    position: sticky;
    top: 0;
    height: 52px;
    padding: 0 16px;
 
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.workflow-header-left,
.workflow-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.workflow-title {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.workflow-header-btn {
    background: none;
    border: none;
   border-radius: 55px;
    padding: 8px 12px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-header-btn:hover {
    background: #3a3a3a;
    border-color: #a855f7;
}

.workflow-header-right {
    gap: 8px;
}

/* Индикатор плана/токенов в шапке Флоу */
.workflow-limits-indicator {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}
.workflow-limits-indicator .progress-ring {
    transform: rotate(-90deg);
    width: 24px;
    height: 24px;
}
.workflow-limits-indicator .progress-ring-circle {
    transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
}
.workflow-limits-tooltip {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
}
.workflow-limits-tooltip.show {
    opacity: 1;
    visibility: visible;
}

 
.workflow-history-panel {
    position: fixed;
    top: 52px;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--bg-primary, #111);
    border-left: 1px solid #2a2a2a;
    z-index: 150;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.workflow-history-panel.open {
    transform: translateX(0);
}
.workflow-history-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Body */
.workflow-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.workflow-sidebar {
    width: 300px;
    background: var(--bg-primary);
display: none;
    display: flex;
    flex-direction: column;
    transition: width 0.3s;
}

.workflow-sidebar.collapsed {
    width: 0;
    overflow: hidden;
}

.workflow-new-flow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    margin: 0;
    border: none;
    border-radius: 55px;
    margin: 8px 0px 32px 0px;
    color: #101010;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.workflow-new-flow-btn:hover {
    transform: translateY(-0.5px);
}

.workflow-sidebar-tabs {
    display: flex;
    border-bottom: 1px solid #2a2a2a;
}

.workflow-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
}

.workflow-tab:hover {
    background: #2a2a2a;
    color: #fff;
}

.workflow-tab.active {
    color: #a855f7;
    border-bottom: 2px solid #a855f7;
}

.workflow-sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.workflow-tab-content {
    display: none;
    padding: 16px;
}

.workflow-tab-content.active {
    display: block;
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workflow-list-loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

.workflow-list-item {
 
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.workflow-list-item-name:hover {
    color: #a855f7;
}

.workflow-list-item-name {
    font-weight: 500;
    color: #fff;
    font-size: 14px;
}

.workflow-list-item-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workflow-list-item-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.workflow-list-item-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.workflow-list-item-status.running {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.workflow-list-item-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

 
.workflow-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

 
.node-panel {
    width: 280px;
    background: #1b1b1b;
    display: flex;
    flex-direction: column;
    margin: 16px;
    border-radius: 16px;
}

.node-panel-header {
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a2a2a;
}

.node-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    
}

.node-category {
    margin-bottom: 24px;
}

.node-category-title {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.node-btn {
    width: 100%;
    background: none;
    border: 1px solid #2b2b2b;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    cursor: grab;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.node-btn-label {
    flex: 1;
}

.node-btn-drag-icon {
    opacity: 0.4;
    transition: opacity 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.node-btn:hover {
    background: #1b1b1b;
}

.node-btn:hover .node-btn-drag-icon {
    opacity: 0.8;
}

.node-btn:active {
    cursor: grabbing;
}

/* Canvas */
.canvas-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #0f0f0f;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.canvas-controls {
    position: absolute;
    bottom: 16px;
    right: 50%;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.canvas-btn {
    background: #101010;
    border-radius: 12px;
    padding: 8px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
}

.canvas-btn:hover {
    background: #2a2a2a;
    border-color: #a855f7;
}

.canvas {
    width: 100%;
    height: 100%;
    position: relative;
    transform-origin: 0 0;
}

.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Nodes */
.node {
    position: absolute;
    min-width: 280px;
    background: #1b1b1b;
 
    border-radius: 16px;
    padding: 0;
    cursor: move;
    transition: border-color 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-width: 280px;
}

.node.selected {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.node.executing,
.node.running {
    border-color: #10b981;
    animation: pulse 2s infinite;
}

.node.pending {
    border-color: #6b7280;
}

.node.completed {
    border-color: #10b981;
}

.node.error {
    border-color: #ef4444;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}

.node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px 6px 12px;
    background: #252525;
    border-radius: 16px 16px 0 0;
}

.node-title {
    font-weight: 500;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.1px;
}

.node-delete,
.node-run-btn {
    background: none;
    border: none;
    border-radius: 55px;
    color: #fff;
    cursor: pointer;
    padding: 8px 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.node-delete svg,
.node-run-btn svg {
    display: block;
}

.node-delete:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.node-run-btn:hover {
    background: #3a3a3a;
    border-color: #10b981;
}

.connection-point {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3a3a3a;
    border: 2px solid #1e1e1e;
    cursor: crosshair;
    z-index: 20;
    transition: all 0.2s;
}

.connection-point:hover {
    background: #a855f7;
    transform: scale(1.2);
}

.connection-point.input {
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.connection-point.output {
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.node-body {
    padding: 14px 12px 0px 12px;
    overflow-y: auto;
}

.node-field {
    margin-bottom: 12px;
}

.node-field-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
    align-items: stretch !important;
}

.node-field-input,
.node-field-select {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 8px 8px;
    color: #fff;
    font-size: 13px;
    transition: all 0.2s;
    letter-spacing: -0.1px;
    font-family: inherit;
}

.node-field-input:focus,
.node-field-select:focus {
    outline: none;
    background: #1e1e1e;
}
 
.node-field-file-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

 
.node-field-file {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.node-field-file-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #222;
    border-radius: 55px;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing:  -0.3px;
}

.node-field-file-label:hover {
    background: #2d2d2d;
    transform: translateY(-0.5px);

}

.node-field-file-label:active {
    background: rgba(168, 85, 247, 0.4);
}

.node-image-preview {
    width: 100%;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 200px;
    object-fit: cover;
}

 
input.node-field-checkbox,
.node-field-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    accent-color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
}

 
.node-field-image-preview {
    width: 100%;
    border-radius: 6px;
    margin-top: 8px;
    max-height: 200px;
    object-fit: cover;
}


.crop-editor-wrap {
    margin-top: 8px;
}
.crop-editor-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
}
.crop-editor-img {
    display: block;
    max-width: 256px;
    width: auto;
    height: auto;
    vertical-align: top;
}
.crop-editor-shade {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    pointer-events: none;
    z-index: 1;
}
.crop-editor-shade-t { top: 0; }
.crop-editor-shade-b { top: 0; }
.crop-editor-shade-l { top: 0; }
.crop-editor-shade-r { top: 0; }
.crop-editor-box {
    position: absolute;
    border: 2px dashed #a855f7;
    cursor: move;
    box-sizing: border-box;
    pointer-events: all;
    z-index: 2;
}
.crop-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #a855f7;
    border: 1px solid #fff;
    border-radius: 2px;
    cursor: nwse-resize;
}
.crop-handle-tl { top: -4px; left: -4px; cursor: nwse-resize; }
.crop-handle-tr { top: -4px; right: -4px; cursor: nesw-resize; }
.crop-handle-bl { bottom: -4px; left: -4px; cursor: nesw-resize; }
.crop-handle-br { bottom: -4px; right: -4px; cursor: nwse-resize; }
.crop-editor-hint {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
}

/* Заметка (sticky-note) — яркий фон, стиль заметки */
.node.sticky-note .node-body {
    padding: 12px;
    min-width: 180px;
}
.sticky-note-field {
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.08);
}
.sticky-note-text {
    color: #1a1a1a !important;
    font-size: 13px;
    line-height: 1.4;
}
.sticky-note-text::placeholder {
    color: #666;
}

.node-result {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #3a3a3a;
}

.node-result-title {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.node-result-content img {
    width: 100%;
    border-radius: 6px;
    margin-top: 8px;
}

.node-result-content video {
    width: 100%;
    border-radius: 6px;
    margin-top: 8px;
}

.node-result-content pre {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 12px;
    color: #e0e0e0;
    font-size: 12px;
    overflow-x: auto;
    margin-top: 8px;
}

 
.canvas-result {
    position: absolute;
    min-width: 200px;
    max-width: 300px;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.canvas-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 4px 12px;
    background: #252525;
    border-radius: 16px 16px 0 0;
}

.canvas-result-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.1px;
}

.canvas-result-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.canvas-result-btn {
    background: none;
    border: none;
    border-radius: 55px;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.canvas-result-btn svg {
    display: block;
}

.canvas-result-download:hover {
    background: #3a3a3a;
    color: #10b981;
}

.canvas-result-close:hover {
    background: #ef4444;
    color: #fff;
}

.canvas-result-image,
.canvas-result-video {
    width: 100%;
    border-radius: 0 0 10px 10px;
    display: block;
}

.canvas-result-text {
    padding: 12px;
    color: #e0e0e0;
    font-size: 12px;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
}

.canvas-result-video-placeholder {
    padding: 20px 16px;
    text-align: center;
    color: #a0a0a0;
    font-size: 12px;
}

.canvas-result-video-placeholder p {
    margin: 12px 0 0;
}

.canvas-result-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border: 3px solid #3a3a3a;
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: canvas-spin 0.8s linear infinite;
}

@keyframes canvas-spin {
    to { transform: rotate(360deg); }
}

.download-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.download-btn:hover {
    color: #10b981;
}

/* Execute button in header */
.execute-btn {
    background: #ffffff;
    border: none;
    border-radius: 55px;
    padding: 10px 32px;
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}


.execute-btn:hover {
    background: #FFF;
    transform: translateY(-0.5px);
 
}

.execute-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Connection Lines */
.connection-line {
    stroke: #a855f7;
    stroke-width: 2;
    fill: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.connection-line:hover {
    opacity: 1;
    stroke-width: 3;
}

/* Scrollbar Styles */
.workflow-sidebar-content::-webkit-scrollbar,
.node-panel-content::-webkit-scrollbar {
    width: 6px;
}

.workflow-sidebar-content::-webkit-scrollbar-track,
.node-panel-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.workflow-sidebar-content::-webkit-scrollbar-thumb,
.node-panel-content::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 3px;
}

.workflow-sidebar-content::-webkit-scrollbar-thumb:hover,
.node-panel-content::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Режим «только просмотр» (расшаренная ссылка без авторизации) */
body.workflow-view-only .node .node-body input,
body.workflow-view-only .node .node-body textarea,
body.workflow-view-only .node .node-body select,
body.workflow-view-only .node .node-body [contenteditable="true"] {
    pointer-events: none;
    cursor: default;
}

body.workflow-view-only .node .node-field-file-label {
    pointer-events: none;
    cursor: default;
    opacity: 0.8;
}

.workflow-view-only-banner {
    margin-left: 12px;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    font-size: 13px;
    color: #c4b5fd;
}

.workflow-view-only-banner a {
    color: #a78bfa;
    text-decoration: underline;
}

.workflow-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.workflow-share-modal[data-open="true"] {
    opacity: 1;
    visibility: visible;
}
.workflow-share-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.workflow-share-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    padding: 20px 24px 24px;
    transition: min-height 0.2s ease;
}
.workflow-share-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.workflow-share-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.workflow-share-modal-title {
    margin: 0 0 26px 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
.workflow-share-modal-inner {
    padding: 0 0 0 0;
}
.workflow-share-modal-warning {
    margin: 0 0 24px 0;
    font-size: 14px;
    font-weight: 400;
    color: #e5e5e5;
    line-height: 1.45;
}
.workflow-share-modal-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    min-height: 24px;
}
.workflow-share-modal-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e5e5;
}
.workflow-share-toggle {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 20px;
    flex-shrink: 0;
}
.workflow-share-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.workflow-share-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #3d3d3d;
    border-radius: 555px;
    transition: background 0.2s;
}
.workflow-share-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 1px;
    top: 1px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.workflow-share-toggle input:checked + .workflow-share-toggle-slider {
    background: rgba(110, 45, 252, 1);
}
.workflow-share-toggle input:checked + .workflow-share-toggle-slider::before {
    transform: translateX(13px);
}
.workflow-share-modal-link-block {
    margin-top: 24px;
}
.workflow-share-modal-link-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0 8px 0 8px;
}
.workflow-share-modal-link-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 48px 0 8px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: #e5e5e5;
    outline: none;
}
.workflow-share-modal-link-input::placeholder {
    color: #6e6e73;
}
.workflow-share-modal-copy-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background 0.2s;
}
.workflow-share-modal-copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}
.workflow-share-modal-copy-btn svg {
    width: 18px;
    height: 18px;
}

 
.workflow-share-copy-tooltip {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: #3d3d3d;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
}
.workflow-share-copy-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Экран «Ссылка устарела» */
.workflow-share-expired {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    padding: 24px;
}
.workflow-share-expired-header {
    position: absolute;
    left: 16px;
    top: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.workflow-share-expired-header .sidebar-logo-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.workflow-share-expired-header .sidebar-brand {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #fff;
}
.workflow-share-expired-content {
    text-align: center;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.workflow-share-expired-icon {
    margin-bottom: 16px;
    line-height: 0;
}
.workflow-share-expired-icon svg {
    width: 52px;
    height: 52px;
}
.workflow-share-expired-text {
    font-size: 14px;
    color: rgba(229, 229, 229, 1);
    margin: 0 0 28px 0;
    line-height: 1.4;
}
.workflow-share-expired-btn {
    display: inline-block;
    min-width: 180px;
    padding: 10px 32px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    border-radius: 55px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.workflow-share-expired-btn:hover {
    opacity: 0.9;
}

