@charset "utf-8";

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Regular-FD.eot');
    src: url('fonts/Vazir-Regular-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Regular-FD.woff2') format('woff2'),
    url('fonts/Vazir-Regular-FD.woff') format('woff'),
    url('fonts/Vazir-Regular-FD.ttf') format('truetype');
    font-weight: normal;
    font-display:swap;
}

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Bold-FD.eot');
    src: url('fonts/Vazir-Bold-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Bold-FD.woff2') format('woff2'),
    url('fonts/Vazir-Bold-FD.woff') format('woff'),
    url('fonts/Vazir-Bold-FD.ttf') format('truetype');
    font-weight: bold;
    font-display:swap;
}

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Thin-FD.eot');
    src: url('fonts/Vazir-Thin-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Thin-FD.woff2') format('woff2'),
    url('fonts/Vazir-Thin-FD.woff') format('woff'),
    url('fonts/Vazir-Thin-FD.ttf') format('truetype');
    font-weight: 100;
    font-display:swap;
}

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Light-FD.eot');
    src: url('fonts/Vazir-Light-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Light-FD.woff2') format('woff2'),
    url('fonts/Vazir-Light-FD.woff') format('woff'),
    url('fonts/Vazir-Light-FD.ttf') format('truetype');
    font-weight: 300;
    font-display:swap;
}

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Medium-FD.eot');
    src: url('fonts/Vazir-Medium-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Medium-FD.woff2') format('woff2'),
    url('fonts/Vazir-Medium-FD.woff') format('woff'),
    url('fonts/Vazir-Medium-FD.ttf') format('truetype');
    font-weight: 500;
    font-display:swap;
}

@font-face {
    font-family: Vazir FD;
    src: url('fonts/Vazir-Black-FD.eot');
    src: url('fonts/Vazir-Black-FD.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Black-FD.woff2') format('woff2'),
    url('fonts/Vazir-Black-FD.woff') format('woff'),
    url('fonts/Vazir-Black-FD.ttf') format('truetype');
    font-weight: 900;
    font-display:swap;
}

@font-face {
    font-family: "yekan";
    src: url('fonts/yekan.woff') format('woff'),
    url('fonts/yekan.eot') format('embedded-opentype'),
    url('fonts/yekan.ttf') format('truetype'),
    url('fonts/yekan.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Vazir FD, Vazir, Tahoma, 'DejaVu Sans', helvetica, arial, freesans, sans-serif;
    direction: rtl;
    font-size: 0.8em;
}

/*h1,h2,h3,h4{
    font-family: Vazir FD, Vazir, Tahoma;
}*/
h1 {
    font-size: 15px;
    color: darkgoldenrod;
    padding-bottom: 5px;
}

.trader_container {
    margin: 0px 15px;
}

button,
input,
optgroup,
select,
option,
textarea {
    direction: rtl;
    font-family: Vazir FD, Vazir, Tahoma;
    font-size: 12px;
}

tfoot input {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}

#security {
    display: none;
}

/*#nazer-table {
    border-collapse: collapse;
    width: 100%;
}

#nazer-table td, #nazer-table th {
    border: 1px solid #ddd;
    padding: 8px;
}

#nazer-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

#nazer-table tr:hover {
    background-color: #ddd;
}

#nazer-table th {
    text-align: center;
    font-weight: bold;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #4CAF50;
    color: white;
}*/

/*.my_table {
    !*line-height: 2px !important;*!
    text-align: center;
}

.my_table td, th {
    font-size: 12px;
    padding: 2px 4px !important;
}

.my_table input {
    width: 100%;
}

.all_table td, th {
    background-color:#eee;
    font-size: 12px;
    padding: 2px 4px !important;
    text-align: center;
}
*/

table.dataTable {
    text-align: center;
}

table.dataTable thead ,table.dataTable tfoot{
    background-color: #ddd;
    /*height: 40px;*/
    /*font-size: 14px;*/
    font-weight: bold;
    /*vertical-align: center;*/
}

.very-compact th{
    padding: 10px 5px !important;
}


/*table.dataTable tbody tr {
    background-color: #e5e5e5;
}*/

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.usermenu a {
    font-size: 10px;
    padding: 1px 2px;
}

.usermenu .dropdown-divider {
    margin: 0;
}

.dropdown-menu.open-left{
    left: -70px !important;
}

.dropdown-menu a {
    font-size: 12px;
    z-index: 9999;
    padding: 0.12rem 0.5rem;
}



/*------Multi Select---------*/
.ms-drop {
    right: 0;
}

.ms-drop ul > li {
    /*font-family: "yekan" !important;*/
    padding: .1rem 5px;
}

.ms-drop ul > li label span {
    font-size: 14px;
}

.ms-choice > span {
    left: inherit !important;
    position: inherit !important;
    text-align: right;
    padding-right: 10px;
}

.ms-choice {
    border: 0px solid #aaa !important;
}

.ms-drop ul > li label.optgroup {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.ms-drop ul > li.hide-radio label {
    margin-bottom: 0;
    padding: 2px 8px !important;
}

.ms-drop ul > li input {

}

.ms-drop ul > li label {
    padding-right: 1.25rem;
}

.ms-drop input[type="radio"], .ms-drop input[type="checkbox"] {
    margin-right: -1.25rem;
}

/*---------------*/

.text-nowrap {
    white-space: nowrap;
}

.opst {
    background: #5cb85c;
    color: #fff;
}

.help_head {
    font-size: 12px;
}

.filter-select ul > li label.optgroup {
    color: red;
    font-weight: bold;
    margin-bottom: 5px;
}

.btn-group-sm > .btn, .btn-sm {
    padding: .5rem .3rem;
    font-size: .675rem;
    line-height: 0;
}

.bg-gold {
    background-color: #FFD700 !important;
}

.bg-silver {
    background-color: #C0C0C0 !important;
}

.bg-ye {
    background-color: #ffefbf !important;
}

.bg-green1 {
    background-color: #7ec58e !important;
}

.bg-green-light {
    background-color: #aeffc1 !important;
}

.bg-green-light1 {
    background-color: #e3f7e8 !important;
}

.bg-good {
    background-color: #bfffce !important;
}

.bg-war {
    background-color: #dac074 !important;
}

.bg-bad {
    background-color: #e19898 !important;
}

.bg-light {
    background-color: #bafcff !important;
}

.bg-light-red {
    background-color: #f3a2a9 !important;
}

.bg-light-pink {
    background-color: #ffdadd !important;
}

.bg-blue-light {
    background-color: #a4d1dc;
}

.bg-blue1 {
    background-color: #96bae1;
}

.bg-gray-light {
    background-color: #ddd;
}

.bg-light-yellow {
    background-color: #e4e6c9;
}

.bg-light-blue {
    background-color: #b1e0e0;
}

.text-yellow {
    color: yellow;
}

.text-orange {
    color: orange;
}

.text-purple {
    color: purple;
}

.text-brown {
    color: brown;
}

/*--------------------------------------*/
.center-table {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sellbuy-table {
    direction: ltr;
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid #b9b9b9;
}

.sellbuy-table tr {
    border-bottom: 1px solid #b9b9b9;
}

.sellbuy-table td, .sellbuy-table th {
    text-align: center;
    padding: 0.3em 0.5em;
}

.sell {
    background-color: #ffdddd;
}

.buy {
    background-color: #e2e2fa;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.progress {
    background-color: #0b93d5;
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    width: 50px;
}

/*-----------------------------------------------*/
label.error {
    color: #d16e6c;
}

.toggleForm {
    display: none;
}

input.sep {
    direction: ltr !important;
}

input.filter_val {
    direction: ltr !important;
    /*width: 80px;*/
}

.hide {
    display: none;
}

.show {
    display: block;
}

.required label:after {
    content: "*";
    color: red;
}

.grecaptcha-badge {
    visibility: hidden;
}

.dir_left {
    direction: ltr !important;
}

.dir_right {
    direction: rtl !important;
}

.hidden {
    display: none;
}

.marginBottom-10 {
    margin-bottom: 15px;
}

.entry code {
    color: #3346be;
}

.entry li {
    margin-bottom: 15px;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10%;
}

.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

/*.tooltip {
    font: 11px 'IRANSans', tahoma;
}
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .875rem;
    word-wrap: break-word;
    opacity: 0;
}*/

.header_txt {
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 10px;
    font-size: 20px;
}

#shakhes td {
    font-size: 13px;
}


.register_form {
    width: 450px;
    margin: auto;
}



/*----------------------Home Page Box----------------------------*/
.index_box_header {
    text-align: center;
    font-size: 14px !important;
    font-weight: bold;
}

.border {
    font-size: 13px;
    background-color: #FFF;
    padding: 15px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 5px;
    padding-top: 0 !important;
    text-align: center;
}

.border h2 {
    display: block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    position: relative;
    border-bottom: 2px solid #1b7ba9;
    margin: 0;
    color: #1b7ba9;
    font-size: 20px;
    line-height: 35px;
    width: auto;
    top: 1px;
    overflow: hidden;
}

.border_inner {
    overflow-y: scroll;
    height: 315px;
    scrollbar-width: thin;
    /*table-layout: fixed;*/
}
.table-fixed{
    table-layout: fixed;
}

.border_inner::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

.border_inner::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.border_inner::-webkit-scrollbar-thumb {
    background-color: #848484;
}

.border_inner .table > thead > tr > th {
    text-align: center;
}

.q_in_h {
    opacity: 1;
    position: absolute;
    left: 0;
    top: 6px;
}
.q_in_h_ch {
    opacity: 1;
    position: absolute;
    left: 20px;
    top: 6px;
}
.q_in_right {
    opacity: 1;
    position: absolute;
    right: 0;
    top: 6px;
}

.q_i_in_h {
    font-size: 16px;
}

.table thead {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(204, 204, 204);
}

.box_red h2 {
    color: #ff0000;
    border-bottom: 2px solid #ff0000;
}

.box_red h2 a {
    color: #ff0000;
}

.box_green h2 {
    color: #008000;
    border-bottom: 2px solid #008000;
}

.box_green h2 a {
    color: #008000;
}

.bl-colu {
    background: rgba(27, 123, 169, 0.06);
    font-weight: bold;
}

.rd-colu {
    background: rgba(169, 27, 27, 0.06);
    font-weight: bold;
}

.gr-colu {
    background: rgba(0, 128, 0, 0.06);
    font-weight: bold;
}

.pr-gr {
    color: green;
    direction: ltr;
}

.pr-rd {
    color: red;
    direction: ltr;
}

#search_namad {
    margin: auto;
    margin-bottom: 10px;
    width: 300px;
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 100;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 2px 10px -7px #242424;
}

