.container.calcNew__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calcNew__inner {
    background-color: #F4F7FD;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calcNew__bage {
    padding: 12px 16px;
    background-color: #FF99001A;
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 8px;
    border-radius: 21px;
    color: #FF9900;
    font-weight: 600;
    align-items: center;
}

.calcNew__maintitle {
    font-weight: 700;
    font-size: 40px;
}

p.calcNew__mainsubtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    max-width: 600px;
}

.calcNew__inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

picture.calcNew__asidepic, picture.calcNew__asidepic img {
    width: 100%;
}

.calcNew__aside-doctor {
    background-color: white;
    border-radius: 16px;
    padding: 10px;
    border: 1px #54B451 solid;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calcNew__aside {
    max-width: 230px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calcNew__asidetext p {
    font-size: 15px;
    margin-bottom: 5px;
}

.calcNew__navitem {
    background-color: white;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px #3fab3c solid;
    opacity: 0.5;
}

.calcNew__navitem.done {
    opacity: 1;
}

.calcNew__aside-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calcNew__testwrap {
    width: 100%;
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}
.calcNew__reswrap {
    border-radius: 12px;
    background-color: #F4F7FD;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 284px;
    max-width: 284px;
}

p.calcNew__endtitle {
    font-weight: 700;
    font-size: 24px;
}

.calcNew__endlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calcNew__endlist p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.calcNew__enddisclaimer {
    background-color: #F4F7FD;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calcNew__testmain {
    width: 100%;
}

.calcNew__enddislist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.calcNew__enddisitem {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 150%;
}

.calcNew__reswrap-price {
    font-weight: 700;
    font-size: 18px;
}

.calcNew__testwrap[data-calctype="resultarea"].unactive,
.calcNew__testwrap[data-calctype="testarea"].unactive
{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 0;
}

.calcNew__reswrap-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.calcNew__reswrap-title span {
    font-weight: 700;
    color: #3fab3c;
}

.calcNew__reswrapbot {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calcNew__reswrapbot-doctor {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.calcNew__reswrapbot-doctitle {
    font-weight: 700;
}

.calcNew__reswrapbot-docsubtitle {
    color: #1E1E1E99;
}

.calcNew__reswrapbot {
    font-size: 14px;
}

.calcNew__reswrap .calcNew__navitem {
    border-color: white;
}

.calcNew__navitem p span:first-child {
    color: #3fab3c;
    font-weight: 700;
    margin-right: 5px;
}

.calcNew__navitem.activenavitem {
    opacity: 1;
}

p.cnTest__slidename {
    font-weight: 700;
    font-size: 24px;
}

.calcNew__test.cnTest {
    position: relative;
}

.cnTest__slide {
    transition: 0.5s ease;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cnTest__slide.activeSlide {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.cnTest__answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cnTest__answer {
    border: 1px #C5E0EE66 solid;
    padding: 10px;
    border-radius: 15px;
}

span.cnTest__answer-checkwrap {
    width: 25px;
    min-width: 25px;
    height: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px #3fab3c solid;
    border-radius: 71%;
}

.activeAnswer span.cnTest__answer-check {
    width: 15px;
    height: 15px;
    background-color: #3fab3c;
    border-radius: 50%;
}

p.cnTest__answername {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

p.cnTest__answername {
    font-size: 16px;
    font-weight: 700;
}

.cnTest__answer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

p.cnTest__answerdefault {
    background-color: #54B4510D;
    color: #54B451;
    font-weight: 700;
    padding: 10px;
    border-radius: 12px;
}

.cnTest__answer.activeAnswer {
    background-color: #54B4510D;
}

.cnTest__answer:hover {
    background-color: #54B4510D;
}

.cnTest__answer {
    cursor: pointer;
}

[data-calctype="btnprev"] {
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px #3fab3c solid;
    color: #3fab3c;
    font-size: 18px;
    font-weight: 700;
    width: 145px;
    cursor: pointer;
}

[data-calctype="btnprev"]:hover {
    background-color: #54B4510D;
}

[data-calctype="btnnext"]:hover {
    background-color: white;
    color: #FF9900;
}

[data-calctype="btnnext"] {
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px #FF9900 solid;
    color: white;
    background-color: #FF9900;
    font-size: 18px;
    font-weight: 700;
    width: 145px;
    cursor: pointer;
}

.calcNew__bottomnav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.calcNew__bottomnav p {
    font-size: 12px;
    max-width: 200px;
    text-align: center;
}

.calcNew__testmain {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

p.calcNew__enddistitle {
    font-size: 20px;
    font-weight: 700;
}

.calcNew__enddisitem span {
    color: #3fab3c;
}

.calcNew__formblock input {
    border-radius: 12px;
    padding: 16px 20px;
}

.calcNew__formblock input::placeholder {
    color: #f4f7fd;
}

/* Для всех браузеров */
.calcNew__formblock input::placeholder {
    color: #f4f7fd;
    opacity: 1; /* Убирает полупрозрачность в Firefox */
}

/* Для Chrome, Safari, Edge */
.calcNew__formblock input::-webkit-input-placeholder {
    color: #f4f7fd;
}

/* Для Firefox */
.calcNew__formblock input::-moz-placeholder {
    color: #f4f7fd;
    opacity: 1;
}

/* Для Internet Explorer */
.calcNew__formblock input:-ms-input-placeholder {
    color: #f4f7fd;
}

p.calcNew__formtite {
    font-weight: 700;
    font-size: 16px;
}

.calcNew__socials {
    border: 1px #3fab3c solid;
    padding: 15px;
    border-radius: 12px;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calcNew__socialsblock {
    display: flex;
    flex-direction: row;
    align-items: center;
}

a.calcNew__icon:first-child {
    margin: 0;
}
.calcNew__icon {
    width: 40px;
    height: 40px;
    display: block;
    background-color: #3fab3c;
    border-radius: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 4px white solid;
    margin-left: -10px;
}

a.calcNew__icon.calcNew__icon--tg {
    background-color: #4599DF;
}

a.calcNew__icon.calcNew__icon--max {
    background: linear-gradient(212deg, rgba(75, 92, 239, 1) 0%, rgba(138, 88, 220, 1) 100%);
}

form.calcNew__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

p.calcNew__formtite {
    margin-bottom: 10px;
}

span.calcNew__progress-item {
    height: 4px;
    width: 33%;
    background-color: #54B451;
    background-color: #f4f7fd;
    display: flex;
    border-radius: 10px;
}
.done.calcNew__progress-item {
    background-color: #54B451;
}

.calcNew__progress {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 75%;
}

.calcNew__test-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

[data-calctype="step"]{
    font-weight: 700;
    color: #54B451;
}

.cnTest__answer.error {
  border-color: red;
  background-color: #ff000012;
}

.calcNew__navitem span:first-child {
    font-weight: 700;
    color: #3fab3c;
}

[data-calctype="preanswer"] {
    color: #999ca2;
}

@media(max-width: 1024px){
.calcNew__aside {
   display: none;
}
.calcNew__testwrap {
    flex-direction: column;
    max-width: 100%;
}
.calcNew__aside {
    display: none;
    max-width: 100%;
    width: 100%;
}

.calcNew__inner {
    width: 100%;
    max-width: 100%;
}
.calcNew__inner {
    background-color: transparent;
    padding: 0;
}

.calcNew__testwrap {
    background-color: #f4f7fd;
}

.calcNew__reswrap {
    background-color: white;
}
.calcNew__reswrap {
    background-color: white;
    max-width: unset;
        width: 100%;
        min-width: unset;
}

.calcNew__bottomnav {
    display: grid;
    grid-template-areas:         "prev next"        "caption caption";
    justify-content: center;
}

[data-calctype="btnnext"] {
    grid-area: next;
}

[data-calctype="btnprev"] {
    grid-area: prev;
}

.calcNew__bottomnav p {
    grid-area: caption;
    width: 100%;
    text-align: center;
    max-width: unset;
}
.cnTest__answers {
    grid-template-columns: repeat(1, 1fr);
}
.calcNew__enddislist {
    grid-template-columns: repeat(1, 1fr);
}
.calcNew__enddisclaimer {
    background-color: white;
}
.calcNew__formblock input {
    border-radius: 12px;
    padding: 16px 20px;
    background-color: #f4f7fd;
}
}

@media(max-width: 624px){

.calcNew__bottomnav {
    display: grid;
    grid-template-areas:         "prev"    "next"    "caption";
    justify-content: center;
}
    [data-calctype="btnprev"],[data-calctype="btnnext"] {
        width: 100%;
    }
}
}