@font-face {
    font-family: 'Vazir';
    src: url(../webfonts/Vazir.eot);
    src: url(../webfonts/Vazir.eot?#iefix) format("embedded-opentype"), url(../webfonts/Vazir.woff) format("woff"), url(../webfonts/Vazir.ttf) format("truetype"), url(../webfonts/Vazir.svg) format("svg");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'VazirMatn';
    src: url(../webfonts/Vazirmatn-Regular.eot);
    src: url(../webfonts/Vazirmatn-Regular.eot?#iefix) format("embedded-opentype"), url(../webfonts/Vazirmatn-Regular.woff) format("woff"), url(../webfonts/Vazirmatn-Regular.ttf) format("truetype"), url(../webfonts/Vazirmatn-Regular.svg) format("svg");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Yekan';
    src: url( '../webfonts/Yekan.eot' );
    src: url( '../webfonts/Yekan.eot?#iefix' ) format( 'embedded-opentype' ), url( '../webfonts/Yekan.woff2' ) format( 'woff2' ), url( '../webfonts/Yekan.woff' ) format( 'woff' ), url( '../webfonts/Yekan.ttf' ) format( 'truetype' ), url( '../webfonts/Yekan.svg#Yekan' ) format( 'svg' );
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Yekanplus';
    src: url( '../webfonts/yekanPlus.eot' );
    src: url( '../webfonts/yekanPlus.eot?#iefix' ) format( 'embedded-opentype' ), url( '../webfonts/yekanPlus.woff2' ) format( 'woff2' ), url( '../webfonts/yekanPlus.woff' ) format( 'woff' ), url( '../webfonts/yekanPlus.ttf' ) format( 'truetype' ), url( '../webfonts/yekanPlus.svg#Yekan' ) format( 'svg' );
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IrSans';
    src: url(../webfonts/IranianSans.eot);
    src: url(../webfonts/IranianSans.eot?#iefix) format("embedded-opentype"), url(../webfonts/IranianSans.woff) format("woff"), url(../webfonts/IranianSans.ttf) format("truetype"), url(../webfonts/IranianSans.svg) format("svg");
    font-weight: normal;
    font-style: normal
}

#filterTabs {
    margin-bottom: 10px;
    display: flex;
}

.tabButton {
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    font-family: 'Vazir'
}

    .tabButton.active {
        background-color: #007bff;
        color: white;
        border-bottom: none;
        font-family: 'Vazir'
    }

.tabs-container {
    padding-top: 5px;
    border-radius: 8px;
    overflow: hidden;
    margin: 5px;
}

#filterTabs {
    display: flex;
}

    #filterTabs .tabButton:hover {
        background-color: #d0e7ff; /* آبی کم‌رنگ موقع hover */
    }

    #filterTabs .tabButton {
        border: 1px solid #ccc;
        border-bottom: none; /* خط پایین تب‌ها رو حذف می‌کنیم */
        border-radius: 4px 4px 0 0;
        margin-right: 2px;
        font-weight: bold;
        padding: 10px 20px;
        margin-right: 5px;
        cursor: pointer;
        background: #f1f1f1;
    }

        #filterTabs .tabButton.active {
            background-color: #007bff;
            color: white;
            border-bottom: none;
        }

.tab-content {
    border: 1px solid #ccc;
    margin-left: 10px;
    margin-right: 7px;
    margin-top: -10px;
    border-radius: 8px 0px 8px 8px;
}

/* فقط header رو استیکی کن */
.mygridview thead th {
    position: sticky;
    top: 0;
    background-color: #f9f9f9;
    z-index: 10;
    border-bottom: 2px solid #ccc;
}

/*
#filterTabs .tabButton {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}
#filterTabs .tabButton:hover {
    background-color: #e6f0ff;
    color: #004080;
    border-color: #80b3ff;
}
#filterTabs .tabButton.active {
    background-color: #cce5ff;
    color: #003366;
    font-weight: bold;
    border-color: #3399ff;
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2);
}
*/

html, body {
    margin: 0;
    padding: 0;
    font-family: Vazir, sans-serif,Tahoma, "Lucida Grande", Verdana;
    font-size: 0.9em;
    text-align: center;
    background-color: #014E93 !important;
    /*
    background-image: linear-gradient(180deg,hsla(211.1, 85.1%, 31.6%, 0.65) 10%,#fff),linear-gradient(125deg,#fff 8%,#4bd6ff 98%)
     */
}

