body {
    /* --main-font: IranSans; */
    --main-font: 'iransansxv';
    /* --main-font: IranSansFa; */
    --main-color: var(--e-global-color-62a9949);
    --active-color: var(--e-global-color-367ac2d);
    --active-color2: var(--e-global-color-b753875);
    --second-color: var(--e-global-color-23d810e);
    --bg-dark: var(--e-global-color-8111212);
    --light-color: var(--e-global-color-04a7f14);
    --card-light: var(--e-global-color-31beab6);

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

p {
    margin-bottom: 0;
}

.txt-main-light {
    color: var(--e-global-color-23d810e)
}

.gradient-line {
    height: 3px;
    background: linear-gradient(90deg, rgba(97, 3, 220, 0) 0%, rgba(97, 3, 220, 1) 50%, rgba(97, 3, 220, 0) 100%);
}

.dark-gradient {
    background: linear-gradient(90deg, rgba(64, 52, 88, 1) 0%, rgba(51, 37, 70, 1) 100%);
}

.py-32 {
    padding-top: 2rem;
    padding-bottom: 2rem
}

.fs-12 {
    font-size: 1em;
    line-height: 1em;
}

.gap-12 {
    gap: 0.75rem
}

.fw-bold-c {
    font-weight: 600
}

.fw-bolder-c {
    font-weight: 800
}

.fw-light-c {
    font-weight: 300
}

.fw-lighter-c {
    font-weight: 200
}

.main-linear-bg {
    background: rgb(158, 110, 255);
}

.button-outline {
    position: relative;
    width: 82px;
    cursor: pointer;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, rgba(158, 110, 255, 1) 0%, rgba(97, 3, 220, 1) 100%) border-box;
    border-radius: 50em;
    border: 1px solid transparent;

}

.bg-main-gradient {
    background: linear-gradient(90deg, rgba(158, 110, 255, 1) 0%, rgba(97, 3, 220, 1) 100%);
}

