@import '../variables.css';


.swiper-slide-rate {
    height: auto !important;
}

.swiper-slide-support {
    height: auto !important;
}

.rates {
    margin: 0;
    padding: 60px 0 0;
    background-color: rgba(235, 239, 255, 1);
}

.rates-swiper {
    padding-left: 10px !important;
}

.rates-container {
    margin-bottom: 10px;
}

.rates-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

.rates-choose {
    font-size: 20px;
    font-weight: 400;
    margin: 17px 0 30px;
}

.justify-end {
    justify-content: end;
}



.rate {
    width: 440px;
    height: 100%;
    box-sizing: border-box;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    border: 5px solid transparent;
    transition: all 0.5s ease-out;
    cursor: pointer;
}

.rate-border:hover {
    border: 5px solid rgba(30, 199, 191, 1);

    button {
        background-color: rgba(56, 196, 189, 1);
        color: rgba(255, 255, 255, 1);
        border: 1px solid transparent;
    }
}

.rate-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.rate-description {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 400;
    color: rgba(74, 76, 88, 1);
}

.rate-advantages-wrapper {
    display: flex;
    flex-direction: column;
    margin: 35px 0 0;
    padding: 0;
    gap: 17px;
}

.rate-advantages {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 10px;
}


.rate-advantages-img {
    width: 20px;
    height: 16px;
}


.rate-advantages-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(74, 76, 88, 1);
    margin: 0;
}

.spacer {
    flex-grow: 1;
}

.rate-price-wrapper {
    margin-top: 20px;
}

.rate-price {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.rate-calculate {
    width: 100%;
    border: 1px solid rgba(67, 67, 67, 1);
    color: rgba(67, 67, 67, 1);
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 1);
    cursor: pointer;
    margin: 30px 0 0;
    transition: all 0.5s ease-out;
}

.rate-support {
    width: 440px;
    box-sizing: border-box;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, rgba(44, 170, 164, 1), rgba(2, 103, 133, 1));
    border: 1px solid rgba(30, 199, 191, 1);
    color: rgba(255, 255, 255, 1);
    transition: all 0.5s ease-out;
}

.rate-support-title {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
}

.rate-support-description {
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0 0;
}

.rate-form {
    margin: auto 0 0;
}

.rate-button {
    margin-top: 30px;
    border-radius: 10px;
    color: #fff;
    border: 0;
    padding: 15px;
    width: 100% !important;
    font-weight: 600;
    font-size: clamp(15px, 2vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--gradient-2);
}

.rate-button:not(:disabled, [data-disabled="true"]) {
    background: rgba(255, 255, 255, 1);
    transition: color 0.4s ease;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    z-index: 0;
    position: relative;
    cursor: pointer;
    color: rgba(44, 170, 164, 1);
}

.rate-button:hover {
    color: #fff;
}

.rate-button:not(:disabled, [data-disabled="true"])::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-image: var(--gradient-2);
    transition: opacity 0.4s ease;
    opacity: 0;
    border-radius: 10px;
}

.rate-button:not(:disabled, [data-disabled="true"]):hover::before {
    opacity: 1;
}

.rate-button:disabled,
.rate-button[data-disabled="true"] {
    opacity: 0.4;
}

.consultation-rate__policy-text {
    font-weight: 400;
    font-size: 12px;
    margin: 0;
}

.consultation-rate__policy-link {
    color: rgba(255, 255, 255, 1);
}

.rate-checked {
    opacity: 0.5;
}

.rate-active {
    opacity: 1;
    background-color: rgba(30, 199, 191, 1);
    color: rgba(255, 255, 255, 1);

    p {
        color: rgba(255, 255, 255, 1);
    }
}

.rate-change {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 1) !important;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(30, 199, 191, 1);
    cursor: pointer;
    margin: 30px 0 0;
    transition: all 0.5s ease-out;
}

.rate-change:hover {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(44, 170, 164, 1);
}