.instant_box {
    display: none;
    padding: 5px;
    background: #fff;
    position: absolute;
    right: 35px;
    left: 60px;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
    border-radius: 3px;
    z-index: 20;
    font-size: 12px;
}

.instant_link {
    display: inline-block;
    width: 100%;
    padding: 5px 5px;
    margin-bottom: 5px;
    background: #f5f5f5;
    border-radius: 4px;
}

.instant_link:hover {
    text-decoration: none;
    background: rgba(235, 235, 235, 1);
}

.instant_box a:last-child {
    margin-bottom: 0;
}

.table th {
    padding: .3rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table td {
    padding: .15rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/*----------------------------------------------------------*/
.filedset {
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    padding: 1em;
    background-color: #fff;
    margin: 1em 0;
}

.jumbotron {
    padding: 1rem 2rem;
}

.pre_chart * {
    /*font-family: tahoma !important;*/
    direction: ltr;
}

.boxborard {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 5px;
    background-color: #fff;
    padding: 15px;
}

.light-header{
    text-align: center;
}

input[type="text"]:-moz-placeholder {
    text-align: right;
}

input[type="text"]:-ms-input-placeholder {
    text-align: right;
}

input[type="text"]::-webkit-input-placeholder {
    text-align: right;
}

.ms-search input {
    font-family: Vazir FD, Vazir, Tahoma !important;
}


.tooltip {
    font-size: 90%;
}

.tooltip-inner {
    background-color: #1B213B;
    max-width: 500px !important;
}

/*.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #00cc00 !important;
}
.tooltip.bs-tooltip-left .arrow:before {
    border-right-color: #00cc00 !important;
}
.tooltip.bs-tooltip-bottom .arrow:before {
    border-right-color: #00cc00 !important;
}
.tooltip.bs-tooltip-top .arrow:before {
    border-right-color: #00cc00 !important;
}*/

/*
.price_div{
    padding: 0 !important
}
#price_limit_form input[type="number"]{
    width: 70px !important;
}

#price_limit_form button[type="submit"]{
    width: 40px;
    height: 30px;
    padding: 0;
    margin: 0;
}*/

/*------------------------------------------------------*/

.vermodal-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 29, 0.62);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 90;
    display: none;
}

.vermodal-bg.active {
    display: block;
    animation: vermodalFadeIn 0.25s ease forwards;
}

.vermodal-bg.disabled {
    display: none !important;
}

.vermodal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 100;
    width: min(620px, calc(100% - 28px));
    max-height: calc(100vh - 50px);
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 22px;
    box-shadow:
            0 28px 80px rgba(15, 23, 42, 0.28),
            0 8px 24px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
    overflow: hidden;
    display: none;
    direction: rtl;
}

.vermodal.active {
    display: block;
    animation: vermodalPopIn 0.32s cubic-bezier(.2, .9, .25, 1.15) forwards;
}

.vermodal.disabled {
    display: none !important;
}

.vermodalp {
    position: relative;
    background:
            radial-gradient(circle at top right, rgba(89, 92, 151, 0.14), transparent 35%),
            #fff;
}

.vermodal-hero {
    position: relative;
    padding: 28px 28px 22px 70px;
    background: linear-gradient(135deg, #595c97 0%, #31345f 100%);
    color: #fff;
    overflow: hidden;
}

.vermodal-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -55px;
    top: -65px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

.vermodal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.vermodal-badge::before {
    content: "●";
    color: #62f5b5;
    font-size: 10px;
}

.vermodal-title {
    padding: 0;
}

.vermodal-title h5 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.8;
}

.vermodal-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 2;
}

.vermodal-cont {
    max-height: calc(100vh - 235px);
    overflow-y: auto;
    padding: 22px 26px 24px;
    color: #141322;
    font-size: 13px;
    line-height: 2;
    scrollbar-width: thin;
}

.vermodal-section {
    padding: 16px;
    margin-bottom: 14px;
    background: #f8f8fc;
    border: 1px solid rgba(89, 92, 151, 0.10);
    border-radius: 16px;
}

.vermodal-section:last-child {
    margin-bottom: 0;
}

.vermodal-section h6 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #31345f;
    font-size: 14px;
    font-weight: 800;
}

.vermodal-section h6::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #595c97;
    box-shadow: 0 0 0 5px rgba(89, 92, 151, 0.12);
}

.vermodal-section-fix {
    background: #fff8f1;
    border-color: rgba(245, 158, 11, 0.18);
}

.vermodal-section-fix h6 {
    color: #9a5b00;
}

.vermodal-section-fix h6::before {
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.15);
}

.vermodal-cont ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vermodal-cont ul li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
    color: #29283b;
}

.vermodal-cont ul li:last-child {
    margin-bottom: 0;
}

.vermodal-cont ul li::before {
    content: "✓";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #595c97, #777ad0);
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.vermodal-closebtn {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    outline: 0;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s ease;
}

.vermodal-closebtn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: rotate(90deg);
}

.vermodal-closebtn-1,
.vermodal-closebtn-2 {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: all 0.22s ease;
}

.vermodal-closebtn-1 {
    transform: rotate(-45deg);
}

.vermodal-closebtn-2 {
    transform: rotate(45deg);
}

.vermodalp img {
    max-width: 100%;
    display: block;
}

@keyframes vermodalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes vermodalPopIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 590px) {
    .vermodal {
        width: calc(100% - 22px);
        max-height: calc(100vh - 28px);
        border-radius: 18px;
    }

    .vermodal-hero {
        padding: 24px 20px 20px 62px;
    }

    .vermodal-title h5 {
        font-size: 16px;
    }

    .vermodal-title p {
        font-size: 12px;
    }

    .vermodal-cont {
        padding: 16px;
        max-height: calc(100vh - 220px);
    }

    .vermodal-section {
        padding: 13px;
        border-radius: 14px;
    }

    .vermodal-closebtn {
        left: 14px;
        top: 14px;
        width: 34px;
        height: 34px;
    }
}

/*-----Menu New-----------------------------------------------------------------*/

.container-full {
    width: 98%;
    max-width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 350px) {
    .container-full {
        width: 100%;
    }
}

header {
    background-color: #002744;
    box-shadow: 0 3px 9px 0 rgba(169, 184, 200, 0.15);
}

header .header {
    direction: rtl;
    display: flex;
    padding: 0.5rem 0;
    align-items: center;
}

@media screen and (max-width: 1150px) {
    header .header {
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 350px) {
    header .header {
        box-sizing: border-box;
        padding: 0.5rem 10px;
    }
}

header .header-logo {
    font-weight: bold;
    display: flex;
    align-items: center;

}

@media screen and (max-width: 1150px) {
    header .header-logo {
        order: 2;
        flex: 1;
    }
}

header .header-logo a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    text-decoration: none;
}

header .header-logo img {
    /*margin-left: 10px;*/
    max-height: 50px;
    margin-left: 5px;
}

header .header-search {
    position: relative;
    margin-left: 20px;
}

@media screen and (max-width: 1150px) {
    header .header-search {
        order: 1;
        min-width: 100%;
        height: 0;
        overflow: hidden;
        transition: margin 0.2s ease-in-out;
    }
    header .header-search.active {
        height: auto;
        margin: 20px 0;
    }
}