.bg-success-gradient {
    background: linear-gradient(90deg, #24EE8A 0%, #20D179 100%);

}

.radius-8 {
    border-radius: 8px;
}

.p-c {
    padding: 10px 20px
}

.button-outline-text {
    background: linear-gradient(90deg, rgba(158, 110, 255, 1) 0%, rgba(97, 3, 220, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step .button-main-light {
    color: var(--e-global-color-23d810e);
    font-weight: 600;
    min-width: 60px;
    border-radius: 5px;
    background-color: #F4F1F8;
    font-size: 12px;
    line-height: 16px;
}

.txt-light {
    color: var(--e-global-color-04a7f14);
}

.bgc-light {
    background-color: var(--e-global-color-04a7f14);
}

.bgc-card-light {
    background-color: var(--e-global-color-31beab6);
}

.container {
    /* max-width: 1276px */
}

.input-custom {
    width: 100%;
    height: 40px;
    padding: 10px 20px;
    background-color: #F6F3F9;
    border-radius: 0.5rem;
    border: none;
}

textarea.input-custom {
    height: 120px;
}

.label-custom {
    padding: 10px 20px;
}

body {
    font-family: var(--main-font);
    padding-bottom: 45px;
    color: var(--e-global-color-62a9949);
    font-weight: 500;
   
}
#loading-overlay {
    display: none; /* مخفی پیش‌فرض */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#loading-overlay .spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
.menu-icon{
    display:inline-block;
    width:15px;
    height:15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin-left: 10px;
}
.icon-home{
    background-image:url('../icons/home.svg');
}
a:hover .icon-home, a.elementor-item-active .icon-home{
    background-image:url('../icons/home-active.svg');
}

.icon-book{
    background-image:url('../icons/book-square.svg');
}
a:hover .icon-book, a.elementor-item-active .icon-book{
    background-image:url('../icons/book-square-active.svg');
}
.icon-bag{
    background-image:url('../icons/bag.svg');
}
a:hover .icon-bag, a.elementor-item-active .icon-bag{
    background-image:url('../icons/bag-active.svg');
}

.icon-faq{
    background-image:url('../icons/faq.svg');
}
a:hover .icon-faq, a.elementor-item-active .icon-faq{
    background-image:url('../icons/faq-active.svg');
}

.icon-message{
    background-image:url('../icons/message.svg');
}
a:hover .icon-message, a.elementor-item-active .icon-message{
    background-image:url('../icons/message-active.svg');
}

.icon-countries{
    background-image:url('../icons/world.svg');
}
a:hover .icon-countries, a.elementor-item-active .icon-countries{
    background-image:url('../icons/world-active.svg');
}
.menu-item i._mi{
    margin-top:0;
}

.dashboard-icon{
    display:inline-block;
    min-width:20px;
    min-height:20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px auto;
    margin-left: 25px;
    width:30px;
    height:30px;
    /*background-color:white;*/
    margin-right:4px;
    margin-top:4px;
    margin-bottom:4px;
}
a.elementor-item-active .dashboard-icon{
    border-radius:10px;
    width:38px;
    height:38px;
    margin-right:0px;
    margin-top:0px;
    background-color:var(--active-color);
}
.icon-dashboard{
    background-image:url('../icons/home-dashboard.svg');
}
a.elementor-item-active .icon-dashboard{
    background-image:url('../icons/home-3.svg');
}

.icon-dashboardNewAccount{
    background-image:url('../icons/bag-2.svg');
}
a.elementor-item-active .icon-dashboardNewAccount{
    background-image:url('../icons/bag-3.svg');
}

.icon-dashboardRenewAccount{
    background-image:url('../icons/refresh-2.svg');
}
a.elementor-item-active .icon-dashboardRenewAccount{
    background-image:url('../icons/refresh-3.svg');
}

.icon-dashboardSpeedTest{
    background-image:url('../icons/speedTest-2.svg');
}
a.elementor-item-active .icon-dashboardSpeedTest{
    background-image:url('../icons/speedTest-3.svg');
}

.icon-dashboardV2ray{
    background-image:url('../icons/v2ray-2.svg');
}
a.elementor-item-active .icon-dashboardV2ray{
    background-image:url('../icons/v2ray-3.svg');
}

.icon-dashboardTraining{
    background-image:url('../icons/training-2.svg');
}
a.elementor-item-active .icon-dashboardTraining{
    background-image:url('../icons/training-3.svg');
}

.icon-dashboardGift{
    background-image:url('../icons/giftCard-2.svg');
}
a.elementor-item-active .icon-dashboardGift{
    background-image:url('../icons/giftCard-3.svg');
}

.icon-dashboardSettings{
    background-image:url('../icons/settings-2.svg');
}
a.elementor-item-active .icon-dashboardSettings{
    background-image:url('../icons/settings-3.svg');
}

.icon-dashboardExit{
    background-image:url('../icons/exit-2.svg');
}
a.elementor-item-active .icon-dashboardExit{
    background-image:url('../icons/exit-2.svg');
}



nav {
    a {
        color: var(--e-global-color-62a9949);
    }

    >div {
        flex: 1 0 0;
    }

    .logo-container,
    .userinfo-container {
        flex-grow: 1;
    }

    .menu-container {
        flex-grow: 2;

        a {
            svg path {
                fill: #D0CED2;
            }
        }

        a.active,.current_page_item a {
            color: #7E37ED;

            svg path {
                fill: #7E37ED;
            }
        }

    }
    .main-menu li a img,.footer-menu li a img{
        width:20px;
    }
}


.logo-container img {
    width: 110px;
}

.introSlide {

    span {
        display: inline-block;
        width: 0.5rem;
        height: 0.5rem;
        background-color: #F0BA64;
        opacity: var(--bg-opacity);
    }
}


.section-title {
    color: var(--e-global-color-62a9949);
    margin-top: 10px;
    font-weight: 600;

}

.section-title-c {
    margin-top: 10px;
}
.section-title-c .title-content{
   min-width: fit-content;
   flex-shrink: 0;
   font-weight: 600;
    font-size:20px;
}

.section-title-c .line-1 {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(97, 3, 220, 0.8) 0%, rgba(255, 255, 255, 0) 95%);

}
.section-title-c .line-2 {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(97, 3, 220, 0.8) 95%);
}

/* .section-title-c::before {
    content: '';
    display: inline-block;
    width: 41%;
    height: 3px;
    background: rgb(97, 3, 220);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(97, 3, 220, 0.8) 95%);
    position: absolute;
    top: 50%;
    left: 0;
} */

.section-content {


    .tabs {
        padding: 0.125rem;

        li {
            min-width: 50px;
            width: fit-content;
        }

        button {
            padding: 6px 14px;
            /* width: 50px */

            svg path{
                fill: var(--e-global-color-62a9949);
            }
        }

        button.active {
            color: var(--e-global-color-04a7f14);
            background-color: var(--e-global-color-8111212);
            svg path{
                fill: var(--e-global-color-04a7f14);
            }
        }
    }
}

.elementor-widget-n-tabs.training-tab1 .e-n-tabs-heading{
    button.e-n-tab-title:first-child{
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    button.e-n-tab-title:last-child{
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }
    button.e-n-tab-title[aria-selected=true]{

    }
    button.e-n-tab-title:before {
        content: '';
        display: block;
        height: 30px;
        width:1px;
        background-color: #E0DCE6;
        position: absolute;
        left:0px;
    }
    button.e-n-tab-title:hover:before {
        display:none;
    }
    button.e-n-tab-title[aria-selected=true]:before{
        display:none;
    }
    button.e-n-tab-title:last-child:before {
        display:none;
    }
}
.elementor-widget-n-tabs.training-tab2 .e-n-tabs-heading{

    button.e-n-tab-title{
        padding-bottom:0px;
    }
    button.e-n-tab-title:hover{
        .e-n-tab-icon{
            svg{
                fill: var(--active-color);
            }
        }
        .e-n-tab-title-text{
            color: var(--active-color);
        }

    }
    button.e-n-tab-title[aria-selected=true]:after{
        content: "";
        display: inline-block;
        width: 0px;
        height: 0px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-top: 8px solid var(--second-color);
        position: absolute;
        top: calc(100% + 12px);
        z-index:1000;
    }
}
.main-section {
    margin-top: 0px;
}

.section-content-mask {
    height: calc(100% - 40px);
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(158, 110, 255, 1) 100%);
    opacity: 0.1;
}

.cards {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tab-content>.active {

    display: flex;
}

.data-card-container {
    width: 20%;
    min-width: 200px;
}

.data-card {
    width: 100%;

    background-color: var(--e-global-color-04a7f14);
    box-shadow: 0 15px 30px rgba(97, 3, 220, 0.05);
    transition: 0.4s;

    &:hover {
        box-shadow: 0 15px 30px rgba(75, 239, 157, 0.2);

    }

    &:has(:checked) {
        box-shadow: 0 15px 30px rgba(75, 239, 157, 0.2);
    }
}

.data-card_title {
    border-bottom: 1px solid #F2EBFF;

    h4 {
        font-size: 15px;
        line-height: 20px;
        font-weight: 600;
    }

    p {
        margin-top: 3px;
        font-size: 12px;
        color: #857C90
    }

    .price {
        font-size: 25px;
        font-weight: 600;
        line-height: 33px;
        color: var(--e-global-color-23d810e)
    }

    .unit {
        font-size: 8px;
        line-height:1.2;
        font-weight: 600;
        color: #9E6EFF;
    }
}

.data-card_content {
    .card-item {
        font-size: 12px;

        a {
            color: var(--e-global-color-23d810e);
            margin-right: 2px;
        }
    }

    .systems {
        gap: 10px;

        li {
            width: 25px;
            height: 25px;
            background-color: #F5EFFE;
            display: flex;
            justify-content: center;
            align-items: center;

            svg {
                width: 13px;
                height: 13px;
            }
        }
    }

    .plan-label {
        .select-plan {
            margin-top: 12px;
            background: linear-gradient(90deg, rgba(158, 110, 255, 1) 0%, rgba(97, 3, 220, 1) 100%);
            font-size: 12px;
            height: 40px;
            display: flex;

            span {
                display: block;

                &.checked {
                    display: none
                }
            }
        }

        &:has(:checked) {
            .select-plan {
                content: 'sad';
                background: linear-gradient(90deg, #24EE8A 0%, #20D179 100%);

                span {
                    display: none;

                    &.checked {
                        display: block
                    }
                }
            }
        }
    }
}

.list-icon {
    width: 11px;
}


.tooltip-content {
    display: none;
    background-color: var(--e-global-color-62a9949);
    color: var(--e-global-color-04a7f14);
    font-size: 13px;
    padding: 10px;
    bottom: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;

    &.tooltip-countries {
        bottom: calc(100% - 80px);
    }

    >span.triangle {
        display: block;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid var(--e-global-color-62a9949);
        position: absolute;
        top: 100%;
    }
}

.tooltip-icon:hover {
    svg path {
        transition: 0.4s;
        fill: var(--e-global-color-62a9949);
    }
}
.systems .tooltip-icon{
     svg path{
        fill: #8949f3;
    }
}
.systems .tooltip-icon:hover {
    background: linear-gradient(180deg, rgba(158, 110, 255, 1) 0%, rgba(97, 3, 220, 1) 100%);

    svg path {
        transition: 0.4s;
        fill: var(--e-global-color-04a7f14);
    }
}

.tooltip-icon:hover .tooltip-content {
    display: flex
}

.data-card .tooltip-content {
    transition: 0.4s;

    h6,
    p {
        font-size: 12px;
        color: var(--e-global-color-04a7f14);
        font-weight: 300;
    }
}

.w-custom {
    width: 54px;
    height: 30px;
    bottom: calc(100% + 6px);
}

.country-flag {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-image: var(--img);
    background-size: cover
}

.countries-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.information {
    >div {
        flex: 1 0 0;
    }

    label {
        padding: 10px 20px;
    }
}

.invoice {
    border-radius: 8px;
    background-color: #F6F3F9;

    >div {
        font-size: 12px;
        padding: 10px 20px;
    }

    >div:nth-child(even) {
        background-color: var(--e-global-color-04a7f14);
    }
}

.invoice-pay {
    >* {
        font-size:13px;
        height: 40px;
        max-width: 300px;
        background-color: #F6F3F9;
        flex: 1 0 0 !important;

        input {
            background-color: transparent;
        }
    }

    button {
        width: fit-content
    }
}
.menu-item.menu-item-613 i._before{
    margin-left: 15px;
}

.step-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* بک‌گراند نیمه‌شفاف */
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

.step-loader .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.d-none {
    display: none !important;
}



/* FAQ */
.faq-section {
    margin-top: 70px;
    border-top: 2px solid #E4E1E7;

    h2 {
        padding-top: 70px;
        font-size: 20px;
        margin-bottom: 27px;
    }
}

.faq-img {
    width: 300px;
    height: 310px;
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(64, 52, 88, 1) 0%, rgba(51, 37, 70, 1) 100%);

}



.faq-title {
    font-size: 12px;
    background-color: #F6F3F9;
    border: 1px solid #ECEAEF;

    .plus {
        display: inline-block;
    }

    .minus {
        display: none
    }

}

.faq-answer {
    height: 0;
    max-height: 0;
    font-size: 12px;
    line-height: 23px;
    overflow: hidden;
    padding: 0 1rem;
}

.faq-card {
    margin-bottom: 10px;

    &:has(:checked) {

        .faq-title {
            color: #fff;
            background-color: var(--e-global-color-62a9949);

            .minus {
                display: inline-block;
            }

            .plus {
                display: none
            }
        }

        .faq-answer {
            padding: 1rem;
            height: fit-content;
            max-height: fit-content;
        }
    }
}



footer {
    margin-top: 70px;

    >div {
        padding: 0 82px;
        height: 120px;
    }

    .menu-container a {
        font-size: 16px;
        color: #fff;

        svg path {
            fill: #977559
        }
    }

    .social {
        gap: 30px;
    }
}

.main-section-content {
    margin: 70px auto;
}
.btn-gradient {
    background: linear-gradient(to right, #7b5cff, #5c4fff);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}


#fixed-alerts {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

#fixed-alerts .alert {
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin: 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.elementor-widget-heading .elementor-heading-title{
    all: unset;
    font-family: var(--e-global-typography-h1-font-family);
    font-size: inherit;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 17px;
    }

    header {
        z-index: 9
    }

    header .menu-container {
        transition: 0.5s;
        width: 250px;
        position: absolute;

        right: -100%;
        top: 0;
        height: 100svh;
        z-index: 99;
        background-color: #FEFDFF;
        padding: 30px 15px;
        transition: 1s;

        ul li {
            width: 100%;
            text-align: right;
            margin-bottom: 24px;
        }

        /* display: none; */
    }

    body:has(#menu-toggler:checked) {
        width: 100%;
        height: 100%;
        overflow: hidden;

        &::before {
            transition: 0.4s;
            content: '';
            width: 100%;
            height: 100%;
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            background: #3E3255;
            opacity: 50%;
            z-index: 10;
        }

        header {
            z-index: 11;
        }

        header .menu-container {
            right: 0;
            transition: 1s;
            /* display: none; */
        }
    }

    .logo-container {
        text-align: center
    }

    .toggler {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        background-color: #F4F1F8;
    }

    .introSlide {
        padding: 20px;
        padding-bottom: 30px;
        height: fit-content;
        gap: 42px;

        .top-circle {
            width: 477px;
            left: 0px;
            top: 100px !important;
        }

        .bottom-circle {
            left: 30px;
            width: 230px;
        }
    }

    .data-card-container {
        width: 100%;
        max-width: 100%;

        .data-card_content ul {
            display: flex;
            flex-wrap: wrap;
        }

        .card-item {
            width: 50%;

            &:nth-last-child(2) {
                width: 100%;
            }
            &:last-child{
                width: 100%;

            }
        }
    }

    .information {
        gap: 20px !important;
    }

    .invoice-pay {
        >* {
            max-width: 100%;
            width: 100%;
            flex: 1 0 0 !important;

            input {
                background-color: transparent;
            }
        }

        button {
            width: fit-content
        }
    }

    .faq-section h2 {
        text-align: center
    }

    footer {
        >div {
            padding: 30px 20px;
            height: fit-content;

            nav {
                padding: 0 !important;

                .menu-container {
                    padding: 15px 0;

                    li {
                        padding: 9px 0;
                        width: 50%;
                    }
                }
            }
        }
    }
}


.modal {
    .modal-dialog {
        max-width: 412px;
    }

    .modal-content {
        min-height: 554px;
        padding: 24px 20px;

        h3 {
            font-size: 16px;
        }
    }

    label {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .input-container {
        width: 100%;
        height: 50px;
        border-radius: 10px;
        background-color: #F6F3F9;
        margin-bottom: 20px;

        input {
            font-size: 15px;
        }

        .check {
            left: 15px;

            svg {
                display: none
            }

            .false {
                display: block
            }
        }

        &:has(button) {
            margin-top: 30px;
            box-shadow: 0 5px 20px rgba(97, 3, 220, 0.2);
        }

        button {
            color: var(--e-global-color-04a7f14);
        }
    }

    p {
        font-size: 15px;

        span {
            color: var(--e-global-color-23d810e) !important
        }
    }

    .modal-footer-c a {
        color: var(--e-global-color-04a7f14);
    }

}

.pointer {
    cursor: pointer;
}

.otp-code {
    direction: ltr;

    >* {
        flex: 1 0 0;
    }

    input {
        height: 50px;
        border-radius: 10px;
        background-color: #F6F3F9;
        width: 30px;
        border: none;
        display: flex;
        text-align: center;
        padding: 10px;

        &:focus {
            outline: none;
            border: 1px solid var(--e-global-color-23d810e)
        }
    }

    input::-webkit-inner-spin-button,
    input::-webkit-outer-spin-button {
        display: none
    }
}

.submit-btn {
    opacity: 0.8;
    pointer-events: none;
}

.submit-btn.active {
    opacity: 01;
    pointer-events: all;
}

.check-icon {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    border: 2px solid var(--e-global-color-23d810e);

}

#enter-new-pass .modal-body {
    height: 300px !important;

    h4 {
        font-size: 16px;
        margin-top: 22px;
    }
}

@media (max-width: 576px) {
    .modal {
        .modal-dialog {
            min-height: 554px;
            max-width: 100%;
        }
    }

    #enter-new-pass .modal-body {
        p {
            font-size: 8px;
        }
    }
}