/* popup register user :Start */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

@keyframes popupScale {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#popup-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: popupScale 0.4s ease-out;
    margin: 0 auto;
}

#close-button {
    position: absolute;
    top: 0px;
    left: 7px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

    #close-button:hover {
        color: #000;
    }

#popup-icon {
    font-size: 44px;
    margin-bottom: 15px;
}

#popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-family: Vazir,Yekan,IrSans,Tahoma;
}

#popup-text {
    font-size: 17px;
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
    font-family: Vazir,Yekan,IrSans,Tahoma;
}

#popup-button {
    background-color: #ff362c;
    color: #fff;
    padding: 14px 30px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-family: Yekan,IrSans,Tahoma;
}

    #popup-button:hover {
        background-color: #ff8c00;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* انیمیشن لرزش */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20%, 60% {
        transform: translateX(-8px);
    }

    40%, 80% {
        transform: translateX(8px);
    }
}

.shake {
    animation: shake 0.6s;
}

/* واکنشگرا */
@media (max-width: 480px) {
    #popup-box {
        padding: 20px 15px;
    }

    #popup-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    #popup-title {
        font-size: 20px;
    }

    #popup-text {
        font-size: 15px;
    }

    #popup-button {
        padding: 12px 20px;
        font-size: 15px;
    }

    #close-button {
        font-size: 20px;
        top: 0px;
        left: 7px;
    }
}
/* popup register user :End */

.error-label {
    color: red;
    font-weight: bold;
    background-color: #ffe6e6;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

legend {
    font-family: 'Yekan', sans-serif;
}

    legend input {
        font-family: 'Yekan', sans-serif;
    }

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    font-family: 'Yekan', sans-serif;
}

    .btn-outline-secondary:hover {
        background-color: #fd7e14;
        border-color: #fd7e14;
        color: white;
        font-family: 'Yekan', sans-serif;
    }

.hover-orange:hover {
    background-color: #fd7e14;
    border-color: #fd7e14;
    color: white;
}

.btn-icon i {
    margin-right: 5px;
}

.hover-orange:hover {
    background-color: #ff6a00 !important;
    border-color: #535050 !important;
    color: white !important;
}

#UpdateProgress1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #UpdateProgress1 img {
        width: 50px;
        height: 50px;
    }

.custom-header-right {
    font-family: "Yekan", Tahoma, sans-serif;
    font-size: 16px;
    color: #333;
    text-align: right !important;
}

.custom-header-left {
    font-family: "Yekan", Tahoma, sans-serif;
    font-size: 16px;
    color: #333;
    text-align: left !important;
}

.custom-header-center {
    font-family: "Yekan", Tahoma, sans-serif;
    font-size: 16px;
    color: #333;
    text-align: center;
}
.custom-item-center {
    font-family: "IrSans", Arial, sans-serif;
    font-size: 14px;
    color: #000;
    text-align: center;
}
.custom-item-right {
    font-family: "Yekan", Arial, sans-serif;
    font-size: 16px;
    color: #000;
    text-align: right;
}

.custom-item-left {
    font-family: "IrSans", Arial, sans-serif;
    font-size: 14px;
    color: #000;
    text-align: left;
}

.custom-item-trends {
    font-family: "IrSans", Arial, sans-serif;
    font-size: 12px;
    color: #000;
    text-align: right;
    padding-right: 20px !important;
    align-items: center;
}

.custom-item-center {
    font-family: "Yekan", Arial, sans-serif;
    font-size: 16px;
    color: #555;
    text-align: center;
}

._custom-column-width {
    max-width: 150px;
    white-space: nowrap;
}

.selectall-custom-padding {
    font-family: "Yekan", Arial, sans-serif;
}

.mygridview {
    padding-top: 15px;
    margin-top: 15px;
}

    /* استایل برای چک‌باکس‌ها */
    .mygridview .chkRow {
        width: 0px;
        height: 0px;
    }

    /* استایل برای چک‌باکس هدر */
    .mygridview th input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    /* استایل برای هدرهای گرید ویو */
    .mygridview th {
        cursor: pointer;
        justify-content: space-between; /* فاصله بین متن و آیکون */
    }

        /* استایل برای هایپرلینک‌های هدر */
        .mygridview th a {
            text-decoration: none;
            color: #1361c6;
            display: flex;
            align-items: center; /* متن و آیکون در یک خط */
        }

            .mygridview th a:hover {
                color: yellow;
                text-decoration: none;
                text-shadow: 1px 1px 0 #535050, -1px -1px 0 #535050, 1px -1px 0 #535050, -1px 1px 0 #535050;
            }

            /* ✅ GridView sort icons — FINAL, single source of truth */
            .mygridview th a.sortable {
                position: relative;
                padding-right: 16px;
                text-decoration: none;
            }
