@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 100;
    /* Thin */
    src: url('../fonts/PelakFA-Thin.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 300;
    /* light */
    src: url('../fonts/PelakFA-light.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 400;
    /* Regular */
    src: url('../fonts/PelakFA-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 500;
    /* Medium */
    src: url('../fonts/PelakFA-Medium.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 600;
    /* SemiBold */
    src: url('../fonts/PelakFA-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 700;
    /* Bold */
    src: url('../fonts/PelakFA-Bold.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 800;
    /* ExtraBold */
    src: url('../fonts/PelakFA-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: "pelak";
    font-style: normal;
    font-weight: 900;
    /* Black */
    src: url('../fonts/PelakFA-Black.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "pelak", Sans-serif;
    background-color: #fafafa;
    color: #000;
    line-height: 1.6;
    direction: rtl;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: all;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    max-width: 300px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loader-title {
    font-size: 20px;
    font-weight: 700;
    color: #FF7A18;
    margin-bottom: 15px;
}

.loader-text {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

#progressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF7A18, #EAB308);
    transition: width 0.1s linear;
}

#progressPercent {
    font-size: 14px;
    font-weight: 600;
    color: #FF7A18;
}


button.btn.btn-primary {
    width: 100%;
}

.details-container.active a {
    color: #000 !important;
}

.gradient-header {
    background: linear-gradient(135deg, #FF7A18 0%, #4FC3F7 100%);
    height: 96px;
    width: 100%;
}

.search-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    margin-top: -30px;
}

.search-container.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px;
    margin-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
}

.search-wrapper {
    font-family: "pelak", Sans-serif;
    position: relative;
    max-width: 1280px;
    direction: rtl !important;
}

.search-wrapper div {
    position: relative !important;
}

input#searchInput {
    border-radius: 10px !important;
}

.search-input {
    font-family: "pelak", Sans-serif;
    width: 100% !important;
    padding: 10px 15px 10px 40px !important;
    box-sizing: border-box !important;
    text-align: right !important;
    direction: rtl !important;
    height: 56px;
    font-size: 16px;
    background-color: white;
    border: 2px solid #ff7a18 !important;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #FF7A18;
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    right: auto !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #666 !important;
    pointer-events: none !important;
}

.search-hint {
    text-align: center;
    font-size: 14px;
    color: #737373;
    margin-top: 8px;
}

div#mainContent {
    font-family: "pelak", Sans-serif !important;
    color: #000 !important;
}

.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px;
}

.header-row {
    font-family: "pelak", Sans-serif;
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
}

.header-row div {
    text-align: center;
}

.data-row {
    font-family: "pelak", Sans-serif;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
    overflow: hidden;
}

.main-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    align-items: center;
}

.cell {
    width: 100%;
    grid-column: auto;
    text-align: right;
    border: none;
    padding: 5px 0;
    background-color: none;
    border: none;
    box-shadow: none;
    font-size: 13px;
}

.cell-label {
    font-weight: 600;
    color: #737373;
    margin-left: 0;
    margin-right: 8px;
    display: inline-block;
}

.inta-code {
    font-weight: 700;
    font-size: 18px;
}

.btn {
    font-family: "pelak", Sans-serif;
    width: 100%;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #FF7A18;
    color: white;
}

.btn-primary:hover {
    background-color: #EAB308;
}

.btn-active {
    background-color: #e5e5e5;
    color: #171717;
}

.btn-active:hover {
    background-color: #cccccc;
}

.details-container {
    border-top: 1px solid #e5e5e5;
    background-color: rgba(245, 245, 245, 0.3);
    padding: 16px;
    display: none;
    text-align: center;
}

.details-container.active {
    display: block;
}

.details-table-wrapper {
    overflow-x: auto;
}

.details-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.details-table th,
.details-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.details-table thead tr {
    background-color: white;
}

.details-table tbody tr:hover {
    background-color: rgba(245, 245, 245, 0.5);
}

.smart-calc-box {
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 183, 6, 0.1));
    border: 1px solid rgba(255, 122, 24, 0.5);
    border-radius: 8px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.smart-calc-content {
    display: flex;
    align-items: start;
    gap: 12px;
    max-width: 600px;
    width: 100%;
}

.smart-calc-text-wrapper {
    text-align: right;
    flex-grow: 1;
}

.smart-calc-icon {
    font-size: 24px;
}

.smart-calc-title {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 14px;
}

.smart-calc-text {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.5;
}

.mother-tag {
    position: relative;
    display: inline-block;
    z-index: 99;
    width: 100%;
    max-width: 300px;
}

.gradient-button {
    --color-start: #FFB706;
    --color-mid: #FFA500;
    --color-end: #FFD700;
    --shine-color: rgba(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
    display: inline-block;
    position: relative;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: "pelak", Sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    overflow: hidden;
    cursor: pointer;
    border: none;
    z-index: 1;
    transition: all 0.15s ease-out;
    background: linear-gradient(135deg, var(--color-start), var(--color-mid), var(--color-end), var(--color-mid), var(--color-start));
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

.gradient-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--shine-color), transparent);
    transform: skewX(-20deg);
    animation: shine-effect 4s infinite linear;
    z-index: 2;
}

