@import '_content/LibraProducts.UI.Components/LibraProducts.UI.Components.bundle.scp.css';

/* _content/LibraProducts.Web/Components/Ingestion/FileUploadZone.razor.rz.scp.css */
/* File Upload Zone - Aspire-Inspired Styling */

.upload-zone[b-6476t1qeru] {
    border: 2px dashed var(--ui-border-medium);
    border-radius: 12px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f9fafb 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.upload-zone:hover:not(.disabled)[b-6476t1qeru] {
    border-color: var(--ui-accent-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.upload-zone.dragging[b-6476t1qeru] {
    border-color: var(--ui-accent-primary);
    background: var(--ui-accent-primary-light);
    transform: scale(1.01);
    box-shadow: var(--ui-shadow-md);
}

.upload-zone.disabled[b-6476t1qeru] {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--ui-bg-tertiary);
}

/* Upload Prompt (when no file selected) */
.upload-prompt[b-6476t1qeru] {
    width: 100%;
}

.upload-icon[b-6476t1qeru] {
    font-size: 4rem;
    color: var(--ui-accent-primary);
    margin-bottom: 1.25rem;
    display: block;
    animation: float-b-6476t1qeru 3s ease-in-out infinite;
}

@keyframes float-b-6476t1qeru {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.upload-text[b-6476t1qeru] {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ui-text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.upload-hint[b-6476t1qeru] {
    font-size: 1rem;
    color: var(--ui-text-secondary);
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.upload-constraint[b-6476t1qeru] {
    font-size: 0.8125rem;
    color: var(--ui-text-muted);
    margin: 0;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.file-input[b-6476t1qeru] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input:disabled[b-6476t1qeru] {
    cursor: not-allowed;
}

/* File Selected State */
.file-selected[b-6476t1qeru] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--ui-border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.file-icon-wrapper[b-6476t1qeru] {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.file-icon[b-6476t1qeru] {
    font-size: 1.75rem;
    color: var(--ui-accent-primary);
}

.file-info[b-6476t1qeru] {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.file-name[b-6476t1qeru] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ui-text-primary);
    margin: 0 0 0.375rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.file-details[b-6476t1qeru] {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--ui-text-muted);
}

.file-size[b-6476t1qeru] {
    font-weight: 600;
    color: var(--ui-accent-primary);
}

.file-meta[b-6476t1qeru] {
    color: var(--ui-text-muted);
    font-weight: 500;
}

.btn-remove[b-6476t1qeru] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ui-bg-secondary);
    border: 1px solid var(--ui-border-light);
    border-radius: 8px;
    color: var(--ui-text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-remove:hover:not(:disabled)[b-6476t1qeru] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.05);
}

.btn-remove:disabled[b-6476t1qeru] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Validation Error */
.validation-error[b-6476t1qeru] {
    margin-top: var(--ui-spacing-md);
    padding: var(--ui-spacing-sm) var(--ui-spacing-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--ui-radius-md);
    color: var(--ui-danger);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.validation-error i[b-6476t1qeru] {
    flex-shrink: 0;
}
/* _content/LibraProducts.Web/Components/Ingestion/IngestionProgress.razor.rz.scp.css */
/* Ingestion Progress - Aspire-Inspired Styling */

.ingestion-progress[b-x2b9nhqscj] {
    background: var(--ui-bg-primary);
    border: 1px solid var(--ui-border-light);
    border-radius: var(--ui-radius-lg);
    padding: var(--ui-spacing-xl);
}

/* Progress Header */
.progress-header[b-x2b9nhqscj] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--ui-spacing-xl);
    padding-bottom: var(--ui-spacing-lg);
    border-bottom: 1px solid var(--ui-border-light);
}

.progress-title-section[b-x2b9nhqscj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-title[b-x2b9nhqscj] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ui-text-primary);
    margin: 0;
}

.progress-job-id[b-x2b9nhqscj] {
    font-size: 0.75rem;
    color: var(--ui-text-muted);
    font-family: 'Courier New', monospace;
}

.progress-percentage[b-x2b9nhqscj] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.percentage-value[b-x2b9nhqscj] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ui-accent-primary);
    line-height: 1;
}

.percentage-label[b-x2b9nhqscj] {
    font-size: 0.75rem;
    color: var(--ui-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Progress Timeline */
.progress-timeline[b-x2b9nhqscj] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--ui-spacing-xl);
}

.progress-stage[b-x2b9nhqscj] {
    display: flex;
    gap: var(--ui-spacing-md);
    position: relative;
}

