@import '_content/Tauris.Warehouse/Tauris.Warehouse.g2ngz5iypl.bundle.scp.css';

/* /Components/AI/IdentificationPromptEditor.razor.rz.scp.css */
/* IdentificationPromptEditor - Scoped Styles */

.identification-prompt-editor[b-obxcasoika] {
    margin-bottom: 0;
}

.section-description[b-obxcasoika] {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Flexbox row: editor + sidebar aligned at the top */
.editor-row[b-obxcasoika] {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.editor-col[b-obxcasoika] {
    flex: 1;
    min-width: 0;
}

.sidebar-col[b-obxcasoika] {
    flex: 0 0 220px;
}

.prompt-actions[b-obxcasoika] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

/* Badge styles for the CodeWindow header */
.terminal-badge[b-obxcasoika] {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
}

.terminal-badge.system[b-obxcasoika] {
    background: #1e40af;
    color: #93c5fd;
}

.terminal-badge.custom[b-obxcasoika] {
    background: #065f46;
    color: #6ee7b7;
}

/* Character count */
.char-count[b-obxcasoika] {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.char-count.warning[b-obxcasoika] {
    color: #dc3545;
    font-weight: 500;
}

/* Variable sidebar */
.variable-sidebar[b-obxcasoika] {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.variable-sidebar-header[b-obxcasoika] {
    padding: 0.5rem 0.75rem;
    background: #374151;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #4b5563;
}

.variable-list[b-obxcasoika] {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    flex: 1;
    overflow-y: auto;
}

.variable-list li[b-obxcasoika] {
    padding: 0.3rem 0.75rem;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #2d3748;
}

.variable-list li:last-child[b-obxcasoika] {
    border-bottom: none;
}

.variable-list li code[b-obxcasoika] {
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    color: #67e8f9;
    background: none;
    padding: 0;
}

.variable-list li span[b-obxcasoika] {
    font-size: 0.65rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

/* Validation messages */
.validation-messages[b-obxcasoika] {
    margin-bottom: 0.5rem;
}

.validation-message[b-obxcasoika] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.validation-message.error[b-obxcasoika] {
    background: #f8d7da;
    color: #721c24;
}

.validation-message.warning[b-obxcasoika] {
    background: #fff3cd;
    color: #856404;
}

.validation-message.info[b-obxcasoika] {
    background: #d1ecf1;
    color: #0c5460;
}

/* Preview modal */
.preview-overlay[b-obxcasoika] {
    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: 1050;
}

.preview-modal[b-obxcasoika] {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.preview-header[b-obxcasoika] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.preview-content[b-obxcasoika] {
    padding: 1rem;
    overflow-y: auto;
    margin: 0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    background: #f8f9fa;
    white-space: pre-wrap;
    word-wrap: break-word;
}
/* /Components/CodeWindow.razor.rz.scp.css */
.code-window[b-eou54160pr] {
    background: #1f2937;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #374151;
}

.code-window-header[b-eou54160pr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0;
}

.code-window-dots[b-eou54160pr] {
    display: flex;
    gap: 6px;
}

.code-window-dots .dot[b-eou54160pr] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-window-dots .dot.red[b-eou54160pr] { background: #ef4444; }
.code-window-dots .dot.yellow[b-eou54160pr] { background: #f59e0b; }
.code-window-dots .dot.green[b-eou54160pr] { background: #22c55e; }

.code-window-title[b-eou54160pr] {
    font-size: 0.8rem;
    color: #9ca3af;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
}

/* Style textarea and pre inside the code window body */
[b-eou54160pr] .code-window-body textarea,
[b-eou54160pr] .code-window-body pre {
    display: block;
    width: 100%;
    background: transparent;
    color: #e5e7eb;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    border: none;
    outline: none;
    padding: 0.75rem 1.25rem;
    resize: vertical;
    caret-color: #e5e7eb;
    box-sizing: border-box;
    margin: 0;
}

[b-eou54160pr] .code-window-body textarea::placeholder {
    color: #6b7280;
}

[b-eou54160pr] .code-window-body pre {
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
}
/* /Components/CSharpCodeEditor.razor.rz.scp.css */
.cs-editor-mount[b-ab4zsuc65j] {
    width: 100%;
}

[b-ab4zsuc65j] .cm-editor {
    height: 100%;
    outline: none;
}

[b-ab4zsuc65j] .cm-scroller {
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    overflow: auto;
}
/* /Features/FileManagement/Components/BatchDetailPanel.razor.rz.scp.css */
.detail-root[b-fdoqdvkya2] {
    flex-shrink: 0;
    background: #fff;
}

/* ── Resizable info zone (header + alerts) ── */
.detail-info-zone[b-fdoqdvkya2] {
    display: flex;
    flex-direction: column;
    height: 110px;
    min-height: 60px;
    max-height: 50vh;
    flex-shrink: 0;
    border-bottom: 1px solid #d1d5db;
    background: #fff;
    resize: vertical;
    overflow: auto;
}

/* ── Header row ── */
.detail-header[b-fdoqdvkya2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    font-size: 0.84rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.detail-page-range[b-fdoqdvkya2] {
    color: #6b7280;
}

.detail-row-count[b-fdoqdvkya2] {
    color: #6b7280;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.detail-actions[b-fdoqdvkya2] {
    display: inline-flex;
    gap: 6px;
    margin-left: 10px;
}

/* ── Scrollable alerts area ── */
.detail-alerts-scroll[b-fdoqdvkya2] {
    flex: 1;
    overflow-y: auto;
    padding: 2px 0;
}

.detail-alerts-empty[b-fdoqdvkya2] {
    padding: 6px 16px;
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
}

/* ── Alert panels ── */
.detail-alert[b-fdoqdvkya2] {
    margin: 6px 16px 4px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.detail-alert-warning[b-fdoqdvkya2] {
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-left: 3px solid #eab308;
}

.detail-alert-danger[b-fdoqdvkya2] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 3px solid #ef4444;
}

.detail-alert-title[b-fdoqdvkya2] {
    font-weight: 600;
    font-size: 0.78rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-alert-warning .detail-alert-title[b-fdoqdvkya2] {
    color: #a16207;
}

.detail-alert-danger .detail-alert-title[b-fdoqdvkya2] {
    color: #b91c1c;
}

.detail-alert-item[b-fdoqdvkya2] {
    font-size: 0.8rem;
    padding: 1px 0;
    color: #374151;
}

.detail-alert-warning .detail-alert-item[b-fdoqdvkya2] {
    color: #78350f;
}

.detail-alert-danger .detail-alert-item[b-fdoqdvkya2] {
    color: #7f1d1d;
}

.detail-alert-type[b-fdoqdvkya2] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #92400e;
    background: rgba(245, 158, 11, 0.15);
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 2px;
}

/* ── Corrective panel ── */
.detail-corrective[b-fdoqdvkya2] {
    margin: 6px 16px 6px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
}

.detail-corrective-title[b-fdoqdvkya2] {
    color: #92400e;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-corrective-body[b-fdoqdvkya2] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.detail-corrective-input[b-fdoqdvkya2] {
    flex: 1;
    background: #fff;
    color: #1e293b;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.84rem;
    resize: vertical;
    font-family: inherit;
    line-height: 1.4;
}

.detail-corrective-input:focus[b-fdoqdvkya2] {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.detail-corrective-actions[b-fdoqdvkya2] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    align-items: flex-start;
}
/* /Features/FileManagement/Components/BatchStripBar.razor.rz.scp.css */
.batch-strip[b-1fjc87zsfl] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px;
    background: #eef1f6;
    border-bottom: 1px solid #d1d5db;
    flex-shrink: 0;
    font-size: 0.82rem;
    min-height: 40px;
}

/* ── Summary stats ── */
.strip-summary[b-1fjc87zsfl] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.stat[b-1fjc87zsfl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.stat-rows[b-1fjc87zsfl] {
    color: #1e293b;
}

.stat-warning[b-1fjc87zsfl] {
    color: #92400e;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.78rem;
}

.stat-danger[b-1fjc87zsfl] {
    color: #991b1b;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.78rem;
}

/* ── Vertical divider ── */
.strip-divider[b-1fjc87zsfl] {
    width: 1px;
    height: 22px;
    background: #c9cfd8;
    flex-shrink: 0;
}

/* ── Batch pills ── */
.strip-pills[b-1fjc87zsfl] {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    flex: 1;
}

.batch-pill[b-1fjc87zsfl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    color: #475569;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.12s ease;
    line-height: 1.4;
}

.batch-pill:hover[b-1fjc87zsfl] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.batch-pill-selected[b-1fjc87zsfl] {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.batch-pill-selected:hover[b-1fjc87zsfl] {
    background: #dbeafe;
}

.batch-pill-failed[b-1fjc87zsfl] {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #b91c1c;
}

.batch-pill-failed:hover[b-1fjc87zsfl] {
    background: #fee2e2;
}

.batch-pill-warn[b-1fjc87zsfl] {
    border-color: #fcd34d;
    background: #fffbeb;
}

.pill-num[b-1fjc87zsfl] {
    font-variant-numeric: tabular-nums;
}

/* ── Right actions ── */
.strip-actions[b-1fjc87zsfl] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.strip-batch-count[b-1fjc87zsfl] {
    color: #9ca3af;
    font-size: 0.78rem;
    white-space: nowrap;
}
/* /Features/FileManagement/Components/CsvTableViewer.razor.rz.scp.css */
.csv-table-container[b-huk2ck17le] {
    overflow: auto;
    height: 100%;
    padding: 0;
}

.csv-table[b-huk2ck17le] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.csv-table thead[b-huk2ck17le] {
    position: sticky;
    top: 0;
    z-index: 1;
}

.csv-table th[b-huk2ck17le] {
    background: #343a40;
    color: white;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid #212529;
}

.csv-table td[b-huk2ck17le] {
    padding: 6px 12px;
    border-bottom: 1px solid #e9ecef;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.csv-table tbody tr:hover[b-huk2ck17le] {
    background: #f8f9fa;
}

.csv-table tbody tr:nth-child(even)[b-huk2ck17le] {
    background: #f8f9fa;
}

.csv-table tbody tr:nth-child(even):hover[b-huk2ck17le] {
    background: #e9ecef;
}

.csv-row-count[b-huk2ck17le] {
    padding: 6px 12px;
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    border-top: 1px solid #e9ecef;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.csv-empty[b-huk2ck17le] {
    padding: 24px;
    text-align: center;
    color: #6c757d;
}

.csv-fallback[b-huk2ck17le] {
    padding: 16px;
}

.csv-parse-warning[b-huk2ck17le] {
    color: #856404;
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.csv-raw[b-huk2ck17le] {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 400px;
    overflow-y: auto;
}
/* /Features/FileManagement/Components/ProcessingLogViewer.razor.rz.scp.css */
.processing-log-viewer[b-1qlxrznatd] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #333;
}

.log-summary[b-1qlxrznatd] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.log-status-row[b-1qlxrznatd] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.log-status[b-1qlxrznatd] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.status-completed[b-1qlxrznatd] { background: #d4edda; color: #155724; }
.status-failed[b-1qlxrznatd] { background: #f8d7da; color: #721c24; }
.status-in-progress[b-1qlxrznatd] { background: #fff3cd; color: #856404; }
.status-cancelled[b-1qlxrznatd] { background: #e2e3e5; color: #383d41; }
.status-unknown[b-1qlxrznatd] { background: #e9ecef; color: #495057; }

.log-filename[b-1qlxrznatd] { font-weight: 500; color: #495057; }

.log-meta[b-1qlxrznatd] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item[b-1qlxrznatd] { display: flex; gap: 4px; }
.meta-label[b-1qlxrznatd] { color: #6c757d; }
.meta-value[b-1qlxrznatd] { font-weight: 500; }

.log-timeline[b-1qlxrznatd] {
    position: relative;
    padding-left: 24px;
}

.log-timeline[b-1qlxrznatd]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item[b-1qlxrznatd] {
    position: relative;
    padding-bottom: 16px;
    display: flex;
    gap: 12px;
}

.timeline-item:last-child[b-1qlxrznatd] { padding-bottom: 0; }

.timeline-marker[b-1qlxrznatd] {
    position: absolute;
    left: -24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.marker-icon[b-1qlxrznatd] { font-size: 12px; line-height: 1; }
.marker-icon.completed[b-1qlxrznatd] { color: #28a745; }
.marker-icon.in-progress[b-1qlxrznatd] { color: #ffc107; animation: pulse-b-1qlxrznatd 1.5s ease-in-out infinite; }
.marker-icon.failed[b-1qlxrznatd] { color: #dc3545; }
.marker-icon.pending[b-1qlxrznatd] { color: #adb5bd; }

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

.timeline-content[b-1qlxrznatd] { flex: 1; min-width: 0; }

.stage-header[b-1qlxrznatd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.stage-header:hover[b-1qlxrznatd] { background: #e9ecef; }
.timeline-item.completed .stage-header[b-1qlxrznatd] { border-left: 3px solid #28a745; }
.timeline-item.inprogress .stage-header[b-1qlxrznatd] { border-left: 3px solid #ffc107; }
.timeline-item.failed .stage-header[b-1qlxrznatd] { border-left: 3px solid #dc3545; }
.timeline-item.pending .stage-header[b-1qlxrznatd],
.timeline-item.skipped .stage-header[b-1qlxrznatd] { border-left: 3px solid #adb5bd; opacity: 0.7; }

.stage-name[b-1qlxrznatd] { flex: 1; font-weight: 500; }
.stage-duration[b-1qlxrznatd] { font-size: 12px; color: #6c757d; }
.expand-icon[b-1qlxrznatd] { font-size: 10px; color: #6c757d; }

.stage-details[b-1qlxrznatd] {
    margin-top: 8px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.detail-row[b-1qlxrznatd] { margin-bottom: 12px; }
.detail-row:last-child[b-1qlxrznatd] { margin-bottom: 0; }

.detail-key[b-1qlxrznatd] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value pre[b-1qlxrznatd] {
    margin: 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.detail-value details summary[b-1qlxrznatd] {
    cursor: pointer;
    color: #007bff;
    font-size: 12px;
}

.log-errors[b-1qlxrznatd] {
    margin-top: 16px;
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #f8d7da;
    border-radius: 8px;
}

.errors-header[b-1qlxrznatd] { color: #721c24; margin: 0 0 12px 0; font-size: 14px; }

.error-item[b-1qlxrznatd] {
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 3px solid #dc3545;
}

.error-item:last-child[b-1qlxrznatd] { margin-bottom: 0; }
.error-header[b-1qlxrznatd] { display: flex; justify-content: space-between; margin-bottom: 4px; }
.error-phase[b-1qlxrznatd] { font-weight: 600; color: #721c24; font-size: 12px; }
.error-time[b-1qlxrznatd] { font-size: 12px; color: #6c757d; }
.error-message[b-1qlxrznatd] { color: #721c24; margin-bottom: 8px; }

.error-stacktrace summary[b-1qlxrznatd] { cursor: pointer; color: #6c757d; font-size: 12px; }
.error-stacktrace pre[b-1qlxrznatd] {
    margin: 8px 0 0 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 11px;
    overflow-x: auto;
    max-height: 200px;
    overflow-y: auto;
}

.raw-json-section[b-1qlxrznatd] { margin-top: 16px; }
.raw-json-section summary[b-1qlxrznatd] { cursor: pointer; color: #6c757d; font-size: 12px; padding: 8px; }
.raw-json[b-1qlxrznatd] {
    margin: 8px 0 0 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 11px;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
}

.no-log-data[b-1qlxrznatd] {
    padding: 24px;
    text-align: center;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-log-data p[b-1qlxrznatd] { margin: 0; }
/* /Features/FileManagement/Components/ProcessingSummaryPanel.razor.rz.scp.css */
.summary-panel[b-dim5cvsnzh] {
    padding: 16px 20px;
    overflow-y: auto;
    flex-shrink: 0;
}

/* ── Header ── */
.summary-header[b-dim5cvsnzh] {
    margin-bottom: 12px;
}

.summary-title[b-dim5cvsnzh] {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.summary-meta[b-dim5cvsnzh] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.summary-status[b-dim5cvsnzh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 12px;
}

.summary-status-success[b-dim5cvsnzh] {
    color: #166534;
    background: #dcfce7;
}

.summary-status-info[b-dim5cvsnzh] {
    color: #1e40af;
    background: #dbeafe;
}

.summary-status-danger[b-dim5cvsnzh] {
    color: #991b1b;
    background: #fee2e2;
}

.summary-status-primary[b-dim5cvsnzh] {
    color: #1e40af;
    background: #dbeafe;
}

.summary-status-warning[b-dim5cvsnzh] {
    color: #92400e;
    background: #fef3c7;
}

.summary-status-muted[b-dim5cvsnzh] {
    color: #6b7280;
    background: #f3f4f6;
}

.summary-stat[b-dim5cvsnzh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.84rem;
    color: #6b7280;
}

.summary-metrics[b-dim5cvsnzh] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.summary-metric[b-dim5cvsnzh] {
    font-size: 0.84rem;
    color: #475569;
}

.summary-metric strong[b-dim5cvsnzh] {
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

/* ── Sections ── */
.summary-section[b-dim5cvsnzh] {
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.summary-section-header[b-dim5cvsnzh] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.summary-section-warning[b-dim5cvsnzh] {
    background: #fef3c7;
    color: #92400e;
    border-bottom: 1px solid #fde68a;
}

.summary-section-danger[b-dim5cvsnzh] {
    background: #fee2e2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

/* ── Warning items ── */
.summary-warning-list[b-dim5cvsnzh] {
    padding: 6px 14px 8px;
    background: #fffbeb;
}

.summary-warning-item[b-dim5cvsnzh] {
    font-size: 0.82rem;
    padding: 3px 0;
    color: #78350f;
    line-height: 1.45;
}

.summary-warning-batch[b-dim5cvsnzh] {
    font-weight: 600;
    color: #92400e;
    margin-right: 4px;
}

.summary-warning-type[b-dim5cvsnzh] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #92400e;
    background: rgba(245, 158, 11, 0.15);
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 2px;
}

/* ── Error items ── */
.summary-error-list[b-dim5cvsnzh] {
    padding: 6px 14px 8px;
    background: #fef2f2;
}

.summary-error-item[b-dim5cvsnzh] {
    font-size: 0.82rem;
    padding: 3px 0;
    color: #7f1d1d;
    line-height: 1.45;
    word-break: break-word;
}

/* ── Actions ── */
.summary-actions[b-dim5cvsnzh] {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

/* ── Detail info ── */
.summary-detail-row[b-dim5cvsnzh] {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 10px;
}

.summary-detail-item[b-dim5cvsnzh] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.summary-detail-label[b-dim5cvsnzh] {
    color: #94a3b8;
}

/* ── Batch table ── */
.batch-table[b-dim5cvsnzh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.batch-table th[b-dim5cvsnzh] {
    text-align: left;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.batch-table td[b-dim5cvsnzh] {
    padding: 4px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.batch-table tr:last-child td[b-dim5cvsnzh] {
    border-bottom: none;
}

.batch-table .batch-status[b-dim5cvsnzh] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 8px;
}

.batch-status-extracted[b-dim5cvsnzh] { color: #1e40af; background: #dbeafe; }
.batch-status-imported[b-dim5cvsnzh] { color: #166534; background: #dcfce7; }
.batch-status-failed[b-dim5cvsnzh] { color: #991b1b; background: #fee2e2; }
.batch-status-pending[b-dim5cvsnzh] { color: #6b7280; background: #f3f4f6; }
.batch-status-extracting[b-dim5cvsnzh] { color: #1e40af; background: #dbeafe; }

.batch-table .text-right[b-dim5cvsnzh] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
/* /Features/FileManagement/Components/SideBySideViewer.razor.rz.scp.css */
.side-by-side-container[b-74d0f0iwsz] {
    display: grid;
    grid-template-columns: 1fr 4px 1fr;
    gap: 0;
    height: 100%;
    min-height: 600px;
    background: #f8f9fa;
}

.panel[b-74d0f0iwsz] {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-width: 0;
}

.panel-header[b-74d0f0iwsz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.panel-header h5[b-74d0f0iwsz] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.file-name[b-74d0f0iwsz] {
    font-size: 12px;
    color: #6c757d;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-body[b-74d0f0iwsz] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.csv-panel-body[b-74d0f0iwsz] {
    padding: 0;
}

.panel-divider[b-74d0f0iwsz] {
    background: #dee2e6;
    cursor: col-resize;
}

.panel-divider:hover[b-74d0f0iwsz] {
    background: #adb5bd;
}

.loading-placeholder[b-74d0f0iwsz],
.unsupported-format[b-74d0f0iwsz],
.no-csv-data[b-74d0f0iwsz] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    text-align: center;
    padding: 24px;
}

.loading-placeholder p[b-74d0f0iwsz],
.unsupported-format p[b-74d0f0iwsz],
.no-csv-data p[b-74d0f0iwsz] {
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .side-by-side-container[b-74d0f0iwsz] {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto 1fr;
    }

    .panel-divider[b-74d0f0iwsz] {
        height: 4px;
        cursor: row-resize;
    }
}
/* /Features/FileManagement/Pages/ArtifactComparePage.razor.rz.scp.css */
.compare-page[b-hylqbcugrg] {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.compare-header[b-hylqbcugrg] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.compare-header h4[b-hylqbcugrg] {
    margin: 0;
    flex: 1;
}

.extraction-progress-indicator[b-hylqbcugrg] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #0d6efd;
    white-space: nowrap;
}

.loading-container[b-hylqbcugrg],
.error-container[b-hylqbcugrg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.loading-container p[b-hylqbcugrg],
.error-container p[b-hylqbcugrg] {
    margin: 8px 0;
}

/* ── Vertical tab layout ── */
.review-layout[b-hylqbcugrg] {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.review-content[b-hylqbcugrg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* SideBySideViewer inside review-content fills remaining space */
[b-hylqbcugrg] .side-by-side-container {
    flex: 1;
    min-height: 0;
}
/* /Features/FileManagement/Pages/FileManagerPage.razor.rz.scp.css */
/* AI Schema Suggestion Styles */

.no-match-section[b-wcijdy8s6y] {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border: 2px dashed #dc3545;
    border-radius: 0.5rem;
    background-color: #fff5f5;
}

.no-match-section h4[b-wcijdy8s6y] {
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.ai-analysis-prompt[b-wcijdy8s6y] {
    margin-top: 1rem;
}

.ai-analysis-prompt p[b-wcijdy8s6y] {
    margin-bottom: 0.75rem;
    color: #666;
}

.ai-analyze-btn[b-wcijdy8s6y] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.ai-analyze-btn:hover:not(:disabled)[b-wcijdy8s6y] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ai-analyze-btn:disabled[b-wcijdy8s6y] {
    opacity: 0.6;
    cursor: not-allowed;
}

.suggested-schema-panel[b-wcijdy8s6y] {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.suggested-schema-panel h4[b-wcijdy8s6y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.confidence-badge[b-wcijdy8s6y] {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.confidence-high[b-wcijdy8s6y] {
    background-color: #28a745;
    color: white;
}

.confidence-medium[b-wcijdy8s6y] {
    background-color: #ffc107;
    color: #212529;
}

.confidence-low[b-wcijdy8s6y] {
    background-color: #dc3545;
    color: white;
}

.alert[b-wcijdy8s6y] {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-warning[b-wcijdy8s6y] {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-info[b-wcijdy8s6y] {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.schema-details[b-wcijdy8s6y] {
    margin-top: 1rem;
}

.schema-meta[b-wcijdy8s6y] {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.375rem;
    flex-wrap: wrap;
}

.schema-meta span[b-wcijdy8s6y] {
    font-size: 0.875rem;
}

.schema-meta strong[b-wcijdy8s6y] {
    font-weight: 600;
    color: #495057;
}

.schema-columns-table[b-wcijdy8s6y] {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    border-radius: 0.375rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.schema-columns-table thead[b-wcijdy8s6y] {
    background-color: #e9ecef;
}

.schema-columns-table th[b-wcijdy8s6y] {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.schema-columns-table td[b-wcijdy8s6y] {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.schema-columns-table tbody tr:hover[b-wcijdy8s6y] {
    background-color: #f8f9fa;
}

.badge[b-wcijdy8s6y] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

.badge-success[b-wcijdy8s6y] {
    background-color: #28a745;
    color: white;
}

.badge-warning[b-wcijdy8s6y] {
    background-color: #ffc107;
    color: #212529;
}

.confidence-indicator[b-wcijdy8s6y] {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.schema-reasoning[b-wcijdy8s6y] {
    margin-top: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.375rem;
    border-left: 4px solid #007bff;
}

.schema-reasoning strong[b-wcijdy8s6y] {
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
}

.schema-reasoning p[b-wcijdy8s6y] {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.schema-actions[b-wcijdy8s6y] {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review-btn.success[b-wcijdy8s6y] {
    background-color: #28a745;
    color: white;
    border: none;
    font-weight: 600;
}

.review-btn.success:hover[b-wcijdy8s6y] {
    background-color: #218838;
}

.spinner-border[b-wcijdy8s6y] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.15rem solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-wcijdy8s6y 0.75s linear infinite;
}

.spinner-border-sm[b-wcijdy8s6y] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125rem;
}

@keyframes spinner-border-b-wcijdy8s6y {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .schema-meta[b-wcijdy8s6y] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schema-actions[b-wcijdy8s6y] {
        flex-direction: column;
    }

    .schema-actions button[b-wcijdy8s6y] {
        width: 100%;
    }

    .schema-columns-table[b-wcijdy8s6y] {
        font-size: 0.75rem;
    }

    .schema-columns-table th[b-wcijdy8s6y],
    .schema-columns-table td[b-wcijdy8s6y] {
        padding: 0.5rem;
    }
}

/* Transformation Instructions Styles */

.transformation-section[b-wcijdy8s6y] {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    background-color: #fafafa;
}

.transformation-section h5[b-wcijdy8s6y] {
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.1rem;
}

.transformation-help-text[b-wcijdy8s6y] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.transformation-input[b-wcijdy8s6y] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    font-family: 'Segoe UI', Tauris, sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 150px;
    margin-bottom: 1rem;
}

.transformation-input:focus[b-wcijdy8s6y] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.preview-btn[b-wcijdy8s6y] {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    width: auto;
}

.preview-btn:hover:not(:disabled)[b-wcijdy8s6y] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.preview-btn:disabled[b-wcijdy8s6y] {
    opacity: 0.6;
    cursor: not-allowed;
}

.preview-results[b-wcijdy8s6y] {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #48bb78;
    border-radius: 0.375rem;
    background-color: #f0fff4;
}

.preview-results h6[b-wcijdy8s6y] {
    color: #38a169;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.csv-preview-container[b-wcijdy8s6y] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.csv-preview-table[b-wcijdy8s6y] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: white;
}

.csv-preview-table thead[b-wcijdy8s6y] {
    background-color: #667eea;
    color: white;
}

.csv-preview-table th[b-wcijdy8s6y] {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.csv-preview-table td[b-wcijdy8s6y] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
}

.csv-preview-table tbody tr:nth-child(even)[b-wcijdy8s6y] {
    background-color: #f8f9fa;
}

.csv-preview-table tbody tr:hover[b-wcijdy8s6y] {
    background-color: #e9ecef;
}

.preview-note[b-wcijdy8s6y] {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.spinner-border[b-wcijdy8s6y] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-wcijdy8s6y 0.75s linear infinite;
}

.spinner-border-sm[b-wcijdy8s6y] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.1em;
}

@keyframes spinner-border-b-wcijdy8s6y {
    to {
        transform: rotate(360deg);
    }
}
/* /Pages/Admin/Configuration/AiPromptEditor.razor.rz.scp.css */
.ai-prompt-editor[b-yw3szu2lnx] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.intro-text[b-yw3szu2lnx] {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.badge[b-yw3szu2lnx] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-default[b-yw3szu2lnx] {
    background: #374151;
    color: #9ca3af;
}

.badge-custom[b-yw3szu2lnx] {
    background: #1e3a5f;
    color: #60a5fa;
}

.header-actions[b-yw3szu2lnx] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.btn-header[b-yw3szu2lnx] {
    background: transparent;
    border: 1px solid #4b5563;
    color: #d1d5db;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-header:hover[b-yw3szu2lnx] {
    background: #374151;
    border-color: #6b7280;
}

.btn-save:not(:disabled)[b-yw3szu2lnx] {
    border-color: #2563eb;
    color: #60a5fa;
}

.btn-save:not(:disabled):hover[b-yw3szu2lnx] {
    background: #1e3a5f;
}

.btn-header:disabled[b-yw3szu2lnx] {
    opacity: 0.4;
    cursor: default;
}

[b-yw3szu2lnx] .code-window {
    resize: vertical;
    overflow: hidden;
    min-height: 200px;
    height: 440px;
    display: flex;
    flex-direction: column;
}

[b-yw3szu2lnx] .code-window-header {
    flex-shrink: 0;
}

[b-yw3szu2lnx] .code-window-body {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

[b-yw3szu2lnx] .cs-editor-mount {
    min-height: 100%;
}
/* /Pages/Admin/FileDefinitionPages/FileDefinitionDetail.razor.rz.scp.css */
/* FileDefinitionDetail - Scoped Styles */
/* NOTE: Styles for elements inside SfTab <ContentTemplate> are in wwwroot/css/site.css
   because Syncfusion tab content breaks Blazor CSS isolation. */

/* Sticky Header */
.file-def-header[b-410xwhot3u] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
}

.file-def-header h4[b-410xwhot3u] {
    border-bottom: none;
    margin-top: 0;
    padding-bottom: 0;
}

/* Autosave Status Indicator */
.save-status[b-410xwhot3u] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.save-status.status-saved[b-410xwhot3u] {
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.save-status.status-saving[b-410xwhot3u] {
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.save-status.status-unsaved[b-410xwhot3u] {
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.save-status.status-error[b-410xwhot3u] {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

/* Content Wrapper */
.content-wrapper[b-410xwhot3u] {
    padding: 20px;
}
/* /Shared/MainLayout.razor.rz.scp.css */