.gradient-button:hover {
    box-shadow: 0 0 20px rgba(255, 183, 6, 0.7);
    transform: scale(1.02);
}

.gradient-button:visited,
.gradient-button:active {
    color: #000000;
}

.offer-label-bottom {
    height: 24px;
    line-height: 1.5em;
    --offer-bg-start: #C4C4C4;
    --offer-bg-end: #FFFFFF;
    position: absolute;
    top: 70%;
    left: 15px;
    font-family: "pelak", Sans-serif;
    background-color: #ffffff;
    color: #000000;
    padding: 5px 15px;
    border-radius: 7px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.15s ease-out;
}

.offer-label-bottom .offer-text-default {
    display: inline-block;
    transition: all 0.15s ease-out;
    opacity: 1;
    transform: translateY(0);
}

.offer-label-bottom .offer-text-hover {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    opacity: 0;
    transition: all 0.15s ease-out;
    color: #000000;
}

.mother-tag:hover .offer-label-bottom {
    background: linear-gradient(90deg, var(--offer-bg-start), var(--offer-bg-end), var(--offer-bg-start));
    background-size: 200% 100%;
    animation: offer-gradient-shift 2s linear infinite;
    box-shadow: 0 0 15px rgba(196, 196, 196, 0.8);
}

.mother-tag:hover .offer-label-bottom .offer-text-default {
    opacity: 0;
    transform: translateY(-50%);
}