/* خنثی‌سازی هر فلش قدیمی روی کلاس‌های عمومی */
.sorting-asc::after,
.sorting-desc::after {
    content: none !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
}
/* فقط وقتی لینک هدر کلاس مرتب‌سازی دارد، فلش نشان بده */
.mygridview th a.sorting-asc::after {
    content: "▲";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}

.mygridview th a.sorting-desc::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}

/* ⛔ حذف شده: .sorting-icon (کلاس اضافی GridView) */

/* بقیهٔ استایل‌ها بدون تغییر */
input, select {
    font-size: 0.9em;
}

/*for Jquery code*/
.icon-buttons {
    display: inline-block;
    position: relative;
    margin-left: 10px;
    float: left;
    padding-left: 5px;
    padding-right: 25px;
}

.icon-button {
    cursor: pointer;
}

#result .checkbox-item {
    padding-right: 10px;
}

    #result .checkbox-item:hover {
        background-color: rgba(240, 240, 240, 0.6);
        background-color: rgba(255, 255, 255, 0.6);
    }

/* select {...} حذف‌شده به‌صورت کامنت در نسخهٔ شما */

select:disabled {
    background-color: #e6e6e6;
    cursor: not-allowed
}

table {
    margin-top: -10px;
    margin-left: 7px;
}

h4 {
    font-size: 1.1em;
    text-decoration: none;
    font-weight: normal;
    color: #23A4FF;
}

a {
    color: #23A4FF;
}

/* Hide the default checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: none; /* or visibility: hidden; */
    padding-top: 17px;
    align-items: center;
}
    /* Create a custom checkbox */
    input[type="checkbox"] + label::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 1px solid #000;
        background-color: #fff;
        margin-right: 10px;
        margin-left: 10px;
        vertical-align: middle;
    }
    /* Style the checked state */
    input[type="checkbox"]:checked + label::before {
        content: '✔';
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 1px solid #000;
        background-color: #fff;
        color: green;
        text-align: center;
        line-height: 20px;
    }
    /* Change cursor to pointer on hover */
    input[type="checkbox"] + label {
        cursor: pointer;
        font-family: Yekan;
    }
/* Optionally change cursor for the whole container */
.checkbox-padding {
    cursor: pointer;
}

.cover-background {
    min-height: 82vh;
    background-image: url(../images/division-mesh-bg.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

#myDiv {
    width: 200px;
    height: 100px;
    background-color: lightblue;
    position: absolute;
    z-index: 250;
    top: 210px;
}

.search-input {
    border: 1px solid #bebebe;
    padding-right: 35px;
  /*  background: url(../images/search-icon.png) no-repeat right center #fff;*/
    font-size: 15px;
    display: inline-block;
    vertical-align: top;
    height: 45px;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    direction: rtl;
    min-width: 220px;
	margin-bottom:6px;
	
}

#result {
    display: none;
    background-color: #4682b4;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.toolbar {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 5px;
    background-color: #f0f0f0;
    border-top: 0px;
    border-bottom: 0px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top-left-radius: 5px;
    display: flex;
    flex-wrap: wrap;
}

.center-img {
    display: flex;
    justify-content: center;
    width: 100%;
}

.message_line {
    margin: 0 auto;
    direction: rtl;
    min-height: 30px;
    background-color: #f0f0f0;
    vertical-align: middle;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid #ccc;
    padding-top:10px;
}

#message {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    padding-top: 10px;
    font-weight: bold;
    text-align: right;
    direction: ltr;
    font-size: 14px;
    white-space: nowrap;
    text-wrap: inherit;
    overflow: hidden;
    border-left: .15em solid #000;
    animation: blink-caret 0.75s step-end infinite;
    color: rgb(82, 82, 78);
    text-shadow: 0 0 8px rgb(54, 183, 247), 0 0 15px rgb(255, 255, 255);
    visibility: hidden;
}

