#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.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."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: rgb(255 218 217);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Carregando");
}

:root,
body.light {
    --primary: rgb(143 74 76);
    --surface-tint: rgb(143 74 76);
    --on-primary: rgb(255 255 255);
    --primary-container: rgb(255 218 217);
    --on-primary-container: rgb(115 51 54);
    --secondary: rgb(119 86 86);
    --on-secondary: rgb(255 255 255);
    --secondary-container: rgb(255 218 217);
    --on-secondary-container: rgb(93 63 63);
    --tertiary: rgb(117 90 47);
    --on-tertiary: rgb(255 255 255);
    --tertiary-container: rgb(255 221 175);
    --on-tertiary-container: rgb(91 66 26);
    --error: rgb(186 26 26);
    --on-error: rgb(255 255 255);
    --error-container: rgb(255 218 214);
    --on-error-container: rgb(147 0 10);
    --background: rgb(255 248 247);
    --on-background: rgb(34 25 25);
    --surface: rgb(255 248 247);
    --on-surface: rgb(34 25 25);
    --surface-variant: rgb(244 221 221);
    --on-surface-variant: rgb(82 67 67);
    --outline: rgb(133 115 115);
    --outline-variant: rgb(215 193 193);
    --shadow: rgb(0 0 0);
    --scrim: rgb(0 0 0);
    --inverse-surface: rgb(56 46 46);
    --inverse-on-surface: rgb(255 237 236);
    --inverse-primary: rgb(255 179 180);
    --primary-fixed: rgb(255 218 217);
    --on-primary-fixed: rgb(59 8 14);
    --primary-fixed-dim: rgb(255 179 180);
    --on-primary-fixed-variant: rgb(115 51 54);
    --secondary-fixed: rgb(255 218 217);
    --on-secondary-fixed: rgb(44 21 22);
    --secondary-fixed-dim: rgb(230 189 188);
    --on-secondary-fixed-variant: rgb(93 63 63);
    --tertiary-fixed: rgb(255 221 175);
    --on-tertiary-fixed: rgb(40 24 0);
    --tertiary-fixed-dim: rgb(229 193 141);
    --on-tertiary-fixed-variant: rgb(91 66 26);
    --surface-dim: rgb(232 214 213);
    --surface-bright: rgb(255 248 247);
    --surface-container-lowest: rgb(255 255 255);
    --surface-container-low: rgb(255 240 240);
    --surface-container: rgb(252 234 233);
    --surface-container-high: rgb(246 228 227);
    --surface-container-highest: rgb(240 222 222);
}

.report-page {
    display: block;
}

.report-controls {
    margin-block-end: 1.5rem;
}

.report-content {
    display: block;
}

@media print {
    @page {
        margin: 4mm;
    }

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
    }

    header,
    dialog,
    #blazor-error-ui,
    .report-controls {
        display: none !important;
    }

    main.responsive {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }

    .report-page {
        margin: 0 !important;
        padding: 0 !important;
    }

    .report-content {
        font-size: 75% !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .report-content .large-space {
        display: none !important;
    }

    .report-content .large-divider {
        margin-block: 0.2rem !important;
    }

    .report-content .list,
    .report-content .list.border {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        columns: 2;
        column-gap: 0.75rem;
    }

    .report-content .list li {
        break-inside: avoid;
        margin: 0 0 0.2rem 0 !important;
        padding: 0 !important;
    }

    .report-orders-by-date .report-content {
        font-size: 68% !important;
        line-height: 1.2 !important;
    }

    .report-orders-by-date .report-content > div {
        margin: 0 0 0.45rem 0 !important;
        padding: 0 0 0.35rem 0 !important;
        border-bottom: 1px solid #d8d8d8 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .report-orders-by-date .report-content .large-divider {
        display: none !important;
    }

    .report-orders-by-date .report-content h5 {
        font-size: 1.05em !important;
        margin-block: 0 0.1rem !important;
    }

    .report-orders-by-date .report-content h6,
    .report-orders-by-date .report-content th {
        font-size: 0.92em !important;
        margin-block: 0.08rem !important;
    }

    .report-orders-by-date .report-content td,
    .report-orders-by-date .report-content div,
    .report-orders-by-date .report-content pre {
        font-size: 0.86em !important;
    }

    .report-orders-by-date .report-content table {
        margin-top: 0.15rem !important;
    }

    .report-content table,
    .report-content tr,
    .report-content td,
    .report-content th,
    .report-content pre {
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .report-content h1,
    .report-content h2,
    .report-content h3,
    .report-content h4,
    .report-content h5,
    .report-content h6,
    .report-content p,
    .report-content div,
    .report-content span,
    .report-content td,
    .report-content th,
    .report-content li,
    .report-content pre {
        font-size: inherit !important;
        line-height: inherit !important;
        margin-block: 0 !important;
    }

    .report-content h1,
    .report-content h2,
    .report-content h3,
    .report-content h4,
    .report-content h5,
    .report-content h6,
    .report-content p {
        margin-block: 0.15rem !important;
    }
}