/* Stage Indicator (icon + connector) */
.stage-indicator[b-x2b9nhqscj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.stage-icon[b-x2b9nhqscj] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ui-bg-secondary);
    border: 2px solid var(--ui-border-light);
    color: var(--ui-text-muted);
    font-size: 1.125rem;
    z-index: 1;
}

.stage-connector[b-x2b9nhqscj] {
    width: 2px;
    flex: 1;
    background: var(--ui-border-light);
    margin: 0.25rem 0;
    min-height: 40px;
}

/* Stage States */
.progress-stage.completed .stage-icon[b-x2b9nhqscj] {
    background: var(--ui-success);
    border-color: var(--ui-success);
    color: white;
}

.progress-stage.in-progress .stage-icon[b-x2b9nhqscj] {
    background: var(--ui-accent-primary-light);
    border-color: var(--ui-accent-primary);
    color: var(--ui-accent-primary);
}

.progress-stage.in-progress .stage-connector[b-x2b9nhqscj] {
    background: linear-gradient(to bottom, var(--ui-accent-primary) 0%, var(--ui-border-light) 100%);
}

.progress-stage.failed .stage-icon[b-x2b9nhqscj] {
    background: var(--ui-danger);
    border-color: var(--ui-danger);
    color: white;
}

.progress-stage.completed .stage-connector[b-x2b9nhqscj] {
    background: var(--ui-success);
}

/* Stage Content */
.stage-content[b-x2b9nhqscj] {
    flex: 1;
    padding: 0.25rem 0 var(--ui-spacing-lg) 0;
}

.stage-header[b-x2b9nhqscj] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.stage-label[b-x2b9nhqscj] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ui-text-primary);
    margin: 0;
}

.stage-timestamp[b-x2b9nhqscj] {
    font-size: 0.75rem;
    color: var(--ui-text-muted);
    font-family: 'Courier New', monospace;
}

.stage-message[b-x2b9nhqscj] {
    font-size: 0.875rem;
    color: var(--ui-text-secondary);
    margin: 0.25rem 0 0 0;
}

.progress-stage.in-progress .stage-message[b-x2b9nhqscj] {
    color: var(--ui-accent-primary);
}

/* Stage Progress */
.stage-progress[b-x2b9nhqscj] {
    margin-top: var(--ui-spacing-sm);
}

.progress-bar-wrapper[b-x2b9nhqscj] {
    margin-bottom: var(--ui-spacing-sm);
}