.search-btn {
    background: #ea580b;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 20px !important;
    border: 0px solid #2aa527;
    padding: 1px 15px;
    display: inline-block;
    vertical-align: top;
    height: 35px;
}

    .search-btn:hover {
        background: #4888d1;
        border: 1px solid #4888d1;
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 20px !important;
        border: 0px solid #2aa527;
        padding: 1px 15px;
        display: inline-block;
        vertical-align: top;
    }

.btnGreen {
    cursor: pointer;
    background: #2aa527;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 14px !important;
    border: 0px solid #2aa527;
    margin: 5px 5px 5px 5px;
    padding: 0px 5px 0px 5px;
    vertical-align: top;
    visibility: hidden;
    text-align: right;
}

    .btnGreen:hover {
        cursor: pointer;
        background: #4888d1;
        border-color: black;
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
        color: #fff;
        font-size: 14px !important;
        border: 0px solid #2aa527;
        margin: 5px 5px 5px 5px;
        padding: 0px 5px 0px 5px;
        vertical-align: top;
        visibility: hidden;
        text-align: right;
    }

.btnOrange {
    cursor: pointer;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 14px !important;
    border: 0px solid #2aa527;
    margin: 5px 5px 5px 5px;
    padding: 0px 5px 0px 5px;
    vertical-align: top;
    visibility: hidden;
    text-align: right;
    color: #fff;
    background-color: #f15525;
    border-color: #f15525;
}

    .btnOrange:hover {
        cursor: pointer;
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 14px !important;
        border: 0px solid #2aa527;
        margin: 5px 5px 5px 5px;
        padding: 0px 5px 0px 5px;
        vertical-align: top;
        visibility: hidden;
        text-align: right;
        color: #fff;
        background-color: #d53d0e;
        border-color: #cc3a0d;
    }

/* Blinking cursor effect */
@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: orange;
    }
}

.input_heading {
    padding: 20px;
    font-size: 17px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .input_heading label {
        font-family: Vazir, sans-serif,Tahoma, "Lucida Grande", Verdana;
    }

    .input_heading img {
        margin-left: 5px;
    }

.spinner-container {
    position: absolute;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: none;
}

.disabled-element {
    pointer-events: none;
    opacity: 0.5;
}

#toggle-icon:hover {
    color: orange;
    cursor: pointer;
}

#key-container-holder {
    text-align: right;
    overflow: auto;
    background-color: #fff;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ddd;
    background-color: aliceblue;
    padding-right: 5px;
    border: 1px solid black;
    padding-left: 5px;
    z-index: 302;
    padding-top: 3px;
    padding-bottom: 3px;
    visibility: hidden;
    min-width: 275px !important;
}

#key-container-holder2 {
    text-align: right;
    overflow: auto;
    background-color: #fff;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ddd;
    background-color: aliceblue;
    padding-right: 5px;
    border: 1px solid black;
    padding-left: 5px;
    min-width: 260px;
    z-index: 301;
    visibility: hidden;
    min-height: 5px;
    min-width: 273px !important;
    position: absolute;
}

#key-container {
    display: none;
    border: 1px solid #ccc;
}

#key-footer {
    text-align: right;
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 150px;
}

#left-container {
    position: relative;
    left: 0;
    background-image: url('col3.png');
    background-position: center right;
    border: 1px solid #ddd;
}

ul {
    list-style-type: none;
    padding-right: 0px !important;
    padding: 0px;
    text-align: right;
    direction: rtl;
    padding-bottom: 8px;
    padding-top: -10px !important;
}

    ul > li > label {
        padding-left: 5px;
        padding-right: 5px;
        direction: rtl !important;
    }

h4 {
    text-indent: 8px;
}

/*#center-container {...} حذف‌شده در نسخهٔ شما */

.text {
    margin: 7px;
}

#inner-details {
    font-size: 0.8em;
    list-style: none;
    margin: 7px;
}

#log {
    position: absolute;
    top: 10px;
    font-size: 1.0em;
    font-weight: bold;
    color: #23A4FF;
}

