.mespack-calculator {
    --mespack-calc-red: #E3092C;
    --mespack-calc-blue: #568196;
    --mespack-calc-grey: #7e7e7e;

    display: flex;
}
.mespack-calculator h2, .mespack-calculator h3, .mespack-calculator h4 {
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1;
}
.mespack-calculator h2 {
    color: var(--mespack-calc-red);
}
.mespack-calculator h3 {
    margin-bottom: 10px;
    font-size: 20px;
}
.mespack-calculator h4 {
    font-weight: normal;
    margin: 0;
}
.mespack-calculator h2 span, .mespack-calculator h3 span {
    font-weight: normal;
}
.input-data {
    padding: 20px 40px 20px 20px;
    margin: 20px 40px 20px 20px;
    width: 40%;
    border-right: 2px solid var(--mespack-calc-blue);
}
.input-data label {
    font-weight: bold;
    min-width: 60%;
    display: inline-block;
    text-align: right;
    padding-right: 20px;
}
.input-data label span {
    font-weight: normal;
}
.input-data > div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.results {
    padding: 20px 20px 20px 0;
    margin: 20px 20px 20px 0;
    width: 60%;
}
.results div.value {
    font-size: 40px;
    color: var(--mespack-calc-blue);
    margin-bottom: 10px;
}
.mespack-calculator input[type="number"] {
    width: 40%;
    border: 1px solid #D3D3D3;
    color: var(--mespack-calc-grey);
    padding:5px 10px;
    border-radius: 5px;
    font-weight: bold;
}.mespack-calculator input[type="number"].activated {
    color: var(--mespack-calc-red);
}
.result-group {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}
.subtitle, .message {
    color: var(--mespack-calc-red);
    font-weight: normal;
    margin-top: 0;
}
.message {
    font-size: 14px;
}
.total-result {
    background-color: var(--mespack-calc-blue);
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #fff;
    display: flex;
}
.total-result > div {
    padding: 0 20px;
    width: 50%;
}
.total-result h2, .total-result h3 {
    color: #fff;
}
.total-result div.value {
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: bold;
}
.total-result h4 {
    margin-bottom: 20px;
}
.total-result .title {
    font-size: 30px;
    line-height: 1.2;
}
.results-bottom {
    background-color: #FAFAFA;
    border-radius: 5px;
    margin-top: 10px;
    padding: 40px;
}
.result-group-wrapper {
    display: flex;
    gap: 20px;
}
.result-group-wrapper .result-icon {
    width: 50px;
}

.has-help {
    position: relative;
    label {
        cursor: pointer;
    }
}
.hidden-help {
    display: none;
    position: absolute;
    background: white;
    top: 30px;
    left: 0;
    padding: 10px;
    border: 1px solid #cacaca;
    border-radius: 8px;
    font-size: 14px;
    width: 90%;
    box-shadow: 2px 2px 10px #ababab;
}

@media (max-width: 1024px) {
    .mespack-calculator {
        flex-direction: column;
    }
    .input-data, .results {
        width: 100%;
        border-right: none;
    }
    .input-data {
        margin: 0;
    }
    .results {
        margin: 0;
    }
    .result-group {
        flex-direction: column;
    }
}