h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ========================= */
/* Mobile Layout */
/* ========================= */
.mobile-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #f5f5f7;
}

/* ========================= */
/* Header */
/* ========================= */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
    min-width: 50px;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.5px;
}

.header-right {
    min-width: 50px;
}

/* ========================= */
/* Mobile Body */
/* ========================= */
.mobile-body {
    flex: 1;
    overflow-y: auto;
    padding-top: 60px;
    padding-bottom: 110px;
    scroll-behavior: smooth;
}

    /* Smooth scrollbar for webkit browsers */
    .mobile-body::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .mobile-body::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 3px;
    }

        .mobile-body::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

/* ========================================
   Chart shell — edge-to-edge on mobile,
   inset on larger screens
   ======================================== */
.chart-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Break out of card padding on mobile so the chart hits the screen edges.
   Set --card-padding on your card wrapper (defaults to 16px). */
@media (max-width: 767px) {
    .chart-shell {
        margin-left: calc(-1 * var(--card-padding, 16px));
        margin-right: calc(-1 * var(--card-padding, 16px));
        width: calc(100% + (2 * var(--card-padding, 16px)));
    }
}

/* ========================================
   Universal Syncfusion chart text styling
   (axis labels, axis titles, data labels)
   ======================================== */

/* Axis tick labels */
.e-chart svg text[id*='AxisLabel'],
.e-chart svg text[id*='axis-label'],
.e-chart .e-axis-label {
    font-size: 10px !important;
    font-weight: 500 !important;
    fill: #64748B !important;
    text-anchor: middle !important;
}

    .e-chart svg text[id*='AxisLabel'] tspan,
    .e-chart svg text[id*='axis-label'] tspan {
        font-size: 10px !important;
        white-space: normal !important;
    }

/* Axis titles */
.e-chart svg text[id*='AxisTitle'],
.e-chart svg text[id*='axis-title'],
.e-chart .e-axis-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    fill: #475569 !important;
    letter-spacing: 0.2px;
}

/* Data labels above bars */
.e-chart .e-datalabel text,
.e-chart svg .e-datalabel text,
.e-chart svg text[id*='DataLabel'],
.e-chart svg text[id*='data-label'] {
    font-size: 10px !important;
    font-weight: 700 !important;
    fill: #0F766E !important;
}

    .e-chart svg text[id*='DataLabel'] tspan,
    .e-chart svg text[id*='data-label'] tspan {
        font-size: 10px !important;
    }

/* Make every chart truly fluid */
.e-chart,
.e-chart svg,
.sales-summary-chart.e-chart,
.sales-summary-chart .e-chart,
.sales-summary-chart svg {
    width: 100% !important;
    overflow: visible !important; /* allow outer data labels to render */
}

/* ========================================
   Tablet & desktop overrides
   ======================================== */