#infovis {
    position: relative;
    min-height: 600px;
    width: auto;
    overflow: hidden;
    background-color: black;
    background-image: url(../images/sky1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/*#Result {...} کامنت بود */

.blog-footer {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #727272;
    text-align: center;
    background-color: #f9f9f9;
    border-top: .05rem solid #e5e5e5;
}

.suggestion-item {
    list-style: none;
    margin: 10px;
    padding: 15px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
}

    .suggestion-item:hover {
        background-color: #dce3ed;
        transform: scale(1.01);
    }

/*.home-page_wrapper*/
.intro {
    position: relative;
    padding: 75px 0 50px;
}

.btn {
    display: block;
    background: 0 0;
    outline: 0;
    border: none
}

/*.btn-more {...} کامنت در نسخهٔ شما */

.btnOrange2 {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    min-width: 64px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    color: rgb(255, 255, 255);
    background-color: rgb(255, 75, 27);
    text-transform: none;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px 0px;
    height: 60px;
    font-size: 20px;
    border-radius: 30px;
    padding: 20px 32px;
    line-height: 20px;
    align-self: flex-start;
    pointer-events: initial;
}

.btn-more {
    font-family: Yekan, Verdana, Geneva, Arial, Helvetica, sans-serif;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    font-size: 20px !important;
    color: #fff;
    background-color: #ff5800;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    overflow: hidden;
    height: auto;
    background: #ff6a00;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2), 0 1px 3px 0 rgba(0,0,0,.1);
}

    .btn-more:hover {
        background-color: #ff362c;
    }

    .btn-more::after {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 10px;
        background: url('../images/LeftArrowWhite.png') no-repeat center center;
        background-size: contain;
        transition: transform 0.3s;
    }

    .btn-more:hover::after {
        transform: translateX(-5px);
    }

.glossy-div {
    color: #333;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    direction: rtl !important;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    margin: 10px auto;
    text-wrap: nowrap;
    border-radius: 15px;
    z-index: 1;
    padding-right: 5px;
}

    .glossy-div:hover {
        background-color: #dce3ed;
        transform: scale(1.01);
    }

    .glossy-div h3 {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 16px;
        font-weight: bold;
        padding-top: 5px;
        text-align: right;
        padding-right: 10px;
        height: 23px;
    }

h3::after {
    content: "";
    display: block;
    height: 29px;
    padding-right: 60px;
    background-image: url('../images/FadeBack04.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto;
    margin-top: -7px;
    margin-right: 7px;
}

.glossy-div:before {
    animation: fadeIn 0.25s;
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 50%);
    border-radius: 15px;
    z-index: 1;
}

.glossy-div-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #333;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all;
}

.top {
    color: #333;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    direction: rtl !重要;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 15px;
    margin: 5px;
    padding: 5px;
}

    .top h1 {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 18px;
        font-weight: 600;
        padding: 5px;
        text-align: center;
    }

    .top h2 {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 16px;
        font-weight: bold;
        padding: 5px;
    }

    .top p {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 16px;
        font-weight: normal;
        text-align: right;
    }

.footer {
    color: #333;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    direction: rtl !important;
    background-color: #f0f0f0;
}

    .footer span, h5 {
        color: #FF6900;
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 18px;
        font-weight: bold;
        padding: 5px;
        text-align: right;
    }

    .footer p {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-weight: normal;
        text-align: right;
        color: #7a7a7a;
        font-size: 14px;
        font-weight: 600;
    }

.f_menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .f_menu ul li {
        margin-bottom: 10px;
    }

        .f_menu ul li a {
            text-decoration: none;
            color: #7a7a7a;
            font-size: 14px;
            font-weight: 600;
            transition: color 0.3s ease;
        }

            .f_menu ul li a:hover {
                color: #ff6600;
            }

sults {
    position: relative;
    background: #353075;
    border-radius: 6px
}

.search_altresults:before,
.search_altresults:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: 1
}

.search_altresults:before {
    background: linear-gradient(15deg,#ca678d 0,rgba(202,103,141,0) 50%)
}

.search_altresults:after {
    background: linear-gradient(-15deg,#02a19b 0,rgba(2,161,155,0) 50%)
}

.search_altresults .inner {
    position: relative;
    box-sizing: border-box;
    height: 240px;
    padding: 14px 20px 0 20px;
    overflow: hidden;
    z-index: 2
}

/*.more-ideas {...} */
/*.more-ideas > div {...} */

.glossy-div2 {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin: 10px auto;
    background: rgba(0,0,0,0.1);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2), inset 0 -3px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

    .glossy-div2:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%);
        border-radius: 15px;
        z-index: 1;
    }

    .glossy-div2 .glossy-div-content {
        position: relative;
        z-index: 2;
        padding: 20px;
        text-align: center;
        color: #333;
        overflow-wrap: break-word;
        word-break: break-all;
    }

