@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';
@import '_content/Shared.Components/Shared.Components.v7q469sl3o.bundle.scp.css';

/* /Components/Layout/MultiserveLayout.razor.rz.scp.css */
/* MultiserveLayout Component Styles */
/* Main layout styles are in /wwwroot/css/multiserve-internal.css */

/* Notification Badge Animation */
@keyframes pulse-b-6bv13a87b3 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.animate-pulse[b-6bv13a87b3] {
    animation: pulse-b-6bv13a87b3 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* /Components/Pages/External/Chat.razor.rz.scp.css */
/* Chat Container */
.chat-container[b-or7bcud851] {
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Chat Layout - Split Pane */
.chat-layout[b-or7bcud851] {
    display: flex;
    height: 100%;
    background: #f8f9fa;
}

/* Left Sidebar - Chat Sessions List */
.chat-sidebar[b-or7bcud851] {
    width: 350px;
    border-right: 1px solid #dee2e6;
    background: white;
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header[b-or7bcud851] {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chat-sidebar-header h5[b-or7bcud851] {
    color: white;
}

.chat-sidebar-body[b-or7bcud851] {
    flex: 1;
    overflow-y: auto;
}

/* Chat Session Items */
.chat-session-list[b-or7bcud851] {
    padding: 0.5rem;
}

.chat-session-item[b-or7bcud851] {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    border: 1px solid #e9ecef;
}

.chat-session-item:hover[b-or7bcud851] {
    background: #f8f9fa;
    border-color: #667eea;
    transform: translateX(4px);
}

.chat-session-item.active[b-or7bcud851] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.chat-session-item.active .text-muted[b-or7bcud851],
.chat-session-item.active .badge[b-or7bcud851] {
    color: white !important;
}

.chat-session-item .session-subject[b-or7bcud851] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

/* Main Chat Area */
.chat-main[b-or7bcud851] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

/* Empty State */
.chat-empty-state[b-or7bcud851] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

/* Chat Header */
.chat-header[b-or7bcud851] {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Messages Area */
.chat-messages[b-or7bcud851] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 2rem; /* Extra padding to ensure last message is visible */
    background: #f8f9fa;
    min-height: 0; /* Important for flexbox child with overflow */
}

/* Individual Messages */
.message[b-or7bcud851] {
    margin-bottom: 1.5rem;
    display: flex;
}

.message-sent[b-or7bcud851] {
    justify-content: flex-end;
}

.message-received[b-or7bcud851] {
    justify-content: flex-start;
}

.message-bubble[b-or7bcud851] {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-sent .message-bubble[b-or7bcud851] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-received .message-bubble[b-or7bcud851] {
    background: white;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.message-header[b-or7bcud851] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.message-sent .message-header[b-or7bcud851] {
    color: rgba(255,255,255,0.9);
}

.message-content[b-or7bcud851] {
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Chat Input Area */
.chat-input-area[b-or7bcud851] {
    padding: 1rem 1.5rem;
    border-top: 2px solid #e9ecef;
    background: white;
}

.chat-input-area textarea[b-or7bcud851] {
    resize: none;
    border-radius: 8px;
}

.chat-input-area .btn[b-or7bcud851] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.75rem 1.5rem;
}

/* File Attachments */
.message-attachments[b-or7bcud851] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.message-received .message-attachments[b-or7bcud851] {
    border-top-color: #e9ecef;
}

.attachment-item[b-or7bcud851] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.message-received .attachment-item[b-or7bcud851] {
    background: #f8f9fa;
}

.attachment-item i[b-or7bcud851] {
    font-size: 1.25rem;
}

.attachment-item .btn-link[b-or7bcud851] {
    margin-left: auto;
    padding: 0.25rem;
    color: inherit;
}

/* Attachments Preview (before sending) */
.attachments-preview[b-or7bcud851] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px dashed #dee2e6;
}

.attachment-preview-item[b-or7bcud851] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.attachment-preview-item:last-child[b-or7bcud851] {
    margin-bottom: 0;
}

.attachment-preview-item i[b-or7bcud851] {
    font-size: 1.25rem;
    color: #667eea;
}

.attachment-preview-item .btn-link[b-or7bcud851] {
    margin-left: auto;
    padding: 0.25rem;
}

.attachment-preview-item .text-danger[b-or7bcud851] {
    color: #dc3545 !important;
}

/* Scrollbar Styling */
.chat-messages[b-or7bcud851]::-webkit-scrollbar,
.chat-sidebar-body[b-or7bcud851]::-webkit-scrollbar {
    width: 8px;
}

.chat-messages[b-or7bcud851]::-webkit-scrollbar-track,
.chat-sidebar-body[b-or7bcud851]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages[b-or7bcud851]::-webkit-scrollbar-thumb,
.chat-sidebar-body[b-or7bcud851]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.chat-messages[b-or7bcud851]::-webkit-scrollbar-thumb:hover,
.chat-sidebar-body[b-or7bcud851]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Typing Indicator */
.typing-indicator[b-or7bcud851] {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.typing-bubble[b-or7bcud851] {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 70%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: fadeInUp-b-or7bcud851 0.3s ease;
}

.typing-dots[b-or7bcud851] {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span[b-or7bcud851] {
    width: 8px;
    height: 8px;
    background: #6c757d;
    border-radius: 50%;
    animation: typing-b-or7bcud851 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1)[b-or7bcud851] {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2)[b-or7bcud851] {
    animation-delay: -0.16s;
}

.typing-text[b-or7bcud851] {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

@keyframes typing-b-or7bcud851 {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp-b-or7bcud851 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-sidebar[b-or7bcud851] {
        width: 100%;
        max-width: 350px;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .chat-sidebar.show[b-or7bcud851] {
        transform: translateX(0);
    }

    .message-bubble[b-or7bcud851] {
        max-width: 85%;
    }
}

/* Loading States */
.spinner-border-sm[b-or7bcud851] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Badge Enhancements */
.badge[b-or7bcud851] {
    font-weight: 500;
}

/* Modal Styling */
.modal.show[b-or7bcud851] {
    display: block !important;
}

.modal-backdrop[b-or7bcud851] {
    background-color: rgba(0, 0, 0, 0.5);
}
/* /Components/Pages/Internal/Admin/DataCleanup.razor.rz.scp.css */
/* Data Cleanup Page Styles */

.stat-item[b-r9306b1ojm] {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-value[b-r9306b1ojm] {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label[b-r9306b1ojm] {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.cleanup-strategy[b-r9306b1ojm] {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.cleanup-strategy h6[b-r9306b1ojm] {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.cleanup-strategy ul[b-r9306b1ojm] {
    margin-bottom: 0;
}

.cleanup-strategy li[b-r9306b1ojm] {
    margin-bottom: 0.25rem;
}

/* Alert animations */
.alert[b-r9306b1ojm] {
    animation: slideIn-b-r9306b1ojm 0.3s ease-out;
}

@keyframes slideIn-b-r9306b1ojm {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive stats */
@media (max-width: 768px) {
    .stat-value[b-r9306b1ojm] {
        font-size: 1.5rem;
    }
    
    .stat-label[b-r9306b1ojm] {
        font-size: 0.75rem;
    }
}

/* Card animations */
.card[b-r9306b1ojm] {
    transition: box-shadow 0.2s ease-in-out;
}

.card:hover[b-r9306b1ojm] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button states */
.btn:disabled[b-r9306b1ojm] {
    opacity: 0.6;
}

/* Loading states */
.spinner-border-sm[b-r9306b1ojm] {
    width: 1rem;
    height: 1rem;
}
/* /Components/Pages/Internal/Admin/Forum/Home.razor.rz.scp.css */
/* Forum Home Page - Tabs */

.threads-list[b-89e387kimw] {
    padding: 0;
}

.thread-item[b-89e387kimw] {
    display: grid;
    grid-template-columns: 60px 1fr 180px 200px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.thread-item:last-child[b-89e387kimw] {
    border-bottom: none;
}

.thread-item:hover[b-89e387kimw] {
    background: #f8f9fa;
}

.thread-icon[b-89e387kimw] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread-details[b-89e387kimw] {
    flex: 1;
    min-width: 0;
}

.thread-stats[b-89e387kimw] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.thread-activity[b-89e387kimw] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 992px) {
    .thread-item[b-89e387kimw] {
        grid-template-columns: 50px 1fr auto;
        gap: 0.75rem;
    }
    
    .thread-activity[b-89e387kimw] {
        display: none;
    }
}

@media (max-width: 768px) {
    .thread-item[b-89e387kimw] {
        grid-template-columns: 40px 1fr;
        gap: 0.75rem;
    }
    
    .thread-stats[b-89e387kimw] {
        display: none;
    }
}
/* /Components/Pages/Internal/Admin/Settings/DatabaseBackup.razor.rz.scp.css */
.modal-backdrop-custom[b-gi140zxcrh] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1040;
}

.modal[b-gi140zxcrh] {
    z-index: 1050;
}
/* /Components/Pages/Internal/Finance/Pages/CashFlow.razor.rz.scp.css */
/* Cash Flow Styles */

.page-header[b-0jr9l119g3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-actions[b-0jr9l119g3] {
    display: flex;
    gap: 10px;
}

.summary-cards[b-0jr9l119g3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card[b-0jr9l119g3] {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.summary-card h3[b-0jr9l119g3] {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #6c757d;
}

.summary-card .amount[b-0jr9l119g3] {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.summary-card.positive .amount[b-0jr9l119g3] {
    color: #28a745;
}

.summary-card.negative .amount[b-0jr9l119g3] {
    color: #dc3545;
}

.amount.positive[b-0jr9l119g3] {
    color: #28a745;
}

.amount.negative[b-0jr9l119g3] {
    color: #dc3545;
}

.forecast-section[b-0jr9l119g3] {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-controls[b-0jr9l119g3] {
    margin-bottom: 20px;
}

.cash-flow-table[b-0jr9l119g3] {
    width: 100%;
    border-collapse: collapse;
}

.cash-flow-table th[b-0jr9l119g3],
.cash-flow-table td[b-0jr9l119g3] {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.cash-flow-table th[b-0jr9l119g3] {
    background: #f8f9fa;
    font-weight: 600;
}

.cash-flow-table .actual-row[b-0jr9l119g3] {
    background: #f8f9fa;
}

.cash-flow-table .forecast-row[b-0jr9l119g3] {
    background: #fff3cd;
}

.cash-flow-table .positive[b-0jr9l119g3] {
    color: #28a745;
}

.cash-flow-table .negative[b-0jr9l119g3] {
    color: #dc3545;
}

.badge[b-0jr9l119g3] {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-success[b-0jr9l119g3] {
    background: #28a745;
    color: white;
}

.badge-warning[b-0jr9l119g3] {
    background: #ffc107;
    color: #212529;
}

/* Modal Styles */
.modal-backdrop[b-0jr9l119g3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

.modal-dialog[b-0jr9l119g3] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    z-index: 1050;
}

.modal-content[b-0jr9l119g3] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-header[b-0jr9l119g3] {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-0jr9l119g3] {
    margin: 0;
}

.btn-close[b-0jr9l119g3] {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.modal-body[b-0jr9l119g3] {
    padding: 20px;
}

.modal-footer[b-0jr9l119g3] {
    padding: 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-group[b-0jr9l119g3] {
    margin-bottom: 20px;
}

.form-group label[b-0jr9l119g3] {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.no-data[b-0jr9l119g3] {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
}

.loading[b-0jr9l119g3] {
    text-align: center;
    padding: 40px;
}
/* /Components/Pages/Internal/Finance/Pages/Dashboard.razor.rz.scp.css */
/* Finance Dashboard Styles */

.finance-dashboard[b-dowg7a5o9u] {
    padding: 0;
}

.dashboard-header[b-dowg7a5o9u] {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1[b-dowg7a5o9u] {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 600;
}

.year-type-selector[b-dowg7a5o9u] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
    flex-shrink: 0;
}

/* Section Headers */
.section-header[b-dowg7a5o9u] {
    margin: 2rem 0 1.5rem;
}

.section-header h2[b-dowg7a5o9u] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #00897b;
    padding-bottom: 0.5rem;
}

/* Card Layout */

.dashboard-card[b-dowg7a5o9u] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover[b-dowg7a5o9u] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-card.highlight[b-dowg7a5o9u] {
    border: 2px solid #00897b;
}

.card-header[b-dowg7a5o9u] {
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    color: white;
    padding: 1rem 1.25rem;
}

.card-header.card-header-light[b-dowg7a5o9u] {
    background: #f8f9fa;
    color: #2c3e50;
    border-bottom: 1px solid #dee2e6;
}

.card-header h3[b-dowg7a5o9u] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.card-header small[b-dowg7a5o9u] {
    font-size: 0.75rem;
    opacity: 0.9;
    display: block;
    margin-top: 0.25rem;
}

.card-body[b-dowg7a5o9u] {
    padding: 1.25rem;
}

/* Metrics */
.metric-row[b-dowg7a5o9u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.metric-row:last-child[b-dowg7a5o9u] {
    border-bottom: none;
}

.metric-row.highlight[b-dowg7a5o9u] {
    background: #f8f9fa;
    padding: 0.75rem;
    margin: 0.5rem -0.5rem;
    border-radius: 4px;
    border-bottom: none;
}

.metric-row span:first-child[b-dowg7a5o9u] {
    color: #6c757d;
    font-size: 0.875rem;
}

.metric-row strong[b-dowg7a5o9u] {
    font-size: 1rem;
    color: #2c3e50;
}

.metric-row.small span[b-dowg7a5o9u] {
    font-size: 0.8rem;
}

/* Large Metrics */
.large-metric[b-dowg7a5o9u] {
    text-align: center;
    padding: 1.5rem 0;
}

.metric-value[b-dowg7a5o9u] {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.large-value[b-dowg7a5o9u] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.metric-detail[b-dowg7a5o9u] {
    color: #6c757d;
    font-size: 0.875rem;
}

/* YTD Sections */
.ytd-section[b-dowg7a5o9u] {
    padding: 1rem 0;
}

.ytd-section:first-child[b-dowg7a5o9u] {
    padding-top: 0;
}

.ytd-section strong[b-dowg7a5o9u] {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Quick Actions */

.action-btn[b-dowg7a5o9u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.action-btn:hover[b-dowg7a5o9u] {
    background: #00897b;
    border-color: #00897b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.action-btn span:first-child[b-dowg7a5o9u] {
    font-size: 2rem;
}

.action-btn span:last-child[b-dowg7a5o9u] {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .cards-row[b-dowg7a5o9u] {
        grid-template-columns: 1fr;
    }

    .metric-value[b-dowg7a5o9u] {
        font-size: 2rem;
    }

    .large-value[b-dowg7a5o9u] {
        font-size: 1.5rem;
    }

    .quick-actions[b-dowg7a5o9u] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quick-actions[b-dowg7a5o9u] {
        grid-template-columns: 1fr;
    }

    .dashboard-header h1[b-dowg7a5o9u] {
        font-size: 1.5rem;
    }

    .section-header h2[b-dowg7a5o9u] {
        font-size: 1.25rem;
    }
}
/* /Components/Pages/Internal/Finance/Pages/DepartmentProfitability.razor.rz.scp.css */
/* Department Profitability Styles */

.page-controls[b-papdp3vnjg] {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.period-selector[b-papdp3vnjg] {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.period-selector label[b-papdp3vnjg] {
    margin-right: 5px;
}

.summary-cards[b-papdp3vnjg] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.card[b-papdp3vnjg] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.card.highlight[b-papdp3vnjg] {
    border: 2px solid #28a745;
    background: #d4edda;
}

.card label[b-papdp3vnjg] {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.card .big-value[b-papdp3vnjg] {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.card small[b-papdp3vnjg] {
    color: #999;
    font-size: 12px;
}

.charts-section[b-papdp3vnjg] {
    margin-bottom: 15px;
}

.chart-row[b-papdp3vnjg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.chart-container[b-papdp3vnjg] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-container h3[b-papdp3vnjg] {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}

.chart-container canvas[b-papdp3vnjg] {
    max-height: 180px;
}

.table-section[b-papdp3vnjg] {
    margin-bottom: 40px;
}

.profitability-table[b-papdp3vnjg] {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profitability-table th[b-papdp3vnjg],
.profitability-table td[b-papdp3vnjg] {
    padding: 6px 8px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    font-size: 0.82rem;
}

.profitability-table th:first-child[b-papdp3vnjg],
.profitability-table td:first-child[b-papdp3vnjg] {
    text-align: left;
}

.profitability-table th[b-papdp3vnjg] {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.profitability-table .total-row[b-papdp3vnjg] {
    background: #e9ecef;
    font-weight: bold;
    border-top: 2px solid #333;
}

.profitability-table .loss-row[b-papdp3vnjg] {
    background: #f8d7da;
}

.text-success[b-papdp3vnjg] {
    color: #28a745;
}

.text-danger[b-papdp3vnjg] {
    color: #dc3545;
}

.text-warning[b-papdp3vnjg] {
    color: #ffc107;
}

.text-info[b-papdp3vnjg] {
    color: #17a2b8;
}

.insights-section[b-papdp3vnjg] {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.insights-grid[b-papdp3vnjg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.insight-card[b-papdp3vnjg] {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ddd;
}

.insight-card.success[b-papdp3vnjg] {
    background: #d4edda;
    border-left-color: #28a745;
}

.insight-card.warning[b-papdp3vnjg] {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.insight-card.info[b-papdp3vnjg] {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.insight-icon[b-papdp3vnjg] {
    font-size: 22px;
}

.insight-content h4[b-papdp3vnjg] {
    margin: 0 0 4px 0;
    font-size: 13px;
}

.insight-content p[b-papdp3vnjg] {
    margin: 0;
    font-size: 12px;
}

.loading[b-papdp3vnjg] {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.empty-state[b-papdp3vnjg] {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Modal styles */
.modal-overlay[b-papdp3vnjg] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-dialog[b-papdp3vnjg] {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-dialog.large[b-papdp3vnjg] {
    max-width: 900px;
}

.modal-header[b-papdp3vnjg] {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-papdp3vnjg] {
    margin: 0;
}

.modal-body[b-papdp3vnjg] {
    padding: 20px;
}

.modal-footer[b-papdp3vnjg] {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-group[b-papdp3vnjg] {
    margin-bottom: 15px;
}

.form-group label[b-papdp3vnjg] {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.table[b-papdp3vnjg] {
    width: 100%;
    border-collapse: collapse;
}

.table th[b-papdp3vnjg],
.table td[b-papdp3vnjg] {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th[b-papdp3vnjg] {
    background: #f8f9fa;
    font-weight: 600;
}

/* Historical Trends Styles */
.trends-controls[b-papdp3vnjg] {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.trends-section[b-papdp3vnjg] {
    margin-top: 30px;
}

.trends-section h2[b-papdp3vnjg] {
    margin-bottom: 30px;
    color: #333;
}

.chart-container.large[b-papdp3vnjg] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-container.large h3[b-papdp3vnjg] {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
}

.chart-container.large .chart-description[b-papdp3vnjg] {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.chart-container.large canvas[b-papdp3vnjg] {
    height: 220px !important;
    max-height: 220px;
}

.trends-table-section[b-papdp3vnjg] {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.trends-table-section h3[b-papdp3vnjg] {
    margin-top: 0;
    margin-bottom: 20px;
}

.trends-table[b-papdp3vnjg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.trends-table th[b-papdp3vnjg],
.trends-table td[b-papdp3vnjg] {
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.trends-table th:first-child[b-papdp3vnjg],
.trends-table th:nth-child(2)[b-papdp3vnjg],
.trends-table td:first-child[b-papdp3vnjg],
.trends-table td:nth-child(2)[b-papdp3vnjg] {
    text-align: left;
}

.trends-table th[b-papdp3vnjg] {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.trends-table tbody tr:hover[b-papdp3vnjg] {
    background: #f8f9fa;
}

/* Tab styles */
.nav-tabs[b-papdp3vnjg] {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.nav-item[b-papdp3vnjg] {
    display: inline-block;
    margin-right: 5px;
}

.nav-link[b-papdp3vnjg] {
    display: block;
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover[b-papdp3vnjg] {
    color: #495057;
    background: #f8f9fa;
}

.nav-link.active[b-papdp3vnjg] {
    color: #007bff;
    border-bottom-color: #007bff;
    background: white;
}

.mb-3[b-papdp3vnjg] {
    margin-bottom: 1rem;
}

/* Budget vs Actual Styles */
.budget-controls[b-papdp3vnjg] {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.budget-table-section[b-papdp3vnjg] {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
}

.budget-table[b-papdp3vnjg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.budget-table th[b-papdp3vnjg],
.budget-table td[b-papdp3vnjg] {
    padding: 8px 10px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.budget-table th:first-child[b-papdp3vnjg],
.budget-table td:first-child[b-papdp3vnjg] {
    text-align: left;
    position: sticky;
    left: 0;
    background: white;
    z-index: 5;
    min-width: 120px;
}

.budget-table thead th[b-papdp3vnjg] {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
}

.budget-table thead tr:first-child th[b-papdp3vnjg] {
    top: 0;
}

.budget-table thead tr:nth-child(2) th[b-papdp3vnjg] {
    top: 42px;
}

.budget-table thead th:first-child[b-papdp3vnjg] {
    z-index: 15;
}

.budget-table th.group-header[b-papdp3vnjg] {
    background: #e9ecef;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #dee2e6;
    top: 0 !important;
}

.budget-table .positive-variance[b-papdp3vnjg] {
    background: #d4edda;
}

.budget-table .positive-variance:hover[b-papdp3vnjg] {
    background: #c3e6cb;
}

.budget-table .negative-variance[b-papdp3vnjg] {
    background: #f8d7da;
}

.budget-table .negative-variance:hover[b-papdp3vnjg] {
    background: #f5c6cb;
}

/* Fix: Make orange text readable on pink background */
.budget-table .negative-variance .text-warning[b-papdp3vnjg],
.budget-table .positive-variance .text-warning[b-papdp3vnjg] {
    color: #975A16 !important; /* Darker orange/brown - much better contrast */
}

.budget-table .total-row[b-papdp3vnjg] {
    background: #e9ecef !important;
    font-weight: bold;
    border-top: 3px solid #dee2e6;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -2px 2px -1px rgba(0,0,0,0.1);
}

.budget-table .total-row td:first-child[b-papdp3vnjg] {
    background: #e9ecef;
}

.status-badge[b-papdp3vnjg] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.success[b-papdp3vnjg] {
    background: #d4edda;
    color: #155724;
}

.status-badge.warning[b-papdp3vnjg] {
    background: #fff3cd;
    color: #856404;
}

.budget-table tbody tr[b-papdp3vnjg] {
    transition: background-color 0.2s;
}
/* /Components/Pages/Internal/Finance/Pages/ProfitLossAdvanced.razor.rz.scp.css */
/* Modal styles for scenario creation dialog */
.modal-backdrop[b-4t9thxdd23] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    overflow: hidden;
}

.backdrop-click-handler[b-4t9thxdd23] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.modal-content[b-4t9thxdd23] {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 0;
    position: relative;
    z-index: 2;
    pointer-events: all;
}

.modal-header[b-4t9thxdd23] {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.modal-header h3[b-4t9thxdd23] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
}

.modal-header .btn-close[b-4t9thxdd23] {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    color: #6c757d;
    opacity: 0.7;
    transition: opacity 0.15s ease-in-out;
}

.modal-header .btn-close:hover[b-4t9thxdd23] {
    opacity: 1;
    color: #000;
}

.modal-body[b-4t9thxdd23] {
    padding: 0 20px 20px 20px;
}

.modal-body .form-group[b-4t9thxdd23] {
    margin-bottom: 1rem;
}

.modal-body .form-group label[b-4t9thxdd23] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.modal-body .form-control[b-4t9thxdd23] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modal-body .form-control:focus[b-4t9thxdd23] {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.modal-body .form-text[b-4t9thxdd23] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.modal-footer[b-4t9thxdd23] {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.modal-footer .btn[b-4t9thxdd23] {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modal-footer .btn-secondary[b-4t9thxdd23] {
    color: #6c757d;
    background-color: #fff;
    border-color: #6c757d;
}

.modal-footer .btn-secondary:hover[b-4t9thxdd23] {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.modal-footer .btn-primary[b-4t9thxdd23] {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.modal-footer .btn-primary:hover[b-4t9thxdd23] {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Prevent background scrolling when modal is open */
body.modal-open[b-4t9thxdd23] {
    overflow: hidden;
    padding-right: 17px; /* Compensate for scrollbar */
}

/* Report controls styles */
.report-controls[b-4t9thxdd23] {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.scenario-selector[b-4t9thxdd23],
.year-type-selector[b-4t9thxdd23],
.year-selector[b-4t9thxdd23] {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.scenario-selector[b-4t9thxdd23] {
    flex: 2;
}

.scenario-selector label[b-4t9thxdd23],
.year-type-selector label[b-4t9thxdd23],
.year-selector label[b-4t9thxdd23] {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #495057;
}

.scenario-selector select[b-4t9thxdd23],
.year-type-selector select[b-4t9thxdd23],
.year-selector select[b-4t9thxdd23] {
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.scenario-selector button[b-4t9thxdd23] {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.view-toggle[b-4t9thxdd23] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.view-toggle .btn[b-4t9thxdd23] {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid #007bff;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.15s ease-in-out;
}

.view-toggle .btn-primary[b-4t9thxdd23] {
    background-color: #007bff;
    color: white;
}

.view-toggle .btn-outline-primary[b-4t9thxdd23] {
    background-color: transparent;
    color: #007bff;
}

.view-toggle .btn-outline-primary:hover[b-4t9thxdd23] {
    background-color: #007bff;
    color: white;
}

/* Scenario actions */
.scenario-actions[b-4t9thxdd23] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-radius: 6px 6px 0 0;
    border: 1px solid #ffeaa7;
    border-bottom: none;
}

.scenario-description-box[b-4t9thxdd23] {
    padding: 0.5rem 0.75rem;
    background: #fffef5;
    border: 1px solid #ffeaa7;
    border-radius: 0 0 6px 6px;
    margin-bottom: 1rem;
}

.scenario-description-input[b-4t9thxdd23] {
    background: transparent;
    border: 1px solid transparent;
    resize: vertical;
    font-size: 0.85rem;
    color: #555;
    transition: border-color 0.15s ease;
}

.scenario-description-input:hover[b-4t9thxdd23],
.scenario-description-input:focus[b-4t9thxdd23] {
    background: #fff;
    border-color: #ffc107;
    outline: none;
    box-shadow: none;
}

.scenario-actions .btn[b-4t9thxdd23] {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

/* Loading and empty states */
.loading[b-4t9thxdd23] {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.empty-state[b-4t9thxdd23] {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Compact layout */
h2.mb-3[b-4t9thxdd23] {
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
}

h3.mb-2[b-4t9thxdd23] {
    font-size: 1.2rem;
    margin-bottom: 0.75rem !important;
}

.report-controls label[b-4t9thxdd23] {
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.report-controls select[b-4t9thxdd23], .report-controls .btn[b-4t9thxdd23] {
    font-size: 0.85rem;
    padding: 4px 8px;
    height: 32px;
}

.scenario-selector[b-4t9thxdd23] {
    flex: 2;
    min-width: 250px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.scenario-selector select[b-4t9thxdd23] {
    flex: 1;
}

.scenario-actions[b-4t9thxdd23] {
    margin-bottom: 0;
    display: flex;
    gap: 8px;
}

.scenario-actions .btn[b-4t9thxdd23] {
    font-size: 0.8rem;
    padding: 4px 10px;
}

.matrix-container[b-4t9thxdd23] {
    overflow-x: auto;
    max-height: 75vh;
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.sticky-header-table[b-4t9thxdd23] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.sticky-header[b-4t9thxdd23] {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sticky-header-table th[b-4t9thxdd23] {
    background: white;
    padding: 6px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sticky-header-table td[b-4t9thxdd23] {
    padding: 5px 8px;
    font-size: 0.85rem;
}

.sticky-col[b-4t9thxdd23] {
    position: sticky;
    left: 0;
    background: white;
    z-index: 5;
    font-weight: 500;
    min-width: 180px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-header th.sticky-col[b-4t9thxdd23] {
    z-index: 15;
    background: white !important;
    color: #212529 !important;
}

.clickable-row[b-4t9thxdd23] {
    cursor: pointer;
    transition: background-color 0.2s;
}

.clickable-row:hover[b-4t9thxdd23] {
    background-color: #f0f8ff;
}

.history-indicator[b-4t9thxdd23] {
    margin-left: 5px;
    font-size: 0.9em;
}

.history-panel[b-4t9thxdd23] {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background: #f8f9fa;
}

.history-header[b-4t9thxdd23] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.history-stats[b-4t9thxdd23] {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.history-stats .stat[b-4t9thxdd23] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.edit-input[b-4t9thxdd23] {
    width: 100%;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: right;
}

.edit-input-label[b-4t9thxdd23] {
    width: 100%;
    padding: 2px 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fffef5;
}

.edit-banner[b-4t9thxdd23] {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-overlay[b-4t9thxdd23] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-dialog[b-4t9thxdd23] {
    background: white;
    padding: 0;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header[b-4t9thxdd23], .modal-footer[b-4t9thxdd23] {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.modal-header[b-4t9thxdd23] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body[b-4t9thxdd23] {
    padding: 20px;
}

.modal-footer[b-4t9thxdd23] {
    border-top: 1px solid #ddd;
    border-bottom: none;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-group[b-4t9thxdd23] {
    margin-bottom: 15px;
}

.form-group label[b-4t9thxdd23] {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.total-col[b-4t9thxdd23] {
    background: #f8f9fa;
    font-weight: bold;
    position: sticky;
    right: 0;
    min-width: 100px;
    font-size: 0.85rem;
}

.amount-cell[b-4t9thxdd23] {
    text-align: right;
    padding: 5px 8px;
    font-size: 0.85rem;
}

.section-header td[b-4t9thxdd23] {
    background: #e9ecef;
    font-weight: bold;
    padding: 6px 8px;
    font-size: 0.85rem;
}

.total-row td[b-4t9thxdd23] {
    border-top: 2px solid #dee2e6;
    font-weight: bold;
    padding: 6px 8px;
    font-size: 0.85rem;
}

.highlight-row td[b-4t9thxdd23] {
    background: #e7f3ff;
    font-weight: bold;
    padding: 6px 8px;
}

.final-profit td[b-4t9thxdd23] {
    background: #d4edda;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 8px;
}

.text-success[b-4t9thxdd23] {
    color: #28a745;
}

.text-danger[b-4t9thxdd23] {
    color: #dc3545;
}

.btn-icon[b-4t9thxdd23] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 0 5px;
}

.copy-actual-btn[b-4t9thxdd23] {
    display: block;
    margin: 3px auto 0;
    padding: 1px 5px;
    font-size: 0.7rem;
    line-height: 1.2;
    border-radius: 3px;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.copy-actual-btn:hover[b-4t9thxdd23] {
    opacity: 1;
}

.new-expense-row[b-4t9thxdd23] {
    background: #fff3cd;
}

.new-expense-row td[b-4t9thxdd23] {
    padding: 5px 8px;
}

.new-expense-row input.form-control[b-4t9thxdd23] {
    font-size: 0.85rem;
    padding: 4px 8px;
}

.section-header button[b-4t9thxdd23] {
    font-size: 0.75rem;
    padding: 2px 6px;
}
/* -- Compare View -- */
.compare-table[b-4t9thxdd23] { font-size: 0.875rem; }
.compare-table th[b-4t9thxdd23] { white-space: nowrap; font-weight: 600; }
.compare-table td:not(:first-child)[b-4t9thxdd23], .compare-table th:not(:first-child)[b-4t9thxdd23] { text-align: right; white-space: nowrap; min-width: 130px; }
.compare-table tr.fw-bold td[b-4t9thxdd23] { background-color: #f8f9fa; }
.compare-table .table-secondary td[b-4t9thxdd23] { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: #495057; }
.compare-loading[b-4t9thxdd23] { display: flex; align-items: center; padding: 1.5rem 0; color: #6c757d; font-size: 0.9rem; }
/* /Components/Pages/Internal/Index.razor.rz.scp.css */
.multiserve-dashboard[b-jhfwnq60vv] {
    padding: 0;
}

.dashboard-card[b-jhfwnq60vv] {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.dashboard-card:hover[b-jhfwnq60vv] {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-icon[b-jhfwnq60vv] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.admin-section h4[b-jhfwnq60vv] {
    color: var(--multiserve-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}
/* /Components/Pages/Internal/ManufacturerSupport/Chat.razor.rz.scp.css */
/* Internal Chat Container */
.internal-chat-container[b-f6riphg13k] {
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Three-Column Layout */
.chat-layout[b-f6riphg13k] {
    display: flex;
    height: 100%;
    background: #f8f9fa;
}

/* Left Sidebar - Support Queue */
.chat-sidebar[b-f6riphg13k] {
    width: 320px;
    border-right: 1px solid #dee2e6;
    background: white;
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header[b-f6riphg13k] {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.chat-sidebar-header h5[b-f6riphg13k] {
    color: white;
}

/* Filter Tabs */
.chat-filter-tabs[b-f6riphg13k] {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    background: white;
}

.filter-tab[b-f6riphg13k] {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border: none;
    background: white;
    color: #6c757d;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.filter-tab:hover[b-f6riphg13k] {
    background: #f8f9fa;
    color: #495057;
}

.filter-tab.active[b-f6riphg13k] {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
    font-weight: 600;
}

.chat-sidebar-body[b-f6riphg13k] {
    flex: 1;
    overflow-y: auto;
}

/* Chat Session Items (Queue Items) */
.chat-session-list[b-f6riphg13k] {
    padding: 0.5rem;
}

.chat-session-item[b-f6riphg13k] {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    border: 1px solid #e9ecef;
}

.chat-session-item:hover[b-f6riphg13k] {
    background: #f8f9fa;
    border-color: #2c3e50;
    transform: translateX(4px);
}

.chat-session-item.active[b-f6riphg13k] {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-color: #2c3e50;
}

.chat-session-item.active .text-muted[b-f6riphg13k],
.chat-session-item.active .badge[b-f6riphg13k] {
    color: white !important;
    opacity: 0.9;
}

.session-company[b-f6riphg13k] {
    display: block;
    font-size: 0.95rem;
}

.session-subject[b-f6riphg13k] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    font-size: 0.85rem;
}

/* Main Chat Area */
.chat-main[b-f6riphg13k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    min-width: 0;
}

/* Chat Empty State */
.chat-empty-state[b-f6riphg13k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

/* Chat Header (Internal) */
.chat-header[b-f6riphg13k] {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Messages Area */
.chat-messages[b-f6riphg13k] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 2rem; /* Extra padding to ensure last message is visible */
    background: #f8f9fa;
    min-height: 0; /* Important for flexbox child with overflow */
}

/* Messages - Internal Styling */
.message[b-f6riphg13k] {
    margin-bottom: 1.5rem;
    display: flex;
}

.message-sent[b-f6riphg13k] {
    justify-content: flex-end;
}

.message-received[b-f6riphg13k] {
    justify-content: flex-start;
}

.message-bubble[b-f6riphg13k] {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-sent .message-bubble[b-f6riphg13k] {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-received .message-bubble[b-f6riphg13k] {
    background: white;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.message-header[b-f6riphg13k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.message-sent .message-header[b-f6riphg13k] {
    color: rgba(255,255,255,0.9);
}

.message-content[b-f6riphg13k] {
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Chat Input Area */
.chat-input-area[b-f6riphg13k] {
    padding: 1rem 1.5rem;
    border-top: 2px solid #e9ecef;
    background: white;
}

.chat-input-area textarea[b-f6riphg13k] {
    resize: none;
    border-radius: 8px;
}

.chat-input-area .btn[b-f6riphg13k] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.75rem 1.5rem;
}

/* Right Sidebar - Account Details */
.account-sidebar[b-f6riphg13k] {
    width: 300px;
    border-left: 1px solid #dee2e6;
    background: white;
    display: flex;
    flex-direction: column;
}

.account-sidebar-header[b-f6riphg13k] {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.account-sidebar-body[b-f6riphg13k] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.account-info-section[b-f6riphg13k] {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.account-info-section:last-child[b-f6riphg13k] {
    border-bottom: none;
}

.account-info-section h6[b-f6riphg13k] {
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Badge Colors for Internal */
.badge.bg-warning[b-f6riphg13k] {
    color: #000;
}

/* Dropdown Menu */
.dropdown-menu[b-f6riphg13k] {
    min-width: 200px;
}

.dropdown-item[b-f6riphg13k] {
    cursor: pointer;
}

.dropdown-item:active[b-f6riphg13k] {
    background-color: #2c3e50;
}

/* Scrollbar Styling */
.chat-messages[b-f6riphg13k]::-webkit-scrollbar,
.chat-sidebar-body[b-f6riphg13k]::-webkit-scrollbar,
.account-sidebar-body[b-f6riphg13k]::-webkit-scrollbar {
    width: 8px;
}

.chat-messages[b-f6riphg13k]::-webkit-scrollbar-track,
.chat-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-track,
.account-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages[b-f6riphg13k]::-webkit-scrollbar-thumb,
.chat-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-thumb,
.account-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.chat-messages[b-f6riphg13k]::-webkit-scrollbar-thumb:hover,
.chat-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-thumb:hover,
.account-sidebar-body[b-f6riphg13k]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .account-sidebar[b-f6riphg13k] {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    }

    .account-sidebar.show[b-f6riphg13k] {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .chat-sidebar[b-f6riphg13k] {
        width: 100%;
        max-width: 320px;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .chat-sidebar.show[b-f6riphg13k] {
        transform: translateX(0);
    }

    .message-bubble[b-f6riphg13k] {
        max-width: 85%;
    }

    .filter-tab[b-f6riphg13k] {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
}

/* Loading States */
.spinner-border-sm[b-f6riphg13k] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Form Check Styling */
.form-check-label[b-f6riphg13k] {
    cursor: pointer;
}

/* Typing Indicator */
.typing-indicator[b-f6riphg13k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    animation: fadeIn-b-f6riphg13k 0.3s ease;
}

.typing-dots[b-f6riphg13k] {
    display: flex;
    gap: 3px;
}

.typing-dots span[b-f6riphg13k] {
    width: 6px;
    height: 6px;
    background-color: #6c757d;
    border-radius: 50%;
    animation: typingBounce-b-f6riphg13k 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1)[b-f6riphg13k] {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2)[b-f6riphg13k] {
    animation-delay: -0.16s;
}

@keyframes typingBounce-b-f6riphg13k {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn-b-f6riphg13k {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* /Components/Pages/Internal/ManufacturerSupport/History.razor.rz.scp.css */
.chat-history-container[b-5jcau7u1pp] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.page-header[b-5jcau7u1pp] {
    margin-bottom: 2rem;
}

.page-header h3[b-5jcau7u1pp] {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.filter-panel[b-5jcau7u1pp] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-panel .form-label[b-5jcau7u1pp] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stats-row[b-5jcau7u1pp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-5jcau7u1pp] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

.stat-value[b-5jcau7u1pp] {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label[b-5jcau7u1pp] {
    font-size: 0.875rem;
    opacity: 0.9;
}

.results-container[b-5jcau7u1pp] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results-header[b-5jcau7u1pp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.results-header span[b-5jcau7u1pp] {
    font-weight: 600;
    color: #495057;
}

.export-actions[b-5jcau7u1pp] {
    display: flex;
    gap: 0.5rem;
}

.history-table[b-5jcau7u1pp] {
    margin-bottom: 0;
}

.history-table thead th[b-5jcau7u1pp] {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.history-table tbody tr[b-5jcau7u1pp] {
    transition: background-color 0.2s;
}

.history-table tbody tr:hover[b-5jcau7u1pp] {
    background-color: #f8f9fa;
}

.history-table tbody td[b-5jcau7u1pp] {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

.session-info strong[b-5jcau7u1pp] {
    color: #2c3e50;
    font-size: 0.95rem;
}

.session-info small[b-5jcau7u1pp] {
    font-size: 0.85rem;
    color: #6c757d;
}

.badge-reference[b-5jcau7u1pp] {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: #e9ecef;
    color: #495057;
    border-radius: 4px;
}

.status-badge[b-5jcau7u1pp] {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: capitalize;
}

.status-active[b-5jcau7u1pp] {
    background: #28a745;
    color: white;
}

.status-resolved[b-5jcau7u1pp] {
    background: #6c757d;
    color: white;
}

.status-archived[b-5jcau7u1pp] {
    background: #e9ecef;
    color: #495057;
}

.status-escalated[b-5jcau7u1pp] {
    background: #dc3545;
    color: white;
}

.status-awaitingexternal[b-5jcau7u1pp] {
    background: #ffc107;
    color: #212529;
}

.status-awaitingtechnician[b-5jcau7u1pp] {
    background: #17a2b8;
    color: white;
}

.pagination-info[b-5jcau7u1pp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

.pagination-info p[b-5jcau7u1pp] {
    margin: 0;
}

.no-results[b-5jcau7u1pp] {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-results i[b-5jcau7u1pp] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-results h5[b-5jcau7u1pp] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-results p[b-5jcau7u1pp] {
    font-size: 0.95rem;
}

/* Modal Styles */
.modal.show[b-5jcau7u1pp] {
    display: block;
    background: rgba(0, 0, 0, 0.5);
}

.modal-dialog[b-5jcau7u1pp] {
    margin-top: 5rem;
}

.modal-header[b-5jcau7u1pp] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close[b-5jcau7u1pp] {
    filter: brightness(0) invert(1);
}

.modal-body[b-5jcau7u1pp] {
    padding: 2rem;
}

.modal-body .form-label[b-5jcau7u1pp] {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
}

.modal-body p[b-5jcau7u1pp] {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.modal-body ul[b-5jcau7u1pp] {
    list-style: none;
    padding-left: 0;
}

.modal-body ul li[b-5jcau7u1pp] {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.modal-body ul li:last-child[b-5jcau7u1pp] {
    border-bottom: none;
}

/* Button Group */
.btn-group .btn[b-5jcau7u1pp] {
    padding: 0.375rem 0.75rem;
}

.btn-group .btn i[b-5jcau7u1pp] {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-history-container[b-5jcau7u1pp] {
        padding: 1rem;
    }

    .filter-panel[b-5jcau7u1pp] {
        padding: 1rem;
    }

    .filter-panel .row[b-5jcau7u1pp] {
        row-gap: 1rem !important;
    }

    .stats-row[b-5jcau7u1pp] {
        grid-template-columns: 1fr 1fr;
    }

    .results-header[b-5jcau7u1pp] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .export-actions[b-5jcau7u1pp] {
        width: 100%;
    }

    .export-actions button[b-5jcau7u1pp] {
        flex: 1;
    }

    .history-table[b-5jcau7u1pp] {
        font-size: 0.85rem;
    }

    .history-table thead th[b-5jcau7u1pp],
    .history-table tbody td[b-5jcau7u1pp] {
        padding: 0.75rem 0.5rem;
    }

    /* Hide less important columns on mobile */
    .history-table th:nth-child(4)[b-5jcau7u1pp],
    .history-table td:nth-child(4)[b-5jcau7u1pp],
    .history-table th:nth-child(7)[b-5jcau7u1pp],
    .history-table td:nth-child(7)[b-5jcau7u1pp] {
        display: none;
    }
}

@media (max-width: 576px) {
    .stats-row[b-5jcau7u1pp] {
        grid-template-columns: 1fr;
    }

    .stat-card[b-5jcau7u1pp] {
        padding: 1rem;
    }

    .stat-value[b-5jcau7u1pp] {
        font-size: 1.5rem;
    }

    /* Stack table data vertically on small screens */
    .history-table thead[b-5jcau7u1pp] {
        display: none;
    }

    .history-table tbody tr[b-5jcau7u1pp] {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 1rem;
    }

    .history-table tbody td[b-5jcau7u1pp] {
        display: block;
        text-align: left !important;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    .history-table tbody td:last-child[b-5jcau7u1pp] {
        border-bottom: none;
    }

    .history-table tbody td[b-5jcau7u1pp]::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 120px;
        color: #6c757d;
        font-size: 0.85rem;
    }
}
/* /Components/Pages/Internal/RMA/Pages/RmaCreate.razor.rz.scp.css */
/* ============================================================
   RmaCreate.razor.css — legacy desktop "RMA Booking" look
   Blue flush card headers, right-aligned inline labels,
   underline-style inputs, light grey surround.
   ============================================================ */

.legacy-rma[b-11ds4gdjvj] {
    background: #e9edf0;
    padding: .75rem;
    border-radius: 4px;
}

/* ── Page ribbon header (blue bar like the legacy app) ──────── */
.legacy-rma[b-11ds4gdjvj]  .page-ribbon {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #1f7fb6;
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 3px;
}

.legacy-rma[b-11ds4gdjvj]  .page-ribbon .ribbon-title {
    font-size: 1rem;
    font-weight: 600;
    margin-right: auto;
}

/* ── Cards: squared, no shadow, flush blue header ───────────── */
.legacy-rma[b-11ds4gdjvj]  .legacy-card {
    padding: .75rem !important;
    border: 1px solid #c7ced4;
    border-radius: 3px;
    box-shadow: none;
    background: #fff;
}

.legacy-rma[b-11ds4gdjvj]  .card-head {
    /* negative margins exactly cancel the .legacy-card .75rem padding
       so the bar sits flush to the card edges regardless of theme */
    margin: -.75rem -.75rem .6rem -.75rem;
    background: #29a3da;
    color: #fff;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .2px;
    padding: .4rem .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 30px;
}

.legacy-rma[b-11ds4gdjvj]  .card-head .bi { font-size: .9rem; }
.legacy-rma[b-11ds4gdjvj]  .card-head .head-actions { margin-left: auto; }

/* ── Right-aligned inline label rows ────────────────────────── */
.legacy-rma[b-11ds4gdjvj]  .lf {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .4rem;
}

.legacy-rma[b-11ds4gdjvj]  .lf.lf-top { align-items: flex-start; }
.legacy-rma[b-11ds4gdjvj]  .lf.lf-top > label { padding-top: .25rem; }

.legacy-rma[b-11ds4gdjvj]  .lf > label {
    flex: 0 0 92px;
    text-align: right;
    font-size: .74rem;
    font-weight: 600;
    color: #3a3f44;
    margin: 0;
    line-height: 1.15;
}

.legacy-rma[b-11ds4gdjvj]  .lf > .lf-field {
    flex: 1 1 auto;
    min-width: 0;
}

/* ── Underline-style text inputs to echo the WPF material look ─ */
.legacy-rma[b-11ds4gdjvj]  .lf-field .form-control {
    border: 0;
    border-bottom: 1px solid #b7bfc6;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: .15rem;
}

.legacy-rma[b-11ds4gdjvj]  .lf-field textarea.form-control {
    border: 1px solid #b7bfc6;
    border-radius: 2px;
    background: #fff;
}

.legacy-rma[b-11ds4gdjvj]  .lf-field .form-control:focus {
    border-bottom-color: #29a3da;
    box-shadow: none;
}

/* keep dropdowns readable (bordered) but compact inside rows */
.legacy-rma[b-11ds4gdjvj]  .lf-field .rz-dropdown { width: 100%; }

/* ── Tighten card body typography a touch ───────────────────── */
.legacy-rma[b-11ds4gdjvj]  .legacy-card .form-label.small { font-size: .74rem; }
