@font-face {
    font-family: yekan;
    src: url(fonts/yekan/Yekan.eot);
    src: url(fonts/yekan/Yekan.eot?#iefix) format("embedded-opentype"),
    url(fonts/yekan/Yekan.woff) format("woff"),
    url(fonts/yekan/Yekan.ttf) format("truetype"),
    url(fonts/yekan/Yekan.svg#BYekan) format("svg");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 700;
    src: url(fonts/iran/IRANSansWeb_Bold.eot);
    src: url(fonts/iran/IRANSansWeb_Bold.eot?#iefix) format("embedded-opentype"),
    url(fonts/iran/IRANSansWeb_Bold.woff2) format("woff2"),
    url(fonts/iran/IRANSansWeb_Bold.woff) format("woff"),
    url(fonts/iran/IRANSansWeb_Bold.ttf) format("truetype")
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/iran/IRANSansWeb.eot);
    src: url(fonts/iran/IRANSansWeb.eot?#iefix) format("embedded-opentype"),
    url(fonts/iran/IRANSansWeb.woff2) format("woff2"),
    url(fonts/iran/IRANSansWeb.woff) format("woff"),
    url(fonts/iran/IRANSansWeb.ttf) format("truetype")
}

@font-face {
    font-family: vazir;
    src: url(fonts/vazir/Vazir-FD.eot);
    src: url(fonts/vazir/Vazir-FD.eot) format("embedded-opentype"),
    url(fonts/vazir/Vazir-FD.woff) format("woff"),
    url(fonts/vazir/Vazir-FD.woff2) format("woff2"),
    url(fonts/vazir/Vazir-FD.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 10;
    src: url("fonts/dana/woff2/Dana-Hairline.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Hairline.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 100;
    src: url("fonts/dana/woff2/Dana-Thin.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Thin.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 200;
    src: url("fonts/dana/woff2/Dana-UltraLight.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-UltraLight.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 300;
    src: url("fonts/dana/woff2/Dana-Light.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Light.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 500;
    src: url("fonts/dana/woff2/Dana-Medium.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Medium.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 600;
    src: url("fonts/dana/woff2/Dana-DemiBold.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-DemiBold.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 800;
    src: url("fonts/dana/woff2/Dana-ExtraBold.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-ExtraBold.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 900;
    src: url("fonts/dana/woff2/Dana-Black.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Black.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 930;
    src: url("fonts/dana/woff2/Dana-ExtraBlack.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-ExtraBlack.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 960;
    src: url("fonts/dana/woff2/Dana-Heavy.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Heavy.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 990;
    src: url("fonts/dana/woff2/Dana-Fat.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Fat.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 700;
    src: url("fonts/dana/woff2/Dana-Bold.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Bold.woff") format("woff")
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 400;
    src: url("fonts/dana/woff2/Dana-Regular.woff2") format("woff2"),
    url("fonts/dana/woff/Dana-Regular.woff") format("woff")
}

a, body, html, p {
    font-family: vazir, dana !important
}

[dir=rtl] body.hide-sidebar:not(.show-sidebar) #menu {
    margin-right: -230px !important
}

[dir=rtl] body.hide-sidebar:not(.show-sidebar) #wrapper {
    margin-right: 0 !important
}

[dir=rtl] .sidebar li a i.menu-icon {
    margin-left: 13px !important;
    margin-right: unset !important;
    float: right !important
}

[dir=rtl] .sidebar .arrow {
    float: left;
    padding-top: 5px
}

[dir=rtl] .sidebar li .nav-second-level li a {
    padding: 7px 43px 7px 10px
}

[dir=rtl] #newsfeed .close_newsfeed {
    left: 30px;
    right: unset
}

[dir=rtl] #newsfeed .post-time-ago {
    left: 55px;
    right: unset
}

[dir=rtl] #newsfeed .newsfeed_post .dropdown {
    left: 20px;
    right: unset
}

[dir=rtl] #newsfeed .comment-image, [dir=rtl] .form-wrap.form-builder .frmb-control li::before {
    margin-left: 10px;
    margin-right: unset
}

[dir=rtl] .dropdown-submenu > a:after {
    border-color: transparent #94a3b8 transparent transparent;
    border-width: 5px 5px 5px 0;
    float: left;
    margin-left: -71px;
    margin-right: unset
}

[dir=rtl] .dropdown-submenu > .dropdown-menu {
    right: 100%;
    left: unset
}

[dir=rtl] .widget-dragger {
    right: -15px;
    left: unset
}

[dir=rtl] .main-tasks-table-href-name {
    float: unset
}

[dir=rtl] .todo-title {
    padding: 0 10px 0 0
}

[dir=rtl] .fa-regular.fa-plus.fa-lg {
    line-height: 1.05em
}

[dir=rtl] #setup-menu .arrow, [dir=rtl] #side-menu .arrow {
    margin-left: unset
}

.fa-regular, .fa-solid {
    vertical-align: middle
}

[dir=rtl] .customer-profile-group-heading {
    right: 0;
    left: unset
}

[dir=rtl] .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0 .25rem .25rem 0
}

.btn-group > .dropdown-toggle:not(:first-child), [dir=rtl] .btn-group > .btn:last-child:not(:first-child) {
    border-radius: .25rem 0 0 .25rem
}

.popover-content, .popover-title {
    font-family: vazir;
    text-align: center
}

.popover {
    z-index: 99999 !important
}

#kan-ban, .kb-kan-ban .container-fluid {
    display: flex
}

[dir=rtl] .input-group .form-control:last-child {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem
}

[dir=rtl] #contract-form .input-group-addon, [dir=rtl] #discount-total.input-group .input-group-addon, [dir=rtl] #new_lead_lead_status_inline .input-group-addon, [dir=rtl] #tab_staff_profile .input-group-addon, [dir=rtl] .client_password_set_wrapper .input-group-addon, [dir=rtl] .colorpicker-element .input-group-addon, [dir=rtl] .form-group-select-task_select .input-group-addon, [dir=rtl] .input-group.date .input-group-addon, [dir=rtl] .lead-wrapper .input-group-addon, [dir=rtl] .recurring-cycles .input-group-addon {
    border-radius: .375rem 0 0 .375rem;
    border-left: 1px solid #cbd5e1
}

[dir=rtl] ._transaction_form .table.items thead > tr > th:first-child {
    border-left: 0;
    border-right: unset
}

[dir=rtl] .table.items thead th {
    border-left: 1px solid #e2e8f0;
    border-right: unset
}

[dir=rtl] table.dataTable thead > tr > td.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc {
    padding-left: 30px;
    padding-right: 10px
}

[dir=rtl] table.dataTable thead .sorting:after {
    margin-right: 5px;
    margin-left: unset
}

[dir=rtl] table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_desc_disabled:after {
    left: 8px;
    right: unset
}

[dir=rtl] .activity-feed .feed-item {
    padding-right: 30px;
    border-right: 2px solid #22c55e;
    border-left: unset
}

[dir=rtl] .activity-feed .feed-item:after {
    right: -6px;
    left: unset
}

[dir=rtl] .jquery-comments .textarea-wrapper .inline-button, [dir=rtl] .kan-ban-expand-top {
    left: 0;
    right: unset
}

.tab-separator {
    border-left-width: 1px;
    border-right: unset
}

[dir=rtl] .mleft10 {
    margin-right: 10px !important;
    margin-left: 0 !important
}

.table > tfoot > tr > td .bg-primary, [data-name=md-persiandatetimepicker] table.table [data-name=today], [data-name=md-persiandatetimepicker] table.table td.bg-info {
    color: #fff
}

[dir=rtl] .task-info .task-info-icon {
    margin-right: -9px !important;
    margin-left: 8px
}

[dir=rtl] ul.tagit li.tagit-new {
    padding: .25em 0 .25em 4px
}

[dir=rtl] ul.tagit li {
    margin: 2px 0 2px 5px
}

[dir=rtl] ul.tagit input[type=text] {
    padding-right: 5px;
    padding-left: unset
}

[dir=rtl] ul.tagit li.tagit-choice-editable {
    padding: 2px 10px 2px 20px
}

[dir=rtl] ul.tagit li.tagit-choice .tagit-close {
    left: .4em;
    right: unset
}

[dir=rtl] .checklist .remove-checklist {
    margin-right: unset
}

[dir=rtl] .checklist-items-template-select .checklist-item-template-remove {
    right: unset;
    left: 17px
}

.tooltip {
    font-family: dana !important
}

[dir=rtl] .mime {
    padding: 1px 26px 4px 0
}

[dir=rtl] #project_view_name .bootstrap-select button[data-id=project_top], [dir=rtl] #project_view_name .bootstrap-select button[data-id=project_top]:focus, [dir=rtl] #project_view_name .bootstrap-select button[data-id=project_top]:hover {
    padding-right: 0;
    padding-left: unset
}

[dir=rtl] .svg-rotate svg {
    transform: rotate(180deg)
}

[dir=rtl] .task-action-select .dropdown-toggle .filter-option {
    padding-left: 1rem;
    padding-right: 0
}

[dir=rtl] .jquery-comments ul.navigation li[data-sort-key=attachments] i {
    margin-left: .25em;
    margin-right: unset
}

[dir=rtl] .form-wrap.form-builder .cb-wrap.pull-left .form-actions, [dir=rtl] .jquery-comments .profile-picture, [dir=rtl] .jquery-comments ul.main li.comment .child-comments > :before {
    float: right
}

[dir=rtl] .jquery-comments .textarea-wrapper .control-row > span, [dir=rtl] .jquery-comments ul.navigation li[data-sort-key=attachments], [dir=rtl] .submenu {
    float: left
}

[dir=rtl] .jquery-comments .textarea-wrapper {
    padding-right: 21px;
    padding-left: unset
}

[dir=rtl] .jquery-comments .textarea-wrapper .control-row > span:not(:first-child) {
    margin-left: .5em;
    margin-right: unset
}

[dir=rtl] .save_predefined_reply_from_message {
    float: left !important
}

[dir=rtl] .system-popup .popup-message {
    font-family: dana
}

[dir=rtl] .jquery-comments ul.main li.comment .comment-wrapper > .profile-picture {
    margin-left: 1rem;
    margin-right: unset
}

[dir=rtl] .jquery-comments ul.main li.comment time {
    float: left;
    margin-right: .5em;
    margin-left: unset
}

[dir=rtl] .jquery-comments ul.main li.comment .actions .action:first-child {
    margin-right: 0;
    margin-left: 1em
}

.tc-content ol, [dir=rtl] .tc-content ul {
    margin-right: 16px;
    margin-left: unset
}

[dir=rtl] .jquery-comments .textarea-wrapper:before {
    right: 5px;
    left: unset
}

[dir=rtl] #kan-ban .panel-body .lead-name, [dir=rtl] #kan-ban .panel-body .task-name {
    padding-right: 22px;
    padding-left: unset;
    background-position-x: 289px
}

#kan-ban.kb-kan-ban {
    display: none
}

.alert-dismissable, .alert-dismissible {
    padding-left: unset;
    padding-right: unset
}

[dir=rtl] .input-group-addon:not(:first-child):not(:last-child) {
    border-radius: 0 !important
}

[dir=rtl] #tab_form_build li {
    text-align: right
}

[dir=rtl] [id^=frmb-][id$="-form-wrap"] .frmb {
    margin-left: 0 !important;
    margin-right: 20px !important
}

[dir=rtl] .form-wrap.form-builder .frmb .form-elements .false-label:first-child, [dir=rtl] .form-wrap.form-builder .frmb .form-elements label:first-child {
    float: right !important
}

[dir=rtl] .form-wrap.form-builder .frmb .form-elements .input-wrap {
    margin-right: 2% !important;
    margin-left: unset !important;
    float: right !important
}

[dir=rtl] .form-wrap.form-builder .frmb .required-asterisk {
    margin-left: .25rem;
    margin-right: unset !important;
    float: right !important
}

.laniakea-date {
    display: inline-block
}

[dir=rtl] .dataTables_empty {
    text-align: right !important
}

[data-name=day]:hover {
    color: #2563eb !important
}

[dir=rtl] .navbar-default .navbar-nav > li > a {
    margin-left: 3px;
    margin-right: unset
}

[dir=rtl] .navbar-default .navbar-nav > li.customers-nav-item-profile > a {
    padding-right: 10px;
    padding-left: 0
}

[dir=rtl] .submenu li {
    margin-left: 15px;
    margin-right: 0
}

[dir=rtl] .submenu li:last-child {
    margin-left: 0
}

[dir=rtl] .kb-search button[type=submit] {
    border-radius: .375rem 0 0 .375rem
}

[dir=rtl] .question_update {
    margin-right: 15px;
    margin-left: unset
}

[dir=rtl] .alert.float-alert .alert-title {
    margin-right: 30px !important;
    margin-left: unset !important
}

[dir=rtl] .float-alert.alert span[data-notify=icon] {
    left: unset !important;
    right: 13px !important
}

[dir=rtl] .alert.float-alert button.close {
    left: 10px !important;
    right: unset !important
}

[dir=rtl] .float-alert {
    left: 20px !important;
    right: unset !important
}

.w-50 {
    width: 50% !important
}

#sms_gateways_options hr.c-hr {
    border-top: 2px solid #2563eb !important
}