header .header-search input {
    box-sizing: border-box;
    width: 100%;
    font-family: iranyekan, tahoma;
    font-size: 0.9rem;
    padding: 0 14px 0 44px;
    line-height: 34px;
    border-radius: 100px;
    border: 1px solid #e4e9f0;
    background-color: #f2f4f8;
    transition: border 0.2s ease-in-out;
}

header .header-search input:focus {
    border-color: #4b7cf3;
}

header .header-search .btn-search {
    border: none;
    position: absolute;
    width: 40px;
    height: 36px;
    line-height: 34px;
    left: 0;
    top: 0;
    border-radius: 100%;
    font-size: 1rem;
    background-color: transparent;
    cursor: pointer;
    color: #595c97;
    transition: color 0.2s ease-in-out;
}

header .header-search .btn-search:hover {
    color: #4b7cf3;
}

/*header .header-searchDevice {
    display: none;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 100%;
    border: 1px solid #e4e9f0;
    text-align: center;
    line-height: 39px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}

@media screen and (max-width: 1100px) {
    header .header-searchDevice {
        display: block;
        order: 3;
    }
}

header .header-searchDevice:hover {
    box-shadow: 0 4px 10px 0 rgba(20, 19, 34, 0.08), 0 0 10px 0 rgba(20, 19, 34, 0.02);
    color: #4b7cf3;
}*/

header .headerUser {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

@media screen and (max-width: 1150px) {
    header .headerUser {
        margin-right: 15px;
        order: 4;
    }
}

@media screen and (max-width: 320px) {
    header .headerUser {
        margin-right: 7px;
    }
}

header .headerUserTxt {
    color: #fff;
    padding-left: 10px;
}

header .headerUserTxt-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

header .headerUserTxt-vlu {
    opacity: 0.5;
    font-size: 12px;
    margin-top: 3px;
    max-width: 100px;
}

@media screen and (max-width: 380px) {
    header .headerUserTxt {
        display: none;
    }
}

header .headerUserBtn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 100%;
    border: 1px solid #e4e9f0;
    text-align: center;
    line-height: 39px;
    color: rgba(255, 255, 255, 0.9);
    transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}

header .headerUserBtn:hover {
    box-shadow: 0 4px 10px 0 rgba(20, 19, 34, 0.08), 0 0 10px 0 rgba(20, 19, 34, 0.02);
    color: #4b7cf3;
}

header .headerUserNotif {
    position: absolute;
    left: -7px;
    top: -2px;
    background: linear-gradient(45deg, #f83f37, #ab26aa) no-repeat;
    color: #fff;
    padding: 1px 3px;
    min-width: 12px;
    text-align: center;
    border-radius: 25px;
    font-size: 0.7rem;
    z-index: 1;
}

header .headerUserList {
    background-color: #fff;
    box-shadow: 0 4px 38px 0 rgba(20, 19, 34, 0.11), 0 0 21px 0 rgba(20, 19, 34, 0.05);
    width: 260px;
    left: 0;
    top: 100%;
    margin: 25px 0 0 -20px;
    position: absolute;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, margin 0.2s ease-in-out;
    z-index: 1000;
}

@media screen and (max-width: 350px) {
    header .headerUserList {
        width: 200px;
    }
}

header .headerUserList.active {
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
}

header .headerUserList::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    left: 40px;
    margin-left: -7px;
    transform: rotate(45deg);
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}

header .headerUserList-itm {
    border-bottom: 1px solid #e4e9f0;
    text-align: center;
}

header .headerUserList-itm:last-child {
    border-bottom: 0;
}

header .headerUserList-itm a {
    color: #141322;
    display: block;
    line-height: 38px;
    padding: 0 15px;
}

header .headerUserList-itm a:hover {
    background-color: #f2f4f8;
}

header .headerUserList-itm a span {
    margin-left: 8px;
    font-size: 1rem;
}

header .headerMenu {
    flex: 1;
    padding: 0 15px;
}

@media screen and (max-width: 1150px) {
    header .headerMenu {
        overflow: auto;
        position: fixed;
        width: 300px;
        height: 100%;
        right: -350px;
        box-sizing: border-box;
        top: 0;
        background-color: #fff;
        z-index: 100;
        padding: 40px 0;
        direction: ltr;
        box-shadow: 0 4px 10px 0 rgba(20, 19, 34, 0.08), 0 0 10px 0 rgba(20, 19, 34, 0.02);
        transition: right 0.2s ease-in-out, opacity 0.2s ease-in-out;
        opacity: 0;
    }
}

@media screen and (max-width: 1150px) and (max-width: 320px) {
    header .headerMenu {
        width: 100%;
    }
}

@media screen and (max-width: 1150px) {
    header .headerMenu.active {
        opacity: 1;
        right: 0;
    }
}

header .headerMenu .navbar-close {
    display: none;
}

@media screen and (max-width: 1150px) {
    header .headerMenu .navbar-close {
        width: 25px;
        height: 25px;
        position: relative;
        cursor: pointer;
        left: 30px;
        top: 0px;
        display: block;
    }
    header .headerMenu .navbar-close-1 {
        width: 25px;
        height: 3px;
        background-color: #595c97;
        position: absolute;
        transform: rotate(45deg) translate(8px, 8px);
        border-radius: 5px;
    }
    header .headerMenu .navbar-close-2 {
        width: 25px;
        height: 3px;
        background-color: #595c97;
        position: absolute;
        transform: rotate(-45deg) translate(-8px, 8px);
        border-radius: 5px;
    }
    header .headerMenu .navbar-close:hover .navbar-close-1,
    header .headerMenu .navbar-close:hover .navbar-close-2 {
        background-color: #4b7cf3;
        transition: 0.2s;
    }
}

header .headerMenu .navbar-logo {
    display: none;
}

@media screen and (max-width: 1150px) {
    header .headerMenu .navbar-logo {
        text-align: right;
        margin-top: 20px;
        direction: rtl;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .headerMenu .navbar-logo img {
        max-height: 30px;
        margin-left: 10px;
    }
}

header .headerMenu ul {
    list-style: none;
    display: flex;
    margin: 0;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul {
        flex-direction: column;
        direction: rtl;
    }
}

header .headerMenu ul li {
    margin-left: 15px;
    font-size: 0.8rem;
    text-align: center;
    color: #595c97;
    line-height: 35px;
    position: relative;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li {
        font-size: 1rem;
        line-height: 45px;
        text-align: right;
        margin-left: 0;
    }
}

header .headerMenu ul li ul {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 38px 0 rgba(20, 19, 34, 0.11), 0 0 21px 0 rgba(20, 19, 34, 0.05);
    width: 290px;
    top: 100%;
    right: 0;
    border-radius: 8px;
    padding: 10px 0;
    visibility: hidden;
    margin-top: -5px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, margin 0.2s ease-in-out;
    z-index: 20;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li ul {
        display: none;
    }
}

header .headerMenu ul li ul li {
    width: 100%;
    margin-left: 0;
    border-bottom: 1px solid #e4e9f0;
}

header .headerMenu ul li ul li:last-child {
    border-bottom: 0;
}

header .headerMenu ul li ul li a {
    color: #141322;
    text-align: right;
    padding-right: 10px;
    text-decoration: none;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li ul li a {
        padding: 5px 20px;
    }
}

header .headerMenu ul li ul li a:hover {
    background-color: #f2f4f8;
}

header .headerMenu ul li ul li a::before {
    content: "";
    width: 3px;
    height: 3px;
    border: 1px solid #141322;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

header .headerMenu ul li.haveChild:hover ul, header .headerMenu ul li.haveChild.active ul {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li.haveChild:hover ul, header .headerMenu ul li.haveChild.active ul {
        display: flex;
        position: relative;
        box-shadow: none;
        width: 100%;
    }
    header .headerMenu ul li.haveChild:hover ul li, header .headerMenu ul li.haveChild.active ul li {
        font-size: 0.8rem;
    }
}

header .headerMenu ul li.haveChild > a {
    position: relative;
}

header .headerMenu ul li.haveChild > a:after {
    display: inline-block;
    margin-right: 0.255em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-left: 0.3em solid transparent;
    border-bottom: 0;
    border-right: 0.3em solid transparent;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li.haveChild > a:after {
        position: absolute;
        left: 20px;
        top: 50%;
    }
}

header .headerMenu ul li a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    line-height: 35px;
    transition: color 0.2s ease-in-out;
}

@media screen and (max-width: 1150px) {
    header .headerMenu ul li a {
        flex-direction: column;
        direction: rtl;
        padding: 0 20px;
        color: #141322;
    }
}

header .headerMenu ul li a:hover {
    color: #4b7cf3;
}

header .headerMenuDevice {
    display: none;
}

@media screen and (max-width: 1150px) {
    header .headerMenuDevice {
        display: block;
        margin-right: 15px;
        order: 5;
    }
}

@media screen and (max-width: 320px) {
    header .headerMenuDevice {
        margin-right: 7px;
    }
}

header .headerMenuDevice-btn {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border: 1px solid #e4e9f0;
    border-radius: 100%;
    justify-content: center;
    transition: box-shadow 0.2s ease-in-out;
}

header .headerMenuDevice-btn span {
    height: 2px;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 3px auto;
    border-radius: 5px;
}

header .headerMenuDevice-btn-l1 {
    width: 17px;
}

header .headerMenuDevice-btn-l2 {
    width: 21px;
}

header .headerMenuDevice-btn-l3 {
    width: 17px;
}

header .headerMenuDevice-btn:hover {
    box-shadow: 0 4px 10px 0 rgba(20, 19, 34, 0.08), 0 0 10px 0 rgba(20, 19, 34, 0.02);
}

header .headerMenuDevice-btn:hover span {
    background-color: #4b7cf3;
    width: 22px;
}

.text-l {
    text-align: left;
}

.text-r {
    text-align: right;
}

.homeheader h1 {
    margin-bottom: 10px;
}

.homeheader p {
    opacity: 0.9;
    font-size: 12px;
    line-height: 20px;
}

/*------Menu Modifed-----------------------------------------------------------*/

.headerUserTxt a{
    color: white;
}

.headerUserTxt span , .headerUserTxt span a{
    color: #00e6ff;
    display: block;
    font-size: 11px;
}


/*----------------------------------------------------------------------*/



.pagesheader {
    padding: 50px 0;
    background-color: rgba(183, 195, 207, 0.2);
    margin: -20px -20px 20px;
    color: #1f415c;
    text-align: center
}


.notif_badge {
    position: relative;
    top: 9px !important;
    right: 5px !important;
}

.SetPriceBtn{
    min-width: 70px;
}

.no_height{
    height: auto;
}

/* Sortable tables */
table.sortable thead {
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    cursor: default;
}
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: " \25B4\25BE"
}