.progress-bar-track[b-x2b9nhqscj] {
    height: 8px;
    background: var(--ui-bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill[b-x2b9nhqscj] {
    height: 100%;
    background: var(--ui-accent-primary);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-stats[b-x2b9nhqscj] {
    display: flex;
    gap: var(--ui-spacing-lg);
    flex-wrap: wrap;
}

.progress-stats .stat[b-x2b9nhqscj] {
    font-size: 0.8125rem;
    color: var(--ui-text-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.progress-stats .stat i[b-x2b9nhqscj] {
    font-size: 0.875rem;
}

/* Progress Actions */
.progress-actions[b-x2b9nhqscj] {
    display: flex;
    gap: var(--ui-spacing-md);
    padding-top: var(--ui-spacing-lg);
    border-top: 1px solid var(--ui-border-light);
}

.progress-actions .btn[b-x2b9nhqscj] {
    flex: 1;
}

@media (max-width: 640px) {
    .progress-actions[b-x2b9nhqscj] {
        flex-direction: column;
    }
    
    .progress-actions .btn[b-x2b9nhqscj] {
        width: 100%;
    }
}

/* Alert (for failed state) */
.alert[b-x2b9nhqscj] {
    margin-top: var(--ui-spacing-lg);
    padding: var(--ui-spacing-md);
    border-radius: var(--ui-radius-md);
    border: 1px solid;
}

.alert-danger[b-x2b9nhqscj] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--ui-danger);
}

.alert-header[b-x2b9nhqscj] {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.alert-message[b-x2b9nhqscj] {
    font-size: 0.875rem;
    margin: 0;
    color: var(--ui-text-secondary);
}

.btn-outline-danger[b-x2b9nhqscj] {
    color: var(--ui-danger);
    border-color: var(--ui-danger);
    background: transparent;
}

.btn-outline-danger:hover[b-x2b9nhqscj] {
    background: var(--ui-danger);
    color: white;
}
/* _content/LibraProducts.Web/Pages/Catalog/CatalogDraftReview.razor.rz.scp.css */
.draft-page[b-2t1tn268b0] {
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.draft-header[b-2t1tn268b0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.draft-header h1[b-2t1tn268b0] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.draft-header p[b-2t1tn268b0] {
    margin: 0.35rem 0 0;
    color: #4b5563;
}

.summary-grid[b-2t1tn268b0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.summary-card[b-2t1tn268b0] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.summary-card.warning[b-2t1tn268b0] {
    border-color: #f59e0b;
    background: #fff9eb;
}

.summary-card.success[b-2t1tn268b0] {
    border-color: #22c55e;
    background: #eefdf3;
}

.summary-card.danger[b-2t1tn268b0] {
    border-color: #ef4444;
    background: #fef2f2;
}

.summary-card .label[b-2t1tn268b0] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.summary-card .value[b-2t1tn268b0] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.draft-card[b-2t1tn268b0] {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.draft-card h2[b-2t1tn268b0] {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.hint[b-2t1tn268b0] {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.rework-list[b-2t1tn268b0] {
    margin: 0.35rem 0 0 1.1rem;
    color: #4b5563;
}

.action-row[b-2t1tn268b0] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.bulk-review-actions[b-2t1tn268b0] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.edit-grid[b-2t1tn268b0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.publish-progress[b-2t1tn268b0] {
    display: inline-flex;
    align-items: center;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.flagged-row[b-2t1tn268b0] {
    background: #fffbeb;
}

.confidence[b-2t1tn268b0] {
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.confidence.high[b-2t1tn268b0] {
    background: #dcfce7;
    color: #166534;
}

.confidence.med[b-2t1tn268b0] {
    background: #fef3c7;
    color: #92400e;
}

.confidence.low[b-2t1tn268b0] {
    background: #fee2e2;
    color: #991b1b;
}

.flag-pill[b-2t1tn268b0] {
    display: inline-block;
    margin: 0 0.3rem 0.3rem 0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: #f3f4f6;
    color: #1f2937;
}

.rows-toolbar[b-2t1tn268b0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.rows-toolbar-right[b-2t1tn268b0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rows-filters[b-2t1tn268b0] {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.bulk-actions[b-2t1tn268b0] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.selected-count[b-2t1tn268b0] {
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 600;
}

.rows-summary[b-2t1tn268b0] {
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 600;
}

.rows-page-size[b-2t1tn268b0] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rows-page-size label[b-2t1tn268b0] {
    font-size: 0.82rem;
    color: #6b7280;
}

.rows-page-size .form-select[b-2t1tn268b0] {
    width: 92px;
}

.pagination-bar[b-2t1tn268b0] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.pagination-status[b-2t1tn268b0] {
    font-size: 0.85rem;
    color: #4b5563;
    min-width: 105px;
    text-align: center;
}

@media (max-width: 1024px) {
    .summary-grid[b-2t1tn268b0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rows-filters[b-2t1tn268b0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .summary-grid[b-2t1tn268b0] {
        grid-template-columns: 1fr;
    }

    .draft-header[b-2t1tn268b0] {
        flex-direction: column;
    }

    .rows-filters[b-2t1tn268b0] {
        grid-template-columns: 1fr;
    }

    .edit-grid[b-2t1tn268b0] {
        grid-template-columns: 1fr;
    }
}
/* _content/LibraProducts.Web/Pages/Catalog/CatalogIngestion.razor.rz.scp.css */
/* ========================================================================
   Catalog Ingestion Page - Page-Level Styles Only
   Component-specific styles now in RCL components:
   - RequirementsCard.razor.css
   - MetricsPanel.razor.css
   - FileListPanel.razor.css
   - ActivitySidebar.razor.css
   ======================================================================== */

/* ===================================
   Page Container & Layout
   =================================== */
.page-container[b-e1hib9t1yt] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header[b-e1hib9t1yt] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--ui-border-light, #e5e7eb);
}

.page-title[b-e1hib9t1yt] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ui-text-primary, #1a1a1a);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.page-subtitle[b-e1hib9t1yt] {
    font-size: 1rem;
    color: var(--ui-text-secondary, #666);
    margin: 0;
}

/* Two-column layout: main content + sidebar */
.ingestion-container[b-e1hib9t1yt] {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}

.ingestion-main[b-e1hib9t1yt] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===================================
   Content Card (Page Structure)
   =================================== */
.content-card[b-e1hib9t1yt] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 
                0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--ui-border-light, #e5e7eb);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.content-card:hover[b-e1hib9t1yt] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Card Header */
.card-header[b-e1hib9t1yt] {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid var(--ui-border-light, #e5e7eb);
    padding: 2rem;
}

.header-content[b-e1hib9t1yt] {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.header-icon[b-e1hib9t1yt] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ui-accent-primary, #3b82f6) 0%, var(--ui-accent-primary-hover, #2563eb) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.header-text[b-e1hib9t1yt] {
    flex: 1;
}

.card-title[b-e1hib9t1yt] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ui-text-primary, #1a1a1a);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.card-subtitle[b-e1hib9t1yt] {
    font-size: 1rem;
    color: var(--ui-text-secondary, #666);
    margin: 0;
    line-height: 1.5;
}

/* Card Body */
.card-body[b-e1hib9t1yt] {
    padding: 2rem;
}

/* ===================================
   Action Bar (Page Actions)
   =================================== */
.action-bar[b-e1hib9t1yt] {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--ui-border-light, #e5e7eb);
}

.action-bar .btn-lg[b-e1hib9t1yt] {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    min-width: 160px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-bar .btn-primary[b-e1hib9t1yt] {
    background: linear-gradient(135deg, var(--ui-accent-primary, #3b82f6) 0%, var(--ui-accent-primary-hover, #2563eb) 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-bar .btn-primary:hover:not(:disabled)[b-e1hib9t1yt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.action-bar .btn-outline-secondary[b-e1hib9t1yt] {
    background: white;
    border: 2px solid var(--ui-border-medium, #d1d5db);
    color: var(--ui-text-secondary, #666);
}

.action-bar .btn-outline-secondary:hover:not(:disabled)[b-e1hib9t1yt] {
    background: var(--ui-bg-secondary, #f8f9fa);
    transform: translateY(-1px);
}

/* ===================================
   Upload Progress Panel
   =================================== */
.upload-progress-panel[b-e1hib9t1yt] {
    border: 1px solid var(--ui-border-light, #e5e7eb);
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

.upload-progress-head[b-e1hib9t1yt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--ui-text-secondary, #666);
    margin-bottom: 0.45rem;
}

.upload-progress-head strong[b-e1hib9t1yt] {
    color: var(--ui-text-primary, #1a1a1a);
    font-weight: 700;
}

.upload-progress-track[b-e1hib9t1yt] {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.upload-progress-fill[b-e1hib9t1yt] {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: width 120ms linear;
}

/* ===================================
   Analysis Success Banner
   =================================== */
.analysis-success-banner[b-e1hib9t1yt] {
    margin: 1rem 2rem 0;
}

/* ===================================
   Processing Note
   =================================== */
.processing-note[b-e1hib9t1yt] {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: var(--ui-text-secondary, #666);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.processing-note i[b-e1hib9t1yt] {
    color: var(--ui-accent-primary, #3b82f6);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* ===================================
   Requirement Styles (Inline in RequirementsCard)
   These are used directly in the page's RequirementsCard content
   =================================== */
.requirement-item[b-e1hib9t1yt] {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.requirement-item:hover[b-e1hib9t1yt] {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transform: translateX(4px);
}

.requirement-item.optional[b-e1hib9t1yt] {
    border-style: dashed;
    opacity: 0.85;
}

.req-icon[b-e1hib9t1yt] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ui-accent-primary, #3b82f6);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.req-content[b-e1hib9t1yt] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.req-title[b-e1hib9t1yt] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ui-text-primary, #1a1a1a);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.optional-badge[b-e1hib9t1yt] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--ui-accent-primary, #3b82f6);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.req-description[b-e1hib9t1yt] {
    font-size: 0.875rem;
    color: var(--ui-text-secondary, #666);
    line-height: 1.5;
}

.rework-list[b-e1hib9t1yt] {
    margin: var(--space-xs, 8px) 0 0 var(--space-md, 16px);
    padding: 0;
}

.rework-list li[b-e1hib9t1yt] {
    margin-bottom: var(--space-xs, 8px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .ingestion-container[b-e1hib9t1yt] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-container[b-e1hib9t1yt] {
        padding: 1rem;
    }
    
    .page-header[b-e1hib9t1yt] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-bar[b-e1hib9t1yt] {
        flex-direction: column;
    }
    
    .action-bar .btn-lg[b-e1hib9t1yt] {
        width: 100%;
    }
    
    .card-header[b-e1hib9t1yt] {
        padding: 1.5rem;
    }
    
    .card-body[b-e1hib9t1yt] {
        padding: 1.5rem;
    }
    
    .header-content[b-e1hib9t1yt] {
        flex-direction: column;
        text-align: center;
    }
    
    .requirement-item[b-e1hib9t1yt] {
        flex-direction: column;
        text-align: center;
    }
    
    .req-icon[b-e1hib9t1yt] {
        align-self: center;
    }
}
/* _content/LibraProducts.Web/Pages/Company/CompanyProfile.razor.rz.scp.css */
.company-profile-page .mock-badge[b-49qaw0yo2j] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.kpi-row[b-49qaw0yo2j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.metric-card span[b-49qaw0yo2j] {
    color: var(--ui-text-muted, #6b7280);
    font-size: 0.78rem;
    display: block;
}

.metric-card strong[b-49qaw0yo2j] {
    font-size: 1.1rem;
}

.company-grid[b-49qaw0yo2j] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.full-row[b-49qaw0yo2j] {
    grid-column: 1 / -1;
}

.definition-grid[b-49qaw0yo2j] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.definition-grid div[b-49qaw0yo2j] {
    border-bottom: 1px dashed var(--ui-border-light, #e5e7eb);
    padding-bottom: 0.4rem;
}

.definition-grid span[b-49qaw0yo2j] {
    display: block;
    color: var(--ui-text-muted, #6b7280);
    font-size: 0.78rem;
}

.definition-grid strong[b-49qaw0yo2j] {
    font-size: 0.92rem;
}

.form-grid[b-49qaw0yo2j] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-grid label[b-49qaw0yo2j] {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ui-text-secondary, #374151);
}

.status-dot[b-49qaw0yo2j] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
}

.status-dot.active[b-49qaw0yo2j] {
    background-color: #16a34a;
}

.status-dot.inactive[b-49qaw0yo2j] {
    background-color: #9ca3af;
}

@media (max-width: 992px) {
    .kpi-row[b-49qaw0yo2j] {
        grid-template-columns: 1fr 1fr;
    }

    .company-grid[b-49qaw0yo2j],
    .definition-grid[b-49qaw0yo2j],
    .form-grid[b-49qaw0yo2j] {
        grid-template-columns: 1fr;
    }
}
/* _content/LibraProducts.Web/Pages/Products/ProductCreate.razor.rz.scp.css */
.product-state-center[b-yp101fpw1t] {
    min-height: 52vh;
}

.uom-conversion-hint[b-yp101fpw1t] {
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--ui-border-light);
    border-radius: var(--radius-md);
    background: var(--ui-bg-secondary);
    color: var(--ui-text-secondary);
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .libra-page-actions .libra-btn[b-yp101fpw1t] {
        flex: 1;
    }
}
/* _content/LibraProducts.Web/Pages/Products/ProductDetail.razor.rz.scp.css */
.form-container :global(.libra-form-sections)[b-6jfiw1owfr] {
    gap: var(--space-3);
}

.form-container :global(.libra-section-fields)[b-6jfiw1owfr] {
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
/* _content/LibraProducts.Web/Pages/Products/ProductEdit.razor.rz.scp.css */
.product-state-center[b-d0eefq9suo] {
    min-height: 52vh;
}

@media (max-width: 768px) {
    .libra-page-actions .libra-btn[b-d0eefq9suo] {
        flex: 1;
    }
}
/* _content/LibraProducts.Web/Pages/Products/ProductGrid.razor.rz.scp.css */
/* Product grid uses shared page layout styles from RCL (_layout.css). */

.product-grid-host[b-3s3qnme88d] {
    min-height: 0;
}

/* Keep footer/pagination visible while scrolling rows inside the grid body. */
[b-3s3qnme88d] .product-grid-host .libra-grid {
    height: calc(100vh - 220px) !important;
    min-height: 520px !important;
    max-height: 78vh !important;
}

[b-3s3qnme88d] .product-grid-host .libra-grid-container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: auto !important;
}

[b-3s3qnme88d] .product-grid-host .libra-grid-table {
    min-width: 100%;
    width: max-content;
}

@media (max-width: 992px) {
    [b-3s3qnme88d] .product-grid-host .libra-grid {
        height: calc(100vh - 190px) !important;
        min-height: 420px !important;
    }
}
/* _content/LibraProducts.Web/Pages/Profile/UserProfile.razor.rz.scp.css */
.profile-page .mock-badge[b-sdd1tn77l8] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.profile-grid[b-sdd1tn77l8] {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1rem;
}

.identity-card[b-sdd1tn77l8] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar[b-sdd1tn77l8] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.identity-main h2[b-sdd1tn77l8] {
    margin: 0;
    font-size: 1.15rem;
}

.identity-main p[b-sdd1tn77l8] {
    margin: 0.2rem 0 0.6rem 0;
    color: var(--ui-text-muted, #6b7280);
}

.identity-meta[b-sdd1tn77l8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip[b-sdd1tn77l8] {
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
}

.chip-muted[b-sdd1tn77l8] {
    background: #f3f4f6;
    color: #374151;
}

.chip-success[b-sdd1tn77l8] {
    background: #dcfce7;
    color: #166534;
}

.form-grid[b-sdd1tn77l8],
.prefs-grid[b-sdd1tn77l8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.form-grid label[b-sdd1tn77l8],
.prefs-grid label[b-sdd1tn77l8] {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ui-text-secondary, #374151);
}

.toggle-row[b-sdd1tn77l8] {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--ui-border-light, #e5e7eb);
    border-radius: 0.5rem;
}

.security-list[b-sdd1tn77l8] {
    display: grid;
    gap: 0.65rem;
}

.security-list div[b-sdd1tn77l8] {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--ui-border-light, #e5e7eb);
    padding-bottom: 0.45rem;
}

.security-list span[b-sdd1tn77l8] {
    color: var(--ui-text-muted, #6b7280);
    font-size: 0.82rem;
}

@media (max-width: 992px) {
    .profile-grid[b-sdd1tn77l8] {
        grid-template-columns: 1fr;
    }

    .form-grid[b-sdd1tn77l8],
    .prefs-grid[b-sdd1tn77l8] {
        grid-template-columns: 1fr;
    }
}
/* _content/LibraProducts.Web/Pages/Settings/CompanySettings.razor.rz.scp.css */
.setting-list[b-duriyre7ug] {
    display: grid;
    gap: var(--space-3, 0.75rem);
}

.settings-context-text[b-duriyre7ug] {
    margin-bottom: var(--space-2, 0.5rem);
}

.validation-link-button[b-duriyre7ug] {
    font-weight: 600;
    text-decoration: underline;
}

.short-input[b-duriyre7ug] {
    width: 100px;
}

.settings-inline-control-group[b-duriyre7ug] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3, 0.75rem);
    flex-wrap: wrap;
}

.settings-inline-checkbox[b-duriyre7ug] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    margin: 0;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--ui-border-light, #e5e7eb);
    border-radius: var(--ui-radius-md, 0.5rem);
    background: var(--ui-bg-primary, #fff);
}

.settings-inline-checkbox .form-check-input[b-duriyre7ug] {
    margin: 0;
}

.settings-inline-checkbox .form-check-label[b-duriyre7ug] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ui-text-secondary, #374151);
}

.extra-fields-toolbar[b-duriyre7ug] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    margin-bottom: var(--space-3, 0.75rem);
}

.extra-fields-search[b-duriyre7ug] {
    max-width: 280px;
}

.extra-fields-quick-add[b-duriyre7ug] {
    max-width: 240px;
}

.extra-field-editor[b-duriyre7ug] {
    border: 1px solid var(--ui-border-light, #e5e7eb);
    border-radius: var(--ui-radius-md, 0.5rem);
    padding: var(--space-4, 1rem);
    margin-bottom: var(--space-3, 0.75rem);
    background: var(--ui-bg-primary, #fff);
}

.extra-field-editor-title[b-duriyre7ug] {
    font-weight: 600;
    margin-bottom: var(--space-3, 0.75rem);
    color: var(--ui-text-secondary, #374151);
}

.extra-field-editor-actions[b-duriyre7ug] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2, 0.5rem);
    margin-top: var(--space-3, 0.75rem);
}

@media (max-width: 768px) {
    .extra-fields-toolbar[b-duriyre7ug] {
        flex-direction: column;
        align-items: stretch;
    }

    .extra-fields-search[b-duriyre7ug] {
        max-width: 100%;
    }

    .extra-fields-quick-add[b-duriyre7ug] {
        max-width: 100%;
    }

    .short-input[b-duriyre7ug] {
        width: 100%;
    }

    .settings-inline-control-group[b-duriyre7ug] {
        justify-content: flex-start;
    }

}
