/* استایل های صفحه نتایج  */


.resultPageMain {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.resultPageDlsec {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 957px;
    margin-top: 63px;
}
.resultPageTitle svg path {fill: #30ACFF;}
.resultShareBtn svg path {fill: #30ACFF;stroke:#30ACFF}

.resultPageTitle svg {
    width: 69px;
    height: 69px !important;
    background: #E8F5FF;
    padding: 18.5px;
    border-radius: 12px;
}

.resultPageTitle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resultPageTitle p {
    color: rgba(15, 15, 15, 1);
    font-size: 32px;
    font-weight: 400;
    margin: 0px;
}

.resultPageDlsec>p {
color: #454545;
    font-size: 16px;
    font-weight: 300;
    margin-top: 20px;
    text-align: center;
    line-height: 32px;
}

a.resultDlBtn {
    background: #30ACFF;
    border-radius: 16px;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: unset;
}

a.resultShareBtn {
    background: #fff;
    border-radius: 16px;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #30ACFF;
    text-decoration: unset;
    border: 1px solid #30ACFF;
}

.resultDownloadBtn {
    display: flex;
    gap: 8px;
}

.semi-meter {

    position: relative;
    width: 100%;
    height: auto;
    display: grid;
    place-items: center;
}

.semi-meter__svg {
    width: 100%;
    height: auto;
}

.semi-meter__track {
    fill: none;
    stroke: #e9eef6;
    stroke-width: 20;
    stroke-linecap: round;
}

.semi-meter__bar {
    fill: none;
    stroke: linear-gradient(90deg, #FFBD30, #63a6ff);
    stroke-width: 20;
    stroke-linecap: round;

    /* برای کنترل میزان پر شدن */
    stroke-dasharray: 283;
    /* محیط تقریبی مسیر نیم‌دایره در این viewBox */
    stroke-dashoffset: calc(283 * (100 - var(--p)) / 100);

    transition: stroke-dashoffset 600ms ease;
    stroke: #FFBD30;
    /* اگر gradient خواستی، پایین‌تر نسخه گرادیانی هست */
}

/* متن وسط نیم‌دایره */
.semi-meter__text {
    position: absolute;
    top: 62%;
    transform: translateY(-50%);
    font-family: "iransans";
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.semi-meter__num {
    font-size: 34px;
    line-height: 1;
}

.semi-meter__text::before {
    content: '%';
    font-size: 34px;
    font-weight: 700;
    opacity: 0.9;
    color: #30ACFF;
}


.chartSecDes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-direction: column;
}

.resultPageChartSec {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1258px;
    gap: 60px;
    background: #fff;
    border-radius: 24px;
    padding: 24px 40px;
}

.resultPageChartmain {
    background: #F9F9F9;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 52px 91px;
    margin: 64px 0px;
}

.chartSecDes h3 {
    font-size: 24px;
    color: #0F0F0F;
    font-weight: 600;
    margin: 0px;
}

.chartSecDes span {
    font-size: 18px;
    color: #454545;
}

.chartSecDes p {
    color: #454545;
    font-size: 16px;
    font-weight: 400;
}

.resultPageInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1440px;
    margin-top: 63px;
    justify-content: center;
    padding: 0px 90px;
    gap: 16px;
}

.PageInfoDes h3 {
    color: #0F0F0F;
    font-size: 32px;
    font-weight: 600;
    line-height: 64px;
    margin: 0px;
}

.PageInfoDes {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.resultPageInfo p {
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -1%;
    color: #454545;
    margin: 0px;
}

.PageInfoForm {
    display: flex;
    flex-direction: column;
    background: #E8F5FF;
    border-radius: 16px;
    padding: 24px;
    width: 50%;
    gap: 16px;
}

h3.PageInfoTitle {
    margin: 0px;
    text-align: right;
    float: right;
}

.PageInfoDes>p {
    max-width: 50%;
}

input#PageInfoFormSub {
    background: #30ACFF;
    border-radius: 16px;
    padding: 12px 51px;
    color: #fff;
    border: unset;
}

input#PageInfoFormTel {
    COLOR: #E5E6EB;
    border: 1px solid #E5E6EB;
    border-radius: 16px;
    padding: 12px 16px;
    text-align: right;
}

.PageInfoForm form {
    display: flex;
    gap: 16px;
}

@media (max-width:768px) {
    .resultPageTitle p {
        font-size: 18px;
        line-height: 36px;
    }


    .resultPageDlsec {
        margin-top: 42px;
        max-width: 350px;
    }

    .resultPageTitle svg {
        padding: 13px;
    }

    .resultPageChartmain {
        margin-top: 42px;
        max-width: 100%;
        padding: 40px 20px;
    }

    .resultPageInfo {
        margin-top: 42px;
        max-width: 350px;
        padding: 0px;
    }

    .resultPageDlsec>p {
        line-height: 32px;
        text-align: right;
        margin: 10px 0px 20px 0px;
    }

    .resultDownloadBtn {
        flex-direction: column;
        gap: 16px;
    }

    .resultDownloadBtn a {
        font-size: 16px;
    }

    .resultPageChartSec {
        flex-direction: column-reverse;
        padding: 12px 16px;
    }

    .chartSecDes h3 {
        font-size: 18px;
    }

    .chartSecDes span {
        font-size: 16px;
        line-height: 32px;
    }

    .chartSecDes p {
        font-size: 14px;
        line-height: 28px;
    }

    .chartSecDes {
        gap: 8px;
    }

    h3.PageInfoTitle {
        font-size: 20px;
        color: #0F0F0F;
    }

    .PageInfoDes {
        flex-direction: column;
    }

    .PageInfoDes>p {
        max-width: 100%;
        font-size: 16px;
        line-height: 32px;
    }

    .PageInfoForm {
        padding: 16px;
        width: 100%;
    }

    .PageInfoForm form {
        flex-direction: column;
        align-items: flex-end;
    }
}

#pdf-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
}

button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* استایل های صفحه نتایج  */