/* fixTableHead */
.fixTableHead {
    overflow-y: auto;
    /*height: 110px;*/
}
.fixTableHead thead th {
    background: #b7e3f6;
    height: 30px;
    position: sticky;
    top: 0;
}

.fullheight {
    /*max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    display: block;
    all: unset;*/
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;      /* اسکرول عمودی نداشته باشه */
    display: block;
}

.fullheight table {
    width: 100%;
    min-height: auto !important;
    height: auto !important;
}

.each-line {
    white-space:pre
}

mark {
    background: orange;
    color: black;
}

input.search-input {
    width: 100%;
    font-size: 0.9rem;
    padding: 0 10px 0 20px;
    line-height: 30px;
    border-radius: 100px;
    border: 1px solid #e4e9f0;
    background-color: #f2f4f8;
    transition: border 0.2s ease-in-out;
    box-sizing: border-box;
}




.homebtn {
    padding: 1px 10px;
}

.homebtn a{
    padding: 10px 5px;
    margin: 1px 2px;
}

input.multisearch, select.multisearch {
    width: 100%;
    font-size: 0.8rem;
    padding: 0px 5px;
    margin: 0px 10px;
    transition: border 0.2s ease-in-out;
    line-height: 5px;
    border-radius: 2px;
    border: 1px solid #e4e9f0;
    background-color: #f2f4f8;
    box-sizing: border-box;
}

.responsive-table::before {
    content: "Bourse-Trader.ir";
    font-size: 30px;
    position: absolute;
    top: 50%;
    font-weight: bold;
    left: 50%;
    margin-top: -40px;
    margin-left: -100px;
    transform: rotate(-45deg);
    opacity: 0.1;
    z-index: 0;
}

.vip-only::before {
    content: "ویژه مشترکین";
    font-size: 35px;
    position: absolute;
    top: 50%;
    font-weight: bold;
    left: 50%;
    margin-top: -45px;
    margin-left: -88px;
    transform: rotate(-0deg);
    opacity: 0.3;
    z-index: 0;
    color: red;
}

.gold-only::before {
    content: "ویژه کاربران طلایی";
    font-size: 35px;
    position: absolute;
    top: 50%;
    font-weight: bold;
    left: 50%;
    margin-top: -45px;
    margin-left: -88px;
    transform: rotate(-0deg);
    opacity: 0.3;
    z-index: 0;
    color: purple;
}
/*------------------------------------------------------------*/
@font-face {
    font-family: "icons";
    src: url("fonts/icons.eot?7iv8fr");
    src: url("fonts/icons.eot?7iv8fr#iefix") format("embedded-opentype"),
    url("fonts/icons.ttf?7iv8fr") format("truetype"), url("fonts/icons.woff?7iv8fr") format("woff"),
    url("fonts/icons.svg?7iv8fr#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: "icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-check:before {
    content: "\e903";
}
.icon-user:before {
    content: "\e900";
}
.icon-search:before {
    content: "\e901";
}
.icon-ellipsis-vertical:before {
    content: "\e902";
}
.icon-clipboard-list-check:before {
    content: "\e905";
}
.icon-bell:before {
    content: "\e906";
}
.icon-envelope-open-text:before {
    content: "\e907";
}
.icon-instagram:before {
    content: "\e908";
}
.icon-linkedin:before {
    content: "\e909";
}
.icon-pinterest:before {
    content: "\e90a";
}
.icon-twitter-1:before {
    content: "\e90b";
}
.icon-facebook-1:before {
    content: "\e90c";
}
.icon-right-arrow:before {
    content: "\e90d";
}
.icon-update_white_24dp:before {
    content: "\e90e";
}
.icon-assessment_white_24dp:before {
    content: "\e90f";
}
.icon-keyboard_arrow_down-24px:before {
    content: "\e910";
}
.icon-fullscreen_black_24dp:before {
    content: "\e911";
}
.icon-logout_black_24dp:before {
    content: "\e912";
}
.icon-edit_black_24dp:before {
    content: "\e913";
}
.icon-delete_black_24dp:before {
    content: "\e914";
}
.icon-description_black_24dp:before {
    content: "\e915";
}
.icon-lock_black_24dp:before {
    content: "\e916";
}
.icon-chart-pie:before {
    content: "\e917";
}
.icon-chart-network:before {
    content: "\e918";
}
.icon-chart-mixed:before {
    content: "\e919";
}
.icon-chart-line-up:before {
    content: "\e91a";
}
.icon-chart-line:before {
    content: "\e91b";
}
.icon-chart-candlestick:before {
    content: "\e91c";
}
.icon-heart:before {
    content: "\e91d";
}
.icon-star:before {
    content: "\e91e";
}
.icon-diamond:before {
    content: "\e91f";
}
.icon-icons8-telegram-app:before {
    content: "\e920";
}
.icon-icons8-whatsapp:before {
    content: "\e921";
}
.icon-trash:before {
    content: "\e922";
}
.icon-settings:before {
    content: "\e923";
}
.icon-bulb:before {
    content: "\e924";
}
.icon-bubble:before {
    content: "\e925";
}
.icon-params:before {
    content: "\e926";
}
.icon-banknote:before {
    content: "\e927";
}
.icon-megaphone:before {
    content: "\e928";
}
.icon-calendar:before {
    content: "\e929";
}
.icon-world:before {
    content: "\e92a";
}
.icon-like:before {
    content: "\e92b";
}
.icon-link:before {
    content: "\e92c";
}
.icon-close:before {
    content: "\e92d";
}
.icon-userin:before {
    content: "\e92e";
}
.icon-logout:before {
    content: "\e92f";
}
.icon-enter:before {
    content: "\e930";
}
.icon-envelope:before {
    content: "\e94c";
}
.icon-email1:before {
    content: "\e94d";
}
.icon-star-o:before {
    content: "\e94e";
}
/*------------------------------------------------------------*/

.disable-link{
    pointer-events: none;
}

.checkall{
    display: block;
    font-size: 10px;
    color: black;
}

/*------------------------------------------------------------*/

.ui-datepicker-calendar th{
    background-color: black !important;
}

.minw-50{
    min-width: 50px;
}
.minw-80{
    min-width: 80px;
}
.height60{
    height: 60px;
}
.height300{
    height: 300px;
}
.height400{
    height: 400px;
}
.height450{
    height: 450px;
}
.height500{
    height: 500px;
}
.height550{
    height: 550px;
}
.box_pish {
    height: 500px;
}
.height600{
    height: 600px;
}
.height630{
    height: 630px;
}
.height650{
    height: 650px;
}
.height680{
    height: 690px;
}
.height700{
    height: 700px;
}
.height1000{
    height: 1000px;
}

.botcode{
    font-size: 14px;
}

.enamad img{
    height: 80px;
}

#SendMessageModal .form-group{
    margin: 0;
}

.report-panel{
    font-weight: bold;
}
.badge-curr{
    padding: .5em .5em !important;
    margin: .2em .2em !important;
    font-size: 100% !important;
}

/*
.pietooltip{
    text-align: right;
    padding: 5px;
}*/

.last-column {
    border-left: 1px solid #000;  /* ایجاد خط عمودی ضخیم */
}

/* جدول کامپکت */
.compact-table {
    font-size: 13px;  /* کاهش اندازه فونت */
    border-spacing: 0;  /* حذف فاصله بین ستون‌ها */
    border-collapse: collapse;  /* ادغام سلول‌ها برای حذف فاصله بین آن‌ها */
}

.compact-table th, .compact-table td {
    padding: 2px 6px;  /* کاهش فاصله padding بین سلول‌ها */
}

.compact-table tr {
    height: 20px;  /* کاهش ارتفاع هر سطر */
}

/*----------------invoice--------------------------------------*/

.invoice-box {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.invoice-header {
    text-align: center;
}
.invoice-header img {
    max-width: 100px;
}
.invoice-header h1 {
    margin-top: 10px;
    font-size: 24px;
    color: #333;
}
.invoice-details {
    margin: 20px 0;
}
.invoice-details table {
    width: 100%;
    border-collapse: collapse;
}
.invoice-details table td {
    padding: 8px;
    border: 1px solid #ddd;
}
.invoice-details table td.title {
    background-color: #f8f8f8;
    font-weight: bold;
}
.invoice-box .footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
}


/*@media (max-width: 576px) {
    .pre_chart {
        width: 100% !important; !* نمودار به صورت تمام عرض *!
        height: auto !important; !* ارتفاع اتوماتیک *!
    }
}*/

.payeshTable td {
    line-height: 27px;
    vertical-align: middle;
}

.payeshKhord{
    background: rgba(27, 123, 169, 0.06);
    font-weight: bold;
    font-size: 16px;
}
.payeshIn{
    border-top: 3px solid #ddd;
}

#server-load {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
}
.high-load {
    color: #FF0000; /* قرمز برای بار بالا */
}