@media (min-width: 768px) {
    .e-chart svg text[id*='AxisLabel'],
    .e-chart svg text[id*='axis-label'],
    .e-chart .e-axis-label {
        font-size: 12px !important;
    }

        .e-chart svg text[id*='AxisLabel'] tspan,
        .e-chart svg text[id*='axis-label'] tspan {
            font-size: 12px !important;
        }

    .e-chart svg text[id*='AxisTitle'],
    .e-chart svg text[id*='axis-title'],
    .e-chart .e-axis-title {
        font-size: 13px !important;
    }

    .e-chart .e-datalabel text,
    .e-chart svg .e-datalabel text,
    .e-chart svg text[id*='DataLabel'],
    .e-chart svg text[id*='data-label'] {
        font-size: 12px !important;
    }

        .e-chart svg text[id*='DataLabel'] tspan,
        .e-chart svg t
        /* ========================= */
        /* Navigation Bar */
        /* ========================= */
        .mobile-nav-bar {
            position: fixed;
            bottom: 40px;
            left: 0;
            right: 0;
            height: 70px;
            background: #ffffff;
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
        }

    /* Navigation Items */
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        text-decoration: none;
        cursor: pointer;
        color: #6b7280;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.2s ease;
        border: none;
        background: none;
        padding: 0;
        gap: 4px;
    }

        .nav-item i {
            font-size: 20px;
            transition: all 0.2s ease;
        }

        .nav-item .nav-label {
            font-size: 11px;
            letter-spacing: 0.3px;
        }

        .nav-item:hover {
            color: #2563eb;
            background: rgba(37, 99, 235, 0.05);
        }

        .nav-item.active {
            color: #2563eb;
            font-weight: 600;
        }

            .nav-item.active i {
                transform: scale(1.1);
            }

        /* Center nav item styling */
        .nav-item.nav-center {
            position: relative;
        }

            .nav-item.nav-center i {
                font-size: 24px;
                color: #2563eb;
            }

            .nav-item.nav-center:hover {
                background: rgba(37, 99, 235, 0.05);
                color: #2563eb;
            }

                .nav-item.nav-center:hover i {
                    transform: scale(1.15) rotate(-10deg);
                }

            .nav-item.nav-center.active {
                color: #2563eb;
                font-weight: 600;
            }

                .nav-item.nav-center.active i {
                    transform: scale(1.2) rotate(-10deg);
                }


    /* ========================= */
    /* Footer */
    /* ========================= */
    .mobile-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 999;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    }

    .footer-left,
    .footer-right {
        display: flex;
        align-items: center;
    }

    .footer-text {
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
    }

    /* ========================= */
    /* Splash Page */
    /* ========================= */
    .splash-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        background: #03142E;
        color: white;
    }

    .splash-content {
        text-align: center;
        animation: fadeIn 0.5s ease-in;
    }

    .splash-logo {
        width: 120px;
        height: 120px;
        object-fit: contain;
        margin-bottom: 24px;
        animation: slideDown 0.6s ease-out;
    }

    .splash-title {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 40px;
        letter-spacing: -1px;
        animation: slideDown 0.6s ease-out 0.1s both;
    }

    .splash-spinner {
        animation: slideDown 0.6s ease-out 0.2s both;
    }

        .splash-spinner .spinner-border {
            width: 3rem;
            height: 3rem;
            border-width: 0.3rem;
            border-color: rgba(255, 255, 255, 0.25);
            border-right-color: white;
        }

    .splash-text {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        letter-spacing: 0.5px;
        font-weight: 500;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* ============================================================================
       CUSTOMER RATING REPORTS - ENTERPRISE STYLESHEET
       Mobile: 10px base font | Desktop: 12px base font
       ============================================================================ */

    /* ============================================================================
       ROOT & RESPONSIVE SETTINGS
       ============================================================================ */

    :root {
        --color-success: #10b981;
        --color-info: #3b82f6;
        --color-warning: #f59e0b;
        --color-danger: #ef4444;
        --color-dark-gray: #1f2937;
        --color-light-gray: #f3f4f6;
        --color-border: #e5e7eb;
        --color-text: #374151;
        --color-heading: #111827;
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --border-radius-sm: 0.375rem;
        --border-radius-md: 0.5rem;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    /* Mobile-first: Base 10px font size */
    @media (max-width: 768px) {
        html {
            font-size: 62.5%; /* 10px */
        }
    }

    /* Desktop: 12px font size */
    @media (min-width: 769px) {
        html {
            font-size: 75%; /* 12px */
        }
    }

    /* ============================================================================
       GLOBAL STYLES
       ============================================================================ */

    * {
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
        color: var(--color-text);
        background-color: #fafafa;
        margin: 0;
        padding: 0;
    }

    /* ============================================================================
       HTML VIEWER CONTAINER
       ============================================================================ */

    .html-viewer-container {
        width: 100%;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
        color: var(--color-text);
        line-height: 1.6;
    }

        .html-viewer-container table {
            width: 100%;
            border-collapse: collapse;
        }

    /* ============================================================================
       CONTAINER & LAYOUT
       ============================================================================ */

    .rating-container,
    .supplies-container {
        background: white;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .section {
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid var(--color-border);
    }

        .section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    /* ============================================================================
       RATING HEADER & SCORE DISPLAY
       ============================================================================ */

    .rating-header {
        font-size: 1.75rem;
        font-weight: 700;
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
        border-left: 4px solid;
        margin-bottom: var(--spacing-lg);
        background-color: var(--color-light-gray);
    }

    .rating-1 {
        color: var(--color-danger);
        border-left-color: var(--color-danger);
    }

    .rating-2 {
        color: #ff6b35;
        border-left-color: #ff6b35;
    }

    .rating-3 {
        color: var(--color-warning);
        border-left-color: var(--color-warning);
    }

    .rating-4 {
        color: var(--color-info);
        border-left-color: var(--color-info);
    }

    .rating-5 {
        color: var(--color-success);
        border-left-color: var(--color-success);
    }

    /* ============================================================================
       SECTION TITLES
       ============================================================================ */

    .section-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--color-heading);
        margin: 0 0 var(--spacing-md) 0;
        border-bottom: 2px solid var(--color-border);
        padding-bottom: var(--spacing-sm);
    }

    /* ============================================================================
       DATA TABLES - RESPONSIVE & SLICK STYLING
       ============================================================================ */

    .data-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 1.4rem;
        background: white;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

        .data-table thead {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            border-bottom: 2px solid #1a252f;
        }

        .data-table th {
            padding: var(--spacing-md);
            font-weight: 700;
            color: #ffffff;
            text-align: left;
            letter-spacing: 0.5px;
            font-size: 1.4rem;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        }

            .data-table th.currency {
                text-align: right;
            }

            .data-table th.score {
                text-align: center;
            }

        .data-table td {
            padding: var(--spacing-md);
            border-bottom: 1px solid #d0d7de;
            color: #1a1a1a;
            font-size: 1.4rem;
            font-weight: 500;
            background-color: #f8f9fa;
            text-align: left;
        }

            .data-table td.currency {
                text-align: right;
                padding-right: 1.5rem;
            }

            .data-table td.score {
                text-align: center;
            }

        .data-table tbody tr {
            transition: all 0.2s ease;
        }

            .data-table tbody tr:hover {
                background-color: #e8eef5;
                box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
            }

            .data-table tbody tr:last-child td {
                border-bottom: none;
            }

            /* Alternating row colors with darker backgrounds */
            .data-table tbody tr:nth-child(odd) {
                background-color: #f0f2f5;
            }

            .data-table tbody tr:nth-child(even) {
                background-color: #e8eef5;
            }

                .data-table tbody tr:nth-child(even):hover {
                    background-color: #dce4f0;
                }

    /* ============================================================================
       SCORE BREAKDOWN TABLE - CENTER ALIGNED
       ============================================================================ */

    .score-breakdown-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 1.4rem;
        background: white;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

        .score-breakdown-table thead {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            border-bottom: 2px solid #1a252f;
        }

        .score-breakdown-table th {
            padding: var(--spacing-md);
            font-weight: 700;
            color: #ffffff;
            text-align: center;
            letter-spacing: 0.5px;
            font-size: 1.4rem;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        }

            .score-breakdown-table th:first-child {
                text-align: left;
            }

        .score-breakdown-table td {
            padding: var(--spacing-md);
            border-bottom: 1px solid #d0d7de;
            color: #1a1a1a;
            font-size: 1.4rem;
            font-weight: 500;
            background-color: #f8f9fa;
            text-align: center;
        }

            .score-breakdown-table td:first-child {
                text-align: left;
            }

        .score-breakdown-table tbody tr {
            transition: all 0.2s ease;
        }

            .score-breakdown-table tbody tr:hover {
                background-color: #e8eef5;
                box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
            }

            .score-breakdown-table tbody tr:last-child td {
                border-bottom: none;
            }

            .score-breakdown-table tbody tr:nth-child(odd) {
                background-color: #f0f2f5;
            }

            .score-breakdown-table tbody tr:nth-child(even) {
                background-color: #e8eef5;
            }

    /* ============================================================================
       PRODUCTS/SUPPLIES TABLE - RIGHT ALIGNED
       ============================================================================ */

    .products-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 1.4rem;
        background: white;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

        .products-table thead {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            border-bottom: 2px solid #1a252f;
        }

        .products-table th {
            padding: var(--spacing-md);
            font-weight: 700;
            color: #ffffff;
            text-align: right;
            letter-spacing: 0.5px;
            font-size: 1.4rem;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            padding-right: 1.5rem;
        }

            .products-table th:first-child {
                text-align: left;
                padding-left: 1.5rem;
                padding-right: var(--spacing-md);
            }

        .products-table td {
            padding: var(--spacing-md);
            border-bottom: 1px solid #d0d7de;
            color: #1a1a1a;
            font-size: 1.4rem;
            font-weight: 500;
            background-color: #f8f9fa;
            text-align: right;
            padding-right: 1.5rem;
        }

            .products-table td:first-child {
                text-align: left;
                padding-left: 1.5rem;
                padding-right: var(--spacing-md);
            }

        .products-table tbody tr {
            transition: all 0.2s ease;
        }

            .products-table tbody tr:hover {
                background-color: #e8eef5;
                box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
            }

            .products-table tbody tr:last-child td {
                border-bottom: none;
            }

            .products-table tbody tr:nth-child(odd) {
                background-color: #f0f2f5;
            }

            .products-table tbody tr:nth-child(even) {
                background-color: #e8eef5;
            }

    .total-row {
        background: linear-gradient(135deg, var(--color-light-gray) 0%, #f0f1f3 100%);
        border-top: 2px solid var(--color-border);
        border-bottom: 2px solid var(--color-border);
        font-weight: 700;
    }

        .total-row td {
            font-weight: 700;
            color: var(--color-heading);
            padding: var(--spacing-md);
        }

    /* ============================================================================
       TEXT ALIGNMENT & FORMATTING
       ============================================================================ */

    .text-left {
        text-align: left;
    }

    .text-right {
        text-align: right;
    }

    .text-center {
        text-align: center;
    }

    .font-weight-bold {
        font-weight: 600;
    }

    /* ============================================================================
       ALIGNMENT OVERRIDES — ensure utility classes win over table defaults
       ============================================================================ */

    /* Paint Products & Supplies: right-align headers and values for dollar columns */
    .data-table th.text-right,
    .data-table td.text-right {
        text-align: right;
    }

    .data-table th.text-center,
    .data-table td.text-center {
        text-align: center;
    }

    /* Score Breakdown (first section inside .rating-container):
   re-map text-right → center so Score / Max / % columns are centered;
   the Category column has no alignment class so it stays left-aligned */
    .rating-container .section:first-child .data-table th.text-right,
    .rating-container .section:first-child .data-table td.text-right {
        text-align: center;
    }

    /* ============================================================================
       CURRENT MONTH HIGHLIGHTING
       ============================================================================ */

    .current-month {
        background-color: #fef3c7;
        font-style: italic;
        font-weight: 500;
    }

    /* ============================================================================
       TREND INDICATORS
       ============================================================================ */

    .trend-positive {
        color: var(--color-success);
        font-weight: 600;
    }

    .trend-negative {
        color: var(--color-danger);
        font-weight: 600;
    }

    .trend-neutral {
        color: #9ca3af;
        font-weight: 500;
    }

    /* ============================================================================
       PRODUCT MIX PARAGRAPH
       ============================================================================ */

    .product-mix {
        background-color: var(--color-light-gray);
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
        font-size: 1rem;
        color: var(--color-text);
        line-height: 1.6;
        margin: 0;
    }

    /* ============================================================================
       RESPONSIVE ADJUSTMENTS FOR MOBILE - KEEP 10px BASE FOR MORE INFO
       ============================================================================ */

    @media (max-width: 768px) {
        .rating-container,
        .supplies-container {
            padding: var(--spacing-md);
            margin-bottom: var(--spacing-md);
            border-radius: 0.375rem;
        }

        .section {
            margin-bottom: var(--spacing-md);
            padding-bottom: var(--spacing-md);
        }

        .rating-header {
            font-size: 1.4rem;
            padding: var(--spacing-sm);
            margin-bottom: var(--spacing-md);
            border-left: 3px solid;
        }

        .section-title {
            font-size: 1rem;
            margin-bottom: var(--spacing-sm);
            font-weight: 700;
        }

        /* Mobile: 11px font for better readability */
        .data-table {
            font-size: 1.1rem;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
            margin-bottom: var(--spacing-md);
            width: 100%;
            border-collapse: collapse;
        }

            .data-table th {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 700;
                letter-spacing: 0.3px;
                text-align: left;
                background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
                color: #ffffff;
            }

                .data-table th:first-child {
                    text-align: left;
                }

                .data-table th.currency {
                    text-align: right;
                }

                .data-table th.score {
                    text-align: center;
                }

            .data-table td {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 500;
                border-bottom: 1px solid #d0d7de;
                text-align: left;
                background-color: #f8f9fa;
                color: #1a1a1a;
            }

                .data-table td:first-child {
                    text-align: left;
                }

                .data-table td.currency {
                    text-align: right;
                    padding-right: 0.75rem;
                }

                .data-table td.score {
                    text-align: center;
                }

        /* Mobile: Score Breakdown Table - Center Aligned */
        .score-breakdown-table {
            font-size: 1.1rem;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
            margin-bottom: var(--spacing-md);
            width: 100%;
            border-collapse: collapse;
        }

            .score-breakdown-table th {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 700;
                letter-spacing: 0.3px;
                text-align: center;
                background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
                color: #ffffff;
            }

                .score-breakdown-table th:first-child {
                    text-align: left;
                }

            .score-breakdown-table td {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 500;
                border-bottom: 1px solid #d0d7de;
                text-align: center;
                background-color: #f8f9fa;
                color: #1a1a1a;
            }

                .score-breakdown-table td:first-child {
                    text-align: left;
                }

        /* Mobile: Products/Supplies Table - Right Aligned */
        .products-table {
            font-size: 1.1rem;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
            margin-bottom: var(--spacing-md);
            width: 100%;
            border-collapse: collapse;
        }

            .products-table th {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 700;
                letter-spacing: 0.3px;
                text-align: right;
                background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
                color: #ffffff;
                padding-right: 0.75rem;
            }

                .products-table th:first-child {
                    text-align: left;
                    padding-left: 0.75rem;
                    padding-right: 0.5rem;
                }

            .products-table td {
                padding: 0.5rem;
                font-size: 1.1rem;
                font-weight: 500;
                border-bottom: 1px solid #d0d7de;
                text-align: right;
                background-color: #f8f9fa;
                color: #1a1a1a;
                padding-right: 0.75rem;
            }

                .products-table td:first-child {
                    text-align: left;
                    padding-left: 0.75rem;
                    padding-right: 0.5rem;
                }

        .data-table tbody tr:hover {
            background-color: #e8eef5 !important;
            box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15);
        }

        .total-row td {
            padding: 0.5rem;
            font-size: 1.1rem;
            text-align: left;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: #ffffff;
            font-weight: 700;
        }

            .total-row td:first-child {
                text-align: left;
            }

            .total-row td.currency {
                text-align: right;
                padding-right: 0.75rem;
            }

            .total-row td.currency {
                text-align: right;
            }

        .product-mix {
            font-size: 1.1rem;
            padding: var(--spacing-sm);
            line-height: 1.5;
        }
    }

    /* Tablet adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
        .data-table {
            font-size: 0.95rem;
        }

            .data-table th,
            .data-table td {
                padding: var(--spacing-md);
            }
    }

    /* Desktop - enhanced styling */
    @media (min-width: 1025px) {
        .data-table {
            font-size: 1.4rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

            .data-table th {
                padding: var(--spacing-lg);
                font-size: 1.4rem;
                text-align: left;
            }

                .data-table th.currency {
                    text-align: right;
                    padding-right: 2rem;
                }

                .data-table th.score {
                    text-align: center;
                }

            .data-table td {
                padding: var(--spacing-md);
                font-size: 1.4rem;
                text-align: left;
            }

                .data-table td.currency {
                    text-align: right;
                    padding-right: 2rem;
                }

                .data-table td.score {
                    text-align: center;
                }

            .data-table tbody tr:hover {
                background-color: #e8eef5 !important;
                box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
            }

        .total-row td {
            text-align: left;
            font-size: 1.4rem;
        }

            .total-row td.currency {
                text-align: right;
                padding-right: 2rem;
            }
    }

    /* ============================================================================
       PRINT STYLES
       ============================================================================ */

    @media print {
        .rating-container,
        .supplies-container {
            page-break-inside: avoid;
            box-shadow: none;
            border: 1px solid var(--color-border);
        }

        .data-table {
            page-break-inside: avoid;
            border-collapse: collapse;
        }

            .data-table th,
            .data-table td {
                border: 1px solid var(--color-border);
                padding: var(--spacing-sm);
            }
    }

    /* Custom Syncfusion Rating Styling */
    .custom-rating.e-rating {
        display: inline-flex;
        gap: 1px;
        margin: 0;
        padding: 0;
    }

        .custom-rating.e-rating .e-icon {
            font-size: 13px;
            color: #e5e7eb;
            transition: color 0.2s ease;
            margin: 0;
            padding: 0;
            line-height: 1;
        }

            .custom-rating.e-rating .e-icon.e-rating-selected {
                color: #10b981;
                text-shadow: 0 0 2px rgba(16, 185, 129, 0.5);
            }

            .custom-rating.e-rating .e-icon.e-rating-hovered {
                color: #34d399;
            }
