@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

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

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

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

.top-row[b-p31db7zhvw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

    .top-row[b-p31db7zhvw], article[b-p31db7zhvw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/ApplicationManagement/OrderCreation/Components/AvailableItems.razor.rz.scp.css */
/* AvailableItems.razor.css - Available items component styling */

.available-items-panel[b-2ptbjm64er] {
    margin-bottom: 1rem;
}

.panel-header-content[b-2ptbjm64er] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.panel-title-section[b-2ptbjm64er] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-icon[b-2ptbjm64er] {
    font-size: 1.25rem;
    color: var(--rz-primary);
}

.panel-title[b-2ptbjm64er] {
    font-weight: 600;
    font-size: 1.1rem;
}

.panel-subtitle[b-2ptbjm64er] {
    font-size: 0.875rem;
    color: var(--rz-text-secondary-color);
}

.items-badge[b-2ptbjm64er] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--rz-text-secondary-color);
}

.loading-state[b-2ptbjm64er],
.empty-state[b-2ptbjm64er] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state h3[b-2ptbjm64er] {
    margin: 1rem 0 0.5rem;
    color: var(--rz-text-color);
}

.empty-state p[b-2ptbjm64er] {
    color: var(--rz-text-secondary-color);
    margin: 0;
}

.jspreadsheet-container[b-2ptbjm64er] {
/*    min-height: 400px;*/
    width: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid var(--rz-border-color);
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .panel-header-content[b-2ptbjm64er] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .items-badge[b-2ptbjm64er] {
        align-self: flex-end;
    }

    .empty-state[b-2ptbjm64er],
    .loading-state[b-2ptbjm64er] {
        padding: 2rem 1rem;
    }

    .jspreadsheet-container[b-2ptbjm64er] {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .panel-title[b-2ptbjm64er] {
        font-size: 1rem;
    }

    .panel-subtitle[b-2ptbjm64er] {
        font-size: 0.8125rem;
    }

    .empty-state h3[b-2ptbjm64er] {
        font-size: 1.125rem;
    }

    .empty-state p[b-2ptbjm64er] {
        font-size: 0.875rem;
    }
}

/* Animation */
.available-items-panel[b-2ptbjm64er] {
    animation: fadeInUp-b-2ptbjm64er 0.4s ease-out;
}

@keyframes fadeInUp-b-2ptbjm64er {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* JSSpreadsheet specific styles */
.jspreadsheet-container .jexcel_content[b-2ptbjm64er] {
    border-radius: 0.375rem;
}

.jspreadsheet-container .jexcel thead td[b-2ptbjm64er] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: var(--rz-text-color);
    border-bottom: 2px solid var(--rz-border-color);
}

.jspreadsheet-container .jexcel tbody tr:hover[b-2ptbjm64er] {
    background-color: rgba(0, 123, 255, 0.05);
}

.jspreadsheet-container .jexcel tbody tr.selected[b-2ptbjm64er] {
    background-color: rgba(0, 123, 255, 0.1);
}
/* /Pages/ApplicationManagement/OrderCreation/Components/FilterSection.razor.rz.scp.css */
/* FilterSection.razor.css - Filter component styling */

.filters-section[b-ifxo1cluyd] {
    background: white;
    border: 1px solid var(--rz-border-color);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.filters-header[b-ifxo1cluyd] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--rz-border-color);
}

.filters-title[b-ifxo1cluyd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--rz-text-color);
}

.filter-icon[b-ifxo1cluyd] {
    font-size: 1.25rem;
    color: var(--rz-primary);
}

.filters-container[b-ifxo1cluyd] {
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.filter-group[b-ifxo1cluyd] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
    flex: 1;
}

.filter-group.filter-actions[b-ifxo1cluyd] {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    min-width: auto;
    flex: 0 0 auto;
}

.filter-label[b-ifxo1cluyd] {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--rz-text-color);
    margin-bottom: 0.25rem;
}

.filter-dropdown[b-ifxo1cluyd] {
    width: 100%;
    min-width: 200px;
}

.load-items-btn[b-ifxo1cluyd] {
    min-width: 120px;
    background-color: var(--primary-1);
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: all 0.2s ease;
}

.load-items-btn:hover:not(:disabled)[b-ifxo1cluyd] {
    background-color: var(--finstock-secondary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 37, 84, 0.3);
}

.load-items-btn:disabled[b-ifxo1cluyd] {
    opacity: 0.6;
    cursor: not-allowed;
}

.reset-filters-btn[b-ifxo1cluyd] {
    min-width: 100px;
    border-color: var(--finstock-dark-grey);
    color: var(--finstock-dark-grey);
    font-weight: 500;
    transition: all 0.2s ease;
}

