:root {
    --filter-box-padding: 10px;
    --color-light: white;
    --color-background: var(--color-light);
    --size-bezel: 0.5rem;
    --size-radius: 4px;
    --table-header-bg-color: #009688;
    --border-color: #C6C6C6;
}

@font-face {
    font-family: Poppins;
    font-weight: normal;
    src: url('../fonts/Poppins/Poppins-Regular.ttf');
}

@font-face {
    font-family: Poppins;
    font-weight: 500;
    src: url('../fonts/Poppins/Poppins-Medium.ttf');
}

@font-face {
    font-family: Poppins;
    font-weight: bold;
    src: url('../fonts/Poppins/Poppins-Bold.ttf');
}

@font-face {
    font-family: Dana;
    font-weight: normal;
    src: url('../fonts/Dana-Regular.ttf');
}

@font-face {
    font-family: Dana;
    font-weight: bold;
    src: url('../fonts/Dana-Bold.ttf');
}

@media print {
    .pagebreak {
        page-break-before: always;
    }
}

* {
    margin: 0;
    outline: 0;
}

.rtl,
.rtl * {
    font-family: Dana;
    direction: rtl;
    text-align: right;
}

.ltr,
.ltr * {
    font-family: Poppins;
    direction: ltr;
    text-align: left;
}

input[type="number"] {
    direction: ltr;
}

.txtRight {
    text-align: right;
}

body {
    background: url("../img/bg.jpg");
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    min-height: 100dvh;
    overflow-x: hidden;
}

body.scenario-overlay-active {
    overflow: hidden;
    height: 100dvh;
}

input[type="button"],
.print-pdf-btn {
    background-color: #009688;
    padding: 8px 18px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font: inherit;
    font-size: 14px;
    border-radius: 2px;
}

input[type="button"]:hover,
.print-pdf-btn:hover {
    background-color: #0096879b;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexLeft {
    display: flex;
    align-items: center;
    justify-content: left;
}

#scenarioLoadingScreen,
#scenariosContainer {
    display: none;
}

#scenarioLoadingScreen.active,
#scenariosContainer.active {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scenariosContainer.active {
    background:
        linear-gradient(115deg, rgba(5, 7, 10, 0.9) 0%, rgba(8, 11, 16, 0.7) 42%, rgba(9, 12, 18, 0.92) 100%),
        url("../img/scenario-background.jpg") center center / cover no-repeat;
    z-index: 100;
    overflow: hidden;
    padding: clamp(18px, 2.8vw, 34px) clamp(18px, 3vw, 36px) clamp(28px, 5.5vh, 56px);
    align-items: flex-end;
}

#scenariosContainer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at top right, rgba(229, 37, 33, 0.16), transparent 26%);
    pointer-events: none;
}

#scenarioLoadingScreen.active {
    z-index: 140;
    background:
        linear-gradient(180deg, rgba(6, 8, 12, 0.82), rgba(6, 8, 12, 0.92)),
        url("../img/scenario-background.jpg") center center / cover no-repeat;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#scenarioLoadingScreen:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#scenarioLoadingScreen .loadingPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    text-align: center;
}

#scenarioLoadingScreen .loadingLogo {
    width: min(280px, 56vw);
}

#scenarioLoadingScreen .loadingLogo svg {
    display: block;
    width: 100%;
    height: auto;
}

#scenarioLoadingScreen .loadingLogo path {
    fill: transparent;
}

#scenarioLoadingScreen .loadingKicker {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#scenarioLoadingScreen .loadingText {
    color: white;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
}

#scenariosContainer .panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: min(76dvh, 700px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: clamp(16px, 2.2vw, 24px);
}

#scenariosContainer .panel .hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
    max-width: 320px;
    padding: 0;
}

#scenariosContainer .panel .eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#scenariosContainer .panel .header {
    color: white;
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 700;
    line-height: 1.02;
    padding: 0;
}

#scenariosContainer .panel .descriptions {
    max-width: 30ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.5;
}

#scenariosContainer .panel .contents {
    padding: 0;
    overflow: visible;
    width: min(930px, 100%);
    margin-left: auto;
}