.nav-tabs .nav-link {
    color: #000;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin-bottom: -1px;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid transparent;
    border-top-right-radius: .25rem;
    border-top-left-radius: .25rem;
    margin-left: 2px;
}

.nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link.active {
    color: #f15525 !important;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link {
    border-style: solid;
    border-color: rgba(176, 148, 148, 0);
    border-width: 1px;
    margin-bottom: -1px;
    background: 0 0;
    border-top-right-radius: .25rem;
    border-top-left-radius: .25rem;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #f15525;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.navbar-brand {
    color: black !important;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
}

.nav.navbar-nav.navbar-right li a {
    color: blue;
}

.navbar .navbar-nav li a {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
}

.download {
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    min-width: 64px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgb(255, 75, 27);
    text-transform: none;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px 0px;
    height: 40px;
    font-size: 14px !important;
    border-radius: 20px;
    padding: 11px 20px;
    line-height: 18px;
    color: rgb(255, 255, 255);
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    color: #fff;
    background-color: #ff5800;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    overflow: hidden;
    height: auto;
    background: #ff6a00;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2), 0 1px 3px 0 rgba(0,0,0,.1);
}

    .download:hover {
        background-color: #ff362c;
    }

    .download::after {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 10px;
        background: url('../images/LeftArrowWhite.png') no-repeat center center;
        background-size: contain;
        transition: transform 0.3s;
    }

    .download:hover::after {
        transform: translateX(-5px);
    }

.country-select {
    background: rgba(0,0,0, 0.12);
    padding: 0 0.5em;
}

    .country-select .country-display:hover, .country-select select:hover {
        cursor: pointer;
    }

/*.toolbar {...} */

.picker {
    width: 100%;
    display: flex;
    gap: 1px;
}

    .picker input[type="radio"] {
        display: none;
    }

    .picker label {
        font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        font-size: 1.1em;
        font-weight: bold;
        background: rgba(220, 222, 220, 0.62);
        padding: 0.7em 1.2em;
        line-height: 1.0em;
        display: inline-flex;
        cursor: pointer;
        align-items: center;
        letter-spacing: 0.05em;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

        .picker label:hover {
            font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
            font-size: 1.1em;
            font-weight: bold;
            background: rgba(255, 254, 209, 0.62);
            padding: 0.7em 1.2em;
            line-height: 1.0em;
            display: inline-flex;
            cursor: pointer;
            align-items: center;
            letter-spacing: 0.05em;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }

        .picker label:has(:checked) {
            background: rgba(240,240,240, 1);
        }

/* tooltip */
.tooltipx {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    white-space: pre-wrap;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
    direction: rtl;
    text-align: right;
    font-family: Vazir, Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    z-index: 2000;
    max-width: 340px;
    word-break: break-word;
}

    .tooltipx::after {
        content: "";
        position: absolute;
        left: var(--arrow-x, 50%);
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
        top: 100%;
    }

    .tooltipx.bottom::after {
        top: auto;
        bottom: 100%;
        border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
    }

.tooltip-inner {
    direction: rtl;
    text-align: right;
    font-family: Vazir, sans-serif,Tahoma, "Lucida Grande", Verdana !important;
    font-size: 12px !important;
    background-color: burlywood;
}

.tooltip.bs-tooltip-auto[x-placement^="top"] .tooltip-inner {
    font-size: 16px !important;
    direction: rtl;
    text-align: right;
}

/* traffic indicators */
.traffic-indicator-container {
    list-style: none;
    padding: 0;
    flex-direction: column;
    gap: 10px;
}

.traffic-indicator {
    position: relative;
    padding-right: 5px;
    font-size: 14px;
}

    .traffic-indicator::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 13px;
        height: 20px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .traffic-indicator.level-0::after {
        background-image: url('../images/level0.png');
    }

    .traffic-indicator.level-1::after {
        background-image: url('../images/level1.png');
    }

    .traffic-indicator.level-2::after {
        background-image: url('../images/level2.png');
    }

    .traffic-indicator.level-3::after {
        background-image: url('../images/level3.png');
    }

    .traffic-indicator.level-4::after {
        background-image: url('../images/level4.png');
    }

    .traffic-indicator.level-5::after {
        background-image: url('../images/level5.png');
    }

    .traffic-indicator.level-6::after {
        background-image: url('../images/level6.png');
    }

    .traffic-indicator.level-7::after {
        background-image: url('../images/level7.png');
    }

    .traffic-indicator.level-8::after {
        background-image: url('../images/level8.png');
    }

    .traffic-indicator.level-9::after {
        background-image: url('../images/level9.png');
    }

    .traffic-indicator.level-10::after {
        background-image: url('../images/level10.png');
    }

    .traffic-indicator.level-11::after {
        background-image: url('../images/level11.png');
    }

    .traffic-indicator.level-12::after {
        background-image: url('../images/level12.png');
    }

    .traffic-indicator.level-13::after {
        background-image: url('../images/level13.png');
    }

    .traffic-indicator.level-14::after {
        background-image: url('../images/level14.png');
    }

    .traffic-indicator.level-15::after {
        background-image: url('../images/level15.png');
    }

    .traffic-indicator.level-16::after {
        background-image: url('../images/level16.png');
    }

    .traffic-indicator.level-17::after {
        background-image: url('../images/level17.png');
    }

    .traffic-indicator.level-18::after {
        background-image: url('../images/level18.png');
    }

    .traffic-indicator.level-19::after {
        background-image: url('../images/level19.png');
    }

    .traffic-indicator.level-20::after {
        background-image: url('../images/level20.png');
    }




/* موبایل و کوچک‌تر از 576px */
@media (max-width: 576px) {
    .mygridview .col-competition,
    .mygridview .col-words,
    .mygridview .col-trend {
        display: none !important;
    }





}
/* از ≥577px به بالا */
@media (min-width: 577px) {
    .mygridview .col-competition,
    .mygridview .col-words,
    .mygridview .col-trend {
        display: table-cell !important;
    }
}

.mygridview td .cmp-low {
    color: green !important;
    font-weight: 500;
}

.mygridview td .cmp-medium {
    color: #b36b00 !important;
    font-weight: 600;
}

.mygridview td .cmp-high {
    color: red !important;
    font-weight: 700;
}

.mygridview td .cmp-unknown {
    color: gray !important;
    font-weight: 400;
}

.mygridview td .trend-up {
    color: green !important;
}

.mygridview td .trend-down {
    color: red !important;
}

.mygridview td .trend-flat {
    color: gray !important;
}

/*---------------- form grid rows hide ---------------------*/
.is-hidden {
    display: none !important;
}

.mygridview th a.header-link.sortable {
    position: relative;
    padding-right: 16px;
}

.mygridview th a.header-link.sorting-asc::after {
    content: "▲";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}

.mygridview th a.header-link.sorting-desc::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}


}