.custom-table-header {
    background-color: #b7e3f6; /* رنگ آبی روشن */
    color: #000; /* متن سیاه */
}

.ps-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ps-chart-header select {
    margin-left: auto; /* حرکت سلکت‌باکس به سمت راست */
    font-size: 14px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.apexlongdata{
    overflow-x: auto;
}


.chart-toggle{
     width:22px;height:22px;           /* خیلی کوچک */
     display:flex;align-items:center;justify-content:center;
     border-radius:50%;border:1px solid #adb5bd;
     background:rgba(255,255,255,.6);  /* حالتی شیشه‌ای (Glass morphism light) */
     backdrop-filter:blur(4px);
     cursor:pointer;transition:all .2s ease;
     padding:0;                        /* حذف Padding بیش‌از‌حد Bootstrap */
}
.chart-toggle:hover{
    background:#fff;transform:scale(1.12);box-shadow:0 1px 4px rgba(0,0,0,.15);
}
.chart-toggle i{
    font-size:10px;color:#495057;     /* آیکون بسیار کوچک */
    transition:color .2s,transform .2s;
}
.chart-toggle:hover i{transform:scale(1.25);}
.chart-toggle.active i{color:#dc3545;} /* رنگ متفاوت وقتی لیبل مخفی است */

/* تب ها */
.nav-tabs {
    background-color: #f1f3f5; /* پس‌زمینه کل تب‌ها */
    border-radius: 8px;
    padding: 4px;
}

.nav-tabs .nav-link {
    color: #495057;
    background-color: #e9ecef;
    border: none;
    margin: 2px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #dee2e6;
    color: #212529;
}

.nav-tabs .nav-link.active {
    background-color: #28a745; /* تب فعال - سبز خوش‌رنگ */
    color: #fff;
    font-weight: bold;
}

/*-----------Sticky Ads------------------------------------*/

/* بنر بالای موبایل */
.mobile-top-ad {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
}

/* بنر پایین موبایل (دو ردیفی) */
.mobile-bottom-ads {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
}
.mobile-bottom-ads .ad-box {
    position: relative;
    width: 100%;
    padding-bottom: 2px;
}

/* بنر دسکتاپ چپ پایین */
.desktop-left-ad {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 120px;
    z-index: 1050;
}

/* دکمه بستن */
.ad-close {
    position: absolute;
    top: 2px;
    right: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

/* فقط موبایل */
@media (min-width: 992px) {
    .mobile-top-ad, .mobile-bottom-ads { display: none !important; }
}

/* فقط دسکتاپ */
@media (max-width: 991px) {
    .desktop-left-ad { display: none !important; }
}
/*-------------------------------------------------------------------*/

#map1 {
    height: 350px; /* پیش‌فرض دسکتاپ */
}

@media (max-width: 768px) {
    #map1 {
        height: 550px !important; /* موبایل */
    }
}

#map10 {
    height: 350px; /* پیش‌فرض دسکتاپ */
}

@media (max-width: 768px) {
    #map10 {
        height: 550px !important; /* موبایل */
    }
}

/*---------------------------------------------------------------*/
/*نمایش بنر استیکی موبایل*/
/* مخفی شدن در دسکتاپ */
/*@media (min-width: 992px) {
    .bt-sticky-ad { display: none !important; }
}

!* استایل بنر *!
.bt-sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    text-align: center;
    padding: 6px 6px 10px;
    z-index: 99999;

    animation: btSlideUp 0.35s ease-out;
}

!* انیمیشن بالا آمدن *!
@keyframes btSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

!* دکمه بستن *!
.bt-ad-close {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #000000cc;
    color: #fff;
    font-size: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    z-index: 100000;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

!* بزرگ‌تر برای لمس راحت *!
.bt-ad-close:active {
    transform: scale(0.9);
}

.bt-banner-img {
    width: 100%;
    max-height: 95px;
    object-fit: contain;
}*/





/*---------------------------------------------------------------*/
/* =========================
   BT Sticky Ads (Full Rewrite)
   Mobile/Tablet: bottom full width (max 2 banners)
   Desktop: bottom-left, no frame
   ========================= */

/* ---------- تنظیمات عمومی ---------- */
:root{
    /* نسبت 320x50 => 50/320 = 0.15625 => 15.625vw */
    --bt-banner-height: clamp(44px, 15.625vw, 66px);

    /* اندازه دکمه بستن برای موبایل (تاچ‌فرندلی) */
    --bt-close-size: 32px;
}

/* ---------- موبایل/تبلت ---------- */
@media (min-width: 992px){
    .bt-sticky-mobile{ display:none !important; }
}

.bt-sticky-mobile{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99999;

    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);

    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    animation: btSlideUp 0.32s ease-out;
}

.bt-sticky-mobile .bt-sticky-item{
    position: relative;
    display: block;
}

.bt-sticky-mobile .bt-sticky-item + .bt-sticky-item{
    margin-top: 4px;
}

/* لینک بنر */
.bt-sticky-mobile .bt-sticky-link{
    display: block;
}

/* تصویر بنر: تمام عرض + ارتفاع داینامیک */
.bt-sticky-mobile .bt-banner-img{
    width: 100%;
    height: var(--bt-banner-height);
    object-fit: contain;
    display: block;
}

/* دکمه بستن روی هر بنر (برای انگشت) */
.bt-sticky-mobile .bt-ad-close{
    position: absolute;
    top: -6px;
    right: -4px;

    width: 22px;
    height: 22px;

    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;

    font-size: 14px;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(4px);
}

.bt-sticky-mobile .bt-ad-close:active{
    transform: scale(0.92);
}

/* ---------- دسکتاپ ---------- */
@media (max-width: 991.98px){
    .bt-sticky-desktop{ display:none !important; }
}

.bt-sticky-desktop{
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99999;

    background: transparent;
    border: 0;
    box-shadow: none;
}

.bt-sticky-desktop .bt-sticky-item{
    position: relative;
    display: block;
}

.bt-sticky-desktop .bt-sticky-item + .bt-sticky-item{
    margin-top: 10px;
}

.bt-sticky-desktop .bt-sticky-link{
    display: block;
}

.bt-sticky-desktop .bt-banner-img{
    display: block;
    max-width: 200px;
    width: 200px;
    height: auto;
}

/* دکمه بستن دسکتاپ (کوچک‌تر ولی هنوز راحت) */
.bt-sticky-desktop .bt-ad-close{
    position: absolute;
    top: -10px;
    right: -10px;

    width: 32px;
    height: 32px;

    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(0,0,0,0.60);
    color: #fff;

    font-size: 16px;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(4px);
}

.bt-sticky-desktop .bt-ad-close:active{
    transform: scale(0.92);
}

/* ---------- انیمیشن‌ها ---------- */
@keyframes btSlideUp{
    from{ transform: translateY(100%); opacity: 0; }
    to{ transform: translateY(0); opacity: 1; }
}