#scenariosContainer .panel .buttonsContainer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#scenariosContainer .panel .button {
    min-height: clamp(126px, 17dvh, 158px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px 18px;
    color: white;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 11, 16, 0.52);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    border-radius: 8px;
}

#scenariosContainer .panel .button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(10, 15, 21, 0.72);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

#scenariosContainer .panel .button--featured {
    background: linear-gradient(155deg, rgba(229, 37, 33, 0.2), rgba(11, 16, 23, 0.68) 40%, rgba(7, 11, 16, 0.72) 100%);
}

#scenariosContainer .panel .buttonMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#scenariosContainer .panel .buttonPill,
#scenariosContainer .panel .buttonIndex {
    display: inline-flex;
    align-items: center;
    height: 24px;
    font-size: 11px;
    font-weight: 700;
}

#scenariosContainer .panel .buttonPill {
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

#scenariosContainer .panel .buttonIndex {
    color: rgba(255, 255, 255, 0.48);
}

#scenariosContainer .panel .button .title {
    margin: 0;
    font-weight: bold;
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.15;
}

#scenariosContainer .panel .button .description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 980px) {
    #scenariosContainer .panel {
        min-height: auto;
        gap: 24px;
    }

    #scenariosContainer .panel .contents {
        width: 100%;
        margin-left: 0;
    }

    #scenariosContainer .panel .descriptions {
        max-width: 48ch;
    }
}

@media (max-height: 920px) {
    #scenariosContainer.active {
        padding: 14px 20px 26px;
    }

    #scenariosContainer .panel {
        min-height: min(74dvh, 620px);
        gap: 12px;
    }

    #scenariosContainer .panel .header {
        font-size: clamp(26px, 2.8vw, 36px);
    }

    #scenariosContainer .panel .descriptions {
        font-size: 13px;
        line-height: 1.42;
    }

    #scenariosContainer .panel .buttonsContainer {
        gap: 8px;
    }

    #scenariosContainer .panel .button {
        min-height: 116px;
        padding: 13px 14px 14px;
        gap: 8px;
    }
}

@media (max-width: 720px), (max-height: 760px) {
    #scenarioLoadingScreen .loadingPanel {
        padding: 24px;
    }

    #scenariosContainer .panel .hero {
        max-width: none;
    }

    #scenariosContainer .panel .buttonsContainer {
        grid-template-columns: 1fr;
    }

    #scenariosContainer .panel .button {
        min-height: 104px;
        padding: 12px 14px;
    }
}

@-webkit-keyframes animate-svg-fill-1 {
    0% { fill: transparent; }
    100% { fill: rgb(255, 255, 255); }
}

@keyframes animate-svg-fill-1 {
    0% { fill: transparent; }
    100% { fill: rgb(255, 255, 255); }
}

@-webkit-keyframes animate-svg-fill-5 {
    0% { fill: transparent; }
    100% { fill: rgb(229, 37, 33); }
}

@keyframes animate-svg-fill-5 {
    0% { fill: transparent; }
    100% { fill: rgb(229, 37, 33); }
}

#scenarioLoadingScreen .svg-elem-1 {
    -webkit-animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both alternate;
    animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both alternate;
}

#scenarioLoadingScreen .svg-elem-2 {
    -webkit-animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both alternate;
    animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both alternate;
}

#scenarioLoadingScreen .svg-elem-3 {
    -webkit-animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both alternate;
    animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both alternate;
}

#scenarioLoadingScreen .svg-elem-4 {
    -webkit-animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both alternate;
    animation: animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both alternate;
}

#scenarioLoadingScreen .svg-elem-5 {
    -webkit-animation: animate-svg-fill-5 1.2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2s both alternate infinite;
    animation: animate-svg-fill-5 1.2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2s both alternate infinite;
}

.bold {
    font-weight: bold;
}

.pd1020 {
    padding: 10px 20px;
}

.hidden {
    display: none;
}

.log {
    color: gray;
}

.header {
    background: #000;
    color: #fff;
}

.header-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
}

.header-container img {
    height: 40px;
    align-self: center;
    padding: 20px 0;
}