/* وقتی لینک هدر داخلش help-icon دارد، padding بیشتری بده */
.mygridview th a.sortable.with-help {
    padding-right:  6px; /* قبلاً 16px بود */
}

/* خود آیکون را کمی از لبهٔ راست عقب بکش که با فلش قاطی نشود */
.mygridview th a.sortable label {
    margin-right: 6px;
}

.mygridview th a.header-link.sorting-asc::after {
    content: "▲" !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}

.mygridview th a.header-link.sorting-desc::after {
    content: "▼" !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
}



/* مثال: تغییر فونت به تاهوما و اندازه به 13 پیکسل برای محتوای جدول */
.tabulator .tabulator-row .tabulator-cell {
    font-family: 'Vazir', sans-serif !important;
    font-size: 14px !important;
    line-height: normal; /* برای تنظیم ارتفاع سطر */
   /* font-weight: 200;*/
}
/* مثال: تغییر فونت هدر به وزیر و اندازه به 14 پیکسل */
.tabulator .tabulator-header .tabulator-col {
    font-family: 'Vazir', 'Tahoma', sans-serif !important;
    font-size: 13px !important;
   /* font-weight: 100;*/
}

#filter, #filter-count {
    font-family: 'Vazir', 'Tahoma', sans-serif !important;
    font-size: 13px !important;
}



/* ایجاد کانتینر فلکس برای چیدمان خطی */
.custom-search-group {
    display: flex !important;
    align-items: stretch;
    background: #fff;
    border-radius: 30px; /* گرد کردن کل مجموعه */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden; /* برای حفظ انحنای گوشه‌ها */
    padding: 2px;
    height: 50px !important; /* ارتفاع هماهنگ */
}

    /* استایل اختصاصی برای Select2 (بخش زبان) */
    .custom-search-group .select2-container {
        width: 130px !important; /* عرض بخش انتخاب زبان */
    }

    .custom-search-group .select2-container--default .select2-selection--single {
        border: none !important;
        background-color: #f8f9fa !important;
        height: 100% !important;
        display: flex;
        align-items: center;
        border-radius: 0 30px 30px 0 !important; /* گرد کردن فقط سمت راست در RTL */
        border-left: 1px solid #eee !important; /* خط جدا کننده کوچک */
        font-family: 'Vazir', 'Tahoma', sans-serif !important;
        font-size: 13px !important;
    }

