@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/Havit.Blazor.Components.Web.Bootstrap/Havit.Blazor.Components.Web.Bootstrap.5b1cao7wtc.bundle.scp.css';

/* /src/Components/Common/InspectionAnalyticReport.razor.rz.scp.css */
/* =============================================
   INSPECTION REPORT DASHBOARD STYLES
   All text explicitly set to dark colors
   ============================================= */

/* Base Variables */
:root[b-bdnjrpym73] {
    --primary-blue: #1b3b88;
    --primary-blue-light: #2a4a9a;
    --primary-blue-dark: #152d6b;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --text-dark: #111827;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* =============================================
   FORCE DARK TEXT ON ALL ELEMENTS
   ============================================= */
.inspection-report-container[b-bdnjrpym73],
.inspection-report-container *[b-bdnjrpym73] {
    color: #1f2937;
}

.inspection-report-container[b-bdnjrpym73] {
    padding: 1.25rem;
    background-color: #f1f5f9 !important;
    min-height: 100vh;
    font-size: 0.875rem;
}

/* Loading Overlay */
.loading-overlay[b-bdnjrpym73] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner[b-bdnjrpym73] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

    .loading-spinner span[b-bdnjrpym73] {
        color: #1f2937 !important;
    }

.spinner[b-bdnjrpym73] {
    width: 48px;
    height: 48px;
    border: 3px solid #e2e8f0;
    border-top-color: #1b3b88;
    border-radius: 50%;
    animation: spin-b-bdnjrpym73 1s linear infinite;
}

@keyframes spin-b-bdnjrpym73 {
    to {
        transform: rotate(360deg);
    }
}

/* Error Container */
.error-container[b-bdnjrpym73] {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff !important;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 500px;
}

    .error-container i[b-bdnjrpym73] {
        font-size: 3rem;
        color: #f59e0b !important;
        margin-bottom: 1rem;
        display: block;
    }

    .error-container h4[b-bdnjrpym73] {
        color: #1f2937 !important;
        margin-bottom: 0.5rem;
    }

    .error-container p[b-bdnjrpym73] {
        color: #4b5563 !important;
    }

/* =============================================
   REPORT HEADER - White text on blue background
   ============================================= */
.report-header[b-bdnjrpym73] {
    background: linear-gradient(135deg, #1b3b88 0%, #152d6b 100%) !important;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

    .report-header[b-bdnjrpym73],
    .report-header *[b-bdnjrpym73] {
        color: #ffffff !important;
    }

.header-content[b-bdnjrpym73] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-title h1[b-bdnjrpym73] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff !important;
}

.header-meta[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.813rem;
}

    .header-meta span[b-bdnjrpym73],
    .header-meta i[b-bdnjrpym73] {
        color: rgba(255, 255, 255, 0.9) !important;
    }

.meta-item[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.header-actions[b-bdnjrpym73] {
    display: flex;
    gap: 0.5rem;
}

    .header-actions .btn[b-bdnjrpym73] {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        border-radius: 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
    }

    .header-actions .btn-outline-light[b-bdnjrpym73] {
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        color: #ffffff !important;
    }

        .header-actions .btn-outline-light:hover[b-bdnjrpym73] {
            background: rgba(255, 255, 255, 0.1);
            border-color: #ffffff;
        }

    .header-actions .btn-light[b-bdnjrpym73] {
        border: 1px solid #ffffff;
        background: #ffffff !important;
        color: #1b3b88 !important;
    }

/* =============================================
   CARD STYLES
   ============================================= */
.report-section[b-bdnjrpym73] {
    background: #ffffff !important;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Section Header - White text on blue */
.section-header[b-bdnjrpym73] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background-color: #1b3b88 !important;
}

    .section-header[b-bdnjrpym73],
    .section-header *[b-bdnjrpym73] {
        color: #ffffff !important;
    }

        .section-header h2[b-bdnjrpym73] {
            font-size: 0.9375rem;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

            .section-header h2 i[b-bdnjrpym73] {
                color: rgba(255, 255, 255, 0.85) !important;
                font-size: 1rem;
            }

/* Section Filters in Header */
.section-filters[b-bdnjrpym73] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .section-filters .form-select[b-bdnjrpym73] {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border-radius: 4px;
        cursor: pointer;
        min-width: 140px;
    }

        .section-filters .form-select option[b-bdnjrpym73] {
            background-color: #ffffff !important;
            color: #1f2937 !important;
        }

/* Section Body - Dark text */
.section-body[b-bdnjrpym73] {
    padding: 1.25rem;
    background: #ffffff !important;
}

    .section-body[b-bdnjrpym73],
    .section-body *[b-bdnjrpym73] {
        color: #1f2937 !important;
    }

/* =============================================
   SUMMARY GRID
   ============================================= */
.summary-grid[b-bdnjrpym73] {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 1.5rem;
    align-items: start;
    padding: 1.25rem;
    background: #ffffff !important;
}

@media (max-width: 1200px) {
    .summary-grid[b-bdnjrpym73] {
        grid-template-columns: 1fr;
    }
}

/* Gauge Card */
.gauge-card[b-bdnjrpym73] {
    text-align: center;
    padding: 1rem;
    background: #f8fafc !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gauge-container[b-bdnjrpym73] {
    width: 180px;
    height: 120px;
    margin: 0 auto;
}

.gauge-label[b-bdnjrpym73] {
    margin-top: 0.75rem;
}

/* Metrics Grid */
.metrics-grid[b-bdnjrpym73] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.metric-card[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: #f8fafc !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-icon[b-bdnjrpym73] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

    .metric-icon[b-bdnjrpym73],
    .metric-icon i[b-bdnjrpym73] {
        color: #ffffff !important;
    }

        .metric-icon.bg-blue[b-bdnjrpym73] {
            background: #1b3b88 !important;
        }

        .metric-icon.bg-green[b-bdnjrpym73] {
            background: #10b981 !important;
        }

        .metric-icon.bg-purple[b-bdnjrpym73] {
            background: #8b5cf6 !important;
        }

        .metric-icon.bg-orange[b-bdnjrpym73] {
            background: #f59e0b !important;
        }

.metric-content[b-bdnjrpym73] {
    display: flex;
    flex-direction: column;
}

.metric-value[b-bdnjrpym73] {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937 !important;
    line-height: 1.2;
}

.metric-label[b-bdnjrpym73] {
    font-size: 0.75rem;
    color: #6b7280 !important;
    margin-top: 0.125rem;
}

/* Score Summary Card */
.score-summary-card[b-bdnjrpym73] {
    background: #f8fafc !important;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

    .score-summary-card h4[b-bdnjrpym73] {
        font-size: 0.875rem;
        font-weight: 600;
        margin: 0 0 1rem 0;
        color: #1f2937 !important;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e2e8f0;
    }

.score-details[b-bdnjrpym73] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.score-row[b-bdnjrpym73] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
    color: #4b5563 !important;
}

    .score-row span[b-bdnjrpym73] {
        color: #4b5563 !important;
    }

    .score-row.highlight[b-bdnjrpym73] {
        background: #ffffff !important;
        margin: 0.25rem -0.75rem 0;
        padding: 0.75rem;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
    }

.score-value[b-bdnjrpym73] {
    font-weight: 600;
    color: #1f2937 !important;
}

.score-row .text-primary[b-bdnjrpym73] {
    color: #1b3b88 !important;
}

/* =============================================
   CHART CARD
   ============================================= */
.chart-card[b-bdnjrpym73] {
    background: #ffffff !important;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.chart-container[b-bdnjrpym73] {
    position: relative;
    width: 100%;
}

/* =============================================
   DISTRIBUTION TABLE CARD
   ============================================= */
.distribution-table-card[b-bdnjrpym73] {
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

    .distribution-table-card .table[b-bdnjrpym73] {
        margin: 0;
    }

.color-indicator[b-bdnjrpym73] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* =============================================
   PROVINCE/DISTRICT LIST
   ============================================= */
.province-list[b-bdnjrpym73],
.district-list[b-bdnjrpym73] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 380px;
    overflow-y: auto;
}

.province-item[b-bdnjrpym73],
.district-item[b-bdnjrpym73] {
    padding: 0.875rem 1rem;
    background: #f8fafc !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

    .province-item:hover[b-bdnjrpym73],
    .district-item:hover[b-bdnjrpym73] {
        border-color: #1b3b88;
        background: #ffffff !important;
    }

    .province-item.active[b-bdnjrpym73] {
        background: rgba(27, 59, 136, 0.08) !important;
        border-color: #1b3b88;
        border-left-width: 3px;
    }

.province-header[b-bdnjrpym73] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.province-name[b-bdnjrpym73],
.district-name[b-bdnjrpym73] {
    font-weight: 600;
    color: #1f2937 !important;
    font-size: 0.813rem;
}

.province-score[b-bdnjrpym73] {
    font-weight: 700;
    font-size: 0.875rem;
    color: #1f2937 !important;
}

.progress-bar-container[b-bdnjrpym73] {
    height: 6px;
    background: #e2e8f0 !important;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

    .progress-bar-container .progress-bar[b-bdnjrpym73] {
        height: 100%;
        border-radius: 3px;
    }

.province-meta[b-bdnjrpym73] {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

    .province-meta span[b-bdnjrpym73] {
        color: #6b7280 !important;
    }

.province-stats[b-bdnjrpym73],
.district-stats[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
}

    .province-stats span[b-bdnjrpym73],
    .district-stats span[b-bdnjrpym73] {
        color: #6b7280 !important;
    }

/* =============================================
   TAB BUTTONS - White on blue header
   ============================================= */
.section-tabs[b-bdnjrpym73] {
    display: flex;
    gap: 0.25rem;
}

.tab-btn[b-bdnjrpym73] {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

    .tab-btn:hover[b-bdnjrpym73] {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .tab-btn.active[b-bdnjrpym73] {
        background: #ffffff !important;
        color: #1b3b88 !important;
        border-color: #ffffff;
        font-weight: 500;
    }

        .tab-btn.active i[b-bdnjrpym73] {
            color: #1b3b88 !important;
        }

/* =============================================
   TABLES - Dark text
   ============================================= */
.table-responsive[b-bdnjrpym73] {
    padding: 0 1.25rem 1.25rem;
    overflow-x: auto;
    background: #ffffff !important;
}

.district-table-container[b-bdnjrpym73],
.staff-table-container[b-bdnjrpym73] {
    padding: 0 1.25rem 1.25rem;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff !important;
}

.table[b-bdnjrpym73] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.813rem;
}

    .table th[b-bdnjrpym73] {
        text-align: left;
        padding: 0.75rem;
        background: #f8fafc !important;
        font-weight: 600;
        color: #4b5563 !important;
        border-bottom: 2px solid #e2e8f0;
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .table td[b-bdnjrpym73] {
        padding: 0.75rem;
        border-bottom: 1px solid #e2e8f0;
        vertical-align: middle;
        color: #1f2937 !important;
    }

    .table tbody tr[b-bdnjrpym73] {
        cursor: pointer;
        background: #ffffff !important;
    }

        .table tbody tr:hover[b-bdnjrpym73] {
            background: #f8fafc !important;
        }

    .table .text-center[b-bdnjrpym73] {
        text-align: center;
    }

    .table .text-end[b-bdnjrpym73] {
        text-align: right;
    }

    .table .text-muted[b-bdnjrpym73],
    .table td.text-muted[b-bdnjrpym73] {
        color: #6b7280 !important;
    }

    .table .fw-medium[b-bdnjrpym73] {
        font-weight: 500;
        color: #1f2937 !important;
    }

    .table small[b-bdnjrpym73] {
        color: #6b7280 !important;
        display: block;
    }

/* Score Badge */
.score-badge[b-bdnjrpym73] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Score with Bar */
.score-with-bar[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

    .score-with-bar span[b-bdnjrpym73] {
        font-weight: 600;
        min-width: 45px;
        text-align: right;
        color: #1f2937 !important;
    }

.mini-progress[b-bdnjrpym73] {
    flex: 1;
    height: 6px;
    background: #e2e8f0 !important;
    border-radius: 3px;
    overflow: hidden;
    min-width: 50px;
}

.mini-progress-bar[b-bdnjrpym73] {
    height: 100%;
    border-radius: 3px;
}

/* =============================================
   STAFF TABLE
   ============================================= */
.staff-info[b-bdnjrpym73] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.staff-avatar[b-bdnjrpym73] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.staff-details[b-bdnjrpym73] {
    display: flex;
    flex-direction: column;
}

.staff-name[b-bdnjrpym73] {
    font-weight: 600;
    color: #1f2937 !important;
}

.staff-email[b-bdnjrpym73] {
    font-size: 0.75rem;
    color: #6b7280 !important;
}

/* =============================================
   BADGES
   ============================================= */
.badge[b-bdnjrpym73] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.badge-success[b-bdnjrpym73] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

.badge-primary[b-bdnjrpym73] {
    background: rgba(27, 59, 136, 0.15) !important;
    color: #1b3b88 !important;
}

.badge-warning[b-bdnjrpym73] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #b45309 !important;
}

.badge-danger[b-bdnjrpym73] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
}

.badge-secondary[b-bdnjrpym73] {
    background: #f8fafc !important;
    color: #4b5563 !important;
    border: 1px solid #e2e8f0;
}

/* Grade Badges - White text on colored background */
.grade-badge[b-bdnjrpym73] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
}

    .grade-excellent[b-bdnjrpym73],
    .grade-badge.grade-excellent[b-bdnjrpym73] {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
        color: #ffffff !important;
    }

    .grade-good[b-bdnjrpym73],
    .grade-badge.grade-good[b-bdnjrpym73] {
        background: linear-gradient(135deg, #152d6b 0%, #1b3b88 100%) !important;
        color: #ffffff !important;
    }

    .grade-average[b-bdnjrpym73],
    .grade-badge.grade-average[b-bdnjrpym73] {
        background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
        color: #ffffff !important;
    }

    .grade-below[b-bdnjrpym73],
    .grade-badge.grade-below[b-bdnjrpym73] {
        background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
        color: #ffffff !important;
    }

    .grade-poor[b-bdnjrpym73],
    .grade-badge.grade-poor[b-bdnjrpym73] {
        background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
        color: #ffffff !important;
    }

/* =============================================
   PROGRESS BAR
   ============================================= */
.progress[b-bdnjrpym73] {
    height: 8px;
    background: #e2e8f0 !important;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar[b-bdnjrpym73] {
    height: 100%;
    border-radius: 4px;
}

/* =============================================
   GRID SYSTEM
   ============================================= */
.row[b-bdnjrpym73] {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
    padding: 1.25rem;
    background: #ffffff !important;
}

.col-md-5[b-bdnjrpym73] {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 0.75rem;
}

.col-md-6[b-bdnjrpym73] {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.75rem;
}

.col-md-7[b-bdnjrpym73] {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 0.75rem;
}

.col-lg-4[b-bdnjrpym73] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.75rem;
}

.col-lg-5[b-bdnjrpym73] {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 0.75rem;
}

.col-lg-7[b-bdnjrpym73] {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 0.75rem;
}

.col-lg-8[b-bdnjrpym73] {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 0.75rem;
}

@media (max-width: 992px) {
    .col-lg-4[b-bdnjrpym73], .col-lg-5[b-bdnjrpym73], .col-lg-7[b-bdnjrpym73], .col-lg-8[b-bdnjrpym73] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .col-md-5[b-bdnjrpym73], .col-md-6[b-bdnjrpym73], .col-md-7[b-bdnjrpym73] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-select[b-bdnjrpym73] {
    display: block;
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.813rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    appearance: none;
    cursor: pointer;
}

    .form-select:focus[b-bdnjrpym73] {
        border-color: #1b3b88;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(27, 59, 136, 0.15);
    }

.form-select-sm[b-bdnjrpym73] {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    padding-left: 0.5rem;
    font-size: 0.75rem;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-primary[b-bdnjrpym73] {
    color: #1b3b88 !important;
}

.text-success[b-bdnjrpym73] {
    color: #10b981 !important;
}

.text-warning[b-bdnjrpym73] {
    color: #f59e0b !important;
}

.text-danger[b-bdnjrpym73] {
    color: #ef4444 !important;
}

.text-muted[b-bdnjrpym73] {
    color: #6b7280 !important;
}

.fw-medium[b-bdnjrpym73] {
    font-weight: 500;
}

.fw-semibold[b-bdnjrpym73] {
    font-weight: 600;
}

.fw-bold[b-bdnjrpym73] {
    font-weight: 700;
}

.d-block[b-bdnjrpym73] {
    display: block;
}

.d-flex[b-bdnjrpym73] {
    display: flex;
}

.align-items-center[b-bdnjrpym73] {
    align-items: center;
}

.justify-content-between[b-bdnjrpym73] {
    justify-content: space-between;
}

.gap-2[b-bdnjrpym73] {
    gap: 0.5rem;
}

.gap-3[b-bdnjrpym73] {
    gap: 0.75rem;
}

.btn-sm[b-bdnjrpym73] {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.table-sm td[b-bdnjrpym73],
.table-sm th[b-bdnjrpym73] {
    padding: 0.5rem;
}

.table-hover tbody tr:hover[b-bdnjrpym73] {
    background-color: #f8fafc !important;
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */
.province-list[b-bdnjrpym73]::-webkit-scrollbar,
.district-list[b-bdnjrpym73]::-webkit-scrollbar,
.district-table-container[b-bdnjrpym73]::-webkit-scrollbar,
.staff-table-container[b-bdnjrpym73]::-webkit-scrollbar,
.table-responsive[b-bdnjrpym73]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.province-list[b-bdnjrpym73]::-webkit-scrollbar-track,
.district-list[b-bdnjrpym73]::-webkit-scrollbar-track,
.district-table-container[b-bdnjrpym73]::-webkit-scrollbar-track,
.staff-table-container[b-bdnjrpym73]::-webkit-scrollbar-track,
.table-responsive[b-bdnjrpym73]::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.province-list[b-bdnjrpym73]::-webkit-scrollbar-thumb,
.district-list[b-bdnjrpym73]::-webkit-scrollbar-thumb,
.district-table-container[b-bdnjrpym73]::-webkit-scrollbar-thumb,
.staff-table-container[b-bdnjrpym73]::-webkit-scrollbar-thumb,
.table-responsive[b-bdnjrpym73]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .inspection-report-container[b-bdnjrpym73] {
        padding: 0.75rem;
    }

    .report-header[b-bdnjrpym73] {
        padding: 1rem;
    }

    .header-title h1[b-bdnjrpym73] {
        font-size: 1.25rem;
    }

    .header-content[b-bdnjrpym73] {
        flex-direction: column;
    }

    .section-header[b-bdnjrpym73] {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .section-filters[b-bdnjrpym73] {
        width: 100%;
        flex-wrap: wrap;
    }

    .summary-grid[b-bdnjrpym73] {
        padding: 1rem;
    }

    .metrics-grid[b-bdnjrpym73] {
        grid-template-columns: repeat(2, 1fr);
    }

    .row[b-bdnjrpym73] {
        padding: 1rem;
    }

    .table-responsive[b-bdnjrpym73],
    .district-table-container[b-bdnjrpym73],
    .staff-table-container[b-bdnjrpym73] {
        padding: 0 1rem 1rem;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .inspection-report-container[b-bdnjrpym73] {
        background: white !important;
        padding: 0;
    }

    .header-actions[b-bdnjrpym73],
    .section-tabs[b-bdnjrpym73],
    .section-filters[b-bdnjrpym73] {
        display: none;
    }

    .report-section[b-bdnjrpym73] {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }

    .section-header[b-bdnjrpym73] {
        background-color: #1b3b88 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .row[b-bdnjrpym73] {
        display: block;
    }

    .col-md-5[b-bdnjrpym73], .col-md-6[b-bdnjrpym73], .col-md-7[b-bdnjrpym73],
    .col-lg-4[b-bdnjrpym73], .col-lg-5[b-bdnjrpym73], .col-lg-7[b-bdnjrpym73], .col-lg-8[b-bdnjrpym73] {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
/* /src/Components/Common/InspectionReports.razor.rz.scp.css */
/* =============================================
   Inspection Reports - Bootstrap Custom Styles
   ============================================= */

/* Brand Colors */
:root[b-wjgkvy4poy] {
    --rib-primary: #1f6a94;
    --rib-primary-dark: #184f6f;
    --rib-primary-light: #2e8bc0;
}

/* Override Bootstrap Primary Color */
.btn-primary[b-wjgkvy4poy] {
    background-color: var(--rib-primary);
    border-color: var(--rib-primary);
}

    .btn-primary:hover[b-wjgkvy4poy],
    .btn-primary:focus[b-wjgkvy4poy] {
        background-color: var(--rib-primary-dark);
        border-color: var(--rib-primary-dark);
    }

.btn-outline-primary[b-wjgkvy4poy] {
    color: var(--rib-primary);
    border-color: var(--rib-primary);
}

    .btn-outline-primary:hover[b-wjgkvy4poy],
    .btn-outline-primary:focus[b-wjgkvy4poy] {
        background-color: var(--rib-primary);
        border-color: var(--rib-primary);
        color: white;
    }

.text-primary[b-wjgkvy4poy] {
    color: var(--rib-primary) !important;
}

.bg-primary[b-wjgkvy4poy] {
    background-color: var(--rib-primary) !important;
}

.border-primary[b-wjgkvy4poy] {
    border-color: var(--rib-primary) !important;
}

/* =============================================
   Dashboard Summary Cards
   ============================================= */

/* Card Animation */
.card-animate[b-wjgkvy4poy] {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

    .card-animate:hover[b-wjgkvy4poy] {
        animation-name: fadeInUp-b-wjgkvy4poy;
        animation-timing-function: ease-out;
    }

@keyframes fadeInUp-b-wjgkvy4poy {
    from {
        opacity: 0.9;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Avatar Sizes */
.avatar-sm[b-wjgkvy4poy] {
    width: 48px;
    height: 48px;
}

.avatar-title[b-wjgkvy4poy] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bootstrap Subtle Background Colors */
.bg-primary-subtle[b-wjgkvy4poy] {
    background-color: rgba(31, 106, 148, 0.1) !important;
}

.bg-success-subtle[b-wjgkvy4poy] {
    background-color: rgba(39, 174, 96, 0.1) !important;
}

.bg-info-subtle[b-wjgkvy4poy] {
    background-color: rgba(52, 152, 219, 0.1) !important;
}

.bg-warning-subtle[b-wjgkvy4poy] {
    background-color: rgba(243, 156, 18, 0.1) !important;
}

.bg-danger-subtle[b-wjgkvy4poy] {
    background-color: rgba(231, 76, 60, 0.1) !important;
}

/* Project Card Styles */
.card-border-primary[b-wjgkvy4poy] {
    border-color: var(--rib-primary);
}

.text-white-75[b-wjgkvy4poy] {
    color: rgba(255, 255, 255, 0.75) !important;
}

.progress-sm[b-wjgkvy4poy] {
    height: 0.5rem;
}

.cursor-pointer[b-wjgkvy4poy] {
    cursor: pointer;
}

.avatar-icon[b-wjgkvy4poy] {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Card Animations */
.card[b-wjgkvy4poy] {
    transition: all 0.3s ease;
}

    .card:hover[b-wjgkvy4poy] {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
    }

/* =============================================
   Navigation Tabs
   ============================================= */

.nav-tabs[b-wjgkvy4poy] {
    border-bottom: 2px solid #dee2e6;
}

    .nav-tabs .nav-link[b-wjgkvy4poy] {
        color: #6c757d;
        font-weight: 500;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
    }

        .nav-tabs .nav-link:hover[b-wjgkvy4poy] {
            border-bottom-color: rgba(31, 106, 148, 0.3);
            color: var(--rib-primary);
            background-color: rgba(31, 106, 148, 0.05);
        }

        .nav-tabs .nav-link.active[b-wjgkvy4poy] {
            color: var(--rib-primary);
            background-color: transparent;
            border-bottom-color: var(--rib-primary);
            font-weight: 600;
        }

/* =============================================
   Breadcrumb Customization
   ============================================= */

.breadcrumb-item[b-wjgkvy4poy] {
    color: #6c757d;
    transition: all 0.2s ease;
}

    .breadcrumb-item:hover:not(.active)[b-wjgkvy4poy] {
        color: var(--rib-primary);
        text-decoration: underline;
    }

    .breadcrumb-item.active[b-wjgkvy4poy] {
        color: var(--rib-primary);
        font-weight: 600;
    }

    .breadcrumb-item + .breadcrumb-item[b-wjgkvy4poy]::before {
        color: #dee2e6;
    }

/* =============================================
   Modal Customization
   ============================================= */

.modal-header[b-wjgkvy4poy] {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.modal-title[b-wjgkvy4poy] {
    color: var(--rib-primary);
    font-weight: 600;
}

.modal-footer[b-wjgkvy4poy] {
    background-color: #f8f9fa;
}

/* =============================================
   Loading States
   ============================================= */

.spinner-border[b-wjgkvy4poy] {
    border-width: 0.3em;
}

/* =============================================
   Alert Customization
   ============================================= */

.alert[b-wjgkvy4poy] {
    border-left: 4px solid;
    border-radius: 0.375rem;
}

.alert-danger[b-wjgkvy4poy] {
    border-left-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* =============================================
   Form Controls
   ============================================= */

.form-select:focus[b-wjgkvy4poy],
.form-control:focus[b-wjgkvy4poy] {
    border-color: var(--rib-primary);
    box-shadow: 0 0 0 0.25rem rgba(31, 106, 148, 0.25);
}

.form-label[b-wjgkvy4poy] {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* =============================================
   Utility Classes
   ============================================= */

.fw-semibold[b-wjgkvy4poy] {
    font-weight: 600 !important;
}

/* =============================================
   Responsive Adjustments
   ============================================= */

@media (max-width: 768px) {
    .nav-tabs[b-wjgkvy4poy] {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .nav-tabs .nav-link[b-wjgkvy4poy] {
            white-space: nowrap;
            padding: 0.75rem 1rem;
        }

    .avatar-icon[b-wjgkvy4poy] {
        width: 50px;
        height: 50px;
    }

    .card-body h3[b-wjgkvy4poy] {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid[b-wjgkvy4poy] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .btn[b-wjgkvy4poy] {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* =============================================
   Section Summary Specific Styles
   ============================================= */

.section-card[b-wjgkvy4poy] {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

    .section-card:hover[b-wjgkvy4poy] {
        border-color: var(--rib-primary);
        box-shadow: 0 0.5rem 1rem rgba(31, 106, 148, 0.15);
    }

.section-badge[b-wjgkvy4poy] {
    background-color: var(--rib-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Progress Bars */
.progress[b-wjgkvy4poy] {
    height: 10px;
    border-radius: 1rem;
    background-color: #e9ecef;
}

.progress-bar[b-wjgkvy4poy] {
    border-radius: 1rem;
    transition: width 0.6s ease;
}

    .progress-bar.bg-excellent[b-wjgkvy4poy] {
        background: linear-gradient(90deg, #27ae60, #2ecc71);
    }

    .progress-bar.bg-good[b-wjgkvy4poy] {
        background: linear-gradient(90deg, #2ecc71, #3498db);
    }

    .progress-bar.bg-average[b-wjgkvy4poy] {
        background: linear-gradient(90deg, #f39c12, #e67e22);
    }

    .progress-bar.bg-poor[b-wjgkvy4poy] {
        background: linear-gradient(90deg, #e74c3c, #c0392b);
    }

/* =============================================
   Location Hierarchy Specific Styles
   ============================================= */

.location-card[b-wjgkvy4poy] {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

    .location-card:hover[b-wjgkvy4poy] {
        transform: translateY(-8px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
        border-color: var(--rib-primary);
    }

.location-icon[b-wjgkvy4poy] {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rib-primary);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
}

.score-circle[b-wjgkvy4poy] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid;
    font-weight: 700;
}

    .score-circle.excellent[b-wjgkvy4poy] {
        border-color: #27ae60;
        background-color: rgba(39, 174, 96, 0.1);
        color: #27ae60;
    }

    .score-circle.good[b-wjgkvy4poy] {
        border-color: #2ecc71;
        background-color: rgba(46, 204, 113, 0.1);
        color: #2ecc71;
    }

    .score-circle.average[b-wjgkvy4poy] {
        border-color: #f39c12;
        background-color: rgba(243, 156, 18, 0.1);
        color: #f39c12;
    }

    .score-circle.poor[b-wjgkvy4poy] {
        border-color: #e74c3c;
        background-color: rgba(231, 76, 60, 0.1);
        color: #e74c3c;
    }

/* =============================================
   Table Styles
   ============================================= */

.table-hover tbody tr[b-wjgkvy4poy] {
    transition: all 0.2s ease;
}

    .table-hover tbody tr:hover[b-wjgkvy4poy] {
        background-color: rgba(31, 106, 148, 0.05);
        cursor: pointer;
    }

/* =============================================
   Empty States
   ============================================= */

.empty-state[b-wjgkvy4poy] {
    padding: 4rem 2rem;
    text-align: center;
    color: #6c757d;
}

    .empty-state i[b-wjgkvy4poy] {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        opacity: 0.3;
    }

    .empty-state p[b-wjgkvy4poy] {
        font-size: 1.125rem;
        margin: 0;
    }

/* =============================================
   Performance Colors
   ============================================= */

.border-excellent[b-wjgkvy4poy] {
    border-left-color: #27ae60 !important;
}

.border-good[b-wjgkvy4poy] {
    border-left-color: #2ecc71 !important;
}

.border-average[b-wjgkvy4poy] {
    border-left-color: #f39c12 !important;
}

.border-poor[b-wjgkvy4poy] {
    border-left-color: #e74c3c !important;
}

.text-excellent[b-wjgkvy4poy] {
    color: #27ae60 !important;
}

.text-good[b-wjgkvy4poy] {
    color: #2ecc71 !important;
}

.text-average[b-wjgkvy4poy] {
    color: #f39c12 !important;
}

.text-poor[b-wjgkvy4poy] {
    color: #e74c3c !important;
}

.bg-excellent[b-wjgkvy4poy] {
    background-color: rgba(39, 174, 96, 0.1) !important;
}

.bg-good[b-wjgkvy4poy] {
    background-color: rgba(46, 204, 113, 0.1) !important;
}

.bg-average[b-wjgkvy4poy] {
    background-color: rgba(243, 156, 18, 0.1) !important;
}

.bg-poor[b-wjgkvy4poy] {
    background-color: rgba(231, 76, 60, 0.1) !important;
}

/* =============================================
   Badge Customization
   ============================================= */

.badge[b-wjgkvy4poy] {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

/* =============================================
   Shadow Utilities (Bootstrap Extensions)
   ============================================= */

.shadow-hover:hover[b-wjgkvy4poy] {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* =============================================
   Animation Classes
   ============================================= */

@keyframes fadeIn-b-wjgkvy4poy {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in[b-wjgkvy4poy] {
    animation: fadeIn-b-wjgkvy4poy 0.5s ease;
}

/* =============================================
   Print Styles
   ============================================= */

@media print {
    .btn[b-wjgkvy4poy],
    .breadcrumb[b-wjgkvy4poy],
    .nav-tabs[b-wjgkvy4poy] {
        display: none !important;
    }

    .card[b-wjgkvy4poy] {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
        page-break-inside: avoid;
    }
}
/* /src/Components/Common/InspectionReview.razor.rz.scp.css */
.inspection-review-container[b-dzcytsoil6] {
    padding: 24px;
    background: #f5f7fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.header-section[b-dzcytsoil6] {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 28px;
    border-left: 4px solid #1f6a94;
}

    .header-section h3[b-dzcytsoil6] {
        color: #1f6a94;
        margin: 0 0 24px 0;
        font-weight: 600;
        font-size: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .header-section h3[b-dzcytsoil6]::before {
            content: "📊";
            font-size: 28px;
        }

/* ==================== FILTERS ROW ==================== */

.filters-row[b-dzcytsoil6] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.filter-group[b-dzcytsoil6] {
    display: flex;
    flex-direction: column;
}

    .filter-group label[b-dzcytsoil6] {
        margin-bottom: 8px;
        font-weight: 600;
        color: #2c3e50;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* ==================== FORM CONTROLS ==================== */

.form-select[b-dzcytsoil6] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

    .form-select:hover[b-dzcytsoil6] {
        border-color: #1f6a94;
    }

    .form-select:focus[b-dzcytsoil6] {
        outline: none;
        border-color: #1f6a94;
        box-shadow: 0 0 0 3px rgba(31, 106, 148, 0.1);
    }

.form-control[b-dzcytsoil6] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .form-control:hover[b-dzcytsoil6] {
        border-color: #1f6a94;
    }

    .form-control:focus[b-dzcytsoil6] {
        outline: none;
        border-color: #1f6a94;
        box-shadow: 0 0 0 3px rgba(31, 106, 148, 0.1);
    }

    /* WebKit browsers - Date picker styling */
    .form-control[b-dzcytsoil6]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        filter: invert(34%) sepia(61%) saturate(495%) hue-rotate(159deg) brightness(93%) contrast(92%);
        padding: 4px;
        border-radius: 4px;
    }

        .form-control[b-dzcytsoil6]::-webkit-calendar-picker-indicator:hover {
            background: rgba(31, 106, 148, 0.1);
        }

/* ==================== FILTER ACTIONS ==================== */

.filter-actions[b-dzcytsoil6] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn[b-dzcytsoil6] {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .btn i[b-dzcytsoil6] {
        font-size: 16px;
    }

.btn-primary[b-dzcytsoil6] {
    background: linear-gradient(135deg, #1f6a94 0%, #184f6f 100%);
    color: white;
}

    .btn-primary:hover:not(:disabled)[b-dzcytsoil6] {
        background: linear-gradient(135deg, #184f6f 0%, #123a52 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(31, 106, 148, 0.3);
    }

.btn-success[b-dzcytsoil6] {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

    .btn-success:hover:not(:disabled)[b-dzcytsoil6] {
        background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    }

.btn-secondary[b-dzcytsoil6] {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

    .btn-secondary:hover:not(:disabled)[b-dzcytsoil6] {
        background: linear-gradient(135deg, #5a6268 0%, #4e555b 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
    }

.btn-warning[b-dzcytsoil6] {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
}

    .btn-warning:hover:not(:disabled)[b-dzcytsoil6] {
        background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    }

.btn:disabled[b-dzcytsoil6] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn:active:not(:disabled)[b-dzcytsoil6] {
    transform: translateY(0);
}

/* ==================== SEARCH SECTION ==================== */

.search-section[b-dzcytsoil6] {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
    animation: slideIn-b-dzcytsoil6 0.3s ease-out;
}

.search-box[b-dzcytsoil6] {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-icon[b-dzcytsoil6] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    pointer-events: none;
}

.search-input[b-dzcytsoil6] {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    background-color: white;
}

    .search-input[b-dzcytsoil6]::placeholder {
        color: #adb5bd;
    }

    .search-input:focus[b-dzcytsoil6] {
        outline: none;
        border-color: #1f6a94;
        box-shadow: 0 0 0 3px rgba(31, 106, 148, 0.1);
    }

.clear-search[b-dzcytsoil6] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

    .clear-search:hover[b-dzcytsoil6] {
        background: #c82333;
        transform: translateY(-50%) scale(1.1);
    }

    .clear-search i[b-dzcytsoil6] {
        font-size: 14px;
    }

.export-actions[b-dzcytsoil6] {
    display: flex;
    gap: 12px;
}

/* ==================== SUMMARY CARDS ==================== */

.summary-cards[b-dzcytsoil6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.summary-card[b-dzcytsoil6] {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .summary-card:hover[b-dzcytsoil6] {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        border-left-color: #1f6a94;
    }

    .summary-card:nth-child(1)[b-dzcytsoil6] {
        animation: fadeIn-b-dzcytsoil6 0.5s ease-out 0.1s backwards;
    }

    .summary-card:nth-child(2)[b-dzcytsoil6] {
        animation: fadeIn-b-dzcytsoil6 0.5s ease-out 0.2s backwards;
    }

    .summary-card:nth-child(3)[b-dzcytsoil6] {
        animation: fadeIn-b-dzcytsoil6 0.5s ease-out 0.3s backwards;
    }

    .summary-card:nth-child(4)[b-dzcytsoil6] {
        animation: fadeIn-b-dzcytsoil6 0.5s ease-out 0.4s backwards;
    }

    .summary-card:nth-child(1) .card-icon[b-dzcytsoil6] {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        color: #1f6a94;
    }

    .summary-card:nth-child(2) .card-icon[b-dzcytsoil6] {
        background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
        color: #2e7d32;
    }

    .summary-card:nth-child(3) .card-icon[b-dzcytsoil6] {
        background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
        color: #ef6c00;
    }

    .summary-card:nth-child(4) .card-icon[b-dzcytsoil6] {
        background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
        color: #7b1fa2;
    }

.card-icon[b-dzcytsoil6] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content[b-dzcytsoil6] {
    flex: 1;
}

    .card-content h4[b-dzcytsoil6] {
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        color: #1f6a94;
        line-height: 1;
    }

    .card-content p[b-dzcytsoil6] {
        margin: 8px 0 0;
        color: #6c757d;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* ==================== TABLE CONTAINER ==================== */

.table-container[b-dzcytsoil6] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeIn-b-dzcytsoil6 0.5s ease-out;
}

.results-info[b-dzcytsoil6] {
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    animation: slideIn-b-dzcytsoil6 0.4s ease-out;
}

.results-count[b-dzcytsoil6] {
    color: #2c3e50;
    font-size: 14px;
}

    .results-count strong[b-dzcytsoil6] {
        color: #1f6a94;
        font-weight: 700;
    }

.search-badge[b-dzcytsoil6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff3cd;
    color: #856404;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #ffeaa7;
}

    .search-badge i[b-dzcytsoil6] {
        font-size: 14px;
    }

.table-responsive[b-dzcytsoil6] {
    overflow-x: auto;
    position: relative;
}

    /* Custom scrollbar */
    .table-responsive[b-dzcytsoil6]::-webkit-scrollbar {
        height: 12px;
    }

    .table-responsive[b-dzcytsoil6]::-webkit-scrollbar-track {
        background: #f1f3f5;
        border-radius: 0 0 12px 12px;
    }

    .table-responsive[b-dzcytsoil6]::-webkit-scrollbar-thumb {
        background: #1f6a94;
        border-radius: 6px;
    }

        .table-responsive[b-dzcytsoil6]::-webkit-scrollbar-thumb:hover {
            background: #184f6f;
        }

/* ==================== DATA TABLE ==================== */

.data-table[b-dzcytsoil6] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

    .data-table thead[b-dzcytsoil6] {
        background: linear-gradient(135deg, #1f6a94 0%, #184f6f 100%);
        color: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }

        .data-table thead tr th[b-dzcytsoil6] {
            padding: 18px 20px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            white-space: nowrap;
            border-bottom: 3px solid #123a52;
            position: relative;
        }

            .data-table thead tr th[b-dzcytsoil6]::after {
                content: '';
                position: absolute;
                right: 0;
                top: 25%;
                height: 50%;
                width: 1px;
                background: rgba(255, 255, 255, 0.2);
            }

            .data-table thead tr th:last-child[b-dzcytsoil6]::after {
                display: none;
            }

/* ==================== SORTABLE HEADERS ==================== */

.sortable-header[b-dzcytsoil6] {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background 0.2s ease;
}

    .sortable-header:hover[b-dzcytsoil6] {
        background: rgba(255, 255, 255, 0.1);
    }

    .sortable-header:active[b-dzcytsoil6] {
        background: rgba(255, 255, 255, 0.15);
    }

.sort-icon[b-dzcytsoil6] {
    margin-left: 6px;
    font-size: 12px;
    vertical-align: middle;
    display: inline-block;
    animation: sortIconAppear-b-dzcytsoil6 0.2s ease-out;
}

@keyframes sortIconAppear-b-dzcytsoil6 {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== TABLE BODY ==================== */

.data-table tbody tr[b-dzcytsoil6] {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

    .data-table tbody tr:hover[b-dzcytsoil6] {
        background: linear-gradient(to right, #f8f9fa 0%, #e9ecef 100%);
        transform: scale(1.005);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .data-table tbody tr:last-child[b-dzcytsoil6] {
        border-bottom: none;
    }

    .data-table tbody tr:nth-child(even)[b-dzcytsoil6] {
        background: #fafbfc;
    }

        .data-table tbody tr:nth-child(even):hover[b-dzcytsoil6] {
            background: linear-gradient(to right, #f1f3f5 0%, #e9ecef 100%);
        }

.data-table td[b-dzcytsoil6] {
    padding: 16px 20px;
    color: #2c3e50;
    font-size: 14px;
    vertical-align: middle;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .data-table td:first-child[b-dzcytsoil6] {
        font-weight: 600;
        color: #1f6a94;
    }

    /* Add tooltips for truncated text */
    .data-table td[title][b-dzcytsoil6] {
        cursor: help;
    }

/* ==================== CELL TYPE STYLING ==================== */

.cell-status[b-dzcytsoil6] {
    font-weight: 600;
}

.cell-inspector[b-dzcytsoil6] {
    font-weight: 500;
    color: #1f6a94;
}

.cell-location[b-dzcytsoil6] {
    color: #2e7d32;
    font-weight: 500;
}

.cell-date[b-dzcytsoil6] {
    font-family: 'Courier New', monospace;
    color: #6c757d;
    font-size: 13px;
}

/* ==================== LOADING SPINNER ==================== */

.loading-spinner[b-dzcytsoil6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .loading-spinner .spinner-border[b-dzcytsoil6] {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }

.text-primary[b-dzcytsoil6] {
    color: #1f6a94 !important;
}

.loading-spinner p[b-dzcytsoil6] {
    margin-top: 20px;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

/* Bootstrap spinner styles */
.spinner-border[b-dzcytsoil6] {
    display: inline-block;
    border: 4px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-dzcytsoil6 0.75s linear infinite;
}

@keyframes spinner-border-b-dzcytsoil6 {
    to {
        transform: rotate(360deg);
    }
}

.visually-hidden[b-dzcytsoil6] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== NO DATA STATE ==================== */

.no-data[b-dzcytsoil6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #adb5bd;
}

    .no-data i[b-dzcytsoil6] {
        font-size: 72px;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .no-data p[b-dzcytsoil6] {
        font-size: 16px;
        font-weight: 500;
        margin: 0 0 16px 0;
        color: #6c757d;
    }

    .no-data button[b-dzcytsoil6] {
        margin-top: 0;
    }

/* ==================== ANIMATIONS ==================== */

@keyframes fadeIn-b-dzcytsoil6 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn-b-dzcytsoil6 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1200px) {
    .filters-row[b-dzcytsoil6] {
        grid-template-columns: 1fr 1fr;
    }

    .filter-actions[b-dzcytsoil6] {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .inspection-review-container[b-dzcytsoil6] {
        padding: 16px;
    }

    .header-section[b-dzcytsoil6] {
        padding: 20px;
    }

        .header-section h3[b-dzcytsoil6] {
            font-size: 20px;
        }

            .header-section h3[b-dzcytsoil6]::before {
                font-size: 24px;
            }

    .filters-row[b-dzcytsoil6] {
        grid-template-columns: 1fr;
    }

    .filter-actions[b-dzcytsoil6] {
        grid-column: 1;
        width: 100%;
    }

    .summary-cards[b-dzcytsoil6] {
        grid-template-columns: 1fr;
    }

    .summary-card[b-dzcytsoil6] {
        padding: 20px;
    }

    .card-icon[b-dzcytsoil6] {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .card-content h4[b-dzcytsoil6] {
        font-size: 28px;
    }

    .search-section[b-dzcytsoil6] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-dzcytsoil6] {
        max-width: 100%;
    }

    .export-actions[b-dzcytsoil6] {
        width: 100%;
    }

        .export-actions .btn[b-dzcytsoil6] {
            flex: 1;
        }

    .btn[b-dzcytsoil6] {
        padding: 10px 16px;
        font-size: 13px;
        justify-content: center;
    }

    .data-table[b-dzcytsoil6] {
        font-size: 13px;
    }

        .data-table thead tr th[b-dzcytsoil6] {
            padding: 14px 12px;
            font-size: 11px;
        }

        .data-table td[b-dzcytsoil6] {
            padding: 12px;
            max-width: 200px;
        }

    .results-info[b-dzcytsoil6] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-section h3[b-dzcytsoil6] {
        font-size: 18px;
    }

    .summary-card[b-dzcytsoil6] {
        padding: 16px;
        gap: 16px;
    }

    .card-icon[b-dzcytsoil6] {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .card-content h4[b-dzcytsoil6] {
        font-size: 24px;
    }

    .card-content p[b-dzcytsoil6] {
        font-size: 12px;
    }

    .filter-actions[b-dzcytsoil6] {
        flex-direction: column;
    }

        .filter-actions .btn[b-dzcytsoil6] {
            width: 100%;
        }
}

@media print {
    .header-section[b-dzcytsoil6],
    .filter-actions[b-dzcytsoil6],
    .summary-cards[b-dzcytsoil6],
    .search-section[b-dzcytsoil6],
    .results-info[b-dzcytsoil6],
    .export-actions[b-dzcytsoil6] {
        display: none;
    }

    .inspection-review-container[b-dzcytsoil6] {
        padding: 0;
        background: white;
    }

    .table-container[b-dzcytsoil6] {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .data-table tbody tr:hover[b-dzcytsoil6] {
        background: none;
        transform: none;
    }

    .data-table thead[b-dzcytsoil6] {
        background: #1f6a94 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ==================== ACCESSIBILITY ==================== */

.btn:focus-visible[b-dzcytsoil6],
.form-select:focus-visible[b-dzcytsoil6],
.form-control:focus-visible[b-dzcytsoil6],
.search-input:focus-visible[b-dzcytsoil6] {
    outline: 3px solid #1f6a94;
    outline-offset: 2px;
}

.data-table tbody tr:focus-within[b-dzcytsoil6] {
    background: #e3f2fd;
    outline: 2px solid #1f6a94;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .data-table thead[b-dzcytsoil6] {
        background: #000;
    }

    .btn-primary[b-dzcytsoil6] {
        background: #000;
    }

    .card-icon[b-dzcytsoil6] {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *[b-dzcytsoil6],
    *[b-dzcytsoil6]::before,
    *[b-dzcytsoil6]::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.text-center[b-dzcytsoil6] {
    text-align: center;
}

.mb-0[b-dzcytsoil6] {
    margin-bottom: 0;
}

.mt-2[b-dzcytsoil6] {
    margin-top: 0.5rem;
}

.p-4[b-dzcytsoil6] {
    padding: 1.5rem;
}
/* ==================== ROW NUMBER COLUMN ==================== */

.row-number-header[b-dzcytsoil6],
.row-number[b-dzcytsoil6] {
    width: 60px;
    text-align: center;
    font-weight: 700;
    background: #f8f9fa;
    position: sticky;
    left: 0;
    z-index: 5;
}

.row-number-header[b-dzcytsoil6] {
    z-index: 11 !important;
    background: linear-gradient(135deg, #184f6f 0%, #123a52 100%) !important;
}

.row-number[b-dzcytsoil6] {
    color: #1f6a94;
    border-right: 2px solid #e9ecef;
    font-size: 14px;
}

.data-table tbody tr:hover .row-number[b-dzcytsoil6] {
    background: #e9ecef;
}

.data-table tbody tr:nth-child(even) .row-number[b-dzcytsoil6] {
    background: #f1f3f5;
}

.data-table tbody tr:nth-child(even):hover .row-number[b-dzcytsoil6] {
    background: #e9ecef;
}

/* Ensure row number stays visible when scrolling horizontally */
@media (max-width: 768px) {
    .row-number-header[b-dzcytsoil6],
    .row-number[b-dzcytsoil6] {
        width: 50px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .row-number-header[b-dzcytsoil6],
    .row-number[b-dzcytsoil6] {
        width: 40px;
        font-size: 11px;
        padding: 12px 8px;
    }
}
/* /src/Components/Common/SectionSummaryReport.razor.rz.scp.css */
/* =============================================
   SECTION SUMMARY REPORT - ENHANCED DESIGN
   ============================================= */

/* Brand Colors */
:root[b-7g92vzixci] {
    --primary: #1f6a94;
    --primary-dark: #184f6f;
    --primary-light: #2a7fb3;
    --excellent: #27ae60;
    --excellent-light: #2ecc71;
    --good: #3498db;
    --good-light: #5dade2;
    --average: #f39c12;
    --average-light: #f8b739;
    --poor: #e74c3c;
    --poor-light: #ec7063;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #ecf0f1;
    --text-dark: #2c3e50;
    --text-medium: #34495e;
    --text-light: #7f8c8d;
    --border: #dfe4ea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.section-summary-report[b-7g92vzixci] {
    width: 100%;
    animation: fadeIn-b-7g92vzixci 0.4s ease;
}

@keyframes fadeIn-b-7g92vzixci {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   LOADING STATE
   ============================================= */
.loading-section[b-7g92vzixci] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.loading-spinner[b-7g92vzixci] {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring[b-7g92vzixci] {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin-b-7g92vzixci 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

    .spinner-ring:nth-child(1)[b-7g92vzixci] {
        animation-delay: -0.45s;
        border-top-color: var(--primary);
    }

    .spinner-ring:nth-child(2)[b-7g92vzixci] {
        animation-delay: -0.3s;
        border-top-color: var(--primary-light);
    }

    .spinner-ring:nth-child(3)[b-7g92vzixci] {
        animation-delay: -0.15s;
        border-top-color: var(--primary-dark);
    }

@keyframes spin-b-7g92vzixci {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text[b-7g92vzixci] {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* =============================================
   REPORT HEADER
   ============================================= */
.report-header-container[b-7g92vzixci] {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    color: white;
}

.report-title-section[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.title-icon[b-7g92vzixci] {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    font-size: 2rem;
}

.title-content[b-7g92vzixci] {
    flex: 1;
}

.report-title[b-7g92vzixci] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.report-subtitle[b-7g92vzixci] {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.report-filters-section[b-7g92vzixci] {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group[b-7g92vzixci] {
    flex: 1;
    min-width: 200px;
}

.filter-label[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.filter-select[b-7g92vzixci] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

    .filter-select:hover[b-7g92vzixci] {
        background: white;
        border-color: rgba(255, 255, 255, 0.4);
    }

    .filter-select:focus[b-7g92vzixci] {
        outline: none;
        background: white;
        border-color: white;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    }

/* =============================================
   SUMMARY STATISTICS CARDS
   ============================================= */
.summary-stats-grid[b-7g92vzixci] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

    .stat-card[b-7g92vzixci]::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        opacity: 0.05;
        transform: translate(30%, -30%);
    }

    .stat-card.stat-primary[b-7g92vzixci] {
        border-left-color: var(--primary);
    }

        .stat-card.stat-primary[b-7g92vzixci]::before {
            background: var(--primary);
        }

    .stat-card.stat-success[b-7g92vzixci] {
        border-left-color: var(--excellent);
    }

        .stat-card.stat-success[b-7g92vzixci]::before {
            background: var(--excellent);
        }

    .stat-card.stat-info[b-7g92vzixci] {
        border-left-color: var(--good);
    }

        .stat-card.stat-info[b-7g92vzixci]::before {
            background: var(--good);
        }

    .stat-card.stat-warning[b-7g92vzixci] {
        border-left-color: var(--average);
    }

        .stat-card.stat-warning[b-7g92vzixci]::before {
            background: var(--average);
        }

    .stat-card:hover[b-7g92vzixci] {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.stat-card-icon[b-7g92vzixci] {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-primary .stat-card-icon[b-7g92vzixci] {
    background: linear-gradient(135deg, rgba(31, 106, 148, 0.1), rgba(31, 106, 148, 0.2));
    color: var(--primary);
}

.stat-success .stat-card-icon[b-7g92vzixci] {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.2));
    color: var(--excellent);
}

.stat-info .stat-card-icon[b-7g92vzixci] {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
    color: var(--good);
}

.stat-warning .stat-card-icon[b-7g92vzixci] {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.2));
    color: var(--average);
}

.stat-card-content[b-7g92vzixci] {
    flex: 1;
}

.stat-value[b-7g92vzixci] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label[b-7g92vzixci] {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   SECTIONS GRID
   ============================================= */
.sections-grid-container[b-7g92vzixci] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.section-card[b-7g92vzixci] {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

    .section-card[b-7g92vzixci]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--transition-normal);
    }

    .section-card:hover[b-7g92vzixci]::before {
        transform: scaleX(1);
    }

    .section-card:hover[b-7g92vzixci] {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary);
    }

    .section-card.excellent[b-7g92vzixci] {
        border-color: transparent;
    }

        .section-card.excellent[b-7g92vzixci]::before {
            background: linear-gradient(90deg, var(--excellent), var(--excellent-light));
        }

    .section-card.good[b-7g92vzixci]::before {
        background: linear-gradient(90deg, var(--good), var(--good-light));
    }

    .section-card.average[b-7g92vzixci]::before {
        background: linear-gradient(90deg, var(--average), var(--average-light));
    }

    .section-card.poor[b-7g92vzixci]::before {
        background: linear-gradient(90deg, var(--poor), var(--poor-light));
    }

/* Card Header */
.section-card-header[b-7g92vzixci] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-badge[b-7g92vzixci] {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.badge-number[b-7g92vzixci] {
    display: block;
}

.section-title-wrapper[b-7g92vzixci] {
    flex: 1;
}

.section-title[b-7g92vzixci] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.section-meta[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

    .meta-item i[b-7g92vzixci] {
        color: var(--primary);
    }

/* Performance Showcase */
.performance-showcase[b-7g92vzixci] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.score-circle-container[b-7g92vzixci] {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.score-circle[b-7g92vzixci] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle-bg[b-7g92vzixci] {
    fill: none;
    stroke: var(--bg-lighter);
    stroke-width: 8;
}

.score-circle-progress[b-7g92vzixci] {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

    .score-circle-progress.excellent[b-7g92vzixci] {
        stroke: url(#excellentGradient);
        stroke: var(--excellent);
    }

    .score-circle-progress.good[b-7g92vzixci] {
        stroke: var(--good);
    }

    .score-circle-progress.average[b-7g92vzixci] {
        stroke: var(--average);
    }

    .score-circle-progress.poor[b-7g92vzixci] {
        stroke: var(--poor);
    }

.score-circle-content[b-7g92vzixci] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value[b-7g92vzixci] {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.score-suffix[b-7g92vzixci] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.performance-label[b-7g92vzixci] {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .performance-label.excellent[b-7g92vzixci] {
        background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.25));
        color: var(--excellent);
    }

    .performance-label.good[b-7g92vzixci] {
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.25));
        color: var(--good);
    }

    .performance-label.average[b-7g92vzixci] {
        background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(243, 156, 18, 0.25));
        color: var(--average);
    }

    .performance-label.poor[b-7g92vzixci] {
        background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.25));
        color: var(--poor);
    }

/* Section Metrics */
.section-metrics[b-7g92vzixci] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-item[b-7g92vzixci] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

    .metric-item:hover[b-7g92vzixci] {
        background: var(--bg-lighter);
    }

.metric-icon[b-7g92vzixci] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.1rem;
}

.metric-data[b-7g92vzixci] {
    flex: 1;
}

.metric-value[b-7g92vzixci] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label[b-7g92vzixci] {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Progress Bar */
.section-progress[b-7g92vzixci] {
    margin-bottom: 1.5rem;
}

.progress-info[b-7g92vzixci] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label[b-7g92vzixci] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
}

.progress-percentage[b-7g92vzixci] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.progress-bar-track[b-7g92vzixci] {
    height: 12px;
    background: var(--bg-lighter);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill[b-7g92vzixci] {
    height: 100%;
    border-radius: 50px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .progress-bar-fill.excellent[b-7g92vzixci] {
        background: linear-gradient(90deg, var(--excellent), var(--excellent-light));
    }

    .progress-bar-fill.good[b-7g92vzixci] {
        background: linear-gradient(90deg, var(--good), var(--good-light));
    }

    .progress-bar-fill.average[b-7g92vzixci] {
        background: linear-gradient(90deg, var(--average), var(--average-light));
    }

    .progress-bar-fill.poor[b-7g92vzixci] {
        background: linear-gradient(90deg, var(--poor), var(--poor-light));
    }

.progress-bar-shine[b-7g92vzixci] {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine-b-7g92vzixci 2s infinite;
}

@keyframes shine-b-7g92vzixci {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Action Button */
.section-action[b-7g92vzixci] {
    margin-top: auto;
}

.action-button[b-7g92vzixci] {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(31, 106, 148, 0.3);
}

    .action-button:hover[b-7g92vzixci] {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(31, 106, 148, 0.4);
    }

.action-text[b-7g92vzixci] {
    flex: 1;
    text-align: center;
}

.action-icon[b-7g92vzixci] {
    transition: transform var(--transition-fast);
}

.action-button:hover .action-icon[b-7g92vzixci] {
    transform: translateX(4px);
}

/* Hover Overlay */
.card-hover-overlay[b-7g92vzixci] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 106, 148, 0.95), rgba(24, 79, 111, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.section-card:hover .card-hover-overlay[b-7g92vzixci] {
    opacity: 1;
}

.overlay-content[b-7g92vzixci] {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.section-card:hover .overlay-content[b-7g92vzixci] {
    transform: translateY(0);
}

.overlay-icon[b-7g92vzixci] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.overlay-text[b-7g92vzixci] {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state[b-7g92vzixci] {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.empty-state-icon[b-7g92vzixci] {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
    border-radius: 50%;
    font-size: 4rem;
    color: var(--text-light);
}

.empty-state-title[b-7g92vzixci] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.empty-state-message[b-7g92vzixci] {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1200px) {
    .sections-grid-container[b-7g92vzixci] {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    .report-header-container[b-7g92vzixci] {
        padding: 2rem 1.5rem;
    }

    .report-title[b-7g92vzixci] {
        font-size: 1.5rem;
    }

    .report-subtitle[b-7g92vzixci] {
        font-size: 0.9rem;
    }

    .summary-stats-grid[b-7g92vzixci] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .sections-grid-container[b-7g92vzixci] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-card[b-7g92vzixci] {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .summary-stats-grid[b-7g92vzixci] {
        grid-template-columns: 1fr;
    }

    .report-filters-section[b-7g92vzixci] {
        flex-direction: column;
    }

    .filter-group[b-7g92vzixci] {
        width: 100%;
    }
}
/* /src/Components/Common/UploadIECMSExcel.razor.rz.scp.css */
.dropzone[b-mrfzgsukno] {
    position: relative;
    overflow: hidden;
    border: 2px dotted rgba(0,0,0,.2);
    background-color: rgba(0,0,0,.09);
    margin-bottom: 20px;
    border-radius: 5px;
}

    .dropzone.dropzone-active[b-mrfzgsukno] {
        background-color: #999;
    }

    .dropzone label[b-mrfzgsukno] {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

.fileProgress[b-mrfzgsukno] {
    vertical-align: middle !important;
}

.text-icon-light[b-mrfzgsukno] {
    color: #e9ecef;
}
/* /src/Components/Inspections/OperationTemplate.razor.rz.scp.css */
/* /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 */

/* Main container */
.itf-chart[b-fgq2i9dmox] {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

/* Chart container */
.itf-chart-container[b-fgq2i9dmox] {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

    .itf-chart-container.dynamic-scroll-horizontal[b-fgq2i9dmox] {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
    }

        .itf-chart-container.dynamic-scroll-horizontal[b-fgq2i9dmox]::-webkit-scrollbar {
            height: 8px;
        }

        .itf-chart-container.dynamic-scroll-horizontal[b-fgq2i9dmox]::-webkit-scrollbar-track {
            background: rgba(148, 163, 184, 0.1);
            border-radius: 4px;
        }

        .itf-chart-container.dynamic-scroll-horizontal[b-fgq2i9dmox]::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.4);
            border-radius: 4px;
        }

/* Chart canvas */
.itf-chart-canvas[b-fgq2i9dmox] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.dynamic-scroll-horizontal .itf-chart-canvas[b-fgq2i9dmox] {
    min-width: 100%;
    width: max-content;
    height: 100%;
}

/* SVG styling */
.chart-svg[b-fgq2i9dmox] {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.dynamic-scroll-horizontal .chart-svg[b-fgq2i9dmox] {
    max-width: none;
    width: auto;
    min-width: 100%;
    height: 100%;
}

/* =========================================
   Horizontal Bar Animation - Width only!
   ========================================= */

@keyframes hbarGrow-b-fgq2i9dmox {
    from {
        transform: scaleX(0);
        transform-origin: left center;
    }

    to {
        transform: scaleX(1);
        transform-origin: left center;
    }
}

.hbar-fill[b-fgq2i9dmox] {
    cursor: pointer;
    transition: filter 0.2s ease;
}

    .hbar-fill:hover[b-fgq2i9dmox] {
        filter: brightness(1.12) saturate(1.1);
    }


.itf-chart-loading[b-fgq2i9dmox] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #64748b;
}

.loading-spinner[b-fgq2i9dmox] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(148, 163, 184, 0.3);
    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: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.itf-chart-empty[b-fgq2i9dmox] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #94a3b8;
}

.empty-icon[b-fgq2i9dmox] {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

    .empty-icon svg[b-fgq2i9dmox] {
        width: 100%;
        height: 100%;
    }

    .empty-icon .cls-1[b-fgq2i9dmox] {
        fill: #cbd5e1;
    }

.itf-chart-empty p[b-fgq2i9dmox] {
    font-size: 1rem;
    font-weight: 500;
}



.axis-line[b-fgq2i9dmox] {
    stroke: #94a3b8;
    stroke-width: 1;
    stroke-linecap: round;
}

.axis-tick-label[b-fgq2i9dmox],
.axis-label[b-fgq2i9dmox] {
    fill: #94a3b8;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.axis-title[b-fgq2i9dmox] {
    fill: #64748b;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.grid-line[b-fgq2i9dmox] {
    stroke: rgba(148, 163, 184, 0.15);
    stroke-width: 1;
}

/* =========================================
   Value Label Styles
   ========================================= */

.value-label[b-fgq2i9dmox],
.chart-value-label[b-fgq2i9dmox] {
    fill: #0f172a;
    color: #000;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.chart-value-label-inside[b-fgq2i9dmox] {
    fill: #ffffff;
    font-weight: 700;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.chart-value-label-rotated[b-fgq2i9dmox] {
    fill: #ffffff;
    font-weight: 700;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.chart-value-label-outside[b-fgq2i9dmox] {
    fill: #0f172a;
    font-weight: 700;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.chart-value-label-horizontal[b-fgq2i9dmox] {
    fill: #f1f5f9;
    font-weight: 700;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.horizontal-bar-label[b-fgq2i9dmox] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
    color: #000;
}

.bar-track[b-fgq2i9dmox] {
    pointer-events: none;
}

.bar-glass-highlight[b-fgq2i9dmox],
.bar-glass[b-fgq2i9dmox] {
    pointer-events: none;
    opacity: 0;
    animation: glassShine-b-fgq2i9dmox 0.5s ease forwards;
}

@keyframes glassShine-b-fgq2i9dmox {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bar-shadow[b-fgq2i9dmox] {
    pointer-events: none;
}

.value-label-bg[b-fgq2i9dmox] {
    fill: rgba(255, 255, 255, 0.95);
    stroke: #e2e8f0;
    stroke-width: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.value-label-pill[b-fgq2i9dmox] {
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* =========================================
   Vertical Bar Styles
   ========================================= */

.bar-element[b-fgq2i9dmox],
.chart-bar[b-fgq2i9dmox] {
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

    .bar-element:hover[b-fgq2i9dmox],
    .chart-bar:hover[b-fgq2i9dmox] {
        filter: brightness(1.12) saturate(1.1);
    }

@keyframes barGrow-b-fgq2i9dmox {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.bar-animated[b-fgq2i9dmox] {
    animation: barGrow-b-fgq2i9dmox 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: backwards;
}

/* Horizontal bar - OLD class kept for compatibility */
@keyframes barGrowHorizontal-b-fgq2i9dmox {
    from {
        transform: scaleX(0);
        transform-origin: left center;
    }

    to {
        transform: scaleX(1);
        transform-origin: left center;
    }
}

.bar-animated-horizontal[b-fgq2i9dmox] {
    animation: barGrowHorizontal-b-fgq2i9dmox 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: backwards;
    transform-origin: left center;
}

/* =========================================
   Chart Point & Line Styles
   ========================================= */

.chart-point[b-fgq2i9dmox] {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .chart-point:hover[b-fgq2i9dmox] {
        filter: brightness(1.2) drop-shadow(0 0 8px currentColor);
        transform: scale(1.3);
    }

.point-glow[b-fgq2i9dmox] {
    pointer-events: none;
    opacity: 0;
    animation: glowPulse-b-fgq2i9dmox 2s ease-in-out infinite;
}

@keyframes glowPulse-b-fgq2i9dmox {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

.chart-line[b-fgq2i9dmox] {
    fill: none;
    pointer-events: stroke;
    cursor: pointer;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: filter 0.2s ease, stroke-width 0.2s ease;
}

    .chart-line:hover[b-fgq2i9dmox] {
        stroke-width: 4;
        filter: drop-shadow(0 0 10px currentColor);
    }

.chart-area-fill[b-fgq2i9dmox] {
    pointer-events: none;
}

.chart-area[b-fgq2i9dmox] {
    pointer-events: fill;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .chart-area:hover[b-fgq2i9dmox] {
        opacity: 0.85;
    }

@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;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.line-animated[b-fgq2i9dmox] {
    stroke-dasharray: 1000;
    animation: lineGrow-b-fgq2i9dmox 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-animated[b-fgq2i9dmox] {
    animation: areaGrow-b-fgq2i9dmox 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.point-animated[b-fgq2i9dmox] {
    animation: pointPop-b-fgq2i9dmox 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-fill-mode: backwards;
}

/* =========================================
   Pie & Donut Chart Styles
   ========================================= */

.chart-slice[b-fgq2i9dmox],
.chart-donut-slice[b-fgq2i9dmox] {
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

    .chart-slice:hover[b-fgq2i9dmox],
    .chart-donut-slice:hover[b-fgq2i9dmox] {
        filter: brightness(1.1);
        transform: scale(1.02);
    }

.pie-label[b-fgq2i9dmox] {
    fill: white;
    font-weight: 700;
    text-shadow: 0 1px 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-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.donut-center-value[b-fgq2i9dmox],
.donut-center-text[b-fgq2i9dmox] {
    fill: #0f172a;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

@keyframes pieGrow-b-fgq2i9dmox {
    from {
        transform: scale(0);
        transform-origin: center;
        opacity: 0;
    }

    to {
        transform: scale(1);
        transform-origin: center;
        opacity: 1;
    }
}

.pie-animated[b-fgq2i9dmox] {
    animation: pieGrow-b-fgq2i9dmox 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   Heatmap Styles
   ========================================= */

.heatmap-value[b-fgq2i9dmox] {
    fill: #0f172a;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    pointer-events: none;
}

.heatmap-cell[b-fgq2i9dmox] {
    cursor: pointer;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

    .heatmap-cell:hover[b-fgq2i9dmox] {
        filter: brightness(1.15);
        opacity: 0.9;
    }

.heatmap-cell-animated[b-fgq2i9dmox] {
    animation: heatmapFadeIn-b-fgq2i9dmox 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heatmapFadeIn-b-fgq2i9dmox {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   Title & Subtitle
   ========================================= */

.itf-chart-title-section[b-fgq2i9dmox] {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
    text-align: center;
    padding: 0 0.5rem;
}

.text-title[b-fgq2i9dmox] {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.text-subtitle[b-fgq2i9dmox] {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
}

/* =========================================
   Legend Styles
   ========================================= */

.itf-chart-legend-container[b-fgq2i9dmox] {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    justify-content: center;
}

    .itf-chart-legend-container.legend-top[b-fgq2i9dmox] {
        order: -1;
        margin-top: 0;
        margin-bottom: 0.75rem;
        padding-top: 0;
        padding-bottom: 0.75rem;
        border-top: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

.legend-item[b-fgq2i9dmox] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(100, 116, 139, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

    .legend-item:hover[b-fgq2i9dmox] {
        background: rgba(100, 116, 139, 0.25);
    }

    .legend-item.selected[b-fgq2i9dmox] {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
    }

.legend-marker[b-fgq2i9dmox] {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-label[b-fgq2i9dmox] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
}

.legend-value[b-fgq2i9dmox] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* =========================================
   Statistics Panel
   ========================================= */

.itf-chart-statistics[b-fgq2i9dmox] {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-item[b-fgq2i9dmox] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.stat-label[b-fgq2i9dmox] {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.stat-value[b-fgq2i9dmox] {
    font-size: 1.25rem;
    color: #f1f5f9;
    font-weight: 800;
}

/* =========================================
   Tooltip Styles
   ========================================= */

.itf-chart-tooltip[b-fgq2i9dmox] {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-title[b-fgq2i9dmox] {
    font-weight: 600;
    margin-bottom: 0.125rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.tooltip-value[b-fgq2i9dmox] {
    font-size: 1.1rem;
    font-weight: 700;
}

/* =========================================
   Export Buttons
   ========================================= */

.itf-chart-export-buttons[b-fgq2i9dmox] {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.export-btn[b-fgq2i9dmox] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

    .export-btn:hover[b-fgq2i9dmox] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    }

.export-icon[b-fgq2i9dmox] {
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
   ========================================= */

@media (max-width: 768px) {
    .text-title[b-fgq2i9dmox] {
        font-size: 1.125rem;
    }

    .text-subtitle[b-fgq2i9dmox] {
        font-size: 0.8125rem;
    }

    .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: 0.5rem;
        padding: 0.75rem;
    }

    .stat-value[b-fgq2i9dmox] {
        font-size: 1.1rem;
    }

    .export-btn[b-fgq2i9dmox] {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 100px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .itf-chart-statistics[b-fgq2i9dmox] {
        grid-template-columns: 1fr;
    }

    .export-btn[b-fgq2i9dmox] {
        flex: 1 1 100%;
    }

    .legend-marker[b-fgq2i9dmox] {
        width: 10px;
        height: 10px;
    }

    .legend-label[b-fgq2i9dmox] {
        font-size: 0.75rem;
    }

    .legend-value[b-fgq2i9dmox] {
        font-size: 0.7rem;
    }
}

/* =========================================
   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;
    }
}

/* =========================================
   Accessibility & Reduced Motion
   ========================================= */

.itf-chart:focus-within[b-fgq2i9dmox] {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.legend-item:focus[b-fgq2i9dmox] {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.export-btn:focus[b-fgq2i9dmox] {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bar-animated[b-fgq2i9dmox],
    .bar-animated-horizontal[b-fgq2i9dmox],
    .hbar-fill[b-fgq2i9dmox],
    .line-animated[b-fgq2i9dmox],
    .area-animated[b-fgq2i9dmox],
    .point-animated[b-fgq2i9dmox],
    .pie-animated[b-fgq2i9dmox],
    .heatmap-cell-animated[b-fgq2i9dmox],
    .bar-glass[b-fgq2i9dmox] {
        animation: none !important;
    }

    .legend-item[b-fgq2i9dmox],
    .stat-item[b-fgq2i9dmox],
    .export-btn[b-fgq2i9dmox],
    .chart-bar[b-fgq2i9dmox],
    .chart-point[b-fgq2i9dmox],
    .chart-slice[b-fgq2i9dmox],
    .chart-donut-slice[b-fgq2i9dmox],
    .hbar-fill[b-fgq2i9dmox] {
        transition: none !important;
    }
}