.header-container .lt {
    align-self: center;
    font-size: 16px;
    font-weight: 600;
    padding-top: 10px;
}

.header-container .lt .beta {
    color: #e52521;
}

.header-txt {
    display: flex;
    border-left: 1px solid #fff;
    margin-left: 30px;
    font-size: 18px;
    padding: 25px;
}

.header-txt span {
    align-self: center;
}

#filtersAndProductsContainer {
    width: 80%;
    height: calc(100% - 84px);
    margin: 40px auto;
    background-color: #F6F6F6;
    overflow: hidden;
}

#filtersContainer {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#filterTabsContainer {
    background-color: black;
    color: white;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 4px;
    min-height: 39px;
}

.workflow-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 4px 0 20px;
    padding: 10px 16px 6px 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.72);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font: inherit;
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.workflow-back-btn::after {
    content: "";
    align-self: stretch;
    width: 1px;
    margin: 8px 0 6px 16px;
    background: rgba(255, 255, 255, 0.22);
}

.workflow-back-btn:hover {
    color: #fff;
    border-bottom-color: #E52521;
}

.workflow-back-btn__chevron::before {
    content: "‹";
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

.workflow-back-btn.hidden {
    display: none;
}

.rtl #filterTabsContainer {
    background-color: #1A004C;
}

[data-tab-name] {
    cursor: pointer;
    position: relative;
    margin: 0 24px;
    padding: 10px 0;
}

[data-tab-name].active {
    font-weight: bold;
    border-bottom: 3px solid #E52521;
    padding-bottom: 6px;
}

[data-tab-name]::after {
    content: attr(data-tab-name);
}

.tabContent {
    display: none;
    position: relative;
    align-items: flex-start;
    justify-content: flex-start;
    height: calc(100% - 39px);
}

.tabContent.active {
    display: flex;
}

.enterDataMessage {
    position: absolute;
    top: 100%;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    transition: all 0.3s;
}

.enterDataMessage.active {
    top: 0;
}

.tabfiltersContainer {
    width: 350px;
    padding: 10px 15px 0;
    height: calc(100% - 10px);
    overflow: auto;
}

#loadCalculationResultsContainer {
    width: calc(100% - 20px);
    height: 235px;
}

.filtersResultContainer {
    width: calc(100% - 350px);
    margin: 10px 4px;
    height: calc(100% - 20px);
    overflow-x: hidden;
}

#chartContainer {
    width: 100%;
    height: calc(100% - 235px);
}

#chartErrors {
    color: red;
    text-align: center;
    font-size: 30px;
}

#chartdiv {
    width: 100%;
    height: 100%;
}

.results {
    width: 350px;
}

.filterButton {
    width: 100%;
    border: 0;
    cursor: pointer;
    background-color: #ef2129;
    color: #ffffff;
    transition: all 0.2s;
    border-radius: 10px;
    height: 30px;
    padding: 0;
    margin: 0;
}

.filterButton:hover {
    background-color: #fd555c;
}

.filterBox {
    position: relative;
    overflow: auto;
    width: calc(100% - 22px);
    padding: var(--filter-box-padding);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    margin-top: 10px;
}

.filterBox:last-child {
    margin-bottom: 10px;
}

.filterBox::before {
    content: attr(data-filter-name);
    font-weight: bold;
    margin: 0 22px;
    position: relative;
}

.filterBox::after {
    content: '';
    width: 20px;
    height: 20px;
    top: var(--filter-box-padding);
    background-size: contain;
    position: absolute;
}

.ltr .filterBox::after {
    left: var(--filter-box-padding);
}

.rtl .filterBox::after {
    right: var(--filter-box-padding);
}

.filterBox[data-filter-name="Ambient Condition"]::after,
.filterBox[data-filter-name="شرایط محیطی"]::after {
    background-image: url('../img/icons/ambient-condition.svg');
}

.filterBox[data-filter-name="Room Information"]::after,
.filterBox[data-filter-name="اطلاعات اتاق"]::after {
    background-image: url('../img/icons/room-information.svg');
}