.c_disabled {
    background-color: #eef1f6;
    border-color: #d1dbe5;
    color: #8babcc;
    pointer-events: none;
    cursor: not-allowed
}

.lani-purple-color {
    color: #5002a5;
    font-weight: 700
}

.onoffswitch-label:before {
    height: 20px
}

.tw-divide-x > :not([hidden]) ~ :not([hidden]) {
    --tw-divide-x-reverse: 0;
    border-left-width: calc(1px * var(--tw-divide-x-reverse));
    border-right-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)))
}

.tw-space-x-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-left: calc(.75rem * var(--tw-space-x-reverse));
    margin-right: calc(.75rem * calc(1 - var(--tw-space-x-reverse)))
}

.tw-space-x-1\.5 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-left: calc(.375rem * var(--tw-space-x-reverse));
    margin-right: calc(.375rem * calc(1 - var(--tw-space-x-reverse)))
}

[dir=rtl] #credit-note-form .input-group .input-group-addon, [dir=rtl] #estimate-form .input-group .input-group-addon, [dir=rtl] #invoice-form .input-group .input-group-addon, [dir=rtl] body.custom_fields .input-group-addon {
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
    border-right: 1px solid #cbd5e1;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    border-left: unset
}

[dir=rtl] #credit-note-form .input-group.date .input-group-addon, [dir=rtl] #credit-note-form .input-group.input-group-select .input-group-addon, [dir=rtl] #estimate-form .input-group.date .input-group-addon, [dir=rtl] #estimate-form .input-group.input-group-select .input-group-addon, [dir=rtl] #invoice-form .input-group.date .input-group-addon, [dir=rtl] #invoice-form .input-group.input-group-select .input-group-addon {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
    border-left: 1px solid #cbd5e1;
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
    border-right: unset
}

