@import '_content/Jadbot.Common.JadUI.Library/Jadbot.Common.JadUI.Library.6iiosqccia.bundle.scp.css';

/* /Components/JadFloatLayer.razor.rz.scp.css */
.jad-float-layer[b-8okjn2sh5a] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.jad-float-layer[b-8okjn2sh5a]  .jad-float-window {
    pointer-events: auto;
}
/* /Components/JadFloatWindow.razor.rz.scp.css */
.jad-float-window[b-4bo2k5np97] {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary, #141414);
    border: 1px solid var(--border-medium, #3A3A3A);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    user-select: none;
}

.jad-float-header[b-4bo2k5np97] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: var(--bg-tertiary, #1E1E1E);
    border-bottom: 1px solid var(--border-subtle, #2A2A2A);
    cursor: grab;
}

.jad-float-header:active[b-4bo2k5np97] {
    cursor: grabbing;
}

.jad-float-title[b-4bo2k5np97] {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary, #FFF);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jad-float-actions[b-4bo2k5np97] {
    display: flex;
    gap: 4px;
}

.jad-float-btn[b-4bo2k5np97] {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary, #A0A0A0);
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

.jad-float-btn:hover[b-4bo2k5np97] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #FFF);
}

.jad-float-content[b-4bo2k5np97] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 8px;
}

.jad-float-resize[b-4bo2k5np97] {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, var(--border-medium, #3A3A3A) 50%);
    border-bottom-right-radius: 6px;
}
/* /Components/NotificationCenter.razor.rz.scp.css */
.notification-center[b-i5agb0e1i2] {
    position: relative;
    overflow: visible;
}

.notification-center .notification-dropdown[b-i5agb0e1i2] {
    display: flex;
    flex-direction: column;
    width: min(90vw, 420px);
    max-width: calc(100vw - 16px);
    max-height: 100%; /* respect SmartPopup's computed max-height */
    border-radius: .5rem;
    overflow: hidden;
    box-sizing: border-box;
}

.notification-center .notification-header[b-i5agb0e1i2] {
    flex: 0 0 auto;
    background: var(--bs-body-bg);
    z-index: 1;
    padding: .5rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.notification-center .notification-list[b-i5agb0e1i2] {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
}

.notification-center .list-group-item[b-i5agb0e1i2] {
    border-left: 0;
    border-right: 0;
}

.notification-center .list-group-item:first-child[b-i5agb0e1i2] {
    border-top: 0;
}

.notification-center .list-group-item:last-child[b-i5agb0e1i2] {
    border-bottom: 0;
}

.notification-center .list-group-item .flex-grow-1[b-i5agb0e1i2],
.notification-center .list-group-item .d-flex[b-i5agb0e1i2] {
    min-width: 0;
}

.notification-center .list-group-item .text-wrap[b-i5agb0e1i2] {
    overflow-wrap: break-word;
}

.notification-center .btn-link[b-i5agb0e1i2] {
    color: inherit;
    text-decoration: none;
}

.notification-center .btn-link:hover[b-i5agb0e1i2] {
    color: var(--bs-body-color);
}

.notification-center .badge[b-i5agb0e1i2] {
    font-size: .65rem;
}

.notification-center .progress[b-i5agb0e1i2] {
    background-color: var(--bs-secondary-bg);
}

.notification-center .progress-bar[b-i5agb0e1i2] {
    background-color: var(--bs-primary);
}
/* /MainLayout.razor.rz.scp.css */
.polaris-terminal[b-phcekoxwf4] {
    display: flex;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: var(--surface-primary, #1A1A1A);
    overflow: hidden;
}

.polaris-terminal-body[b-phcekoxwf4] {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.polaris-main-area[b-phcekoxwf4] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.polaris-workspace[b-phcekoxwf4] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: auto;
    background: var(--surface-primary, #1A1A1A);
    padding: 0;
}

.polaris-login[b-phcekoxwf4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: var(--surface-primary, #1A1A1A);
}

.polaris-status-ticker[b-phcekoxwf4] {
    font-weight: 600;
    color: var(--text-primary, #FFFFFF);
}

.polaris-status-connection[b-phcekoxwf4] {
    color: var(--success, #4caf50);
}

.polaris-status-connection[data-connected="false"][b-phcekoxwf4] {
    color: var(--danger, #f44336);
}

/* Desktop: show sidebar, hide mobile nav */
.polaris-sidebar-desktop[b-phcekoxwf4] {
    display: flex;
    height: 100%;
}

.polaris-sidebar-mobile[b-phcekoxwf4] {
    display: none;
}

/* Mobile/Tablet: hide desktop sidebar, show mobile nav */
@media (max-width: 1023px) {
    .polaris-sidebar-desktop[b-phcekoxwf4] {
        display: none;
    }

    .polaris-sidebar-mobile[b-phcekoxwf4] {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        height: 40px;
        background: var(--surface-secondary, #1a1a1a);
        border-bottom: 1px solid var(--border-default, #2a2a2a);
        padding: 0 8px;
    }

    .polaris-terminal-body[b-phcekoxwf4] {
        flex-direction: column;
    }

    .polaris-main-area[b-phcekoxwf4] {
        min-height: 0;
    }
}
/* /Polaris/IndicatorBuilder/Components/IndicatorBuilderComponent.razor.rz.scp.css */
.indicator-builder[b-odj17n26cu] {
    display: flex;
    height: 100%;
    min-height: 400px;
}

.indicator-palette[b-odj17n26cu] {
    width: 180px;
    flex-shrink: 0;
    background: #1e1e1e;
    border-right: 1px solid #333;
    overflow-y: auto;
    padding: 8px;
}

.palette-title[b-odj17n26cu] {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    padding: 4px 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #333;
}

.palette-category[b-odj17n26cu] {
    margin-bottom: 4px;
}

.palette-category-header[b-odj17n26cu] {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    color: #ccc;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.palette-chevron[b-odj17n26cu] {
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.15s;
    display: inline-block;
}

.palette-chevron.expanded[b-odj17n26cu] {
    transform: rotate(90deg);
}

.palette-items[b-odj17n26cu] {
    padding-left: 4px;
}

.palette-node-item[b-odj17n26cu] {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    color: #ddd;
    font-size: 12px;
    transition: background-color 0.1s;
}

.palette-node-item:hover[b-odj17n26cu] {
    background-color: #2a2a2a;
}

.palette-color-dot[b-odj17n26cu] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.palette-node-name[b-odj17n26cu] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indicator-workspace[b-odj17n26cu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.indicator-toolbar[b-odj17n26cu] {
    padding: 8px 12px;
    background: #1e1e1e;
    border-bottom: 1px solid #333;
    display: flex;
    gap: 8px;
}

.indicator-canvas[b-odj17n26cu] {
    flex: 1;
    position: relative;
    background: #252525;
    overflow: auto;
    min-height: 0;
}

.indicator-canvas:focus[b-odj17n26cu] {
    outline: none;
}

.indicator-graph-svg[b-odj17n26cu] {
    display: block;
    cursor: default;
}

.indicator-node[b-odj17n26cu] {
    cursor: grab;
    transition: filter 0.15s;
}

.indicator-node:hover[b-odj17n26cu] {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.indicator-node.selected[b-odj17n26cu] {
    filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.5));
}

.indicator-empty-msg[b-odj17n26cu] {
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* Preview Panel */
.indicator-preview-panel[b-odj17n26cu] {
    padding: 0;
    background: #1e1e1e;
    border-top: 1px solid #333;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.preview-tabs[b-odj17n26cu] {
    display: flex;
    border-bottom: 1px solid #333;
    background: #1a1a1a;
}

.preview-tab[b-odj17n26cu] {
    padding: 8px 16px;
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.1s;
}

.preview-tab:hover[b-odj17n26cu] {
    color: #ccc;
}

.preview-tab.active[b-odj17n26cu] {
    color: #e0e0e0;
    border-bottom-color: #2196F3;
    background: #222;
}

.preview-content[b-odj17n26cu] {
    padding: 12px;
    flex: 1;
    overflow-y: auto;
}

.preview-code-block[b-odj17n26cu] {
    margin: 0;
    font-size: 12px;
    color: #ddd;
    background: #111;
    padding: 8px;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.preview-empty[b-odj17n26cu] {
    color: #888;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    padding: 12px;
}

/* Validation */
.validation-pass[b-odj17n26cu] {
    color: #4CAF50;
    font-size: 13px;
    padding: 8px;
    background: #1a2a1a;
    border-radius: 4px;
}

.validation-errors[b-odj17n26cu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.validation-error-item[b-odj17n26cu] {
    color: #ff6b6b;
    font-size: 12px;
    padding: 4px 8px;
    background: #2a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.error-dot[b-odj17n26cu] {
    color: #ff6b6b;
    font-size: 16px;
    line-height: 1;
}

/* Plot Strip */
.plot-strip[b-odj17n26cu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plot-strip-item[b-odj17n26cu] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: #222;
    border-radius: 4px;
}

.plot-line[b-odj17n26cu] {
    width: 40px;
    border-radius: 2px;
    flex-shrink: 0;
}

.plot-title[b-odj17n26cu] {
    font-size: 12px;
    color: #ddd;
}

/* Execution Result */
.execution-result[b-odj17n26cu] {
    padding: 6px 12px;
    font-size: 12px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exec-success[b-odj17n26cu] {
    color: #4CAF50;
    background: #1a2a1a;
}

.exec-fail[b-odj17n26cu] {
    color: #ff6b6b;
    background: #2a1a1a;
}

.node-link[b-odj17n26cu] {
    fill: none;
    stroke: #666;
    stroke-width: 2;
}

.node-link:hover[b-odj17n26cu] {
    stroke: #888;
}

.node-link-dragging[b-odj17n26cu] {
    fill: none;
    stroke: #FFD700;
    stroke-width: 2;
    stroke-dasharray: 5, 3;
}

.node-port[b-odj17n26cu] {
    r: 4;
    cursor: crosshair;
    transition: r 0.1s;
    stroke-width: 1;
    stroke: rgba(0, 0, 0, 0.5);
}

.node-port:hover[b-odj17n26cu] {
    r: 6;
    stroke: #fff;
    stroke-width: 2;
}

/* Port colors by data type */
.node-port.port-series[b-odj17n26cu] {
    fill: #00C853;
}

.node-port.port-number[b-odj17n26cu] {
    fill: #FFB300;
}

.node-port.port-boolean[b-odj17n26cu] {
    fill: #9C27B0;
}

.node-port.port-string[b-odj17n26cu] {
    fill: #F44336;
}

.node-port.port-color[b-odj17n26cu] {
    fill: #E91E63;
}

.node-port.port-source[b-odj17n26cu] {
    fill: #2196F3;
}

.node-port.port-any[b-odj17n26cu] {
    fill: #78909C;
}

.node-port.port-series:hover[b-odj17n26cu] {
    fill: #00E676;
}

.node-port.port-number:hover[b-odj17n26cu] {
    fill: #FFCA28;
}

.node-port.port-boolean:hover[b-odj17n26cu] {
    fill: #AB47BC;
}

.node-port.port-string:hover[b-odj17n26cu] {
    fill: #EF5350;
}

.node-port.port-color:hover[b-odj17n26cu] {
    fill: #EC407A;
}

.node-port.port-source:hover[b-odj17n26cu] {
    fill: #42A5F5;
}

.node-port.port-any:hover[b-odj17n26cu] {
    fill: #90A4AE;
}

/* Properties Panel */
.indicator-properties[b-odj17n26cu] {
    width: 220px;
    flex-shrink: 0;
    background: #1e1e1e;
    border-left: 1px solid #333;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.properties-title[b-odj17n26cu] {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #333;
    line-height: 1.2;
}

.properties-header-row[b-odj17n26cu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.properties-node-name[b-odj17n26cu] {
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.properties-delete-btn[b-odj17n26cu] {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #ff6b6b;
    border-radius: 4px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.15s;
}

.properties-delete-btn:hover[b-odj17n26cu] {
    background: #3a1a1a;
    border-color: #ff6b6b;
}

.properties-list[b-odj17n26cu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-row[b-odj17n26cu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-label[b-odj17n26cu] {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}

.property-input[b-odj17n26cu] {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 5px 8px;
    color: #ddd;
    font-size: 12px;
    outline: none;
}

.property-input:focus[b-odj17n26cu] {
    border-color: #2196F3;
}

.property-color[b-odj17n26cu] {
    padding: 2px;
    height: 28px;
    cursor: pointer;
}

.property-checkbox[b-odj17n26cu] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #ddd;
    cursor: pointer;
}

.property-checkbox input[type="checkbox"][b-odj17n26cu] {
    width: 16px;
    height: 16px;
    accent-color: #2196F3;
    cursor: pointer;
}

.property-empty[b-odj17n26cu] {
    color: #888;
    font-size: 12px;
    font-style: italic;
}
