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

/* /Components/Authorization/FeatureGate.razor.rz.scp.css */
.feature-gate-loading[b-ibx9qcsrsg] {
    text-align: center;
    padding: 2rem;
}

.feature-gate-disabled[b-ibx9qcsrsg] {
    text-align: center;
    padding: 3rem;
}

.feature-gate-disabled-icon[b-ibx9qcsrsg] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-gate-disabled-subtitle[b-ibx9qcsrsg] {
    color: #666;
    margin-bottom: 1.5rem;
}
/* /Pages/Application/Reports.razor.rz.scp.css */
.reports-page[b-uiziofjgxd] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.5rem;
}

/* ── PAGE HEADER ── */
.reports-header[b-uiziofjgxd] {
    background: linear-gradient(135deg, #004777 0%, #003355 100%);
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.reports-header-content[b-uiziofjgxd] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reports-title[b-uiziofjgxd] {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reports-title i[b-uiziofjgxd] {
    color: #00AFB5;
    font-size: 1rem;
}

.reports-subtitle[b-uiziofjgxd] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 400;
}

/* ── FILTER BAR ── */
.filter-bar[b-uiziofjgxd] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.filter-item[b-uiziofjgxd] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 160px;
    flex: 1;
}

.filter-item label[b-uiziofjgxd] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-btn[b-uiziofjgxd] {
    justify-content: flex-end;
    max-width: 160px;
    flex: 0 0 auto;
}

[b-uiziofjgxd] .generate-btn {
    padding: 0.6rem 1.25rem !important;
    background: #00AFB5 !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    white-space: nowrap;
    transition: all 0.2s ease !important;
}

[b-uiziofjgxd] .generate-btn:hover {
    background: #009ba0 !important;
}

[b-uiziofjgxd] .filter-item .e-input-group {
    border-radius: 8px !important;
    border: 1px solid #dee2e6 !important;
    transition: border-color 0.2s ease !important;
    background: #fff !important;
}

[b-uiziofjgxd] .filter-item .e-input-group:hover {
    border-color: #adb5bd !important;
}

[b-uiziofjgxd] .filter-item .e-input-group.e-input-focus {
    border-color: #00AFB5 !important;
    box-shadow: 0 0 0 2px rgba(0, 175, 181, 0.15) !important;
}

/* ── KPI CARDS ── */
.kpi-cards[b-uiziofjgxd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 0.5rem 0;
}

.kpi-card[b-uiziofjgxd] {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.kpi-card[b-uiziofjgxd]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 10px 0 0 10px;
}

/* Color variants - left accent bar */
.kpi-card.card-teal[b-uiziofjgxd]::before { background: #00AFB5; }
.kpi-card.card-navy[b-uiziofjgxd]::before { background: #004777; }
.kpi-card.card-cyan[b-uiziofjgxd]::before { background: #00c9d0; }
.kpi-card.card-green[b-uiziofjgxd]::before { background: #43a047; }
.kpi-card.card-orange[b-uiziofjgxd]::before { background: #f57c00; }
.kpi-card.card-red[b-uiziofjgxd]::before { background: #dc3545; }

/* Icon containers */
.kpi-icon[b-uiziofjgxd] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.kpi-icon.icon-teal[b-uiziofjgxd] {
    background: #e6f7f8;
    color: #00969b;
}

.kpi-icon.icon-navy[b-uiziofjgxd] {
    background: #e8f0f7;
    color: #004777;
}

.kpi-icon.icon-cyan[b-uiziofjgxd] {
    background: #e6f9fa;
    color: #00b0b7;
}

.kpi-icon.icon-green[b-uiziofjgxd] {
    background: #e8f5e9;
    color: #388e3c;
}

.kpi-icon.icon-orange[b-uiziofjgxd] {
    background: #fff3e0;
    color: #e65100;
}

.kpi-icon.icon-red[b-uiziofjgxd] {
    background: #fdedef;
    color: #c82333;
}

.kpi-body[b-uiziofjgxd] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.kpi-label[b-uiziofjgxd] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kpi-value[b-uiziofjgxd] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

/* ── CHART CONTAINER ── */
.chart-container[b-uiziofjgxd] {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    margin: 0.5rem 0;
    min-height: 340px;
}

[b-uiziofjgxd] .chart-container .e-chart-title,
[b-uiziofjgxd] .chart-container .e-accumulationchart-title {
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    fill: #212529 !important;
}

/* ── GRID SECTION ── */
.grid-section[b-uiziofjgxd] {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    margin: 0.5rem 0;
}

.grid-section h3[b-uiziofjgxd] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

[b-uiziofjgxd] .csv-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem !important;
    border: 1px solid #00AFB5 !important;
    color: #00AFB5 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

[b-uiziofjgxd] .csv-btn:hover {
    background: #00AFB5 !important;
    color: #fff !important;
}

/* ── GRID OVERRIDES ── */
[b-uiziofjgxd] .e-grid {
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
    overflow: hidden;
}

[b-uiziofjgxd] .e-grid .e-gridheader {
    background: #fafbfc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[b-uiziofjgxd] .e-grid .e-headercell {
    background: transparent !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 0.75rem !important;
}

[b-uiziofjgxd] .e-grid .e-rowcell {
    font-size: 0.875rem;
    color: #495057;
    padding: 0.75rem !important;
    border-color: #f1f3f5 !important;
}

[b-uiziofjgxd] .e-grid .e-row:hover .e-rowcell {
    background: #f8f9fa !important;
}

[b-uiziofjgxd] .e-grid .e-row:nth-child(even) .e-rowcell {
    background: #fafbfc;
}

[b-uiziofjgxd] .e-grid .e-row:nth-child(even):hover .e-rowcell {
    background: #f1f3f5 !important;
}

[b-uiziofjgxd] .e-grid .e-toolbar {
    background: #fafbfc !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 0.4rem !important;
}

[b-uiziofjgxd] .e-grid .e-toolbar-item .e-tbar-btn {
    border-radius: 6px !important;
    font-weight: 500 !important;
}

[b-uiziofjgxd] .e-grid .e-toolbar-item .e-tbar-btn:hover {
    background: rgba(0, 175, 181, 0.1) !important;
    color: #00AFB5 !important;
}

[b-uiziofjgxd] .e-grid .e-pager {
    background: #fafbfc !important;
    border-top: 1px solid #e9ecef !important;
    padding: 0.5rem !important;
}

[b-uiziofjgxd] .e-grid .e-pager .e-numericitem {
    border-radius: 6px !important;
    margin: 0 2px !important;
}

[b-uiziofjgxd] .e-grid .e-pager .e-numericitem.e-currentitem {
    background: #00AFB5 !important;
    color: #fff !important;
}

/* ── PLACEHOLDER ── */
.report-placeholder[b-uiziofjgxd] {
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fafbfc;
    border-radius: 10px;
    border: 1px dashed #ced4da;
    margin: 0.5rem 0;
}

.placeholder-icon[b-uiziofjgxd] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f0f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon i[b-uiziofjgxd] {
    font-size: 1.5rem;
    color: #004777;
    opacity: 0.6;
}

.report-placeholder p[b-uiziofjgxd] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    max-width: 320px;
    line-height: 1.5;
}

/* ── TAB OVERRIDES ── */
[b-uiziofjgxd] .reports-tabs {
    background: transparent;
    padding-bottom: 4em;
}

[b-uiziofjgxd] .reports-tabs .e-tab-header {
    background: #fff;
    border-radius: 10px;
    padding: 0.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item .e-tab-wrap {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 0 2px;
    justify-content: center;
    text-align: center;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item {
    justify-content: center;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item .e-tab-wrap:hover {
    background: #f8f9fa;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item .e-tab-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.2s ease;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item.e-active .e-tab-wrap {
    background: linear-gradient(135deg, #e6f7f8 0%, #cceff1 100%);
}

[b-uiziofjgxd] .reports-tabs .e-toolbar-item.e-active .e-tab-text {
    color: #004777;
    font-weight: 600;
}

[b-uiziofjgxd] .reports-tabs .e-indicator {
    display: none;
}

[b-uiziofjgxd] .reports-tabs .e-content {
    background: transparent;
    border: none;
    padding: 0;
}

[b-uiziofjgxd] .reports-tabs .e-toolbar {
    border: none;
    background: transparent;
}

[b-uiziofjgxd] .reports-tabs .e-scroll-nav {
    background: #f8f9fa;
    border-radius: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .kpi-cards[b-uiziofjgxd] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reports-page[b-uiziofjgxd] {
        padding: 0.25rem;
        gap: 0.75rem;
    }

    .reports-header[b-uiziofjgxd] {
        padding: 1rem;
    }

    .filter-bar[b-uiziofjgxd] {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .filter-item[b-uiziofjgxd] {
        min-width: 100%;
    }

    .filter-btn[b-uiziofjgxd] {
        max-width: 100%;
    }

    [b-uiziofjgxd] .generate-btn {
        width: 100%;
    }

    .kpi-cards[b-uiziofjgxd] {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .kpi-card[b-uiziofjgxd] {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .kpi-card[b-uiziofjgxd]::before {
        width: 100%;
        height: 3px;
        border-radius: 10px 10px 0 0;
    }

    .kpi-icon[b-uiziofjgxd] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .kpi-body[b-uiziofjgxd] {
        align-items: center;
    }

    .kpi-value[b-uiziofjgxd] {
        font-size: 1.15rem;
    }

    .chart-container[b-uiziofjgxd],
    .grid-section[b-uiziofjgxd] {
        padding: 1rem;
    }

    .report-placeholder[b-uiziofjgxd] {
        padding: 2.5rem 1rem;
    }

    [b-uiziofjgxd] .reports-tabs .e-tab-header {
        padding: 0.25rem;
    }

    [b-uiziofjgxd] .reports-tabs .e-toolbar-item .e-tab-wrap {
        padding: 0.5rem 0.6rem;
    }

    [b-uiziofjgxd] .reports-tabs .e-toolbar-item .e-tab-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .kpi-cards[b-uiziofjgxd] {
        grid-template-columns: 1fr;
    }

    .kpi-card[b-uiziofjgxd] {
        flex-direction: row;
        text-align: left;
    }

    .kpi-card[b-uiziofjgxd]::before {
        width: 3px;
        height: 100%;
        border-radius: 10px 0 0 10px;
    }

    .kpi-body[b-uiziofjgxd] {
        align-items: flex-start;
    }

    .kpi-value[b-uiziofjgxd] {
        font-size: 1.25rem;
    }
}