/*---------------------------------------------------------------*/
/* نوار دکمه‌ها */
.page-toolbar {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

/* دکمه‌ها */
.page-toolbar .btn {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    transition: all .2s ease;
}

/* هاور */
.page-toolbar .btn:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

/* آیکن‌ها – Font Awesome 4.7 */
.page-toolbar i.fa {
    font-family: FontAwesome !important;
    font-size: 12px;
}

/* رنگ‌های اختصاصی دکمه‌ها */
.btn-my-symbols {
    background: linear-gradient(135deg, #e53935, #b71c1c);
}

.btn-my-watchlist {
    background: linear-gradient(135deg, #ff9800, #ef6c00);
}

.btn-buy {
    background: linear-gradient(135deg, #00c853, #009624);
}

.btn-marketwatch {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
}

.btn-symbols {
    background: linear-gradient(135deg, #7e57c2, #4527a0);
}

.btn-groups {
    background: linear-gradient(135deg, #00897b, #004d40);
}

.btn-options {
    background: linear-gradient(135deg, #8e24aa, #4a148c);
}

.btn-chart {
    background: linear-gradient(135deg, #fb8c00, #e65100);
}

.btn-marketmap {
    background: linear-gradient(135deg, #37474f, #102027);
}

.btn-commodity-funds {
    background: linear-gradient(135deg, #c49a00, #8d6e00);
}

.btn-stock-funds {
    background: linear-gradient(135deg, #43a047, #1b5e20);
}

.btn-fixed-income {
    background: linear-gradient(135deg, #26a69a, #00695c);
}

.btn-live-chart {
    background: linear-gradient(135deg, #ff5722, #bf360c);
}

.btn-money-flow {
    background: linear-gradient(135deg, #3949ab, #1a237e);
}

.btn-vip-filter {
    background: linear-gradient(135deg, #d81b60, #880e4f);
}

.btn-hot-money {
    background: linear-gradient(135deg, #f4511e, #b71c1c);
}

.btn-transactions {
    background: linear-gradient(135deg, #607d8b, #37474f);
}

.btn-indexes {
    background: linear-gradient(135deg, #5e35b1, #311b92);
}

.btn-pre-opening {
    background: linear-gradient(135deg, #f9a825, #f57f17);
}

.btn-nazer {
    background: linear-gradient(135deg, #00acc1, #006064);
}

.btn-codal {
    background: linear-gradient(135deg, #546e7a, #263238);
}

.btn-global-market {
    background: linear-gradient(135deg, #039be5, #01579b);
}

.btn-marketcap {
    background: linear-gradient(135deg, #00796b, #003d33);
}

.btn-stock-return {
    background: linear-gradient(135deg, #c2185b, #6a0034);
}

.btn-group-return {
    background: linear-gradient(135deg, #ef6c00, #bf360c);
}

.btn-capita {
    background: linear-gradient(135deg, #0097a7, #004d56);
}

.btn-shareholders {
    background: linear-gradient(135deg, #6d4c41, #3e2723);
}

/*---------------------------------------------------------------*/

.badge-ltr {
    direction: ltr;
    unicode-bidi: embed;
    text-align: left;
}

.number-ltr {
    direction: ltr;
    unicode-bidi: embed;
    text-align: center;
}

/*---------------------------------------------------------------*/
/*
سلکتور مینی و ریز
 */
/* chart overlay header */
.chartWrap { position: relative; }

.chartInlineTitle{
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    max-width: calc(100% - 12px);
    padding: 0 6px;
    white-space: nowrap;
    pointer-events: auto;
}

.chartInlineTitle .chartTitleText{
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    /*max-width: calc(100% - 70px);*/ /* جا برای select */
}

/* two-line header (title + subtitle) */
.chartInlineTitle--stack{
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.chartInlineTitleRow{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.chartInlineSubtitle{
    font-size: 12px;
    color: #9699a2;
    line-height: 1;
}

/* compact select */
.mini-fund-select{
    height: 18px;
    font-size: 11px;
    line-height: 16px;
    padding: 0 16px 0 6px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.18);
    background: #fff;
    color: #222;
    cursor: pointer;
    width: auto;
    max-width: 70px;
    vertical-align: middle;
}

.mini-fund-select--tight{
    max-width: 62px;
    font-size: 10.5px;
}

.mini-fund-select:focus{
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}

/* mobile tweaks */
@media (max-width: 576px){
    .mini-fund-select{ max-width: 60px; font-size: 10.5px; }
    .mini-fund-select--tight{ max-width: 56px; }
    .chartInlineTitle .chartTitleText{ font-size: 12px; }
    .chartInlineSubtitle{ font-size: 11px; }
}


/*---------------------------------------------------------------*/
/*
کلاس نمایش جدول صفحه اول گزارش
 */
/* =========================================================
   MARKET ROW - SAFE / SCOPED CSS
   فقط داخل .market-row اعمال می‌شود تا به پروژه آسیب نزند
========================================================= */

/* -------------------------
   Variables / layout
------------------------- */
.market-row{
    --cardH: 600px;
    --cardRadius: 14px;
    --cardBorder: rgba(0,0,0,.08);
    --cardShadow: 0 6px 18px rgba(0,0,0,.05);
    --headBg: #fafbff;
    --headBorder: rgba(0,0,0,.06);
    --theadBg: #f2f6ff;
    --rowHover: #f7f9ff;
    --rowShadow: 0 1px 0 rgba(0,0,0,.04);
    --rowRadius: 10px;
}

@media (max-width: 991.98px){
    .market-row{ --cardH:auto; }
}

/* -------------------------
   Cardbox
------------------------- */
.market-row .cardbox{
    background:#fff;
    border:1px solid var(--cardBorder);
    border-radius:var(--cardRadius);
    box-shadow:var(--cardShadow);
    overflow:hidden;
    min-height:var(--cardH);
    display:flex;
    flex-direction:column;
}

.market-row .cardbox__head{
    position:relative;
    padding:5px 12px;
    border-bottom:1px solid var(--headBorder);
    background:var(--headBg);
}

.market-row .cardbox__title{
    width:100%;
    text-align:center;
    font-weight:700;
    font-size:14px;
    padding:5px 44px; /* فضای آیکن‌ها */
    box-sizing:border-box;
}

/* آیکن‌های سر کارت */
.market-row .cardbox__head .q_in_right{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
}
.market-row .cardbox__head .q_in_h.top{
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
}

.market-row .cardbox__body{
    flex:1;
    padding:0;
}

/* -------------------------
   Inner container base
------------------------- */
.market-row .border_inner{
    padding:5px 10px;
    box-sizing:border-box;
}

/* =========================================================
   Scroll wrappers (به جای کلاس عمومی responsive-table)
========================================================= */
.market-row .table-scroll{
    max-height:600px;      /* همون height600 ولی انعطاف‌پذیرتر */
    overflow-x:auto;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

/* گزارش بازار بورس: عمودی اسکرول نخورد */
.market-row .table-scroll--noY{
    max-height:none;
    overflow-y:hidden;
    overflow-x:auto;       /* روی موبایل اگر جدول پهن شد */
}

/* فقط عمودی (اگر افقی نمی‌خوای) */
.market-row .table-scroll--Y{
    max-height:600px;
    overflow-y:auto;
    overflow-x:hidden;
}

/* اگر هنوز جایی مجبورید responsive-table داشته باشید،
   اینجا فقط داخل مارکت-رو محدودش می‌کنیم که بقیه سایت خراب نشه */
.market-row .responsive-table{
    overflow-x:auto;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

/* =========================================================
   ApexCharts - جلوگیری از اسکرول افقی/عمودی الکی
   مهم: چارت باید داخل .chart-wrap باشد
========================================================= */
.market-row .chart-wrap{
    width:100%;
    overflow:hidden;    /* کلید حل مشکل اسکرول‌های عجیب */
}

/* اطمینان از اینکه عرض از والد بیرون نزنه */
.market-row .chart-wrap .apexcharts-canvas,
.market-row .chart-wrap svg{
    max-width:100% !important;
}

/* بعضی مواقع اپکس داخل svg clipping می‌سازد */
.market-row .chart-wrap .apexcharts-svg{
    overflow:visible;
}

/* =========================================================
   Badges (مثبت/منفی)
========================================================= */
.market-row .badgeChange{
    font-size:12px;
    padding:3px 8px;
    border-radius:999px;
    border:1px solid transparent;
    display:inline-block;
    margin-left:6px;
}
.market-row .is-pos{
    color:#137a3a;
    background:rgba(19,122,58,.10);
    border-color:rgba(19,122,58,.18);
}
.market-row .is-neg{
    color:#b42318;
    background:rgba(180,35,24,.10);
    border-color:rgba(180,35,24,.18);
}
.market-row .is-zero{
    color:#555;
    background:rgba(0,0,0,.06);
    border-color:rgba(0,0,0,.08);
}

/* =========================================================
   Table: Market Report (marketTable)
========================================================= */
.market-row .marketTable{
    width:100%;
    border-collapse:separate;
    border-spacing:0 6px;
    margin:0;
}

.market-row .marketTable tbody tr{
    background:#fff;
    border-radius:var(--rowRadius);
    box-shadow:var(--rowShadow);
}

.market-row .marketTable tbody tr:hover{
    background:var(--rowHover);
}

.market-row .marketTable td{
    border:0 !important;
    padding:1px 10px !important;
    vertical-align:middle;
    line-height:1.5;
}

/* ستون عنوان (راست) */
.market-row .marketTable td:first-child{
    width:52%;
    text-align:right;
    font-weight:600;
    color:#222;
    padding-right:16px !important;
}

/* ستون مقدار (چپ) */
.market-row .marketTable td:last-child{
    width:48%;
    text-align:left;
    direction:ltr;
    padding-left:16px !important;
}

/* مهم: کامل دیده شدن محتوا (اگر نمی‌خواهی رپ شود، این بخش را حذف کن) */
.market-row .marketTable td:last-child,
.market-row .marketTable td:last-child a{
    white-space:normal !important;
    word-break:break-word;
}

/* =========================================================
   Table: Payesh (payeshTable)
========================================================= */
.market-row .payeshTable{
    width:100%;
    border-collapse:separate;
    border-spacing:0 6px;
    margin:0;
}

.market-row .payeshTable thead th{
    position:sticky;
    top:0;
    z-index:5;
    background:var(--theadBg);
    border-bottom:1px solid rgba(0,0,0,.08) !important;
    padding:10px 8px !important;
    font-weight:700;
    text-align:center !important;
}

/* ردیف‌ها */
.market-row .payeshTable tbody tr{
    background:#fff;
    border-radius:var(--rowRadius);
    box-shadow:var(--rowShadow);
}
.market-row .payeshTable tbody tr:hover{
    background:var(--rowHover);
}

.market-row .payeshTable td{
    border:0 !important;
    padding:6px 8px !important;
    text-align:center !important;
    vertical-align:middle;
    white-space:normal;
    font-variant-numeric:tabular-nums;
}

/* ستون اول (عنوان ردیف‌ها) */
.market-row .payeshTable td:first-child,
.market-row .payeshTable th:first-child{
    text-align:right !important;
    padding-right:14px !important;
    font-weight:700;
    width:140px;
}

/* لینک‌ها وسط */
.market-row .payeshTable td a{
    display:inline-block;
    width:100%;
    text-align:center;
}

/* لینک ستون اول وسط نشود */
.market-row .payeshTable td:first-child a{
    width:auto;
    text-align:right;
}

/* =========================================================
   Optional: جلوگیری از اسکرول افقی ناخواسته در کارت‌ها
   (اگر جایی هنوز overflow می‌زند)
========================================================= */
.market-row .cardbox,
.market-row .border_inner{
    max-width:100%;
}


/*---------------------------------------------------------------*/
/*فرمهای لاگین و ثبت نام و ..*/

:root{--bt-auth-radius:18px;}
.bt-auth-wrap{padding:10px 12px;background:radial-gradient(1200px 500px at 20% 0%, rgba(0,123,255,.16), transparent 60%),radial-gradient(900px 450px at 100% 20%, rgba(40,167,69,.12), transparent 55%),#f6f8fb;}
.bt-auth-card{width:100%;max-width:430px;margin:0 auto;border:0;border-radius:var(--bt-auth-radius);overflow:hidden;box-shadow:0 10px 30px rgba(16,24,40,.12);}
.bt-auth-header{padding:12px 16px 8px;text-align:center;background:#fff;}
.bt-auth-logo{height:60px;width:auto;object-fit:contain;}
.bt-auth-title{margin:8px 0 0;font-size:1.05rem;font-weight:700;color:#111827;}
.bt-auth-subtitle{margin:4px 0 0;font-size:.85rem;color:#6b7280;}
.bt-auth-body{padding:12px 16px 10px;background:#fff;}
.bt-auth-form .form-group{margin-bottom:10px;}
.bt-auth-form label{margin-bottom:6px;font-weight:600;font-size:.9rem;}
.bt-auth-form .form-control{height:44px;border-radius:12px;font-size:.95rem;}
.bt-auth-btn{border-radius:12px;height:46px;font-weight:700;}
.bt-auth-captcha-row{display:flex;gap:10px;align-items:stretch;}
.bt-auth-captcha-imgbox{width:132px;min-width:132px;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;}
.bt-auth-captcha-imgbox img{width:100%;height:44px;object-fit:cover;display:block;}
.bt-auth-footer{padding:10px 16px 10px;background:#fff;border-top:1px solid #f1f5f9;}
.bt-auth-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;font-size:.9rem;}
.bt-auth-links a{text-decoration:none;}
.bt-auth-contact{margin-top:10px;font-size:.88rem;color:#374151;text-align:center;}
.bt-auth-contact p{margin-bottom:6px;}
.bt-auth-form label.error{color:#dc3545;margin-top:6px;font-size:.85rem;font-weight:600;}
@media (max-height:700px){.bt-auth-wrap{padding:6px 12px;}.bt-auth-logo{height:56px;}.bt-auth-form .form-control{height:42px;}.bt-auth-captcha-imgbox img{height:42px;}.bt-auth-btn{height:44px;}}

.bt-auth-otp{display:flex;gap:10px;justify-content:center;direction:ltr;}
.bt-auth-otp .bt-auth-otp-box{width:52px;height:52px;text-align:center;font-size:22px;font-weight:800;border-radius:14px;border:1px solid #d1d5db;outline:none;}
.bt-auth-otp .bt-auth-otp-box:focus{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);}
.bt-auth-otp-help{text-align:center;margin-top:8px;font-size:.86rem;color:#6b7280;}
.bt-auth-resend-wrap{display:flex;justify-content:center;margin-top:10px;margin-bottom:14px;}
.bt-auth-resend-btn{padding:6px 10px;border-radius:999px;font-size:.85rem;line-height:1.2;}
.bt-auth-submit-gap{margin-top:6px;}
@media (max-width:380px){.bt-auth-otp{gap:8px;}.bt-auth-otp .bt-auth-otp-box{width:46px;height:46px;font-size:20px;}}
#bt_auth_contact_message{
    min-height:150px;
    resize:vertical;
}


/*-------------------------------------------------------------------*/
/*سرچ باکس آژاکس اسم نماد*/

.smart-search-label{
    display:block;
    margin-bottom:4px;
    font-size:12px;
    font-weight:700;
    color:#6c757d;
}

.smart-search-box .form-control{
    min-width: 0; /* جلوگیری از overflow */
    font-size:13px;
    border-radius:8px;
    height:32px;
}

.smart-search-box .js-smart-search-result{
    background:#fff;
    border:1px solid #dee2e6;
    border-radius:8px;
    overflow:hidden;
}

.smart-search-box .js-smart-search-result .list-group-item{
    border-left:0;
    border-right:0;
    padding:.5rem .65rem;
    cursor:pointer;
    line-height:1.4;
}

.smart-search-box .ss-row-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    direction:rtl;
}

.smart-search-box .ss-symbol{
    font-size:12px;
    font-weight:700;
    color:#007bff;
    white-space:nowrap;
    text-align:right;
    flex:0 0 auto;
}

.smart-search-box .ss-name{
    font-size:12px;
    color:#212529;
    text-align:left;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    flex:1 1 auto;
}

.smart-search-box .ss-group{
    font-size:11px;
    color:#6c757d;
    margin-top:2px;
    text-align:right;
}

.smart-search-box .empty-res{
    font-size:12px;
    color:#6c757d;
    padding:.65rem .7rem;
}

.smart-search-box .js-smart-search-history{
    min-height:18px;
}

.smart-search-history-list{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    align-items:center;
}

.smart-search-history-label{
    display:inline-block;
    font-size:10px;
    color:#999;
    margin-left:4px;
}

.smart-search-history-item{
    display:inline-block;
    font-size:10px;
    line-height:1.2;
    padding:3px 7px;
    border:1px solid #dee2e6;
    border-radius:20px;
    background:#f8f9fa;
    color:#495057;
    text-decoration:none !important;
    cursor:pointer;
}

.smart-search-history-item:hover{
    background:#e9ecef;
    color:#212529;
}
/*-------------------------------------------------------------------*/

/* ===== namespace: dtx ===== */

.dtx-toolbar {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

/* ===== دکمه ===== */
.dtx-btn {
    background: linear-gradient(45deg,#4facfe,#00c6ff);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 7px 16px;
    font-size: 13px;
    cursor: pointer;
    min-width: 130px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.dtx-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* ===== سرچ ===== */
.dtx-search {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 13px;
    width: 200px;
    transition: 0.2s;
}

.dtx-search:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 2px rgba(79,172,254,0.15);
}

/* ===== باکس بازه ===== */
.dtx-range-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 5px 10px;
    border: 1px solid #e3e6ea;
}

.dtx-label {
    font-size: 12px;
    color: #666;
}

/* ===== سلکت ===== */
.dtx-select {
    border: none;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    font-weight: 500;
}

/* ===== ستون‌ها ===== */
.dtx-colbox {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 12px;
    max-height: 140px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.dtx-colbox label {
    background: #f1f3f5;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #ddd;
}

/* ===== جدول ===== */
#historySymbol {
    font-size: 13px;
    border-collapse: separate !important;
    border-spacing: 0;
}

/* هدر حرفه‌ای */
#historySymbol thead th {
    background: linear-gradient(45deg,#5f6af2,#8f5cf7);
    color: #fff;
    text-align: center;
    font-weight: 500;
    padding: 6px;
    border: none;
}

/* سلول‌ها */
#historySymbol tbody td {
    padding: 5px 6px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* hover */
#historySymbol tbody tr:hover {
    background: #f4f7ff;
}

/* ===== اسکرول حرفه‌ای ===== */
.dataTables_wrapper {
    overflow-x: auto;
}

/* scrollbar */
.dataTables_wrapper::-webkit-scrollbar {
    height: 8px;
}

.dataTables_wrapper::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
}

.dataTables_wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg,#4facfe,#00c6ff);
    border-radius: 10px;
}



/*-------------------------------------------------------------*/
/* ===== DataTables 2 + Bootstrap 4 visual fixes ===== */

table.dataTable,
table.dataTable.table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 !important;
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid #dee2e6 !important;
    vertical-align: middle;
    white-space: nowrap;
}

table.dataTable.table-bordered thead th,
table.dataTable.table-bordered thead td,
table.dataTable.table-bordered tbody th,
table.dataTable.table-bordered tbody td {
    border: 1px solid #dee2e6 !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    vertical-align: middle;
}

div.dt-container div.dt-layout-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

div.dt-container div.dt-search input,
div.dt-container div.dt-length select {
    display: inline-block;
    width: auto;
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: none;
}

div.dt-container div.dt-search {
    text-align: left;
}

div.dt-container div.dt-length,
div.dt-container div.dt-search,
div.dt-container div.dt-info,
div.dt-container div.dt-paging {
    margin-bottom: .5rem;
}

div.dt-container .pagination {
    margin-bottom: 0;
}

div.dt-container .page-link {
    padding: .375rem .75rem;
}

div.dt-scroll-head table.dataTable {
    margin-bottom: 0 !important;
}

div.dt-scroll-body table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* اگر هدر موقع sort جابجا می‌شود */
table.dataTable thead .dt-column-title {
    vertical-align: middle;
}

/* برای جدول‌های RTL */
div.dt-container div.dt-search label,
div.dt-container div.dt-length label {
    margin-bottom: 0;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td {
    text-align: center;
    vertical-align: middle !important;
}
/*-------------------------------------------------------------*/


footer {
    margin-top: 10px;
    background: #002744;
    color: #fff;
    padding: 15px 0;
    direction: ltr
}

@media screen and (max-width: 350px) {
    footer {
        padding: 20px
    }
}

footer .footer-top-p {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.2);*/
    padding-bottom: 20px
}

@media screen and (max-width: 460px) {
    footer .footer-top-p {
        flex-wrap: wrap
    }
}

footer .footer-top-p .footer-top-itm {
    flex: 1;
    direction: rtl;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center
}

@media screen and (max-width: 460px) {
    footer .footer-top-p .footer-top-itm {
        min-width: 100%;
        border: 0;
        margin: 5px 0;
        display: flex;
        text-align: right;
        align-items: center
    }
}

footer .footer-top-p .footer-top-itm:last-child {
    border-left: none
}

footer .footer-top-p .footer-top-itm-img {
    padding-left: 10px;
    font-size: 29px;
    display: inline-block;
    vertical-align: top
}

footer .footer-top-p .footer-top-itm-cont {
    display: inline-block
}

footer .footer-top-p .footer-top-itm-cont-t {
    text-align: right
}

@media screen and (max-width: 1291px) {
    footer .footer-top-p .footer-top-itm-cont-t {
        text-align: center
    }
}

@media screen and (max-width: 480px) {
    footer .footer-top-p .footer-top-itm-cont-t {
        text-align: right
    }
}

footer .footer-top-p .footer-top-itm-cont-b {
    opacity: 0.6;
    font-size: 13px
}

footer .footer-bottom-p {
    display: flex;
    direction: rtl;
    padding: 20px 15px
}

@media screen and (max-width: 1040px) {
    footer .footer-bottom-p {
        padding: 20px 0
    }
}

@media screen and (max-width: 620px) {
    footer .footer-bottom-p {
        flex-wrap: wrap
    }
}

footer .footer-bottom-p .footer-bottom-itms {
    display: flex;
    flex: 5
}

@media screen and (max-width: 920px) {
    footer .footer-bottom-p .footer-bottom-itms {
        flex-wrap: wrap
    }
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm {
    flex: 1
}

@media screen and (max-width: 920px) {
    footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm {
        min-width: 50%;
        margin-bottom: 10px
    }
}

@media screen and (max-width: 420px) {
    footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm {
        min-width: 100%
    }
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm h6 {
    font-size: 15px;
    font-weight: 100;
    margin-bottom: 14px
}

@media screen and (max-width: 420px) {
    footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm h6 {
        background-color: rgba(255, 255, 255, 0.1);
        padding: 3px 10px
    }
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm ul {
    list-style: none
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm ul li {
    margin: 6px 0
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
    font-size: 13px
}

footer .footer-bottom-p .footer-bottom-itms .footer-bottom-itm ul li a:hover {
    color: #fff
}

footer .footer-bottom-p .footer-bottom-about {
    flex: 2
}

footer .footer-bottom-p .footer-bottom-about img {
    max-width: 90px
}

@media screen and (max-width: 620px) {
    footer .footer-bottom-p .footer-bottom-about {
        min-width: 100%
    }
}

footer .footer-bottom-p .footer-bottom-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px
}

.footer-bottom-social {
    /*border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 20px*/
}

.footer-bottom-social ul {
    list-style: none
}

@media screen and (max-width: 620px) {
    .footer-bottom-social ul {
        text-align: center
    }
}

.footer-bottom-social ul li {
    display: inline-block;
    font-size: 17px
}

.footer-bottom-social ul li a {
    text-align: center;
    width: 33px;
    border-radius: 100%;
    height: 33px;
    max-width: 33px;
    line-height: 39px;
    display: block;
    color: #fff;

    transition: border 0.2s ease-out
}

.footer-bottom-social ul li a:hover {
    border: 1px solid #fff
}

footer .footer-p {
    display: flex;
    flex-direction: row-reverse;
    padding: 20px 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2)
}

@media screen and (max-width: 620px) {
    footer .footer-p {
        padding: 20px 0 0
    }
}

@media screen and (max-width: 360px) {
    footer .footer-p {
        flex-wrap: wrap
    }
}

footer .footer-p-r {
    flex: 1;
    direction: rtl;
    opacity: 0.6;
    font-size: 13px
}

@media screen and (max-width: 360px) {
    footer .footer-p-r {
        min-width: 100%;
        text-align: center
    }
}

footer .footer-p-l {
    flex: 1;
    direction: ltr;
    opacity: 0.6;
    font-size: 13px
}

@media screen and (max-width: 360px) {
    footer .footer-p-l {
        min-width: 100%;
        text-align: center
    }
}
/*-------------------------------------------------------------*/


/*-------------------------------------------------------------*/

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    max-width: 100%;
    overflow-x: hidden;
    margin-top: 4px;
    background: #002744;
    color: #fff;
    padding: 8px 0;
    direction: rtl;
}

.site-footer a {
    text-decoration: none;
}

.footer-container-full,
.site-footer .container-full {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-main {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.1fr 1.1fr;
    gap: 8px;
    padding: 0 8px;
    margin: 0;
}

.footer-box {
    min-width: 0;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px;
    transition: 0.2s ease;
}

.footer-box:hover {
    background: rgba(255,255,255,0.075);
    transform: translateY(-2px);
}

.footer-brand img {
    margin-bottom: 7px;
    max-width: 100%;
    height: 45px;
}

.footer-brand h3,
.footer-box h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.footer-brand p,
.footer-brand span,
.footer-brand small {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 3px;
}

.footer-links a {
    min-width: 0;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    word-break: break-word;
}

.footer-links a i {
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 7px;
    background: rgba(255,255,255,0.09);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
    padding-right: 3px;
}

.footer-links a:hover i {
    background: #fff;
    color: #002744;
}

@media screen and (max-width: 1050px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 580px) {
    .site-footer {
        padding: 6px 4px;
        margin-top: 2px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        padding: 0;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-box {
        padding: 7px;
        border-radius: 9px;
    }

    .footer-box:hover {
        transform: none;
    }

    .footer-brand img {
        height: 34px;
        margin-bottom: 3px;
    }

    .footer-brand h3,
    .footer-box h4 {
        font-size: 11px;
        margin: 0 0 5px;
    }

    .footer-brand p,
    .footer-brand span,
    .footer-brand small {
        font-size: 9px;
        line-height: 1.35;
    }

    .footer-links li {
        margin-bottom: 1px;
    }

    .footer-links a {
        font-size: 9.5px;
        line-height: 1.2;
        gap: 3px;
    }

    .footer-links a i {
        width: 15px;
        min-width: 15px;
        height: 15px;
        border-radius: 5px;
        font-size: 9px;
    }

    .footer-links a:hover {
        padding-right: 0;
    }
}


/* v8: وسط‌چین شدن برند و فوتر موبایل کامپکت‌تر */
.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.footer-brand img,
.footer-brand h3,
.footer-brand p,
.footer-brand span,
.footer-brand small {
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 580px) {
    .footer-brand {
        grid-column: span 2;
    }
}


/*-------------------------------------------------------------*/

