.main-section {
    padding: 58px 0px 0;
    background: #fff;
}

.calculated-card,
.refernce {
    /* padding: 24px;
  border-radius: 24px;
  border: solid 1px rgba(26, 134, 213, 0.4);
  background-color: #fff; */
    /* background-color: #fff; */
}
.calculated-card {
    margin-bottom: 29px;
}
.calculation-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    justify-content: center;
}
.calculation-name {
    /* border: 1px solid #1a86d5; */
    font-family: var(--second-font);
    font-size: 40px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    /* letter-spacing: 0.64px; */
    text-align: center;
    color: var(--main-color);
}
.file-input {
    display: none;
}
.calculation-group h3 {
    color: var(--Blue, #1a86d5);
    font-family: "Open Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.file-input-label {
    display: flex;
    width: 1200px;
    padding: 48px 350px 50px 350px;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    border: 1px dashed var(--grey-second, #d3d3d3);
    background: rgba(26, 134, 213, 0.06);
    width: 100%;
}
.calculation-description {
    color: var(--black-70, rgba(14, 17, 20, 0.7));
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    max-width: 914px;
}

.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: none !important;
}
.upload-container p {
    color: #0e1114;
    font-family: var(--main-font);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.upload-container p span {
    color: var(--orange-color);
}
.or {
    position: relative;
    margin: 32px 0;
    color: var(--grey-second, #d3d3d3);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.or::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #d3d3d3;
    width: 48%;
}
.or::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0%;
    height: 1px;
    background: #d3d3d3;
    width: 48%;
}
.title-inputs {
    position: relative;
    color: var(--text-color);
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 32px;
}
.title-box {
    display: flex;
    justify-items: start;
    align-items: start;
    gap: 8px;
}
.display-block {
    display: block !important;
}
.position-relative {
    position: relative;
}
.box-question {
    display: none;
    max-width: 330px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* border: 1px solid #76b7e6; */
}

.title-box img:hover + .box-question {
    display: block;
}
.box-question p {
    color: var(--DarkBlue, #002147);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 162.5% */
}

/* .title-inputs::before {
    content: "?";
    position: absolute;
    left: 15.5%;
    width: 24px;
    height: 24px !important;
    height: 1px;
    border: 2px solid #1a86d5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    color: #1a86d5;
} */
/* .title-inputs::before:hover .box-question{
    display: block;
} */
/* .title-inputs:hover::before {
    background-color: #1a86d5;
    color: white;
    cursor: pointer;
} */

.button-green {
    all: unset;
    display: flex;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #34a853;
    color: #fff;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
}
/* mean-conversion-types */
.mean-conversion {
    margin: 0;
    padding: 0 8px 0 0;
}

.mean-conversion-types:nth-last-child(n + 4) {
    margin-top: 0px !important;
}
.table-heading {
    display: flex;
    flex-direction: column;
    gap: -10px;
    /* border: 1px solid red; */
}
.table-heading h3 {
    text-align: center;
    color: var(--text-color);
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.table-heading button {
    margin-top: -32px;
    align-self: flex-end;
    width: fit-content;
}
.result-text-box {
    margin: 32px 0;
}
.result-text-box h2,
.result-text-box h3 {
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.result-text-box h2 {
    color: #1a86d5;
}
.result-text-box h3 {
    color: var(--text-color);
}
/* .table-container {
    border-radius: 12px;
    overflow: scroll;
    border: 0.0001px solid #76b7e6;
    margin-top: 32px;
    background-color: #fff;
    height: fit-content;
} */
.table-container {
    /* margin: 32px;
    border: 1px solid #76b7e6;
    height: fit-content;
    border-radius: 12px;
    overflow: hidden; */
    /* margin-top: 20px; */
}

.table-container table {
    margin-top: 40px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: solid 1px #76b7e6 !important;
    /* width: fit-content; */
}

.table-container table thead tr th {
    text-align: center;
    color: var(--black, #0e1114);
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 12px;
    border-radius: 12px !important;
}
.table-container table thead tr th:last-child {
    color: var(--text-color);
}
.result-head {
    color: var(--text-color) !important;
}
.result-cil-body {
    color: #1a86d5 !important;
    font-weight: bold !important;
}

.table-container table tbody tr td {
    color: var(--black, #0e1114);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}
.table-container table tbody tr td:last-child {
    color: #1a86d5;
    font-weight: bold;
}

.table-container table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
/* .table-container table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 12px !important;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #76b7e6;
} */

/* .table-container table th, */
/* .table-container table td { */
/* text-align: center; */
/* min-width: 150px !important; */
/* height: 100%; */
/* padding: 11px 0px 9.143px 0px; */
/* border: 1px solid #76b7e6; */
/* } */
.border-test {
    border: 1px solid red !important;
}

/* .table-container table th {
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
} */
/* .table-container table td {
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
} */
/* .table-container table tbody tr td:first-child {
    font-weight: 600;
} */
/* .table-container table thead tr:first-child th:first-child { */
/* border-top-left-radius: 12px; */
/* -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
} */

/* .table-container table thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.table-container table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.table-container table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
} */

/* description result */

.container-disc {
    margin-top: 40px;
    display: flex;
    max-width: 653px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}
.container-disc h2 {
    color: var(--text-color);
    font-family: var(--second-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.container-disc div h4 {
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.container-disc div ol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
    list-style-position: inside;
}
.container-disc div ol li {
    color: rgba(14, 17, 20, 0.85);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}
.container-disc .func-box {
    max-width: 567px;
    height: 179px;
    background-color: white;
    border-radius: 6px;
    padding: 24px;
}
.container-disc .sec-footer {
    color: var(--black, #0e1114);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.32px;
}
.container-disc .sec-footer a {
    color: var(--orange, #fd8a07);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.32px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.mean-conversion-types {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--main-color);
    color: white;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px !important;

    text-align: left;
    color: #fff;
}
label {
    font-family: var(--main-font);

    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: var(--text-color);
    margin-bottom: 8px;
}
.input-field {
    margin-top: 16px;
    height: 90px;
    padding: 0px 0px 0px 16px;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--grey-second, #d3d3d3);
    background: #f5f5f5;
    color: var(--text-color) !important;

    /* color: red; */
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--grey-second, #d3d3d3);
    width: 100%;
}
.input-field:focus {
    color: var(--text-color);
}
.input-select {
    display: flex;
    padding: 13px 16px;
    justify-content: center;
    align-items: center;
    gap: 488px;
    border-radius: 8px;
    border: 1px solid var(--grey-second, #d3d3d3);
    background: #f5f5f5;
    width: 100%;
}
.group-btn-title {
    color: var(--DarkBlue, #002147);
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 24px 0;
}
/* .width{
    max-width: 50%;
} */
input[type="radio"] {
    /* height: 40px; */
    /* flex-grow: 0; */
    /* border-radius: 8px; */
    /* border: solid 1.5px rgba(26, 134, 213, 0.6); */
    width: 40px;
    height: 40px;
    fill: #f5f5f5;
    stroke-width: 1px;
    stroke: var(--grey-second, #d3d3d3);
}
input[type="radio"]:checked {
    fill: var(--main-color);
    stroke: var(--main-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.checkbox-container label {
    margin-bottom: 0;
}
.results-wrapper {
    margin-top: 27px;
}
.width-cell {
    width: fit-content !important;
}
.btn-groups-box {
    display: flex;
    gap: 16px !important;
    flex-wrap: wrap;
}
.btn-clear,
.btn-result {
    padding: 8px 24px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    /* margin-right: 48px; */
}
.clear-btn:hover {
    background: #d50000;
    color: white !important;
}
.btn-result {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 186px; */
    height: 48px;
    padding: 8px 24px;
    background: var(--main-color);
    color: white;
}
.btn-result:hover {
    background: white;
    color: var(--main-color);
}

.results * {
    font-family: var(--main-font);

    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: rgba(14, 17, 20, 0.8);
}

.main-result-heading {
    font-weight: 600 !important;
    font-size: 24px;
    color: #0e1114;
}

/* mean-conversion-types */

.qestion {
    font-family: var(--main-font);
    max-width: 100ch;
    margin: 24px 0;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.8px;
    text-align: left;
    color: #0e1114;
}

.formula-descreption-title {
    font-family: var(--main-font);
    /* background: #f8f8f8; */
    font-size: 24px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    margin-bottom: 16px;
}

/* .reference-body h3 {
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #0e1114;
    margin-bottom: 12px;
} */

/* .reference-body ol li {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: rgba(14, 17, 20, 0.85);
    margin-bottom: 8px;
    max-width: 68ch;
} */
/* .reference-body a {
    font-family: var(--main-font);

    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.32px;
    text-align: left;
    color: #0e1114;
    color: var(--main-color);

    text-decoration: underline;
} */
/* .reference-body table {
    margin-top: 40px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: solid 1px #76b7e6 !important;
    width: fit-content;
} */
/* .reference-body table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
} */

.flex-column {
    display: flex;
    flex-direction: column;
}
.reference-body table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
/* .reference-body table th,
.reference-body td {
    border: solid 1px #76b7e6 !important;
    background-color: #fff;
    padding: 8px 50.5px 8px 49px;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #0e1114;
} */
/* .reference-body td {
    font-weight: normal !important;
    padding: 13px 50.5px 13px 49px;
    font-size: 16px;
} */

/* .rounded-top-left {
    border-top-left-radius: 24px !important ;
}
.rounded-top-right {
    border-top-right-radius: 24px !important ;
} */
/* .rounded-bottom-left {
    border-bottom-left-radius: 24px !important;
} */
/* .rounded-bottom-right {
    border-bottom-right-radius: 24px !important ;
} */
@media (max-width: 1355px) {
    .file-input-label {
        padding: 24px 48px;
        text-align: center;
    }
    .table-container {
        /* overflow-x: scroll; */
    }
}
@media (max-width: 768px) {
    .table-container table th {
        font-size: 16px;
    }
    #patient-data{
        height: 60px !important;
    }
    /* .box-question {
        display: none;
        border: 2px solid red;
    } */
    /* .btn-result{
        font-size: 12px;
    } */
    /* .main-section {
        margin: 48px 0 32px 0;
    } */
    .response-y {
        margin: 16px 0px !important;
    }
    .title-inputs {
        margin-bottom: 16px;
    }
    .measurement-units label,
    .input-field {
        margin-bottom: 0;
    }
    .table-heading button {
        /* margin-top: -32px; */
        display: none;
    }
    /* .calculated-card, */
    .file-input-label {
        padding: 24px 32px;
        text-align: center;
    }
    .input-field {
        display: flex;
        height: 38px;
        align-items: center;
        padding: 6px 12px;
        border-radius: 8px;
        border: 1px solid var(--grey-second, #d3d3d3);
        background: #f5f5f5;
        color: var(--grey-second, #d3d3d3);
        font-family: "Open Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0px !important;
        margin-top: 12px !important;
    }
    .refernce {
        padding: 16px;
        border-radius: 16px;
        border: solid 0.5px rgba(26, 134, 213, 0.4);
    }
    .calculated-card {
        margin-bottom: 16px;
    }
    .calculation-name {
        font-size: 24px;
        letter-spacing: 0.48px;
    }

    .results * {
        font-family: var(--main-font);

        font-size: 16px;
    }
    .reference-body h3 {
        margin-bottom: 14px;
        /* background: #000; */
    }
    .reference-body ol li {
        font-size: 14px;
        max-width: unset;
        line-height: 1.71;
    }
    .reference-body table {
        margin-top: 0px;
    }
    .reference-body table th {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    /* .main-section {
        margin: 40px 0 24px 0;
    } */
    /* .title-box img:hover + .box-question {
        display: none !important;
    } */
    .title-box img {
        display: none;
    }
    .table-container table thead tr th {
        font-size: 16px;
    }
    .calculation-name {
        font-size: 20px;
        letter-spacing: 0.4px;
    }
    .file-input-label {
        padding: 24px 16px;
        text-align: center;
    }
    /* mean-conversion-types */
    .mean-conversion {
        margin: 0;
        padding: 0 8px 0 0;
    }

    .mean-conversion-types:nth-last-child(n + 4) {
        margin-top: 0px !important;
    }

    .mean-conversion-types {
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 12px;
    }
    label {
        margin-bottom: 12px;
    }
    input[type="text"] {
        margin-bottom: 12px;
    }

    .results-wrapper {
        margin-top: 24px;
    }

    .btn-clear {
        padding: 8px 16px;
        border-radius: 6px;
    }

    .results * {
        font-family: var(--main-font);

        font-size: 16px;
    }

    .main-result-heading {
        font-weight: 600 !important;
        font-size: 20px;
    }

    /* mean-conversion-types */

    .reference-body h3 {
        font-size: 16px;
    }
    .reference-body img {
        width: 100%;
    }
}
@media (max-width: 500px) {
    .file-input-label {
        display: none;
    }
    .table-container table {
        width: 100%;
        display: flex;
        justify-content: space-between;
        border: none;
    }
    .table-container table tr {
        display: flex;
        flex-direction: column;
        /* border: 1px solid; */
        gap: 16px;
        border-radius: 0px;
    }
    .table-container table thead tr,
    .table-container table thead tr th {
        border: none;
        text-align: start;
    }
    .table-container table tbody tr,
    .table-container table tbody tr td {
        border: none;
    }
    .or {
        display: none;
    }
}