@media (max-width: 600px) {
    .consultation-rate__policy-text {
        width: 90%;
    }

    .rate {
        width: 355px;
        padding: 20px 10px;
        border-radius: 16px;
    }

    .rate-title {
        font-size: 26px;
        font-weight: 700;
    }

    .rate-description {
        font-size: 14px;
    }

    .rate-advantages-wrapper {
        margin: 10px 0 0;
        gap: 12px;
    }

    .rate-advantages-text {
        font-size: 14px;
    }

    .rate-advantages-img {
        width: 15px;
        height: 12px;
    }

    .rate-price {
        font-size: 20px;
    }

    .rate-calculate {
        font-size: 14px;
        font-weight: 600;
        padding-top: 12px;
        padding-bottom: 12px;
        margin: 20px 0 0;
        border: none;
        background-color: rgba(56, 196, 189, 1);
        color: rgba(255, 255, 255, 1);
        border: none;
    }

    .rate-form {
        gap: 10px !important;
        margin: auto 0 0;
    }

    .rate-support {
        width: 355px;
        padding: 60px 40px;
        border-radius: 16px;
    }

    .rate-support-title {
        font-size: 26px;
        font-weight: 700;
    }

    .rate-support-description {
        font-size: 14px;
        font-weight: 400;
    }

    .rate-input-consultation {
        padding: 7px !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .rate-button {
        padding: 9.5px;
        font-weight: 500;
        font-size: 14px;
        height: auto !important;
    }

    .rate-button:not(:disabled, [data-disabled="true"]) {
        padding: 9.5px;
        height: auto !important;
    }

    .consultation-rate__policy-text {
        font-weight: 400;
        font-size: 10px;
        line-height: 14px;
    }

    .rate-change {
        font-size: 14px;
        font-weight: 500;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

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

.quiz-container {
    border-radius: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    gap: 50px;
    justify-content: space-between;
    width: 100%;
    margin-inline: auto;
}

.quiz-result-cost-container {
    position: sticky;
    top: 82px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 40%;
}

.quiz-body {
    height: fit-content;
    border-radius: 20px;
    width: 58%;
}

.purple-button[data-disabled="true"],
.purple-button:disabled {
    border: 1px solid #722AED;
    color: #722AED;
    padding: 14px 20px;
}

.purple-button {
    padding: 14px 20px !important;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+label {
    background-color: #069d95c8;
    cursor: pointer;
    color: white;
}

input[type="radio"]:checked+label:after {
    background-color: #069d95c8;
    color: #fff;
}

input[type="radio"]:hover+label {
    background-color: #069d95c8;
    color: #fff;
    cursor: pointer;
}

input[type="radio"]:hover+label:after {
    cursor: pointer;
    background-color: #069d95c8;
    color: #fff;
}

.quiz-label {
    background-color: #F4F4F4;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    color: rgb(131, 131, 131);
    transition: all 0.2s ease-in;
    margin-bottom: 10px;
}

.quiz-skeleton-wrapper {
    padding: 20px 0 0;
}

@keyframes skeletonShine {
    to {
        background-position: 500px 0;
    }
}

.quiz-skeleton-question {
    border-radius: 16px;
    height: 24px;
    width: 50%;
    background: #f6f7f8;
    background-position: -500px 0;
    animation: skeletonShine 1s linear 0s infinite normal forwards;
    background-image: linear-gradient(135deg, #ffffff 0%, #dde3f3, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
    margin-bottom: 8px;
}

.quiz-skeleton-answer {
    border-radius: 16px;
    height: 44px;
    width: 80%;
    background: #f6f7f8;
    background-position: -500px 0;
    animation: skeletonShine 1s linear 0s infinite normal forwards;
    background-image: linear-gradient(135deg, #ffffff 0%, #dde3f3, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
}

.none {
    display: none;
}

.disabled-link {
    pointer-events: none;
}

.quiz-btn {
    text-decoration: none;
    width: 100% !important;
}

.city_questions {
    margin-top: 20px;
}

.quiz-question h5 {
    font-weight: 600;
}

.quiz-question {
    padding: 20px 0 0;
}

@keyframes skeletonShine {
    to {
        background-position: 500px 0;
    }
}

.result-cost-skeleton:empty {
    border-radius: 20px;
    height: 50px;
    width: 50%;
    background: #f6f7f8;
    background-position: -500px 0;
    animation: skeletonShine 1s linear 0s infinite normal forwards;
    background-image: linear-gradient(135deg, #ffffff 0%, #dde3f3, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
}

.quiz-price-wrapper {
    margin-bottom: 10px;
}

.quiz-progress-container {
    margin-top: 60px;
    background-color: rgba(246, 246, 246, 1);
}

.quiz-progress {
    transition: width 0.3s linear;
    height: 6px;
    color: rgba(73, 199, 194, 1);
    background-color: rgba(73, 199, 194, 1);
    width: 0%;
    border-radius: 5px;
}

@keyframes blink {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

.quiz-result-cost {
    background-color: rgba(240, 242, 250, 1);
    border-radius: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.quiz-result-cost-certificate {
    border-radius: 15px;
    padding: 30px;
    background: rgba(240, 242, 250, 1);
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-result-cost-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 40px;
}

.quiz-result-cost-certificate h3 {
    font-weight: 600;
    font-size: 26px;
    color: #000000;
}

.quiz-result-cost-certificate p {
    font-weight: 400;
    font-size: 15px;
    color: #000000;
}

.quiz-result-cost h3 {
    font-size: 35px;
    font-weight: 700;
}

.quiz {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin: 0;
    background-color: rgba(235, 239, 255, 1);
    padding: 60px 70px 60px 70px;
}

.quiz__text {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 500;
    color: #3A3737;
}

.payment-full,
.payment-installment {
    white-space: nowrap;
    position: relative;
    margin-right: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.payment-full::after {
    content: "-10%";
    display: block;
    height: 100%;
    width: 35%;
    background-color: #F4F4F4;
    color: rgb(131, 131, 131);
    position: absolute;
    top: 0;
    left: 100%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 0.9rem;
    padding-top: 11px;
    text-align: center;
    margin-left: 4px;
    transition: all 0.2s ease-in;
}

.payment-installment::after {
    content: "-10%";
    display: block;
    height: 100%;
    width: 15%;
    background-color: #F4F4F4;
    color: rgb(131, 131, 131);
    position: absolute;
    top: 0;
    left: 100%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 0.9rem;
    padding-top: 11px;
    text-align: center;
    margin-left: 4px;
    transition: all 0.2s ease-in;
}

.installment-info {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 6px;
}

.installment-info__text {
    font-size: 16px;
    font-weight: 400;
    color: #838383;
    margin-bottom: 20px;
    line-height: 24px;
}

.quiz-description_installment {
    font-size: 14px;
    margin: 8px 0 0;
    color: rgba(131, 131, 131, 1);
}

.quiz-description_credit {
    font-size: 14px;
    margin: 8px 0 0;
    color: rgba(131, 131, 131, 1);
}

.margin-certificate {
    margin-top: 40px;
}

.question-answers {
    margin-bottom: 40px;

    div {
        width: 100%;
        display: flex;
        justify-content: space-between;
        white-space: nowrap;
        align-items: center;
        margin-bottom: 6px;
    }
}

.question-answer-line {
    border: none;
    width: 100%;
    padding-top: 7px;
    margin: 0 10px;
    border-bottom: 0.5px rgba(131, 131, 131, 1) solid;
}

.question-text {
    margin: 0;
    color: rgba(131, 131, 131, 1);
    font-size: 16px;


    @media (max-width: 600px) {
        font-size: 14px;
    }
}

.answer-text {
    margin: 0;
    color: rgba(131, 131, 131, 1);
    font-size: 16px;


    @media (max-width: 600px) {
        font-size: 14px;
    }
}

.asterisk-note {
    margin: 10px auto 0;
    color: #6C757D;
    font-weight: 500;
    font-size: 16px;
    width: 470px;
    white-space: nowrap;
    transform: translateX(-440px);

    @media (max-width: 1360px) {
        transform: translateX(0px);
        width: auto;
        white-space: normal;
        margin: 10px 0 0;
    }
}

@media (max-width: 1200px) {
    .quiz-container {
        flex-direction: column;
        width: 100%;
    }

    .quiz-body {
        width: 100%;
    }

    .quiz-result-cost-container,
    .quiz-result-cost,
    .quiz-result-cost-certificate {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .quiz {
        padding: 40px 10px 60px;
    }

    .quiz__title {
        font-size: 34px;
    }

    .quiz-result-cost-title {
        font-size: 31px;
        margin-bottom: 40px;
    }

    .quiz-container {
        gap: 25px;
    }

    .quiz-result-cost h3 {
        font-size: 32px;
    }
}