/* ۲. تغییر فونت لیست گزینه‌ها (زمانی که دراپ‌دان باز می‌شود) */
.select2-container--default .select2-results__option {
    font-family: 'Vazir', Tahoma, sans-serif !important;
    font-size: 13px !important;
    direction: rtl !important;
    text-align: right !important;
}
/* ۴. استایل مربوط به حالت انتخاب شده یا هاور */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb !important;
 
}

    /* استایل فیلد ورودی متن */
    .custom-search-group .search-input {
        flex: 1; /* اشغال فضای باقی‌مانده */
        border: none !important;
        border-radius: 0 !important; /* حذف انحنای پیش‌فرض */
        padding: 0 15px !important;
        font-size: 14px;
        outline: none !important;
        height: 100% !important;
        margin: 0 !important;
    }

    /* استایل دکمه جستجو */
    .custom-search-group .btn-more {
        border-radius: 30px 0 0 30px !important; /* گرد کردن سمت چپ در RTL */
        margin: 0 !important;
        padding: 0 25px !important;
        height: 100% !important;
        border: none !important;
        transition: all 0.3s;
    }

        .custom-search-group .btn-more:hover {
            background-color: #e65c00; /* رنگ تیره‌تر هنگام هاور */
        }

/* تنظیم جهت متن در Select2 برای فارسی */
.select2-results__option {
    direction: rtl !important;
    text-align: right !important;
}





.ks-search-wrap {
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 14px 14px 0;
   
    margin: 0 auto;
    box-sizing: border-box;
}

.ks-tabs {
    text-align: right;
    font-size: 0;
    line-height: 0;
    overflow: visible;
}

.ks-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px !important;
    font-weight: 600;
    font-family: Cairo, Tahoma, sans-serif;
    cursor: pointer;
    background: #f0f2f5;
    color: #666 !important;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.15s;
    white-space: nowrap;
    user-select: none;
    vertical-align: bottom;
    margin-left: 4px;
    margin-bottom: 0;
    line-height: 1.4;
}

    .ks-tab:last-child {
        margin-left: 0;
    }

    .ks-tab input[type="radio"] {
        display: none;
    }

    .ks-tab:hover {
        background: #e8eaf0;
        color: #333 !important;
    }

    .ks-tab.ks-tab-active {
        background: white !important;
        color: #014E93 !important;
        border-color: #e0e0e0;
        box-shadow: inset 0 3px 0 #F97316;
        font-weight: 700;
    }

    .ks-tab img {
        width: 18px;
        height: 18px;
        vertical-align: middle;
    }

.ks-toolbar {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 10px 10px;
    padding: 14px;
    box-sizing: border-box;
}

.ks-input-row {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px 0;
    margin: 0 -5px;
}

.ks-input-cell {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.ks-btn-cell {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.ks-input {
    width: 100% !important;
    height: 46px !important;
    background: #ffffff !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #333 !important;
    font-family: Cairo, Tahoma, sans-serif !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06) !important;
    transition: border-color 0.15s !important;
    display: block !important;
}

    .ks-input:focus {
        outline: none !important;
        border-color: #014E93 !important;
        box-shadow: 0 0 0 3px rgba(1,78,147,0.1) !important;
    }

    .ks-input::placeholder {
        color: #aaa !important;
    }

.ks-btn {
    height: 46px !important;
    padding: 0 24px !important;
    background: #F97316 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: Cairo, Tahoma, sans-serif !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(249,115,22,0.4) !important;
    transition: background 0.15s !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

    .ks-btn:hover {
        background: #ea6c0a !important;
    }

    .ks-btn svg {
        width: 16px !important;
        height: 16px !important;
        fill: white !important;
        flex-shrink: 0 !important;
    }

@media (max-width: 600px) {
    .ks-tab {
        padding: 7px 10px;
        font-size: 13px !important;
    }

    .ks-input-row {
        display: block;
        margin: 0;
    }

    .ks-input-cell, .ks-btn-cell {
        display: block;
        width: 100%;
    }

    .ks-input {
        margin-bottom: 10px !important;
    }

    .ks-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}