.filterBox[data-filter-name="Application Type"]::after,
.filterBox[data-filter-name="نوع درخواست"]::after {
    background-image: url('../img/icons/application-type.svg');
}

.filterBox[data-filter-name="Door Information"]::after,
.filterBox[data-filter-name="اطلاعات درب"]::after {
    background-image: url('../img/icons/door-information.svg');
}

.filterBox[data-filter-name="Miscellaneous Loads"]::after,
.filterBox[data-filter-name="بار های متفرقه"]::after {
    background-image: url('../img/icons/miscellaneous-loads.svg');
}

.filterBox[data-filter-name="Compressor"]::after,
.filterBox[data-filter-name="کمپرسور"]::after {
    background-image: url('../img/icons/compressor.svg');
}

.filterBox[data-filter-name="Results"]::after,
.filterBox[data-filter-name="نتایج"]::after {
    background-image: url('../img/icons/results.svg');
}

.filterBox[data-filter-name="Load Calculation"]::after,
.filterBox[data-filter-name="محاسبه بار"]::after {
    background-image: url('../img/icons/load-calculation.svg');
}

.filterBox[data-filter-name="Unit Information"]::after,
.filterBox[data-filter-name="اطلاعات یونیت"]::after {
    background-image: url('../img/icons/unit-information.svg');
}

.filterBox[data-filter-name="Unit Selection"]::after,
.filterBox[data-filter-name="انتخاب یونیت"]::after {
    background-image: url('../img/icons/unit-selection.svg');
}

.filterBox[data-filter-name="Evaporator Selection"]::after,
.filterBox[data-filter-name="انتخاب اواپراتور"]::after {
    background-image: url('../img/icons/evaporator-selection.svg');
}

.filterBox[data-filter-name="Project Information"]::after,
.filterBox[data-filter-name="اطلاعات پروژه"]::after {
    background-image: url('../img/icons/project-information.svg');
}

.filterBox .row {
    position: relative;
    width: calc(100% - 4px);
    margin: 10px 2px 0px 2px;
}

.filterBox select {
    width: 100%;
}

.input {
    position: relative;
}

.input__label,
.filterBox label.selectionLabel {
    position: absolute;
    z-index: 1;
    top: 0;
    padding: 0 5px;
    margin: 5px;
    white-space: nowrap;
    transform: translate(0, 0);
    background: var(--color-background);
    transition: transform 120ms ease-in;
    line-height: 1.2;
}

.ltr .input__label,
.ltr .filterBox label.selectionLabel {
    transform-origin: 0 0;
    left: 0;
}

.rtl .input__label,
.rtl .filterBox label.selectionLabel {
    transform-origin: top right;
}

.input__label.required::after,
.selectionLabel.required::after {
    content: ' *';
    font-weight: bold;
    color: red;
}

.input__field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 6px;
    background: transparent;
}

.ltr .input__field:focus+.input__label,
.ltr .input__field:not(:placeholder-shown)+.input__label,
.ltr .filterBox label.selectionLabel.selected {
    transform: translate(0.25rem, -65%) scale(0.75);
}

.rtl .input__field:focus+.input__label,
.rtl .input__field:not(:placeholder-shown)+.input__label,
.rtl .filterBox label.selectionLabel.selected {
    transform: translate(-0.25rem, -65%) scale(0.75);
}

.tableContainer {
    width: 100%;
    overflow: auto;
    margin-bottom: 10px;
}

.tableContainer table {
    width: 100%;
    border-collapse: collapse;
}

.tableContainer th,
.tableContainer td {
    text-align: center;
}

.tableContainer th {
    position: sticky;
    top: 0;
    background-color: var(--table-header-bg-color);
    color: white;
    padding: 10px;
    border-right: 1px solid white;
}

.ltr .tableContainer th:first-child {
    border-radius: 20px 0 0 0;
}

.ltr .tableContainer th:last-child {
    border-radius: 0 20px 0 0;
    border-right: none;
}

.rtl .tableContainer th:last-child {
    border-radius: 20px 0 0 0;
}

.rtl .tableContainer th:first-child {
    border-radius: 0 20px 0 0;
}