.dropdown-menu-right:where([dir=rtl],[dir=rtl] *) {
    left: 0;
    right: unset !important
}

.tw-space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-left: calc(.5rem * var(--tw-space-x-reverse));
    margin-right: calc(.5rem * calc(1 - var(--tw-space-x-reverse)))
}

#timer-select-task .inner.open {
    overflow-y: unset !important
}

.sidebar ul.nav li .nav-second-level li a {
    padding: 5px 48px 5px 15px !important;
}

[dir="rtl"] .sidebar li .nav-second-level li.active a {
    margin: 0
}

#setup-menu li .nav-second-level li a {
    padding: 5px 24px 5px 10px !important;
}

.tw-pr-4 {
    padding-right: 1rem;
}

.tw-pl-2-5 {
    padding-left: .625rem;
}

@font-face {
    font-family: "Orbitron";
    src: url(fonts/Orbitron/Orbitron-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

.clock-section {
    font-family: 'Orbitron', sans-serif;
    width: 100%;
    display: flex;
    align-items: center;
    direction: ltr;
    justify-content: center;
    background: #F0F8FF;
    border-radius: 6px;
}

.clock-section.dark {
    background: #24292D;
    border-radius: 6px;
}

.clock-section .c-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 247px;
    max-width: 560px;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    position: relative;
}

.clock-section.dark .c-container {
    background: #323840;
}

.clock-section .c-container .icons i {
    position: absolute;
    right: 17px;
    top: 17px;
    height: 30px;
    width: 30px;
    background: #24292D;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}

.clock-section.dark .c-container .icons i {
    background: #fff;
    color: #323840;
}

.c-container .icons i.fa-sun {
    opacity: 0;
    pointer-events: none;
}

.clock-section.dark .c-container .icons i.fa-sun {
    opacity: 1;
    pointer-events: auto;
    font-size: 16px;
}

.clock-section .c-container .time {
    display: flex;
    align-items: center;
}

.c-container .time .time-colon {
    display: flex;
    align-items: center;
    position: relative;
}

.time .time-colon .am_pm {
    position: absolute;
    top: 0;
    right: -50px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.clock-section.dark .time .time-colon .am_pm {
    color: #fff;
}

.time .time-colon .time-text {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: #F0F8FF;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.clock-section.dark .time .time-colon .time-text {
    background: #24292D;
}

.time .time-colon .time-text, .time .time-colon .colon {
    font-family: 'Orbitron', sans-serif;
    font-size: 35px;
    font-weight: 600;
}

.clock-section.dark .time .time-text .num, .clock-section.dark .time .colon {
    color: #fff;
}

.time .time-colon .colon {
    font-size: 40px;
    margin: 0 10px;
}

.time .time-colon .time-text .text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.clock-section.dark .time .time-colon .text {
    color: #fff;
}

.clock-section .clock-date {
    font-family: 'vazir';
    display: flex;
    align-items: center;
    padding: 11px;
    border-radius: 11px;
    background-color: antiquewhite;
}

[dir="rtl"] #expense-form .input-group-select .inner.open {
    overflow-y: auto !important;
    width: 100% !important;
}
/*sdfsdf*/
/* مخفی کردن منو در دسکتاپ */
.custom-mobile-nav { display: none; }

@media (max-width: 768px) {
    /* ایجاد فضای خالی در پایین سایت برای جلوگیری از رفتن محتوا زیر منو */
    #wrapper { padding-bottom: 90px !important; }

    /* بدنه اصلی منوی پایین */
    .custom-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* رنگ پایه (توسط JS داینامیک می‌شود) */
        background-color: #282d37;
        z-index: 99999;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        padding-bottom: env(safe-area-inset-bottom, 5px);
        /* گوشه‌های گرد بالای منو شبیه عکس */
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    }

    /* استایل گزینه‌های معمولی */
    .custom-mobile-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #ffffff; /* رنگ آیکون و متن */
        font-size: 11px;
        text-decoration: none;
        width: 18%;
        opacity: 0.8;
        transition: 0.2s;
        margin-top: 5px;
    }

    .custom-mobile-nav .nav-item.active,
    .custom-mobile-nav .nav-item:active {
        opacity: 1;
        transform: translateY(-2px);
    }

    .custom-mobile-nav .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    /* کانتینر دکمه وسط */
    .nav-center-container {
        position: relative;
        width: 20%;
        display: flex;
        justify-content: center;
    }

    /* عکس کاربر (برجسته و دایره‌ای) */
    .nav-center-avatar {
        position: absolute;
        bottom: -15px; /* میزان بیرون زدگی از منو */
        width: 65px;
        height: 65px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        /* حاشیه ضخیم هم‌رنگ پس‌زمینه سایت برای ایجاد افکت برش (Cutout) */
        border: 6px solid #eef2f6;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 2;
        cursor: pointer;
    }

    .nav-center-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    /* کانتینر مبدا منوی حلقه‌ای (دقیقاً در مرکز عکس کاربر قرار می‌گیرد) */
    .ring-menu {
        position: absolute;
        bottom: 17px; /* نقطه مرکزی عکس */
        left: 50%;
        width: 0;
        height: 0;
        z-index: 1;
    }

    /* استایل پایه آیتم‌های حلقه (در حالت بسته) */
    .ring-item {
        position: absolute;
        width: 40px;
        height: 40px;
        background: #fff;
        color: #333;
        border-radius: 50%;
        border: 1px solid #333;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        font-size: 16px;

        /* همه آیتم‌ها در ابتدا در مرکز عکس مخفی و کوچک هستند */
        top: -20px;
        left: -20px;
        opacity: 0;
        transform: scale(0); /* سایز صفر */
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* حالت باز شدن منوی حلقه‌ای */
    .ring-menu.open .ring-item {
        opacity: 1;
    }

    /* موقعیت‌دهی دقیق و متقارن (شعاع حرکت از مرکز) */

    /* دکمه سمت راست (پروفایل) */
    .ring-menu.open .ring-item:nth-child(1) {
        transform: translate(65px, -35px) scale(1);
    }

    /* دکمه وسط/بالا (ایده) */
    .ring-menu.open .ring-item:nth-child(2) {
        transform: translate(0px, -75px) scale(1);
    }

    /* دکمه سمت چپ (خروج) */
    .ring-menu.open .ring-item:nth-child(3) {
        transform: translate(-65px, -35px) scale(1);
    }
}
@media (max-width: 768px) {
    /* 1. اسکرول افقی نرم برای تمامی جداول */
    .table-responsive, .dataTables_wrapper {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* اسکرول روان در iOS */
        border: none;
    }

    /* 2. جلوگیری از شکستن نامنظم کلمات در هدر جداول */
    table.dataTable thead th,
    table.dataTable thead td {
        white-space: nowrap;
        font-size: 13px;
    }

    /* 3. تنظیم فاصله (Padding) سلول‌ها برای لمس راحت‌تر در موبایل */
    table.dataTable tbody td {
        padding: 12px 10px !important;
        font-size: 13px;
    }

    /* 4. بهینه‌سازی فرم جستجو در جداول */
    .dataTables_filter {
        float: none !important;
        text-align: center !important;
        margin-bottom: 15px;
        width: 100%;
    }
    .dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box;
        border-radius: 8px;
        padding: 8px 12px;
    }

    /* 5. مخفی کردن المان‌های غیرضروری برای باز شدن فضا (مثل "نمایش 10 سطر") */
    .dataTables_length,
    .dataTables_info {
        display: none !important;
    }

    /* 6. بهینه‌سازی دکمه‌های صفحه‌بندی (Pagination) در موبایل */
    .dataTables_paginate {
        float: none !important;
        text-align: center !important;
        margin-top: 15px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 7. اصلاح فاصله تب‌ها (Tabs) که در موبایل روی هم می‌افتند */
    .nav-tabs>li>a {
        padding: 10px 12px;
        font-size: 13px;
    }
}
