@import '_content/BlazorDateRangePicker/BlazorDateRangePicker.iitr8bszy4.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/Havit.Blazor.Components.Web.Bootstrap/Havit.Blazor.Components.Web.Bootstrap.tw2xma3vzh.bundle.scp.css';

/* /src/Components/Common/AnalyticsDashboard.razor.rz.scp.css */
/* =============================================
   GBVMIS Analytics Dashboard Styles
   ============================================= */

.analytics-dashboard[b-ri3s4riw62] {
    padding: 20px;
    background-color: #f5f7fa;
    min-height: 100vh;
}

/* Header */
.dashboard-header[b-ri3s4riw62] {
    background: linear-gradient(135deg, #1f6a94 0%, #184f6f 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-title[b-ri3s4riw62] {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

    .page-title i[b-ri3s4riw62] {
        margin-right: 12px;
    }

/* Filters */
.filters-card[b-ri3s4riw62] {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.filters-grid[b-ri3s4riw62] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-item label[b-ri3s4riw62] {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-select[b-ri3s4riw62], .form-control[b-ri3s4riw62] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

    .form-select:focus[b-ri3s4riw62], .form-control:focus[b-ri3s4riw62] {
        outline: none;
        border-color: #1f6a94;
        box-shadow: 0 0 0 3px rgba(31, 106, 148, 0.1);
    }

.filter-actions[b-ri3s4riw62] {
    display: flex;
    gap: 10px;
}

.btn[b-ri3s4riw62] {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary[b-ri3s4riw62] {
    background-color: #1f6a94;
    color: white;
}

    .btn-primary:hover:not(:disabled)[b-ri3s4riw62] {
        background-color: #184f6f;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(31, 106, 148, 0.3);
    }

    .btn-primary:disabled[b-ri3s4riw62] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-secondary[b-ri3s4riw62] {
    background-color: #6c757d;
    color: white;
}

    .btn-secondary:hover[b-ri3s4riw62] {
        background-color: #5a6268;
    }

/* Summary Cards */
.summary-section[b-ri3s4riw62] {
    margin-bottom: 30px;
}

.section-title[b-ri3s4riw62] {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1f6a94;
}

.summary-grid[b-ri3s4riw62] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stat-card[b-ri3s4riw62] {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid;
}

    .stat-card:hover[b-ri3s4riw62] {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }

    .stat-card.card-primary[b-ri3s4riw62] {
        border-left-color: #1f6a94;
    }

    .stat-card.card-danger[b-ri3s4riw62] {
        border-left-color: #dc3545;
    }

    .stat-card.card-info[b-ri3s4riw62] {
        border-left-color: #17a2b8;
    }

    .stat-card.card-warning[b-ri3s4riw62] {
        border-left-color: #ffc107;
    }

    .stat-card.card-success[b-ri3s4riw62] {
        border-left-color: #28a745;
    }

    .stat-card.card-purple[b-ri3s4riw62] {
        border-left-color: #6f42c1;
    }

    .stat-card.card-cyan[b-ri3s4riw62] {
        border-left-color: #20c997;
    }

    .stat-card.card-orange[b-ri3s4riw62] {
        border-left-color: #fd7e14;
    }

.stat-icon[b-ri3s4riw62] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.card-primary .stat-icon[b-ri3s4riw62] {
    background: #1f6a94;
}

.card-danger .stat-icon[b-ri3s4riw62] {
    background: #dc3545;
}

.card-info .stat-icon[b-ri3s4riw62] {
    background: #17a2b8;
}

.card-warning .stat-icon[b-ri3s4riw62] {
    background: #ffc107;
    color: #333;
}

.card-success .stat-icon[b-ri3s4riw62] {
    background: #28a745;
}

.card-purple .stat-icon[b-ri3s4riw62] {
    background: #6f42c1;
}

.card-cyan .stat-icon[b-ri3s4riw62] {
    background: #20c997;
}

.card-orange .stat-icon[b-ri3s4riw62] {
    background: #fd7e14;
}

.stat-content[b-ri3s4riw62] {
    flex: 1;
}

.stat-value[b-ri3s4riw62] {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-label[b-ri3s4riw62] {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-weight: 500;
}

.stat-breakdown[b-ri3s4riw62] {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 13px;
}

.stat-meta[b-ri3s4riw62] {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Text Colors */
.text-success[b-ri3s4riw62] {
    color: #28a745;
}

.text-danger[b-ri3s4riw62] {
    color: #dc3545;
}

.text-warning[b-ri3s4riw62] {
    color: #ffc107;
}

.text-muted[b-ri3s4riw62] {
    color: #6c757d;
}

.text-female[b-ri3s4riw62] {
    color: #e91e63;
    font-weight: 500;
}

.text-male[b-ri3s4riw62] {
    color: #2196f3;
    font-weight: 500;
}

/* Section */
.section[b-ri3s4riw62] {
    margin-bottom: 40px;
}

/* Chart Card */
.chart-card[b-ri3s4riw62] {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

canvas[b-ri3s4riw62] {
    max-height: 400px;
}

/* Data Table */
.data-table-container[b-ri3s4riw62] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.data-table[b-ri3s4riw62] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table thead[b-ri3s4riw62] {
        background-color: #1f6a94;
        color: white;
    }

    .data-table th[b-ri3s4riw62],
    .data-table td[b-ri3s4riw62] {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #e9ecef;
    }

    .data-table th[b-ri3s4riw62] {
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .data-table tbody tr:hover[b-ri3s4riw62] {
        background-color: #f8f9fa;
    }

    .data-table tbody tr:last-child td[b-ri3s4riw62] {
        border-bottom: none;
    }

.font-weight-bold[b-ri3s4riw62] {
    font-weight: 600;
    color: #333;
}

/* Service Metrics Grid */
.service-metrics-grid[b-ri3s4riw62] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-metric-card[b-ri3s4riw62] {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

    .service-metric-card h4[b-ri3s4riw62] {
        margin: 0 0 15px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        border-bottom: 2px solid #1f6a94;
        padding-bottom: 10px;
    }

.metric-row[b-ri3s4riw62] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .metric-row:last-child[b-ri3s4riw62] {
        border-bottom: none;
    }

.metric-label[b-ri3s4riw62] {
    font-size: 14px;
    color: #666;
}

.metric-value[b-ri3s4riw62] {
    font-size: 16px;
    font-weight: 600;
}

.progress-container[b-ri3s4riw62] {
    margin: 15px 0 10px 0;
}

.progress[b-ri3s4riw62] {
    height: 24px;
    background-color: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar[b-ri3s4riw62] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    transition: width 0.6s ease;
}

    .progress-bar.bg-success[b-ri3s4riw62] {
        background-color: #28a745;
    }

/* Loading Overlay */
.loading-overlay[b-ri3s4riw62] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

    .loading-overlay .spinner-border[b-ri3s4riw62] {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }

    .loading-overlay p[b-ri3s4riw62] {
        margin-top: 20px;
        font-size: 16px;
        color: #666;
    }

/* Empty State */
.empty-state[b-ri3s4riw62] {
    background: white;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

    .empty-state i[b-ri3s4riw62] {
        color: #ccc;
        margin-bottom: 20px;
    }

    .empty-state h3[b-ri3s4riw62] {
        margin: 0 0 10px 0;
        font-size: 24px;
        color: #333;
    }

    .empty-state p[b-ri3s4riw62] {
        margin: 0;
        color: #666;
        font-size: 16px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .analytics-dashboard[b-ri3s4riw62] {
        padding: 15px;
    }

    .dashboard-header[b-ri3s4riw62] {
        padding: 20px;
    }

    .page-title[b-ri3s4riw62] {
        font-size: 22px;
    }

    .filters-grid[b-ri3s4riw62] {
        grid-template-columns: 1fr;
    }

    .summary-grid[b-ri3s4riw62] {
        grid-template-columns: 1fr;
    }

    .service-metrics-grid[b-ri3s4riw62] {
        grid-template-columns: 1fr;
    }

    .data-table[b-ri3s4riw62] {
        font-size: 12px;
    }

        .data-table th[b-ri3s4riw62],
        .data-table td[b-ri3s4riw62] {
            padding: 10px;
        }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .summary-grid[b-ri3s4riw62] {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-metrics-grid[b-ri3s4riw62] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation */
@keyframes fadeIn-b-ri3s4riw62 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card[b-ri3s4riw62], .chart-card[b-ri3s4riw62], .data-table-container[b-ri3s4riw62], .service-metric-card[b-ri3s4riw62] {
    animation: fadeIn-b-ri3s4riw62 0.5s ease-out;
}

/* Print Styles */
@media print {
    .filters-card[b-ri3s4riw62],
    .btn[b-ri3s4riw62] {
        display: none !important;
    }

    .analytics-dashboard[b-ri3s4riw62] {
        padding: 0;
        background: white;
    }

    .stat-card[b-ri3s4riw62], .chart-card[b-ri3s4riw62] {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
/* /src/Components/Shared/AuthLayout.razor.rz.scp.css */
/* /src/Components/Shared/MainLayout.razor.rz.scp.css */
/* /src/Components/Shared/NavMenu.razor.rz.scp.css */
/* /src/Controls/Charts/SmartChart.razor.rz.scp.css */
.itf-chart[b-fgq2i9dmox] {
    width: 100%;
    height: 100%;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Title Section */
/* .itf-chart-title-section {
    margin-bottom: 2rem;
    text-align: center;
} */

/* .text-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.025em;
}

.text-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
} */

/* Chart Container - Fully responsive */
.itf-chart-container[b-fgq2i9dmox] {
    /* position: relative;
    width: 100%;
    flex: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center; */
}

.itf-chart-canvas[b-fgq2i9dmox] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-svg[b-fgq2i9dmox] {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Loading State */
.itf-chart-loading[b-fgq2i9dmox] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    color: #64748b;
}

.loading-spinner[b-fgq2i9dmox] {
    width: 56px;
    height: 56px;
    border: 5px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-fgq2i9dmox 0.8s linear infinite;
}

@keyframes spin-b-fgq2i9dmox {
    to {
        transform: rotate(360deg);
    }
}

.itf-chart-loading p[b-fgq2i9dmox] {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Empty State */
/* .itf-chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #94a3b8;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.itf-chart-empty p {
    font-size: 1.25rem;
    font-weight: 600;
} */

/* SVG Elements - Axes */
.axis-line[b-fgq2i9dmox] {
    stroke: #1e293b;
    stroke-width: 2;
}

.axis-tick-label[b-fgq2i9dmox] {
    fill: #475569;
    font-size: 13px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.axis-title[b-fgq2i9dmox] {
    fill: #0f172a;
    font-size: 15px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Grid Lines */
.grid-line[b-fgq2i9dmox] {
    stroke: #e2e8f0;
    stroke-width: 1;
    opacity: 0.6;
}

/* Value Labels */
.value-label[b-fgq2i9dmox] {
    fill: #0f172a;
    font-size: 13px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Heatmap specific styles */
.heatmap-value[b-fgq2i9dmox] {
    fill: #0f172a;
    font-size: 12px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.heatmap-cell-animated[b-fgq2i9dmox] {
    animation: heatmapFadeIn-b-fgq2i9dmox 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heatmapFadeIn-b-fgq2i9dmox {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pie/Donut Labels */
.pie-label[b-fgq2i9dmox] {
    fill: white;
    font-size: 16px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.donut-center-label[b-fgq2i9dmox] {
  fill: #64748b;
  font-size: 18px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
}

.donut-center-value[b-fgq2i9dmox] {
  fill: #0f172a;
  font-size: 32px;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
}

/* Scatter/Bubble Labels */
.scatter-label[b-fgq2i9dmox],
.bubble-label[b-fgq2i9dmox] {
    fill: #0f172a;
    font-size: 12px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.radar-label[b-fgq2i9dmox] {
    fill: #0f172a;
    font-size: 13px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Bar Elements */
.bar-element[b-fgq2i9dmox] {
    cursor: pointer;
    transition: filter 0.2s ease;
}

    .bar-element:hover[b-fgq2i9dmox] {
        filter: brightness(1.15) saturate(1.2);
    }

/* Legend */
.itf-chart-legend-container[b-fgq2i9dmox] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    justify-content: center;
}

    .itf-chart-legend-container.legend-top[b-fgq2i9dmox] {
        order: -1;
        margin-top: 0;
        margin-bottom: 2rem;
        padding-top: 0;
        padding-bottom: 2rem;
        border-top: none;
        border-bottom: 2px solid #e2e8f0;
    }

.legend-item[b-fgq2i9dmox] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .legend-item:hover[b-fgq2i9dmox] {
        background: #f1f5f9;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .legend-item.selected[b-fgq2i9dmox] {
        background: #dbeafe;
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

.legend-marker[b-fgq2i9dmox] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-label[b-fgq2i9dmox] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.legend-value[b-fgq2i9dmox] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    margin-left: auto;
    padding-left: 1.25rem;
}

/* Statistics */
.itf-chart-statistics[b-fgq2i9dmox] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.stat-item[b-fgq2i9dmox] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

    .stat-item:hover[b-fgq2i9dmox] {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.25);
    }

.stat-label[b-fgq2i9dmox] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.stat-value[b-fgq2i9dmox] {
    font-size: 1.75rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tooltip */
.itf-chart-tooltip[b-fgq2i9dmox] {
    position: absolute;
    background: rgba(15, 23, 42, 0.96);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-title[b-fgq2i9dmox] {
    font-weight: 700;
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.tooltip-value[b-fgq2i9dmox] {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Export Buttons */
.itf-chart-export-buttons[b-fgq2i9dmox] {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    flex-wrap: wrap;
    justify-content: center;
}

.export-btn[b-fgq2i9dmox] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

    .export-btn:hover[b-fgq2i9dmox] {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        background: linear-gradient(135deg, #059669, #047857);
    }

    .export-btn:active[b-fgq2i9dmox] {
        transform: translateY(-1px);
    }

.export-icon[b-fgq2i9dmox] {
    font-size: 1.125rem;
}

/* Animations */
@keyframes barGrow-b-fgq2i9dmox {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@keyframes barGrowHorizontal-b-fgq2i9dmox {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes lineGrow-b-fgq2i9dmox {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes areaGrow-b-fgq2i9dmox {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@keyframes pointPop-b-fgq2i9dmox {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pieGrow-b-fgq2i9dmox {
    from {
        transform: scale(0);
        transform-origin: center;
        opacity: 0;
    }

    to {
        transform: scale(1);
        transform-origin: center;
        opacity: 1;
    }
}

@keyframes radarGrow-b-fgq2i9dmox {
    from {
        opacity: 0;
        transform: scale(0);
        transform-origin: center;
    }

    to {
        opacity: 1;
        transform: scale(1);
        transform-origin: center;
    }
}

@keyframes scatterPop-b-fgq2i9dmox {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes bubbleFloat-b-fgq2i9dmox {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.bar-animated[b-fgq2i9dmox] {
    animation: barGrow-b-fgq2i9dmox 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bar-animated-horizontal[b-fgq2i9dmox] {
    animation: barGrowHorizontal-b-fgq2i9dmox 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.line-animated[b-fgq2i9dmox] {
    stroke-dasharray: 1000;
    animation: lineGrow-b-fgq2i9dmox 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-animated[b-fgq2i9dmox] {
    animation: areaGrow-b-fgq2i9dmox 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.point-animated[b-fgq2i9dmox] {
    animation: pointPop-b-fgq2i9dmox 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pie-animated[b-fgq2i9dmox] {
    animation: pieGrow-b-fgq2i9dmox 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.radar-animated[b-fgq2i9dmox] {
    animation: radarGrow-b-fgq2i9dmox 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scatter-animated[b-fgq2i9dmox] {
    animation: scatterPop-b-fgq2i9dmox 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bubble-animated[b-fgq2i9dmox] {
    animation: bubbleFloat-b-fgq2i9dmox 3.5s ease-in-out infinite;
}

/* Hover Effects for Interactive Elements */
rect:not(.bar-element):hover[b-fgq2i9dmox],
circle:hover[b-fgq2i9dmox],
path:hover[b-fgq2i9dmox] {
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .itf-chart[b-fgq2i9dmox] {
        padding: 1.5rem;
    }

    .text-title[b-fgq2i9dmox] {
        font-size: 1.75rem;
    }

    .text-subtitle[b-fgq2i9dmox] {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .itf-chart[b-fgq2i9dmox] {
        padding: 1.25rem;
    }

    .text-title[b-fgq2i9dmox] {
        font-size: 1.5rem;
    }

    .text-subtitle[b-fgq2i9dmox] {
        font-size: 0.95rem;
    }

    .itf-chart-container[b-fgq2i9dmox] {
        min-height: 300px;
    }

    .itf-chart-legend-container[b-fgq2i9dmox] {
        flex-direction: column;
    }

    .legend-item[b-fgq2i9dmox] {
        width: 100%;
        justify-content: space-between;
    }

    .itf-chart-statistics[b-fgq2i9dmox] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-value[b-fgq2i9dmox] {
        font-size: 1.5rem;
    }

    .itf-chart-export-buttons[b-fgq2i9dmox] {
        justify-content: center;
    }

    .export-btn[b-fgq2i9dmox] {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 140px;
        justify-content: center;
    }

    .axis-tick-label[b-fgq2i9dmox] {
        font-size: 11px;
    }

    .value-label[b-fgq2i9dmox] {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .itf-chart[b-fgq2i9dmox] {
        padding: 1rem;
        border-radius: 12px;
    }

    .text-title[b-fgq2i9dmox] {
        font-size: 1.25rem;
    }

    .text-subtitle[b-fgq2i9dmox] {
        font-size: 0.875rem;
    }

    .itf-chart-container[b-fgq2i9dmox] {
        min-height: 250px;
    }

    .itf-chart-statistics[b-fgq2i9dmox] {
        grid-template-columns: 1fr;
    }

    .stat-item[b-fgq2i9dmox] {
        padding: 1rem;
    }

    .stat-value[b-fgq2i9dmox] {
        font-size: 1.375rem;
    }

    .export-btn[b-fgq2i9dmox] {
        flex: 1 1 100%;
    }

    .axis-tick-label[b-fgq2i9dmox] {
        font-size: 10px;
    }

    .value-label[b-fgq2i9dmox] {
        font-size: 10px;
    }

    .legend-marker[b-fgq2i9dmox] {
        width: 16px;
        height: 16px;
    }

    .legend-label[b-fgq2i9dmox] {
        font-size: 0.875rem;
    }

    .legend-value[b-fgq2i9dmox] {
        font-size: 0.8125rem;
    }
}

/* Print Styles */
@media print {
    .itf-chart-export-buttons[b-fgq2i9dmox] {
        display: none;
    }

    .itf-chart[b-fgq2i9dmox] {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
    }

    .legend-item:hover[b-fgq2i9dmox] {
        transform: none;
        box-shadow: none;
    }

    .bar-element:hover[b-fgq2i9dmox] {
        filter: none;
    }
}

/* Accessibility */
.itf-chart:focus-within[b-fgq2i9dmox] {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
}

.legend-item:focus[b-fgq2i9dmox] {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

.export-btn:focus[b-fgq2i9dmox] {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .itf-chart[b-fgq2i9dmox] {
        border: 3px solid currentColor;
    }

    .legend-item[b-fgq2i9dmox] {
        border: 2px solid currentColor;
    }

    .grid-line[b-fgq2i9dmox] {
        stroke-width: 2;
        opacity: 1;
    }

    .axis-tick-label[b-fgq2i9dmox],
    .axis-title[b-fgq2i9dmox],
    .value-label[b-fgq2i9dmox] {
        fill: currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .bar-animated[b-fgq2i9dmox],
    .bar-animated-horizontal[b-fgq2i9dmox],
    .line-animated[b-fgq2i9dmox],
    .area-animated[b-fgq2i9dmox],
    .point-animated[b-fgq2i9dmox],
    .pie-animated[b-fgq2i9dmox],
    .radar-animated[b-fgq2i9dmox],
    .scatter-animated[b-fgq2i9dmox],
    .bubble-animated[b-fgq2i9dmox],
    .heatmap-cell-animated[b-fgq2i9dmox] {
        animation: none;
    }

    .legend-item[b-fgq2i9dmox],
    .stat-item[b-fgq2i9dmox],
    .export-btn[b-fgq2i9dmox] {
        transition: none;
    }

        .legend-item:hover[b-fgq2i9dmox],
        .stat-item:hover[b-fgq2i9dmox],
        .export-btn:hover[b-fgq2i9dmox] {
            transform: none;
        }
}