.tableContainer th.p8 {
    width: 8%;
}

.tableContainer th.p23 {
    width: 23%;
}

.tableContainer th.p30 {
    width: 30%;
}

.tableContainer td {
    background-color: white;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
}

.ltr .tableContainer td {
    border-right: 1px solid var(--border-color);
}

.rtl .tableContainer td {
    border-left: 1px solid var(--border-color);
}

.ltr .tableContainer tr:last-child td:first-child {
    border-radius: 0 0 0 20px;
}

.rtl .tableContainer tr:last-child td:first-child {
    border-radius: 0 0 20px 0;
}

.ltr .tableContainer td:last-child {
    border-right: none;
}

.rtl .tableContainer td:last-child {
    border-left: none;
}

.ltr .tableContainer tr:last-child td:last-child {
    border-radius: 0 0 20px 0;
    border-right: none;
}

.rtl .tableContainer tr:last-child td:last-child {
    border-radius: 0 0 0 20px;
    border-right: 1px solid var(--border-color);
}

.tableContainer tr:last-child td {
    border-bottom: none;
}

.tableContainer tbody tr {
    cursor: pointer;
}

.tableContainer tbody tr:hover td {
    background-color: #b2f9b270;
}

.detailsContainer {
    border: 1px solid var(--border-color);
    padding: 10px;
    width: clac(100% - 22px);
    overflow: auto;
    margin-bottom: 10px;
}

.detailsContainer .unitName {
    font-weight: bold;
    text-align: center;
    font-size: 22px;
}

.detailsContainer .unitPart {
    margin-top: 10px;
    font-weight: bold;
}

.detailsContainer .unitDetailsFlex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.detailsContainer .unitDetailsFlex .unitPart1 {
    width: 50%;
}

.detailsContainer .unitDetailsFlex .unitPart2 {
    width: calc(50% - 11px);
}

.ltr .detailsContainer .unitDetailsFlex .unitPart2 {
    padding-left: 10px;
    border-left: 1px solid var(--border-color);
}

.rtl .detailsContainer .unitDetailsFlex .unitPart2 {
    padding-right: 10px;
    border-right: 1px solid var(--border-color);
}

.detailsContainer .unitDetailProperty {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.detailsContainer .unitDetailProperty div {
    width: 50%;
}

.detailsContainer #unitImage {
    height: 300px;
}

.detailsContainer #unitImage svg {
    height: 100%;
}

#unitSelectionOptions {
    max-height: 50%;
    margin-bottom: 10px;
    overflow: auto;
}

#unitSelection_resultsGrid tr.selected td,
#evaporatorSelection_resultsGrid tr.selected td {
    background-color: #25ff2591;
}

#printablePageContainer {
    width: 95%;
    margin: 30px auto;
}

.printerHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#rimePrintableLogo {
    width: 220px;
}

.pageContainer {
    border-radius: 10px;
    margin-top: 10px;
    overflow: auto;
    border: 1px solid black;
}

.printableHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background-color: black;
    color: white;
    font-weight: bold;
}

.w50,
.w100 {
    padding: 6px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid black;
}

.w50 {
    width: 50%;
}

.w100 {
    width: 100%;
}

.ltr .w50,
.ltr .w100 {
    border-right: 1px solid black;
}

.rtl .w50,
.rtl .w100 {
    border-left: 1px solid black;
}

.w50:last-child,
.w100:last-child {
    border-right: none;
}

.rtl .w50:last-child,
.rtl .w100:last-child {
    border-left: none;
}

.printerTable .flexLeft:last-child .w50,
.printerTable .flexLeft:last-child .w100 {
    border-bottom: none;
}

.printerTable .svgContainer svg {
    width: 100%;
    height: auto;
}

@media print {
    #printablePageContainer {
        width: 100%;
        margin: 0;
    }

    .pageContainer {
        border-radius: 0;
        margin-top: 0;
        overflow: hidden;
        border: 1px solid black;
    }

    .printerTable .svgContainer svg {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    #printableChartDiv {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    #printableChartDiv>div {
        max-width: 100%;
        overflow: hidden;
    }
}