.reset-filters-btn:hover:not(:disabled)[b-ifxo1cluyd] {
    background-color: var(--finstock-dark-grey);
    color: var(--finstock-white);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filters-container[b-ifxo1cluyd] {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group[b-ifxo1cluyd] {
        min-width: 100%;
    }

    .filter-group.filter-actions[b-ifxo1cluyd] {
        flex-direction: column;
        width: 100%;
    }

    .filter-group.filter-actions .rz-button[b-ifxo1cluyd] {
        width: 100%;
        min-width: unset;
    }

    .filters-header[b-ifxo1cluyd] {
        padding: 0.875rem 1rem;
    }

    .filters-container[b-ifxo1cluyd] {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .filters-title[b-ifxo1cluyd] {
        font-size: 1rem;
    }

    .filter-label[b-ifxo1cluyd] {
        font-size: 0.8125rem;
    }
}

/* Loading State */
.filters-section.loading[b-ifxo1cluyd] {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.filter-dropdown:focus-within[b-ifxo1cluyd] {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    border-color: var(--rz-primary);
}

/* Animation */
.filters-section[b-ifxo1cluyd] {
    animation: slideIn-b-ifxo1cluyd 0.3s ease-out;
}

@keyframes slideIn-b-ifxo1cluyd {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/ApplicationManagement/OrderCreation/Components/OrderHistory.razor.rz.scp.css */
/* Enhanced OrderHistory.razor.css - Order history component styling with hierarchical view */

/* Base Panel Styles */
.order-history-panel[b-7o1e2b25x0] {
    margin-bottom: 1rem;
}

.order-history-panel.enhanced[b-7o1e2b25x0] {
    margin-bottom: 20px;
}

.panel-header-content[b-7o1e2b25x0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.panel-title-section[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-icon[b-7o1e2b25x0] {
    font-size: 1.25rem;
    color: var(--rz-primary);
}

.panel-title[b-7o1e2b25x0] {
    font-weight: 600;
    font-size: 1.1rem;
}

.panel-subtitle[b-7o1e2b25x0] {
    font-size: 0.875rem;
    color: var(--rz-text-secondary-color);
}

.panel-stats[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-actions[b-7o1e2b25x0] {
    display: flex;
    gap: 8px;
}

.expand-btn[b-7o1e2b25x0],
.refresh-btn[b-7o1e2b25x0] {
    min-width: 80px;
    transition: all 0.2s ease;
}

.expand-btn:hover:not(:disabled)[b-7o1e2b25x0],
.refresh-btn:hover:not(:disabled)[b-7o1e2b25x0] {
    transform: translateY(-1px);
}

.orders-badge[b-7o1e2b25x0] {
    font-size: 0.875rem;
    color: var(--rz-text-secondary-color);
    background-color: rgba(108, 117, 125, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.order-history-panel.enhanced .rz-panel-content[b-7o1e2b25x0] {
    padding: 14px;
    padding-top: 20px;
    background: #fafafa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Order Container - Hierarchical View */
.order-container[b-7o1e2b25x0] {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-container.expanded[b-7o1e2b25x0] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Order Header */
.order-header[b-7o1e2b25x0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.order-header:hover[b-7o1e2b25x0] {
    background: #f8f9fa;
}

.order-header-left[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.order-info[b-7o1e2b25x0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-id-line[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-id[b-7o1e2b25x0] {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--finstock-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.order-id-line .status-badge[b-7o1e2b25x0] {
    margin-left: 4px;
}

.order-dates-line[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.date-info[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
}

.date-label[b-7o1e2b25x0] {
    color: var(--finstock-dark-grey);
    font-weight: 500;
}

.date-value[b-7o1e2b25x0] {
    color: var(--finstock-text);
    font-weight: 600;
}

.date-separator[b-7o1e2b25x0] {
    color: #dee2e6;
    font-weight: 300;
}

.order-processed-line[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.processed-info[b-7o1e2b25x0] {
    color: var(--finstock-dark-grey);
    font-size: 0.8rem;
}

.order-header-right[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-summary-stats[b-7o1e2b25x0] {
    display: flex;
    gap: 10px;
}

.stat-badge[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-badge.suppliers[b-7o1e2b25x0] {
    background: #e3f2fd;
    color: #1976d2;
}

.stat-badge.items[b-7o1e2b25x0] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.stat-badge.total[b-7o1e2b25x0] {
    background: #e8f5e9;
    color: #388e3c;
    font-weight: 600;
}

/* Order Details */
.order-details[b-7o1e2b25x0] {
    background: #f5f6f8;
    border-top: 1px solid #dee2e6;
    padding: 14px;
}

/* Supplier-Location Group - Matching Pending Approvals Style */
.supplier-location-group[b-7o1e2b25x0] {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.2s ease;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
}

.supplier-location-group:last-child[b-7o1e2b25x0] {
    border-bottom: none;
}

.supplier-location-group:hover[b-7o1e2b25x0] {
    background: #f0f1f3;
}

.supplier-header[b-7o1e2b25x0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.supplier-header:hover[b-7o1e2b25x0] {
    background: #eff0f2;
    border-left-color: #007bff;
}

.supplier-header-left[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.supplier-location-info[b-7o1e2b25x0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.supplier-info-line[b-7o1e2b25x0],
.location-info-line[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.info-label[b-7o1e2b25x0] {
    color: var(--finstock-dark-grey);
    font-weight: 500;
    min-width: 60px;
}

.info-value[b-7o1e2b25x0] {
    color: var(--finstock-text);
    font-size: 0.8125rem;
    font-weight: 600;
}

.supplier-header-right[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
}

.supplier-stats[b-7o1e2b25x0] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.items-count[b-7o1e2b25x0] {
    color: #6c757d;
    font-size: 0.875rem;
    background: rgba(108, 117, 125, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.group-total[b-7o1e2b25x0] {
    font-weight: 700;
    color: var(--secondary-2);
    font-size: 0.95rem;
}

/* Items Container */
.items-container[b-7o1e2b25x0] {
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    animation: slideDown-b-7o1e2b25x0 0.3s ease;
}

/* Items Detail Table */
.items-detail-table[b-7o1e2b25x0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.items-detail-table thead[b-7o1e2b25x0] {
    background: #f8f9fa;
}

.items-detail-table th[b-7o1e2b25x0] {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.items-detail-table td[b-7o1e2b25x0] {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
}

.items-detail-table tbody tr:hover[b-7o1e2b25x0] {
    background: #f8f9fa;
}

.item-code[b-7o1e2b25x0] {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-desc[b-7o1e2b25x0] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.item-date[b-7o1e2b25x0] {
    color: #6c757d;
    font-size: 12px;
}

.item-qty[b-7o1e2b25x0] {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
}

.item-comment[b-7o1e2b25x0] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6c757d;
    font-size: 11px;
}

.no-comment[b-7o1e2b25x0] {
    color: #adb5bd;
}

/* Approved Quantity Styles */
.item-approved-qty[b-7o1e2b25x0] {
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.approved-qty-full[b-7o1e2b25x0] {
    color: #28a745;
}

.approved-qty-partial[b-7o1e2b25x0] {
    color: #ff9800;
    font-weight: 700;
    background: rgba(255, 152, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.no-approved-qty[b-7o1e2b25x0] {
    color: #adb5bd;
    font-style: italic;
}

/* Processed Comment Styles */
.item-processed-comment[b-7o1e2b25x0] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
}

.processed-comment-text[b-7o1e2b25x0] {
    color: #004085;
    background: rgba(204, 229, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 64, 133, 0.1);
    font-weight: 500;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-processed-comment[b-7o1e2b25x0] {
    color: #adb5bd;
    font-style: italic;
}

/* Status-specific styling for item rows */
.items-detail-table tbody tr[b-7o1e2b25x0] {
    position: relative;
}

.items-detail-table tbody tr td.item-status span[b-7o1e2b25x0] {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.no-status[b-7o1e2b25x0] {
    color: #adb5bd;
    font-style: italic;
}

.no-processed[b-7o1e2b25x0] {
    color: #adb5bd;
    font-style: italic;
}

.item-cost[b-7o1e2b25x0],
.item-total[b-7o1e2b25x0] {
    text-align: right;
    font-weight: 500;
    font-size: 12px;
}

/* Subtotal Row */
.subtotal-row[b-7o1e2b25x0] {
    background: #f8f9fa;
    font-weight: 600;
}

.subtotal-row td[b-7o1e2b25x0] {
    padding: 10px 12px;
    border-top: 2px solid #dee2e6;
    border-bottom: none;
}

.text-center[b-7o1e2b25x0] {
    text-align: center;
}

.text-right[b-7o1e2b25x0] {
    text-align: right;
}

/* Order Total Summary */
.order-total-summary[b-7o1e2b25x0] {
    margin-top: 16px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.summary-row[b-7o1e2b25x0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label[b-7o1e2b25x0] {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.summary-value[b-7o1e2b25x0] {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1rem;
}

/* Status Badges */
.status-badge[b-7o1e2b25x0] {
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

.status-pending[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-approved[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-rejected[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.1) 100%);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-revoked[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15) 0%, rgba(108, 117, 125, 0.1) 100%);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.status-mixed[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.15) 0%, rgba(111, 66, 193, 0.1) 100%);
    color: #4a2c7a;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

.status-processing[b-7o1e2b25x0] {
    background: #cce5ff;
    color: #004085;
}

.status-completed[b-7o1e2b25x0] {
    background: #d1ecf1;
    color: #0c5460;
}

.status-unknown[b-7o1e2b25x0] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

/* Action Buttons */
.order-actions[b-7o1e2b25x0] {
    display: flex;
    gap: 8px;
}

.revoke-btn[b-7o1e2b25x0],
.reorder-btn[b-7o1e2b25x0] {
    min-width: 70px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.revoke-btn[b-7o1e2b25x0] {
    background: linear-gradient(135deg, var(--rz-danger) 0%, #c82333 100%);
}

.revoke-btn:hover:not(:disabled)[b-7o1e2b25x0] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.reorder-btn[b-7o1e2b25x0] {
    background: linear-gradient(135deg, var(--rz-primary) 0%, #0056b3 100%);
}

.reorder-btn:hover:not(:disabled)[b-7o1e2b25x0] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Loading State */
.loading-state[b-7o1e2b25x0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading-state p[b-7o1e2b25x0] {
    margin-top: 16px;
    font-size: 1rem;
}

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

.empty-state h3[b-7o1e2b25x0] {
    margin-top: 16px;
    margin-bottom: 8px;
    color: #495057;
}

.empty-state p[b-7o1e2b25x0] {
    color: #6c757d;
    max-width: 400px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .panel-header-content[b-7o1e2b25x0] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .order-header[b-7o1e2b25x0] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .order-header-right[b-7o1e2b25x0] {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .supplier-header[b-7o1e2b25x0] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .items-detail-table[b-7o1e2b25x0] {
        font-size: 0.8rem;
    }
    
    .items-detail-table th[b-7o1e2b25x0],
    .items-detail-table td[b-7o1e2b25x0] {
        padding: 6px 8px;
    }
    
    .status-badge[b-7o1e2b25x0] {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .panel-title[b-7o1e2b25x0] {
        font-size: 1rem;
    }

    .panel-subtitle[b-7o1e2b25x0] {
        font-size: 0.8125rem;
    }

    .empty-state h3[b-7o1e2b25x0] {
        font-size: 1.125rem;
    }

    .empty-state p[b-7o1e2b25x0] {
        font-size: 0.875rem;
    }

    .revoke-btn[b-7o1e2b25x0],
    .reorder-btn[b-7o1e2b25x0] {
        font-size: 0.8125rem;
        min-width: 60px;
    }
}

/* Animation */
@keyframes slideDown-b-7o1e2b25x0 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-details[b-7o1e2b25x0],
.items-container[b-7o1e2b25x0] {
    animation: slideDown-b-7o1e2b25x0 0.3s ease;
}

.order-history-panel[b-7o1e2b25x0] {
    animation: slideInRight-b-7o1e2b25x0 0.4s ease-out;
}

@keyframes slideInRight-b-7o1e2b25x0 {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.status-badge[b-7o1e2b25x0] {
    animation: fadeIn-b-7o1e2b25x0 0.2s ease-out;
}

@keyframes fadeIn-b-7o1e2b25x0 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .order-history-panel[b-7o1e2b25x0] {
        break-inside: avoid;
    }
    
    .panel-stats[b-7o1e2b25x0],
    .expand-btn[b-7o1e2b25x0],
    .refresh-btn[b-7o1e2b25x0],
    .revoke-btn[b-7o1e2b25x0],
    .reorder-btn[b-7o1e2b25x0] {
        display: none;
    }
}
/* /Pages/ApplicationManagement/OrderCreation/Components/OrderSummary.razor.rz.scp.css */
/* Compact Order Summary Styles */

/* Panel Overrides for Compact Mode */
.order-summary-panel.compact[b-augrbjhwgf] {
    margin-bottom: 1rem !important;
}

.order-summary-panel.compact .rz-panel-content[b-augrbjhwgf] {
    padding: 0.75rem !important;
}

/* Compact Header */
.compact-header[b-augrbjhwgf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
}

.header-left[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon[b-augrbjhwgf] {
    font-size: 1.25rem;
    color: var(--primary-1);
    opacity: 0.8;
}

.header-title[b-augrbjhwgf] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--finstock-text);
}

.header-status[b-augrbjhwgf] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.header-right[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.header-badges[b-augrbjhwgf] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.compact-badge[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.compact-badge.suppliers[b-augrbjhwgf] {
    background: #e3f2fd;
    color: #1976d2;
}

.compact-badge.items[b-augrbjhwgf] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.compact-badge.total[b-augrbjhwgf] {
    background: #e8f5e9;
    color: #388e3c;
    font-weight: 600;
}

/* Empty State Compact */
.empty-state.compact[b-augrbjhwgf] {
    padding: 2rem 1rem;
    min-height: 120px;
    text-align: center;
}

.empty-state.compact p[b-augrbjhwgf] {
    margin: 0.5rem 0 0 0;
    color: var(--finstock-dark-grey);
    font-size: 0.875rem;
}

/* Compact Summary Content */
.compact-summary-content[b-augrbjhwgf] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Summary Statistics Row */
.summary-stats-row[b-augrbjhwgf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.stat-item[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.stat-label[b-augrbjhwgf] {
    font-size: 0.75rem;
    color: var(--finstock-dark-grey);
    font-weight: 500;
}

.stat-value[b-augrbjhwgf] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--finstock-text);
}

.stat-value.primary[b-augrbjhwgf] {
    color: var(--primary-1);
}

.stat-value.success[b-augrbjhwgf] {
    color: var(--finstock-success);
}

.stat-value.warning[b-augrbjhwgf] {
    color: var(--finstock-warning);
}

/* Supplier-Location Breakdown */
.supplier-location-breakdown[b-augrbjhwgf] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fafbfc;
}

.breakdown-header[b-augrbjhwgf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.75rem;
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

.breakdown-title[b-augrbjhwgf] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
}

/* Supplier-Location Cards */
.supplier-location-card[b-augrbjhwgf] {
    background: white;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.supplier-location-card:last-child[b-augrbjhwgf] {
    border-bottom: none;
}

.supplier-location-card:hover[b-augrbjhwgf] {
    background: rgba(0, 123, 255, 0.02);
}

.supplier-location-card.expanded[b-augrbjhwgf] {
    margin: 12px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
}

.supplier-location-card.expanded:first-child[b-augrbjhwgf] {
    margin-top: 8px;
}

.supplier-location-card.expanded:last-child[b-augrbjhwgf] {
    margin-bottom: 8px;
}

/* When expanded, hide the default border */
.supplier-location-card.expanded[b-augrbjhwgf] {
    border-bottom: none;
}

/* Add spacing between consecutive expanded cards */
.supplier-location-card.expanded + .supplier-location-card[b-augrbjhwgf] {
    margin-top: 20px;
}

.supplier-location-card.expanded + .supplier-location-card.expanded[b-augrbjhwgf] {
    margin-top: 24px;
}

/* Card Header */
.card-header[b-augrbjhwgf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.card-header:hover[b-augrbjhwgf] {
    background: rgba(0, 123, 255, 0.05);
}

/* Enhanced header styling when expanded */
.supplier-location-card.expanded .card-header[b-augrbjhwgf] {
    background: #f5f6f8;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 16px;
    color: #2c3e50;
}

.supplier-location-card.expanded .card-header:hover[b-augrbjhwgf] {
    background: #eff0f2;
}

/* Update text colors for expanded header */
.supplier-location-card.expanded .supplier-info-line[b-augrbjhwgf],
.supplier-location-card.expanded .location-info-line[b-augrbjhwgf] {
    color: #2c3e50;
}

.supplier-location-card.expanded .info-label[b-augrbjhwgf] {
    color: #6c757d;
    font-weight: 500;
}

.supplier-location-card.expanded .info-value[b-augrbjhwgf] {
    color: #2c3e50;
    font-weight: 600;
}

.supplier-location-card.expanded .items-count[b-augrbjhwgf] {
    color: #6c757d;
    font-size: 0.875rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.supplier-location-card.expanded .group-total[b-augrbjhwgf] {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.card-header-left[b-augrbjhwgf] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.supplier-location-info[b-augrbjhwgf] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.supplier-info-line[b-augrbjhwgf],
.location-info-line[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
}

.info-label[b-augrbjhwgf] {
    color: #6c757d;
    font-weight: 500;
    min-width: 60px;
}

.info-value[b-augrbjhwgf] {
    color: #212529;
    font-weight: 600;
}

.card-header-right[b-augrbjhwgf] {
    display: flex;
    align-items: center;
}

.group-stats[b-augrbjhwgf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.items-count[b-augrbjhwgf] {
    color: #6c757d;
    font-size: 0.875rem;
}

.group-total[b-augrbjhwgf] {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.mov-pill[b-augrbjhwgf] {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mov-pill.mov-met[b-augrbjhwgf] {
    background: #d4edda;
    color: #155724;
}

.mov-pill.mov-not-met[b-augrbjhwgf] {
    background: #f8d7da;
    color: #721c24;
}

/* Card Content - Items Table */
.card-content[b-augrbjhwgf] {
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    animation: slideDown-b-augrbjhwgf 0.2s ease-out;
}

.items-table[b-augrbjhwgf] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.items-table thead[b-augrbjhwgf] {
    background: #f8f9fa;
}

.items-table th[b-augrbjhwgf] {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

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

.items-table td[b-augrbjhwgf] {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
}

.item-code-cell[b-augrbjhwgf] {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-desc-cell[b-augrbjhwgf] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.item-date-cell[b-augrbjhwgf] {
    color: #6c757d;
    font-size: 12px;
    white-space: nowrap;
}

.item-qty-cell[b-augrbjhwgf] {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
}

.item-cost-cell[b-augrbjhwgf],
.item-total-cell[b-augrbjhwgf] {
    text-align: right;
    font-weight: 500;
    font-size: 12px;
}

/* Comment Cell */
.item-comment-cell[b-augrbjhwgf] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6c757d;
    font-size: 11px;
}

.no-comment[b-augrbjhwgf] {
    color: #adb5bd;
}

/* Subtotal Row */
.subtotal-row[b-augrbjhwgf] {
    background: #f8f9fa;
    font-weight: 600;
}

.subtotal-row td[b-augrbjhwgf] {
    padding: 10px 12px;
    border-top: 2px solid #dee2e6;
    border-bottom: none;
}

.text-center[b-augrbjhwgf] {
    text-align: center;
}

.text-right[b-augrbjhwgf] {
    text-align: right;
}

/* Compact Order Actions */
.compact-order-actions[b-augrbjhwgf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
    gap: 0.75rem;
}

.compact-order-actions .rz-button[b-augrbjhwgf] {
    font-size: 0.8125rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .compact-header[b-augrbjhwgf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .header-right[b-augrbjhwgf] {
        width: 100%;
        margin-right: 0;
    }
    
    .summary-stats-row[b-augrbjhwgf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-header[b-augrbjhwgf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-header-right[b-augrbjhwgf] {
        width: 100%;
    }
    
    .group-stats[b-augrbjhwgf] {
        justify-content: space-between;
        width: 100%;
    }
    
    .items-table[b-augrbjhwgf] {
        font-size: 0.65rem;
    }
    
    .items-table th[b-augrbjhwgf],
    .items-table td[b-augrbjhwgf] {
        padding: 0.375rem 0.25rem;
    }
    
    .item-desc-cell[b-augrbjhwgf] {
        max-width: 150px;
    }
    
    .compact-order-actions[b-augrbjhwgf] {
        flex-direction: column;
    }
    
    .compact-order-actions .rz-button[b-augrbjhwgf] {
        width: 100%;
    }
}

/* Animation for expanding/collapsing */
@keyframes slideDown-b-augrbjhwgf {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1500px;
    }
}

/* Visual hierarchy improvements */
.breakdown-header[b-augrbjhwgf] {
    position: sticky;
    top: 0;
    z-index: 10;
}


/* /Pages/ApplicationManagement/OrderCreation/Components/PendingApprovals.razor.rz.scp.css */
/* PendingApprovals Component Styles */

/* Panel Styling - Matches Order Summary */
.pending-approvals-panel.compact[b-0n0e585yn5] {
    margin-bottom: 20px;
}

.pending-approvals-panel.compact .rz-panel-titlebar[b-0n0e585yn5] {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-bottom: 2px solid #fee0e0;
    padding: 0.875rem 1.25rem;
}

.pending-approvals-panel.compact .rz-panel-content[b-0n0e585yn5] {
    padding: 14px;
    padding-top: 20px;
    background: #fafbfc;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.pending-approvals-container[b-0n0e585yn5] {
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fafbfc;
}

/* Panel Header - Using same styles as Order History */
.panel-header-content[b-0n0e585yn5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.panel-title-section[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-icon[b-0n0e585yn5] {
    font-size: 1.25rem;
    color: var(--finstock-primary-orange);
}

.panel-title-text[b-0n0e585yn5] {
    display: flex;
    flex-direction: column;
}

.panel-title[b-0n0e585yn5] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--finstock-text);
}

.panel-subtitle[b-0n0e585yn5] {
    font-size: 0.875rem;
    color: var(--finstock-dark-grey);
}

.panel-stats[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.orders-badge[b-0n0e585yn5] {
    font-size: 0.875rem;
    color: var(--finstock-dark-grey);
    background-color: rgba(109, 110, 113, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.header-badges[b-0n0e585yn5] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.compact-badge[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.compact-badge.orders[b-0n0e585yn5] {
    background: rgba(239, 68, 68, 0.1);
    color: var(--finstock-error);
}

.compact-badge.items[b-0n0e585yn5] {
    background: rgba(46, 96, 157, 0.1);
    color: var(--finstock-secondary-blue);
}

.compact-badge.total[b-0n0e585yn5] {
    background: rgba(80, 166, 132, 0.1);
    color: var(--secondary-2);
    font-weight: 600;
}

/* Loading State */
.approval-loading[b-0n0e585yn5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    gap: 16px;
}

.approval-loading p[b-0n0e585yn5] {
    color: var(--finstock-dark-grey);
    font-size: 14px;
    margin: 0;
}

/* Order Container - Now the main container for each order */
.order-container[b-0n0e585yn5] {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-container.expanded[b-0n0e585yn5] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Order Header */
.order-header[b-0n0e585yn5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.order-header:hover[b-0n0e585yn5] {
    background: #f8f9fa;
}

.order-header-left[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

/* Expand icons now handled by RadzenIcon components */

.order-info[b-0n0e585yn5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-id-line[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-id[b-0n0e585yn5] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Status Badge */
.status-badge[b-0n0e585yn5] {
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

.status-pending[b-0n0e585yn5] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-approved[b-0n0e585yn5] {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-rejected[b-0n0e585yn5] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.1) 100%);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.order-dates-line[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.date-info[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
}

.date-label[b-0n0e585yn5] {
    color: #6c757d;
    font-weight: 500;
}

.date-value[b-0n0e585yn5] {
    color: #2c3e50;
    font-weight: 600;
}

.date-separator[b-0n0e585yn5] {
    color: #dee2e6;
    font-weight: 300;
}

.order-header-right[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-summary-stats[b-0n0e585yn5] {
    display: flex;
    gap: 10px;
}

.stat-badge[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-badge.suppliers[b-0n0e585yn5] {
    background: #e3f2fd;
    color: #1976d2;
}

.stat-badge.items[b-0n0e585yn5] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.stat-badge.total[b-0n0e585yn5] {
    background: #e8f5e9;
    color: #388e3c;
    font-weight: 600;
}

/* MOV Status Badge */
.mov-pill[b-0n0e585yn5] {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.mov-pill.mov-met[b-0n0e585yn5] {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mov-pill.mov-partial[b-0n0e585yn5] {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.mov-pill.mov-not-met[b-0n0e585yn5] {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Order Details */
.order-details[b-0n0e585yn5] {
    background: #f5f6f8;
    border-top: 1px solid #dee2e6;
    padding: 16px;
    display: none;
}

.order-details.show[b-0n0e585yn5] {
    display: block;
    animation: slideDown-b-0n0e585yn5 0.3s ease;
}

/* Supplier-Location Group - Order Summary Style */
.supplier-location-group[b-0n0e585yn5] {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.2s ease;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
}

.supplier-location-group:last-child[b-0n0e585yn5] {
    border-bottom: none;
}

.supplier-location-group:hover[b-0n0e585yn5] {
    background: #f0f1f3;
}

.supplier-header[b-0n0e585yn5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.supplier-header:hover[b-0n0e585yn5] {
    background: #eff0f2;
    border-left-color: #007bff;
}

/* Enhanced header styling */

.supplier-header-left[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* Supplier expand icons now handled by RadzenIcon components */

.supplier-location-info[b-0n0e585yn5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.supplier-info-line[b-0n0e585yn5],
.location-info-line[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.info-label[b-0n0e585yn5] {
    color: #6c757d;
    font-weight: 500;
    min-width: 60px;
}

.info-value[b-0n0e585yn5] {
    color: #212529;
    font-size: 0.8125rem;
    font-weight: 600;
}

.supplier-header-right[b-0n0e585yn5] {
    display: flex;
    align-items: center;
}

.supplier-stats[b-0n0e585yn5] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.items-count[b-0n0e585yn5] {
    color: #6c757d;
    font-size: 0.875rem;
    background: rgba(108, 117, 125, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.group-total[b-0n0e585yn5] {
    font-weight: 700;
    color: #28a745;
    font-size: 0.95rem;
}

.items-container[b-0n0e585yn5] {
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    display: none;
}

.items-container.show[b-0n0e585yn5] {
    display: block;
    animation: slideDown-b-0n0e585yn5 0.2s ease-out;
}

/* Add subtle background to expanded content */

/* Items Detail Table - Match Order History Style */
.items-detail-table[b-0n0e585yn5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.items-detail-table thead[b-0n0e585yn5] {
    background: #f8f9fa;
}

.items-detail-table th[b-0n0e585yn5] {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

/* Center specific column headers */
.items-detail-table th:nth-child(3)[b-0n0e585yn5], /* Service Class */
.items-detail-table th:nth-child(4)[b-0n0e585yn5], /* Requested */
.items-detail-table th:nth-child(5)[b-0n0e585yn5], /* Line Total */
.items-detail-table th:nth-child(6)[b-0n0e585yn5], /* Target Position */
.items-detail-table th:nth-child(7)[b-0n0e585yn5], /* Next Release */
.items-detail-table th:nth-child(9)[b-0n0e585yn5], /* Stock Info */
.items-detail-table th:nth-child(10)[b-0n0e585yn5], /* Approve Qty */
.items-detail-table th:nth-child(12)[b-0n0e585yn5] { /* Action */
    text-align: center;
}

.items-detail-table td[b-0n0e585yn5] {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
}

/* Center specific column data */
.items-detail-table td:nth-child(3)[b-0n0e585yn5], /* Service Class */
.items-detail-table td:nth-child(4)[b-0n0e585yn5], /* Requested */
.items-detail-table td:nth-child(5)[b-0n0e585yn5], /* Line Total */
.items-detail-table td:nth-child(6)[b-0n0e585yn5], /* Target Position */
.items-detail-table td:nth-child(7)[b-0n0e585yn5], /* Next Release */
.items-detail-table td:nth-child(9)[b-0n0e585yn5], /* Stock Info */
.items-detail-table td:nth-child(10)[b-0n0e585yn5], /* Approve Qty */
.items-detail-table td:nth-child(12)[b-0n0e585yn5] { /* Action */
    text-align: center;
}

.items-detail-table tbody tr:hover[b-0n0e585yn5] {
    background: #f8f9fa;
}

.item-code[b-0n0e585yn5] {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-desc[b-0n0e585yn5] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.item-date[b-0n0e585yn5] {
    color: #6c757d;
    font-size: 12px;
}

.item-qty[b-0n0e585yn5] {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
}

.item-cost[b-0n0e585yn5],
.item-total[b-0n0e585yn5] {
    text-align: right;
    font-weight: 500;
    font-size: 12px;
}

.service-class[b-0n0e585yn5] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 auto;
}

.service-class.class-a[b-0n0e585yn5] {
    background: #d1ecf1;
    color: #0c5460;
}

.service-class.class-b[b-0n0e585yn5] {
    background: #fff3cd;
    color: #856404;
}

.service-class.class-c[b-0n0e585yn5] {
    background: #f8d7da;
    color: #721c24;
}

/* Target Position */
.target-position[b-0n0e585yn5] {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    align-items: center;
}

.target-value[b-0n0e585yn5] {
    font-weight: 600;
}

.target-range[b-0n0e585yn5] {
    color: #6c757d;
    font-size: 0.7rem;
}

.target-position.within-target .target-value[b-0n0e585yn5] {
    color: #28a745;
}

.target-position.under-target .target-value[b-0n0e585yn5] {
    color: #ffc107;
}

.target-position.over-target .target-value[b-0n0e585yn5] {
    color: #dc3545;
}

.auto-order-info[b-0n0e585yn5] {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    align-items: center;
}

.auto-date[b-0n0e585yn5] {
    color: #6c757d;
}

.auto-qty[b-0n0e585yn5] {
    color: #007bff;
    font-weight: 600;
}

.comment-cell[b-0n0e585yn5] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6c757d;
    font-size: 11px;
}

.no-comment[b-0n0e585yn5] {
    color: #adb5bd;
}

/* Stock Info Button */
.btn-stock-info[b-0n0e585yn5] {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.btn-stock-info:hover[b-0n0e585yn5] {
    background: #6366f1;
    border-color: #6366f1;
    transform: scale(1.1);
}

.btn-stock-info.active[b-0n0e585yn5] {
    background: #6366f1;
    border-color: #6366f1;
}

/* Stock Info Grid */
.stock-info-row td[b-0n0e585yn5] {
    padding: 0 !important;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef !important;
}

.item-stock-grid[b-0n0e585yn5] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
}

.stock-item[b-0n0e585yn5] {
    background: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background 0.2s;
}

.stock-item:hover[b-0n0e585yn5] {
    background: #f8f9fa;
}

.stock-label[b-0n0e585yn5] {
    font-size: 10px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stock-value[b-0n0e585yn5] {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}

/* Projected value colors based on target */
.stock-value.within-target[b-0n0e585yn5] {
    color: #28a745; /* Green - within target */
}

.stock-value.outside-target[b-0n0e585yn5] {
    color: #dc3545; /* Red - outside target (above or below) */
}

/* Legacy classes (kept for other potential uses) */
.stock-value.low[b-0n0e585yn5] {
    color: #dc3545;
}

.stock-value.high[b-0n0e585yn5] {
    color: #28a745;
}

/* Approval Inputs */
.qty-input[b-0n0e585yn5] {
    width: 60px;
    padding: 4px 6px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    transition: border-color 0.15s;
    margin: 0 auto;
    display: block;
}

.qty-input:focus[b-0n0e585yn5] {
    outline: none;
    border-color: #007bff;
}

.qty-input:disabled[b-0n0e585yn5] {
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.comment-input-small[b-0n0e585yn5] {
    width: 140px;
    padding: 4px 6px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 12px;
}

.comment-input-small:disabled[b-0n0e585yn5] {
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Highlight required field for rejection */
.comment-input-small.highlight-required[b-0n0e585yn5] {
    border: 2px solid #dc3545 !important;
    background: #fff5f5;
    animation: pulse-border-b-0n0e585yn5 1s ease-in-out infinite;
}

.comment-input-small.highlight-required[b-0n0e585yn5]::placeholder {
    color: #dc3545;
    font-weight: 500;
}

@keyframes pulse-border-b-0n0e585yn5 {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
}

/* Line Action Buttons */
.line-actions[b-0n0e585yn5] {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.btn-line[b-0n0e585yn5] {
    width: 24px;
    height: 24px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.15s;
    background: white;
}

.btn-approve-line[b-0n0e585yn5] {
    color: #28a745;
    border-color: #28a745;
}

.btn-approve-line:hover[b-0n0e585yn5] {
    background: #28a745;
    color: white;
}

.btn-reject-line[b-0n0e585yn5] {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-reject-line:hover[b-0n0e585yn5] {
    background: #dc3545;
    color: white;
}

/* Status Labels */
.status-label[b-0n0e585yn5] {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.status-label.approved[b-0n0e585yn5] {
    background: #d1fae5;
    color: #065f46;
}

.status-label.rejected[b-0n0e585yn5] {
    background: #fee2e2;
    color: #991b1b;
}

/* Subtotal Row */
.subtotal-row[b-0n0e585yn5] {
    background: #f8f9fa;
    font-weight: 600;
}

.subtotal-row td[b-0n0e585yn5] {
    padding: 10px 12px;
    border-top: 2px solid #dee2e6;
    border-bottom: none;
}

/* Align subtotal value with Line Total column */
.subtotal-row td:nth-child(5)[b-0n0e585yn5] {
    text-align: center;
}

.text-center[b-0n0e585yn5] {
    text-align: center;
}

.text-right[b-0n0e585yn5] {
    text-align: right;
}

/* Line States */
.line-approved[b-0n0e585yn5] {
    background: rgba(16, 185, 129, 0.1);
}

.line-rejected[b-0n0e585yn5] {
    background: rgba(239, 68, 68, 0.1);
    opacity: 0.7;
}

/* Group Actions */
.group-actions[b-0n0e585yn5] {
    padding: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

/* Order Actions - Removed, actions now at line/group level only */

.btn[b-0n0e585yn5] {
    padding: 6px 12px;
    border: 1px solid;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
}

.btn-primary[b-0n0e585yn5] {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-0n0e585yn5] {
    background: #0056b3;
    border-color: #0056b3;
}

.btn-success[b-0n0e585yn5] {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover:not(:disabled)[b-0n0e585yn5] {
    background: #218838;
    border-color: #1e7e34;
}

.btn-danger[b-0n0e585yn5] {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-danger:hover:not(:disabled)[b-0n0e585yn5] {
    background: #c82333;
    border-color: #bd2130;
}

.btn-secondary[b-0n0e585yn5] {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled)[b-0n0e585yn5] {
    background: #5a6268;
    border-color: #545b62;
}

.btn:disabled[b-0n0e585yn5] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-lg[b-0n0e585yn5] {
    padding: 12px 32px;
    font-size: 16px;
}

/* Animation */
@keyframes slideDown-b-0n0e585yn5 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .alert-badges[b-0n0e585yn5] {
        display: none;
    }
    
    .order-header[b-0n0e585yn5] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .order-header-right[b-0n0e585yn5] {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .supplier-header[b-0n0e585yn5] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .items-detail-table[b-0n0e585yn5] {
        font-size: 0.8rem;
    }
    
    .items-detail-table th[b-0n0e585yn5],
    .items-detail-table td[b-0n0e585yn5] {
        padding: 6px 8px;
    }
    
    .item-stock-grid[b-0n0e585yn5] {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .order-actions[b-0n0e585yn5] {
        flex-direction: column;
    }
    
    .btn-lg[b-0n0e585yn5] {
        width: 100%;
    }
}
/* /Pages/ApplicationManagement/OrderCreation/OrderCreation.razor.rz.scp.css */
/* Order Creation Page Styles - Combined from inline and external CSS */

/* Main Container Styles */
.order-creation-container[b-prvifnxfji] {
    padding: 0.75rem;
    max-width: 100%;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Page Header Styles */
.page-header[b-prvifnxfji] {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--finstock-border);
    background: white;
    border-radius: var(--finstock-border-radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--finstock-shadow);
}

.page-header h2[b-prvifnxfji] {
    margin-bottom: 0.5rem;
    color: var(--primary-1);
    font-weight: 700;
    font-size: 2rem;
}

/* Breadcrumb Styles */
.breadcrumb[b-prvifnxfji] {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item[b-prvifnxfji]::before {
    content: "›";
    color: #6c757d;
    font-weight: 600;
    margin: 0 0.5rem;
}

.breadcrumb-item a[b-prvifnxfji] {
    color: var(--primary-1);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.breadcrumb-item a:hover[b-prvifnxfji] {
    text-decoration: underline;
    color: var(--finstock-secondary-blue);
}

.breadcrumb-item.active[b-prvifnxfji] {
    color: var(--finstock-dark-grey);
    font-weight: 500;
}

/* Page Loading State */
.page-loading[b-prvifnxfji] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    text-align: center;
    background: white;
    border-radius: var(--finstock-border-radius);
    box-shadow: var(--finstock-shadow);
}

.page-loading p[b-prvifnxfji] {
    margin-top: 1.5rem;
    color: var(--finstock-dark-grey);
    font-size: 1.125rem;
}

/* Global Panel Styles */
.rz-panel[b-prvifnxfji] {
    border: 1px solid var(--finstock-light-grey);
    border-radius: var(--finstock-radius-medium);
    box-shadow: var(--finstock-shadow-small);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.rz-panel:hover[b-prvifnxfji] {
    box-shadow: var(--finstock-shadow-large);
}

.rz-panel-header[b-prvifnxfji] {
    background: linear-gradient(135deg, var(--finstock-background) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--finstock-light-grey);
    padding: 1rem 1.25rem;
}

.rz-panel-content[b-prvifnxfji] {
    padding: 1.25rem;
    background: #ffffff;
}

/* Panel Header Components */
.panel-header-content[b-prvifnxfji] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 2.5rem;
}

.panel-title-section[b-prvifnxfji] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-icon[b-prvifnxfji] {
    font-size: 1.5rem;
    color: var(--primary-1);
    opacity: 0.8;
}

.panel-title-text[b-prvifnxfji] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.panel-title[b-prvifnxfji] {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--finstock-text);
    margin: 0;
    line-height: 1.4;
}

.panel-subtitle[b-prvifnxfji] {
    font-size: 0.875rem;
    color: var(--finstock-dark-grey);
    margin: 0;
    line-height: 1.3;
}

/* Panel Stats and Badges */
.panel-stats[b-prvifnxfji] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-right: 10px;
}

.summary-badges[b-prvifnxfji], .panel-actions[b-prvifnxfji] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.badge[b-prvifnxfji] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: calc(var(--finstock-border-radius) * 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--finstock-transition);
}

.badge-suppliers[b-prvifnxfji] {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.badge-items[b-prvifnxfji] {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.badge-total[b-prvifnxfji] {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.2);
    font-weight: 600;
}

.items-badge[b-prvifnxfji], .orders-badge[b-prvifnxfji] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    background-color: rgba(108, 117, 125, 0.1);
    border-radius: calc(var(--finstock-border-radius) * 0.6);
}

/* Loading and Empty States */
.loading-state[b-prvifnxfji], .empty-state[b-prvifnxfji] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
}

.loading-state .rz-progressbar-circular[b-prvifnxfji] {
    margin-bottom: 1rem;
}

.empty-state .rz-icon[b-prvifnxfji] {
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h3[b-prvifnxfji] {
    margin: 0 0 0.75rem 0;
    color: var(--finstock-dark);
    font-weight: 600;
    font-size: 1.25rem;
}

.empty-state p[b-prvifnxfji] {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
}

/* Data Grid Styles */
.rz-datatable[b-prvifnxfji] {
    border-radius: var(--finstock-border-radius);
    overflow: hidden;
    box-shadow: var(--finstock-shadow);
}

.rz-datatable-header[b-prvifnxfji] {
    background: linear-gradient(135deg, var(--finstock-light) 0%, #ffffff 100%);
    font-weight: 600;
    color: var(--finstock-dark);
}

.rz-datatable-data tr:hover[b-prvifnxfji] {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Supplier Summary Grid */
.summary-grid[b-prvifnxfji] {
    border-radius: var(--finstock-border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.supplier-info[b-prvifnxfji] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.supplier-info strong[b-prvifnxfji] {
    color: var(--finstock-dark);
    font-weight: 600;
}

.supplier-info small[b-prvifnxfji] {
    color: #6c757d;
    font-size: 0.8125rem;
}

.item-count[b-prvifnxfji] {
    font-weight: 600;
    color: var(--finstock-info);
    background-color: rgba(23, 162, 184, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--finstock-border-radius) * 0.6);
    display: inline-block;
}

.cost-cell[b-prvifnxfji] {
    font-weight: 600;
    color: var(--finstock-success);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.mov-met[b-prvifnxfji] {
    color: var(--finstock-success);
    font-weight: 600;
    background-color: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--finstock-border-radius) * 0.6);
    display: inline-block;
}

.mov-not-met[b-prvifnxfji] {
    color: var(--finstock-danger);
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--finstock-border-radius) * 0.6);
    display: inline-block;
}

/* Order Actions */
.order-actions[b-prvifnxfji] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 0 0;
    border-top: 1px solid var(--finstock-border);
    margin-top: 1rem;
    gap: 1rem;
}

.order-actions .rz-button[b-prvifnxfji] {
    min-width: 140px;
    font-weight: 500;
    transition: var(--finstock-transition);
}

.clear-order-btn[b-prvifnxfji] {
    border-color: #6c757d;
    color: #6c757d;
}

.clear-order-btn:hover[b-prvifnxfji] {
    background-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.submit-order-btn[b-prvifnxfji] {
    background: linear-gradient(135deg, var(--finstock-success) 0%, #218838 100%);
    border-color: var(--finstock-success);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.submit-order-btn:hover[b-prvifnxfji] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.submit-order-btn:disabled[b-prvifnxfji] {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* Order History Styles */
.history-grid-container[b-prvifnxfji] {
    width: 100%;
    overflow-x: auto;
}

.history-grid[b-prvifnxfji] {
    min-width: 800px;
}

.order-id[b-prvifnxfji] {
    font-family: 'Courier New', 'Monaco', monospace;
    font-weight: 600;
    color: var(--finstock-primary);
    background-color: rgba(0, 123, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--finstock-border-radius) * 0.6);
    display: inline-block;
    font-size: 0.875rem;
}

.date-value[b-prvifnxfji] {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.875rem;
    color: var(--finstock-dark);
}

.items-summary[b-prvifnxfji] {
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
    line-height: 1.4;
}

.cost-value[b-prvifnxfji] {
    font-weight: 600;
    color: var(--finstock-success);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.processed-by[b-prvifnxfji] {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

/* Status Badges */
.status-badge[b-prvifnxfji] {
    padding: 0.375rem 0.75rem;
    border-radius: calc(var(--finstock-border-radius) * 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.status-pending[b-prvifnxfji] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-approved[b-prvifnxfji] {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-rejected[b-prvifnxfji] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.1) 100%);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-revoked[b-prvifnxfji] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15) 0%, rgba(108, 117, 125, 0.1) 100%);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.status-unknown[b-prvifnxfji] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

/* Action Buttons */
.refresh-btn[b-prvifnxfji], .revoke-btn[b-prvifnxfji], .reorder-btn[b-prvifnxfji] {
    min-width: 80px;
    font-size: 0.875rem;
    transition: var(--finstock-transition);
}

.refresh-btn:hover[b-prvifnxfji], .reorder-btn:hover[b-prvifnxfji] {
    transform: translateY(-1px);
}

.revoke-btn[b-prvifnxfji] {
    background: linear-gradient(135deg, var(--finstock-danger) 0%, #c82333 100%);
}

.revoke-btn:hover[b-prvifnxfji] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.reorder-btn[b-prvifnxfji] {
    background: linear-gradient(135deg, var(--finstock-primary) 0%, #0056b3 100%);
}

.reorder-btn:hover[b-prvifnxfji] {
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* JSpreadsheet Container */
.jspreadsheet-container[b-prvifnxfji] {
    min-height: 400px;
    width: 100%;
    border-radius: var(--finstock-border-radius);
    overflow: hidden;
    border: 1px solid var(--finstock-border);
    background: white;
}

/* Animation and Transitions */
.rz-panel[b-prvifnxfji] {
    animation: slideInUp-b-prvifnxfji 0.3s ease-out;
}

@keyframes slideInUp-b-prvifnxfji {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge[b-prvifnxfji], .status-badge[b-prvifnxfji], .order-id[b-prvifnxfji], .item-count[b-prvifnxfji], .mov-met[b-prvifnxfji], .mov-not-met[b-prvifnxfji] {
    animation: fadeIn-b-prvifnxfji 0.2s ease-out;
}

@keyframes fadeIn-b-prvifnxfji {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-creation-container[b-prvifnxfji] {
        padding: 1rem;
    }
    
    .page-header[b-prvifnxfji] {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .page-header h2[b-prvifnxfji] {
        font-size: 1.5rem;
    }
    
    .panel-header-content[b-prvifnxfji] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .panel-stats[b-prvifnxfji] {
        width: 100%;
        justify-content: space-between;
    }
    
    .summary-badges[b-prvifnxfji] {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    
    .badge[b-prvifnxfji] {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }
    
    .order-actions[b-prvifnxfji] {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .order-actions .rz-button[b-prvifnxfji] {
        width: 100%;
        min-width: unset;
    }
    
    .history-grid-container[b-prvifnxfji] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .empty-state[b-prvifnxfji], .loading-state[b-prvifnxfji] {
        padding: 3rem 1rem;
        min-height: 250px;
    }
    
    .empty-state h3[b-prvifnxfji] {
        font-size: 1.125rem;
    }
    
    .empty-state p[b-prvifnxfji] {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .page-header h2[b-prvifnxfji] {
        font-size: 1.25rem;
    }
    
    .panel-title[b-prvifnxfji] {
        font-size: 1rem;
    }
    
    .panel-subtitle[b-prvifnxfji] {
        font-size: 0.8125rem;
    }
    
    .badge[b-prvifnxfji] {
        font-size: 0.75rem;
        padding: 0.1875rem 0.375rem;
    }
    
    .status-badge[b-prvifnxfji] {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
        min-width: 70px;
    }
}

/* Print Styles */
@media print {
    .order-creation-container[b-prvifnxfji] {
        background: white;
        padding: 0;
    }
    
    .rz-panel[b-prvifnxfji] {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .order-actions[b-prvifnxfji],
    .panel-actions[b-prvifnxfji] {
        display: none;
    }
    
    .page-header[b-prvifnxfji] {
        border-bottom: 2px solid #000;
        box-shadow: none;
    }
}
/* /Pages/ApplicationManagement/ProposalEditing/ProposalEditing.razor.rz.scp.css */
/* ProposalEditing.razor.css - Proposal Editing Page Styles */

/* Empty state styles */
.empty-state-container[b-tzc2ju784f] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2rem;
}

.placeholder-container[b-tzc2ju784f] {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.placeholder-image[b-tzc2ju784f] {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.placeholder-title[b-tzc2ju784f] {
    color: var(--finstock-text);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.placeholder-description[b-tzc2ju784f] {
    color: var(--finstock-dark-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.instructions-list[b-tzc2ju784f] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.instruction-item[b-tzc2ju784f] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instruction-icon[b-tzc2ju784f] {
    background: var(--finstock-gradient-primary);
    color: var(--finstock-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.instruction-text[b-tzc2ju784f] {
    color: var(--finstock-text);
    font-size: 0.95rem;
}

/* Filter container styles */
.filter-container[b-tzc2ju784f] {
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-controls[b-tzc2ju784f] {
    width: 100%;
    padding: 0rem 0;
}

/* Drawer styles */
.drawer[b-tzc2ju784f] {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

.drawer.expanded[b-tzc2ju784f] {
    max-height: 300px;
    opacity: 1;
}

.drawer.collapsed[b-tzc2ju784f] {
    max-height: 0;
    opacity: 0;
}

.advanced-filter-card[b-tzc2ju784f] {
    border-radius: 10px;
    background-color: var(--finstock-white);
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-label[b-tzc2ju784f] {
    font-weight: 500;
    margin-top: 7px;
    color: var(--finstock-text);
}

.budget-inputs[b-tzc2ju784f] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.budget-input[b-tzc2ju784f] {
    border-radius: 8px;
    border: 1px solid var(--finstock-light-grey);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    min-width: 120px;
}

.budget-input:focus[b-tzc2ju784f] {
    border-color: var(--primary-1);
    box-shadow: 0 0 0 2px rgba(0, 37, 84, 0.1);
}

.range-separator[b-tzc2ju784f] {
    color: var(--finstock-dark-grey);
    font-size: 14px;
    padding: 0 4px;
}

/* Dashboard container styles */
.dashboard-container[b-tzc2ju784f] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 5px;
}

/* Chart container */
.chart-container[b-tzc2ju784f] {
    flex: 1 1 51%;
    min-height: 300px;
    height: auto;
    min-width: 300px;
    order: 2;
}

/* JSpreadsheet styles */
.jss_nested th[b-tzc2ju784f] {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    margin: 0;
}

.jss_nested th[colspan][b-tzc2ju784f] {
    text-align: center;
}

/* Radzen panel adjustments */
.rz-panel-titlebar-icon.rz-panel-titlebar-toggler[b-tzc2ju784f] {
    margin-top: 4px;
    margin-left: 10px
}

/* Responsive design */
@media (max-width: 768px) {
    .dashboard-container[b-tzc2ju784f] {
        flex-direction: column;
    }

    .chart-container[b-tzc2ju784f] {
        width: 100%;
    }
    
    .placeholder-image[b-tzc2ju784f] {
        max-width: 200px;
    }
    
    .placeholder-title[b-tzc2ju784f] {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .placeholder-title[b-tzc2ju784f] {
        font-size: 1.2rem;
    }
    
    .placeholder-description[b-tzc2ju784f] {
        font-size: 0.9rem;
    }
}
/* /Pages/Authentication/Unauthorized.razor.rz.scp.css */
.unauthorized-wrapper[b-056qcvj92g] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rz-base-100) 0%, var(--rz-base-200) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.unauthorized-container[b-056qcvj92g] {
    position: relative;
    z-index: 1;
}

.unauthorized-content[b-056qcvj92g] {
    background: var(--rz-base-0);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid var(--rz-base-300);
}

.icon-container[b-056qcvj92g] {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon[b-056qcvj92g] {
    font-size: 120px;
    color: var(--rz-primary);
    opacity: 0.2;
    position: absolute;
}

.lock-overlay[b-056qcvj92g] {
    position: relative;
    z-index: 1;
    background: var(--rz-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lock-icon[b-056qcvj92g] {
    font-size: 32px;
    color: white;
}

.main-heading[b-056qcvj92g] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--rz-text-primary-color);
    background: linear-gradient(135deg, var(--rz-primary) 0%, var(--rz-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description[b-056qcvj92g] {
    font-size: 1.125rem;
    color: var(--rz-text-secondary-color);
    margin: 0 0 1rem;
    line-height: 1.6;
}

.sub-description[b-056qcvj92g] {
    font-size: 0.95rem;
    color: var(--rz-text-tertiary-color);
    margin: 0 0 2.5rem;
    line-height: 1.6;
}

.signout-button[b-056qcvj92g] {
    min-width: 180px;
    height: 48px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.signout-button:hover[b-056qcvj92g] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Decorative elements */
.decorative-elements[b-056qcvj92g] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle[b-056qcvj92g] {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rz-primary) 0%, var(--rz-secondary) 100%);
    opacity: 0.1;
    animation: float-b-056qcvj92g 20s infinite ease-in-out;
}

.circle-1[b-056qcvj92g] {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle-2[b-056qcvj92g] {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.circle-3[b-056qcvj92g] {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -75px;
    animation-delay: 10s;
}

@keyframes float-b-056qcvj92g {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .unauthorized-wrapper[b-056qcvj92g] {
        padding: 1rem;
    }

    .unauthorized-content[b-056qcvj92g] {
        padding: 3rem 2rem;
    }

    .main-heading[b-056qcvj92g] {
        font-size: 2rem;
    }

    .icon-container[b-056qcvj92g] {
        width: 100px;
        height: 100px;
    }

    .shield-icon[b-056qcvj92g] {
        font-size: 100px;
    }

    .lock-overlay[b-056qcvj92g] {
        width: 50px;
        height: 50px;
    }

    .lock-icon[b-056qcvj92g] {
        font-size: 28px;
    }
}
