.calculator-result {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .0588235294), 0 1px 3px 0 rgba(0, 0, 0, .1019607843);
    background-color: var(--white);
    border: var(--border-color) solid 1px;
    overflow: hidden
}

.calculator-result__col {
    display: flex;
    flex-direction: column
}

.calculator-result--error {
    padding: 2rem;
    background: #fef2f2;
    display: none
}

.calculator-result--error-active {
    display: flex
}

.calculator-result--hidden {
    display: none
}

@media only screen and (max-width:640px) {
    .calculator-result {
        box-shadow: none;
        border-radius: 0
    }
}

.calculator-error__title {
    margin-left: .75rem;
    font-size: .875rem;
    color: #981c1b;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.calculator-error__item {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #b91c1c;
    margin-left: 2rem;
    padding-left: 1rem;
    margin-top: .5rem;
    position: relative
}

.calculator-error__item::before {
    content: "";
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: #b91c1c;
    position: absolute;
    left: 6px;
    top: 6px
}

.table-cell {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #374151;
    background-color: var(--white)
}

.table-cell--small {
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.25rem
}

.table-cell--dark {
    background-color: var(--primary-color)
}

.table-cell--only {
    padding: 32px 24px
}

.table-cell--age {
    gap: 1.25rem;
    flex-wrap: wrap
}

.table-cell--only-title {
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: .05em;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 500
}

.table-cell--table-dark {
    background-color: #bfdbfe
}

.table-cell:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

@media only screen and (max-width:640px) {
    .table-cell:first-child {
        border-radius: 0
    }
}

.table-cell:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px
}

@media only screen and (max-width:640px) {
    .table-cell:last-child {
        border-radius: 0
    }
}

@media only screen and (max-width:768px) {
    .table-cell--only-title {
        padding: 16px
    }

    .table-cell--only {
        padding: 32px 16px
    }
}

.result-text {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75rem
}

.result-text--small {
    color: #6b7280;
    line-height: 1.25rem;
    font-size: .875rem
}

.result-text--small-red {
    color: var(--red);
    line-height: 1.25rem;
    font-size: .875rem
}

.loan-chart {
    padding: .5rem 1rem;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
    pointer-events: none;
    transition: .3s ease
}

.loan-chart__title {
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
    font-weight: 400;
    text-align: left
}

.loan-chart__text {
    font-size: 14px;
    line-height: 20px;
    color: #111827
}

.chart-wrapper {
    margin-top: -6px
}

.chart-wrapper--padding-horizontal {
    padding-left: 0.5rem;
    padding-right: 0.5rem
}

@media only screen and (min-width:768px) {
    .chart-wrapper--padding-horizontal {
        padding-left: 2rem;
        padding-right: 2rem
    }
}

.chart-wrapper--loan canvas {
    height: 100%
}

.chart-wrapper--horizontal {
    gap: 2rem
}

.chart-wrapper:not(.chart-wrapper:last-child) {
    margin-bottom: 2rem
}

.chart {
    width: 100% !important;
    max-height: 303px;
    height: 303px
}

.chart__donut-legend {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: .5rem
}

.chart__donut-legend-item {
    display: flex;
    gap: .5rem;
    align-items: center
}

.chart__donut-legend--col {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column
}

.chart-wrapper--donut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    max-width: 200px;
    width: 100%
}

.chart-wrapper--donut-row {
    align-items: center;
    gap: 2rem;
    flex-direction: row
}

@media only screen and (max-width:767.9px) {
    .chart-wrapper--donut {
        margin: 0 auto
    }
}

.chart__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 390px
}

.chart__text p:first-child {
    margin-bottom: 2px
}

.chart--loan {
    height: 524px;
    max-height: 524px
}

.result-chart {
    height: 1rem;
    width: 1.5rem;
    border-radius: 4px
}

.result-chart--primary {
    background-color: var(--primary-color)
}

.result-chart--secondary {
    background-color: var(--secondary-color)
}

.result-chart--primary-light {
    background-color: var(--primary-light)
}

.result-chart--red {
    background-color: var(--red)
}