.mother-tag:hover .offer-label-bottom .offer-text-hover {
    opacity: 1;
    transform: translate(-50%, -50%);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine-effect {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes offer-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media (min-width: 1024px) {
    .header-row {
        display: grid;
    }

    .header-row div:nth-child(2) {
        grid-column: span 2;
    }

    .main-row {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .cell {
        width: auto;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        text-align: center;
    }

    .main-row .cell:nth-child(2) {
        grid-column: span 2;
        text-align: right;
        font-size: 12px;
    }

    .cell-label {
        display: none;
    }

    .btn {
        width: auto;
    }

    .inta-code {
        font-size: 16px;
    }

    .smart-calc-box {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
    }

    .mother-tag {
        width: auto;
        max-width: none;
        order: 2;
    }

    .smart-calc-content {
        max-width: 60%;
        width: auto;
        order: 1;
    }
}

@media only screen and (max-width: 600px) {
    .main-row {
        display: block;
    }
}

@media (min-width: 600px) {
    .cell {
        padding: 5px 0 !important;
        background-color: none !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 13px !important;
    }
}

.full-header-container {
    width: 100%;
    background-color: white;
    color: #000;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-info-bar {
    width: 100%;
    background-color: white;
    padding: 15px 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-info-content {
    width: 90%;
    max-width: 1000px;
}

.top-info-content h1 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #000;
}

/* استایل لینک‌های Breadcrumb */
.breadcrumb a {
    color: rgb(239, 141, 43);
    font-weight: 600;
    font-size: 14px;
    text-decoration: auto;
}

.breadcrumb {
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.featured-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: white;
}

.featured-image-container img {
    width: 90%;
    max-width: 1000px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.step-indicator-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 5px 20px;
    max-width: 1000px;
    gap: 20px;
}

.main-title-block {
    width: 40%;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    padding-top: 10px;
    text-align: right;
}

.main-title-block h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.alert-note {
    color: #000;
    font-weight: bold;
    margin: 0;
    font-size: 14px;
}

.pros {
    width: 60%;
    display: flex;
    color: #000;
    gap: 40px;
    background-image: url(https://roshdemali.com/wp-content/uploads/2024/03/Line.svg);
    background-repeat: no-repeat;
    background-position: right 60%;
    background-size: 75%;
    margin-right: 0px;
    padding: 0px;
    justify-content: space-around;
}

.pros .sec {
    display: flex;
    gap: 7px;
    line-height: 1.6em;
    align-items: center;
    text-align: right;
    margin-right: -28px;
}

.pros .sec img {
    width: 65px;
    flex-shrink: 0;
}

.pros .sec h6 {
    font-family: "pelak", Sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 18px;
    color: #000;
}

.pros .sec span {
    font-family: "pelak", Sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.sectwo,
.sectwo h6,
.secthree,
.secthree h6 {
    color: #BEBEBE !important;
}

@media only screen and (max-width: 992px) {
    .step-indicator-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .main-title-block {
        width: 90%;
        align-items: flex-start;
        text-align: right;
    }

    .pros {
        width: 90%;
        padding: 0 10px;
        background-position: right 45%;
        background-size: 70%;
    }

    .pros .sec {
        margin-right: -28px;
    }
}

@media only screen and (max-width: 600px) {
    .dark-header-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .main-title-block h2 {
        font-size: 24px;
    }

    .sectwo .tx-ar,
    .secthree .tx-ar {
        display: none;
    }

    .pros img {
        width: 55px;
    }

    .pros {
        gap: 15px;
        background-position: right 43px;
        background-size: 90%;
        justify-content: space-between;
    }

    .pros .sec {
        margin-right: -16px;
    }

    .pros .sec h6 {
        font-size: 14px;
        margin-bottom: 5px;
    }
}





.ad-popup-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
    background-color: #fff;
}

.ad-popup-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ad-popup-box.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
}

.ad-popup-close-wrapper {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.ad-popup-close-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.ad-popup-close {
    color: #fff;
    font-size: 18px;
    margin-top: -2px;
    font-weight: 800;
    font-family: sans-serif;
}

#ad-popup-banner {
    width: 100%;
    height: 200px;
    display: block;
}

.ad-popup-banner-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-popup-progress-container {
    height: 5px;
    width: 100%;
    background-color: #eee;
}

.ad-popup-progress-bar {
    height: 100%;
    width: 100%;
    background-color: #4CAF50;
    transform: scaleX(1);
    transform-origin: right;
    animation-play-state: paused;
}

@keyframes ad-popup-progress-fill {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}








        a {
            text-decoration: none;
            color: inherit;
        }

        .header {
            background-color: #0d0d0d;
            color: #ffffff;
            width: 100%;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            max-width: 1280px;
            margin: 0 auto;
            flex-direction: row;
        }

        .header-right,
        .header-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .logo img {
            width: 50px;
            height: auto;
            display: block;
        }

        .header-button {
            background-color: transparent;
            color: #ffffff;
            border: 2px solid #FFFFFF15;
            padding: 8px 15px;
            border-radius: 7px;
            cursor: pointer;
            transition: background-color 0.3s, color 0.3s;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        .header-button:hover {
            background-color: #ff9900;
            color: #0d0d0d;
            font-weight: 600;
        }

        .menu-toggle {
            cursor: pointer;
            padding: 5px;
            background: none;
            border: none;
        }

        .menu-toggle svg {
            width: 30px;
            height: 30px;
            fill: #fff;
            display: block;
        }

        .subheader-fullwidth {
            width: 100%;
            background-color: #fff;
            position: relative;
            height: 30px;
            overflow: hidden;
            border-bottom: 1px solid #e6e6e6;
        }

        .subheader-content-wrapper {
            max-width: 1280px;
            margin: 0 auto;
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .news-container {
            flex-grow: 1;
            overflow: hidden;
            font-size: 12px;
            color: #000;
            height: 100%;
        }

        .news-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
            white-space: nowrap;
            animation: marquee 40s linear infinite;
            height: 100%;
            line-height: 30px;
            display: inline-block;
        }

        .news-list a {
            display: inline-block;
            padding-left: 20px;
            color: #000;
            transition: color 0.2s;
            font-weight: 500;
        }

        .news-list a:hover {
            color: #ff9900;
        }

        .news-list li:before {
            content: "";
            width: 10px;
            background: #FFCE00;
            height: 10px;
            display: inline-block;
            margin-left: 8px;
            border-radius: 100px;
            margin-bottom: -2px;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(100% + 500px));
            }
        }

        .news-text-wrapper {
            position: relative;
            height: 100%;
            z-index: 20;
        }

        .header-statement-title {
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: 600;
            color: #000;
            background: #ffffff;
            height: 30px;
            gap: 5px;
            padding: 0 15px 0 10px;
            border-left: 1px solid #e6e6e6;
            white-space: nowrap;
        }

        .live-dot-top {
            width: 15px;
            height: 15px;
            display: inline-block;
            border-radius: 50%;
            position: relative;
            border: 2px solid #FDB600;
        }

        .live-dot-top::before {
            content: '';
            position: absolute;
            width: 7px;
            height: 7px;
            background: #FDB600;
            border-radius: 50%;
            right: 2px;
            top: 2px;
            animation: live-dot-top 1.7s ease infinite;
        }

        @keyframes live-dot-top {
            0% {
                opacity: 1;
            }

            50% {
                opacity: .2;
            }

            100% {
                opacity: 1;
            }
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            z-index: 999;
            display: none;
            backdrop-filter: blur(5px);
            transition: opacity 0.3s;
            opacity: 0;
        }

        .modal-overlay.is-open {
            display: block;
            opacity: 1;
        }

        .modal-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 80%;
            max-width: 350px;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            color: #000;
            z-index: 1000;
            overflow-y: auto;
            direction: rtl;
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform: translateX(-100%);
            border-right: 1px solid #ccc;
        }

        .modal-menu.is-open {
            transform: translateX(0);
        }

        .modal-close {
            position: sticky;
            top: 0;
            right: 0;
            background: #ffffff;
            border: none;
            color: #555;
            font-size: 35px;
            cursor: pointer;
            z-index: 1010;
            padding: 5px 15px 5px 15px;
            display: flex;
            justify-content: flex-end;
            width: 100%;
            border-bottom: 1px solid #eee;
        }

        .modal-close:hover {
            color: #ff9900;
        }

        .modal-content {
            padding: 10px 15px 10px 15px;
            max-width: none;
            margin: 0;
        }

        .modal-section {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #ddd;
        }

        .modal-section:last-child {
            border-bottom: none;
        }

        .modal-subtitle {
            font-size: 14px;
            font-weight: 800;
            color: #000;
            margin-bottom: 10px;
            padding-right: 10px;
        }

        .course-banner-link {
            display: block;
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
        }

        .course-banner {
            width: 100%;
            height: 160px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('https://roshdemali.com/tax-coefficients/assets/img/دوره-جامع-مالیات-مشاغل-با-تدریس-مرتضی-ایمانی-در-آکادمی-رشد-مالی.jpg');
            text-indent: -9999px;
        }

        .modal-link-button {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 10px 12px;
            color: #333;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 8px;
            border-radius: 5px;
            transition: background-color 0.2s;
            background-color: #f8f8f8;
            border: 1px solid #eee;
        }

        .modal-link-button:hover {
            background-color: #e0e0e0;
            border-color: #ccc;
        }

        .modal-link-button::after {
            content: "»";
            font-size: 18px;
            font-weight: 300;
            color: #ff9900;
            line-height: 1;
        }

        .register-button {
            display: none !important;
        }

        @media (min-width: 768px) {
            .header-right {
                display: flex !important;
                gap: 0;
            }

            .header-right .logo {
                display: block !important;
            }

            .header-right .header-button,
            .header-right .menu-toggle {
                display: none !important;
            }

            .header-left {
                display: flex !important;
                justify-content: flex-end;
                gap: 20px;
            }

            .header-left .logo {
                display: none !important;
            }

            .header-left .header-button,
            .header-left .menu-toggle {
                display: block !important;
            }
        }

        @media (max-width: 767px) {
            .header-right {
                display: flex !important;
                gap: 0;
                justify-content: flex-start;
            }

            .header-right .logo {
                display: block !important;
                order: 1;
            }

            .header-right .header-button,
            .header-right .menu-toggle {
                display: none !important;
            }

            .header-left {
                display: flex !important;
                justify-content: flex-end;
                gap: 15px;
            }

            .header-left .logo {
                display: none !important;
            }

            .header-left .header-button:nth-of-type(1) {
                display: block !important;
                font-size: 13px;
                padding: 6px 10px;
            }

            .header-left .header-button:nth-of-type(2) {
                display: none !important;
            }

            .header-left .menu-toggle {
                display: block !important;
            }
        }

        .news-list:hover {
            animation-play-state: paused;
        }


        /* Timer */
               .tax-timer-wrapper {
            font-family: 'pelak', sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            direction: ltr; /* اعداد چپ به راست */
        }

        .tax-time-block {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 8px;
            line-height: 1;
            transition: all 0.3s ease;
        }

        /* استایل اختصاصی تایمر هدر (قرمز/سفید) */
        .header-timer .tax-time-block {
            background: #fff;
            color: #c0392b;
            border: 1px solid #fadbd8;
            box-shadow: 0 2px 8px rgba(231, 76, 60, 0.1);
        }

        /* استایل اختصاصی تایمر کارت (نارنجی/سفید - طبق درخواست جدید) */
        .card-timer .tax-time-block {
            background: #fff; /* سفید مثل هدر */
            color: #e67e22; /* نارنجی */
            border: 1px solid #ffe0b2; /* بوردر نارنجی خیلی روشن */
            box-shadow: 0 2px 8px rgba(230, 126, 34, 0.1);
        }
        
        /* کلاس‌های اعداد برای JS */
        .tb-digit {
            font-weight: 600;
            font-size: 16px;
            font-family: 'pelak', sans-serif;
            margin-top: 4px; /* اصلاح تراز عمودی */
        }

        .tax-time-block small {
            font-size: 9px;
            margin-top: 0;
            font-weight: 400;
            opacity: 0.8;
        }

        .tax-sep {
            font-weight: bold;
            font-size: 20px;
            margin-top: 0px; 
            animation: blink 1s infinite;
        }
        
        /* رنگ جداکننده در هدر */
        .header-timer .tax-sep { color: #e74c3c; }
        /* رنگ جداکننده در کارت */
        .card-timer .tax-sep { color: #e67e22; }

        @keyframes blink { 50% { opacity: 0; } }

        /* =========================================
           2. استایل‌های هدر (Tax Banner Header)
           ========================================= */
        .tax-banner-container {
            font-family: 'pelak', sans-serif;
            background-color: #ffffff;
            border-bottom: 3px solid #e74c3c;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            width: 100%;
            position: relative;
            z-index: 100;
        }

        .tax-banner-inner {
            max-width: 1260px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            min-height: 60px;
            gap: 20px;
        }
        .tax-content { display: flex; align-items: center; gap: 12px; flex: 1; }
        .tax-icon-box { position: relative; color: #e74c3c; display: flex; align-items: center; }
        .tax-pulse-dot {
            position: absolute; top: 0; right: 0; width: 9px; height: 9px;
            background-color: #e74c3c; border: 1px solid #fff; border-radius: 50%;
            animation: taxPulse 1.5s infinite;
        }
        .tax-text-group { display: flex; flex-direction: column; line-height: 1.3; }
        .tax-main-title { font-weight: 800; font-size: 15px; color: #333; }
        .tax-sub-title { font-size: 12px; color: #e74c3c; font-weight: 500; }
        
        .header-cta-btn {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: #fff !important;
            text-decoration: none !important;
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 14px;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center; /* وسط چین کردن محتوا */
            border: 1px solid rgba(255,255,255,0.2);
        }
        .header-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
        }

        @keyframes taxPulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
        }
        @media (max-width: 650px) {
    .tax-banner-inner {
        flex-direction: column;
        gap: 12px;
        padding: 15px 12px;
    }
}
/** End Timer */


/** fast-btn **/
        .fixed { position: fixed; }
        .bottom-6 { bottom: 1.5rem; }
        .left-6 { left: 1.5rem; }
        .z-9999 { z-index: 9999; }
        .hidden { display: none !important; }
        .flex { display: flex !important; }
        .items-center { align-items: center; }
        .justify-center { justify-content: center; }
        .justify-between { justify-content: space-between; }
        
        /* استایل اختصاصی کارت مودال */
        .glass-pro-compact {
            font-family: "pelak", Sans-serif;
            background: rgba(10, 10, 10, 0.96);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 3px solid #F29E18;
            border-radius: 0.75rem;
            padding: 12px;
            width: 210px;
            box-shadow: 0 30px 60px -15px rgba(0,0,0,0.7);
        }

        #tax-modal {
            position: absolute;
            bottom: 70px;
            left: 0;
            transform-origin: bottom left;
        }

        .modal-slide-up {
            animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(12px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* استایل دکمه شناور */
        .fab-trigger {
            width: 56px;
            height: 56px;
            background-color: #000;
            color: #FFCE00;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50%;
            cursor: pointer;
            position: relative;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        .fab-trigger.is-active {
            background-color: #fff !important;
            color: #000 !important;
            box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
        }

        /* استایل لینک‌های داخل کارت */
        .tax-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px;
            margin-bottom: 6px;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.2s;
        }

        .tax-link:hover { background: rgba(255, 255, 255, 0.05); }

        .icon-box {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            margin-left: 10px;
            flex-shrink: 0;
        }

        .link-text {
            font-size: 11px;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.8);
        }

        .tax-link:hover .link-text { color: #FFCE00; }

        .link-active {
            background: rgba(255, 206, 0, 0.12) !important;
            pointer-events: none;
            border-right: 2px solid #FFCE00;
        }
        .link-active .link-text { color: #FFCE00 !important; }
        .link-active .icon-box { background: #FFCE00 !important; color: #000 !important; }

        /* انیمیشن شناور بودن دکمه */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        .animate-float { animation: float 3s ease-in-out infinite; }

        /* نشانگر قرمز/نارنجی روی دکمه */
        .badge {
            position: absolute;
            top: 0;
            right: 0;
            width: 14px;
            height: 14px;
            background-color: #FFCE00;
            border: 2px solid #000;
            border-radius: 50%;
        }

/** END-fast-btn **/