@media print {
    .monthly-report-content {
        max-width: 210mm;
        min-width: 210mm;
        margin: 0 auto;
    }

    .monthly-report-content .dash-graph,
    .monthly-report-content .js-plotly-plot,
    .monthly-report-content .plotly,
    .monthly-report-content .plot-container,
    .monthly-report-content .svg-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .monthly-report-content .js-plotly-plot .main-svg,
    .monthly-report-content .js-plotly-plot svg {
        max-width: 100% !important;
        width: 100% !important;
    }

    @supports (-webkit-touch-callout: none) {
        .monthly-report-content {
            max-width: none;
            width: 100%;
        }

        .monthly-report-content .dash-graph,
        .monthly-report-content .js-plotly-plot,
        .monthly-report-content .plotly,
        .monthly-report-content .plot-container,
        .monthly-report-content .svg-container {
            width: 100% !important;
        }

        .monthly-report-content .dash-graph {
            page-break-inside: avoid;
        }
    }

    .cover-page {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        text-align: center;
        padding: 40px;
        background-color: white;
        position: relative;
    }

    .cover-page img.logo {
        width: 300px;
        margin-bottom: 40px;
    }

    .cover-page h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #004080;
    }

    .cover-page h3 {
        font-size: 1.8rem;
        font-weight: 500;
        color: #333;
    }

    .header_for_section_pdf {
        width: 100%;
        height: 45px;
        font-size: 22px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        border-bottom: 3px solid transparent;
        border-image: linear-gradient(310deg, #007BB1, #91B800) 1;
        border-image-slice: 1;
        margin-bottom: 10px;
        page-break-before: always;
    }
}
