﻿@media (min-width:0) {
    .w100 {
        width: 100%;
    }

    /* boxes ......................................................................................................................*/
    .box {
        background: #fff;
        display: flex;
        flex-wrap: wrap;
        padding: var(--padding-container);
        margin: var(--padding-container) 0;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .box-a,
    .box-b {
        text-align: center;
        flex-wrap: wrap;
        gap: var(--padding-container) 6px;
    }

    .box-c,
    .box-d {
        flex-direction: column;
        gap: var(--padding-container);
    }

    .box-a .title,
    .box-b .title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

        .box-a .title .text,
        .box-b .title .text {
            text-align: right;
        }

        .box-a .title span,
        .box-b .title span {
            font-size: 12px;
            font-weight: 450;
            line-height: 166% !important;
            color: #74777C;
            display: block;
        }

        .box-a .title b,
        .box-b .title b {
            font-size: 14px;
            font-weight: 600;
            display: block;
        }

        .box-a .title img,
        .box-b .title img {
            cursor: pointer;
        }

    .box-a .item,
    .box-b .item,
    .box-c .item,
    .box-d .item {
        color: var(--second-color);
        font-variation-settings: "DOTS" 1;
        font-size: 10.5px;
        font-weight: 600;
        display: block;
    }

    .box-a .item,
    .box-b .item {
        width: calc(25% - 6px);
    }

    .box-c .item,
    .box-d .item {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
    }

        .box-c .item:not(:last-child)::before,
        .box-d .item:not(:last-child)::before {
            content: '';
            position: absolute;
            bottom: -7.5px;
            left: 0;
            right: calc(13% + 15px);
            height: 1px;
            background: #F2F3F6;
        }

    .box .item.all {
        cursor: pointer;
    }

    .box-a .icon,
    .box-b .icon,
    .box-c .icon {
        border-radius: 12px;
        padding: 10px;
        box-sizing: border-box;
    }

    .box-a .icon {
        padding: 10px;
    }

    .box-a .icon,
    .box-b .icon {
        margin: 0 auto 8px;
        width: 80%;
    }

    .box-c .icon {
        width: 50px;
    }

    .box-a .icon,
    .box-c .icon {
        background: #f9f9f9;
    }

    .box-b .icon {
        border: .5px solid #DFE1E5;
    }

    .box-b .item.all .icon {
        border: none;
        background: #eaefee;
    }

    .box-a .icon img,
    .box-b .icon img,
    .box-c .icon img,
    .box-d .icon img {
        width: 100%;
        display: block;
    }

    .box .title {
        font-weight: 600;
        font-variation-settings: "DOTS" 1;
        color: var(--second-color);
    }

    .box-c .text,
    .box-d .text {
        width: 87%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .box-a .title img,
        .box-b .title img,
        .box-c .text img {
            width: 35px;
            background: #f1f1f1;
            padding: 8px;
            border-radius: 50%;
            box-sizing: border-box;
            filter: opacity(0.8);
        }

    .box-c b {
        display: block;
    }

    .box-c small {
        font-weight: 370;
    }

    .box-first {
        margin-top: -75px;
        position: relative;
    }

    .box-d .item:not(:last-child)::before {
        right: calc(20px + 15px);
    }

    .box-d .text {
        width: calc(100% - 15px - 20px);
    }

        .box-d .text b {
            font-size: 14px;
            font-weight: 370;
            color: var(--text-onback-low);
        }

    .box-d .icon img {
        filter: invert(32%) sepia(8%) saturate(3167%) hue-rotate(119deg) brightness(93%) contrast(83%);
    }

    .box-d .icon {
        width: 25px;
    }

    .box-d .text img {
        width: 10px;
        opacity: .7;
    }

    /*......................................................................................................................*/
    .instruction-card {
        line-height: 1.8;
        color: #333;
        margin: 20px auto;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: 1px solid #e0e0e0;
        padding: 15px;
        box-sizing: border-box;
    }

    /*......................................................................................................................*/
    h2 {
        margin: auto;
        font-size: 18px;
        font-weight: 450;
    }

        h2.special {
            padding-right: 30px;
            margin-top: -8px;
        }

    h3 {
        color: var(--text-onback-low);
        font-weight: 450;
        margin: 0;
    }

    h4 {
        font-size: 16px;
        font-weight: 600;
        text-align: center;
    }

        h4:not(.header) {
            color: var(--second-color);
            margin: 0 0 var(--padding-container);
        }

    .header {
        color: #fff;
        height: 9.5em;
        box-sizing: border-box;
        margin: calc(-1 * var(--padding-container));
        padding: 45px var(--padding-container);
        position: relative;
        z-index: -1;
        font-size: 20px;
        overflow: hidden;
    }

        .dHeader::after,
        .header::after {
            content: '';
            position: absolute;
            height: 24px;
            left: 0;
            right: 0;
            bottom: -34px;
            background: linear-gradient(0deg, #f2f3f6 0% 100%);
            box-shadow: 0 -12px 30px 40px #f2f3f6;
        }

        .dHeader + *,
        .header + * {
            margin-top: -85px !important;
        }

    .description {
        color: var(--text-onback-low);
        text-align: center;
        font-weight: 450;
        margin-top: 0;
    }

    .module {
        background: #fff;
        padding: calc(var(--padding-container) / 2 + 6px) calc(var(--padding-container) / 2);
        margin: var(--padding-container) 0;
        border-radius: 16px;
        box-sizing: border-box;
    }

    /*imaportant Text styles*/
    .imaportantText {
        background: var(--main-color);
        border-radius: 12px;
        padding: 10px;
        box-sizing: border-box;
        color: #f1f1f1;
        margin-bottom: var(--padding-container);
        box-shadow: 0 5px 7px #31916e5e;
    }

    .intro-text {
        color: #555;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #fff8f0;
        border-right: 4px solid #f39c12;
        border-radius: 4px;
    }

    .warning-box {
        background-color: #fff5f5;
        border: 1px dashed #f31818;
        color: #c0392b;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 25px;
        font-weight: bold;
        text-align: center;
    }

    .important-note {
        background-color: #e8f4fd;
        border-right: 4px solid #3498db;
        padding: 12px;
        border-radius: 6px;
        margin: 15px 0;
    }

    .highlight-red {
        color: #f31818;
        font-weight: bold;
    }

    .highlight-blue {
        color: #2980b9;
        font-weight: bold;
        font-size: 1.1em;
        background: #eaf2f8;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: monospace, sans-serif; /* برای خوانایی بهتر اعداد */
        direction: ltr;
        display: inline-block;
    }

    .message {
        border: 1px solid #DFE1E5;
        border-radius: 12px;
        padding: 10px;
        box-sizing: border-box;
        margin-bottom: var(--padding-container);
    }

        .message b {
            display: inline;
        }

        .message .info {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 10px;
            margin-bottom: 10px;
            border-bottom: 1px dashed #ddd;
            color: var(--second-color);
        }

        .message input {
            width: 20px;
            vertical-align: middle;
        }

        .message .shop {
            font-weight: 500;
        }

        .message .text {
            color: var(--second-color);
            font-weight: 370;
            padding-bottom: 10px;
        }

        .message .date {
            text-align: left;
            font-size: 10px;
            color: var(--text-onback-low);
        }

    .message-txt {
        display: block;
        background: #f3f3f3;
        padding: 10px;
        border-radius: 12px;
        box-sizing: border-box;
        margin-bottom: 15px;
    }


    /**/
    .topTitle {
        width: 100%;
        font-weight: 450;
        margin: 10px 0;
        color: var(--text-onback-low);
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .topTitle span {
            flex-grow: 1;
            border-top: 1px solid #DFE1E5;
        }

    .modules-distance {
        margin: var(--padding-container) 0;
        border-bottom: 1px dashed #DFE1E5;
    }

    .reportText {
        margin: var(--padding-container) 0;
        padding: 10px;
        background: #818181;
        color: #fff;
        border-radius: 8px;
        box-shadow: 0 5px 7px #8181815e;
        box-sizing: border-box;
        display: block;
    }

    .result-item .title {
        padding-bottom: 10px;
    }

    /*......................................................................................................................*/
    .aroundSpace {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: #3333332b;
        z-index: 4;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

        .aroundSpace.show,
        .popup:target .aroundSpace {
            opacity: 1;
            visibility: visible;
        }

    /* popup......................................................................................................................*/
    .popup {
        position: fixed;
        left: var(--margin-container);
        right: var(--margin-container);
        top: 0;
        bottom: 0;
        z-index: 5;
        display: flex;
        align-items: flex-end;
        transform: translateY(100%);
        transition: .5s;
    }

        .popup:target {
            transform: translateY(0);
        }

        .popup > div {
            width: 100%;
            background: #fff;
            border-radius: 24px 24px 0 0;
            max-height: 90%;
            overflow: auto;
            padding: var(--padding-container);
            box-sizing: border-box;
        }

        .popup .close {
            cursor: pointer;
            width: 30px
        }

        .popup .aroundSpace {
            z-index: -1;
        }

    .popup-images {
    }

        .popup-images img {
            height: 100px;
            border: 1px solid #eee;
            overflow: hidden;
            box-sizing: border-box;
            object-fit: contain;
            border-radius: 5px
        }

    /**/
    .hide {
        display: none !important;
    }

    /**/
    .link {
        color: var(--main-color);
        font-weight: 600;
        font-size: 13px;
    }

    .help a {
        background: #c6e0d7;
        padding: 6px 12px;
        border-radius: 8px;
        color: #242424;
        font-weight: 500;
        transition: .5s;
        display: inline-block;
        margin: 2px;
    }

        .help a:hover {
            background: #73b49d;
        }

    .signature {
        display: block;
        color: var(--text-onback-low);
        text-align: left;
        padding-top: 5px;
    }

        .signature img {
            width: 35px;
            vertical-align: middle;
            margin-top: -7px;
        }

    .line {
        width: 100%;
        height: 1px;
        margin: 5px 0;
        border-bottom: 1px solid #ededed;
        box-sizing: border-box;
    }
}

@media (min-width: 525px) {

    .box-a .icon,
    .box-b .icon {
        width: 50%;
    }

    .box-b .icon {
        padding: 15px;
    }

    .box-a .icon {
        padding: 12px;
    }
}

@media (min-width: 768px) {
}

@media (min-width:992px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        background: #c4c4c4;
        border-radius: 48px
    }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--main-color)
        }

    ::-webkit-scrollbar-track {
        background: #fff;
    }
}

@media (min-width:1200px) {
    .box-a .icon,
    .box-b .icon {
        padding: 12px;
    }

    .box-c .icon {
        width: 10%;
    }
}
