:root {
    --primary: #41BDBB;
    --primary-hover: #00000;
    --border: #E9E9E9;
    --black: #000;
    --light: #fff;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary-hover {
    background-color: var(--primary-hover);
}

@font-face {
    font-family: NooraFont;
    src: url(View/1019/fonts/Noora-FD-VF[DSTY,wght].woff2);
}

body {
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    /* max-width: 1440px;
    margin-right: auto;
    margin-left: auto; */
    font-family: NooraFont !important;
    font-feature-settings: "liga" 1, "clig" 1;
}

* {
    font-family: NooraFont !important;
}

a {
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
}

paging {
    justify-content: flex-end;
    /* margin-top: 48px; */
    position: relative;
    display: flex;
    direction: ltr;
    align-content: center;
}

paging a {
    display: flex;
    width: 32px !important;
    height: 32px !important;
    line-height: 1;
    margin: 0 4px;
    cursor: pointer;
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all ease-in-out 0.2s;
    background-color: #FFFFFF;
    /* background-color: #00B38A; */
    color: var(--default);
    font-size: 10pt;
    text-align: center;
    padding: 6px 0;
    align-content: center;
}

paging a.active {
    display: flex;
}

paging a:hover {
    transform: scale(1.2);
}

paging a.Current {
    width: 32px;
    text-decoration: unset;
    font-size: 10pt;
    background: #41BDBB;
    color: white;
    display: block;
    /* background: var(--grdAccent);
    color: var(--light); */
    transform: scale(1.2);
    align-content: center;
}

list paging {
    width: 100%;
    display: flex;
    /* justify-content: flex-start; می‌فرستش سمت راست */
    order: 999;
    padding-top: 20px;
}

#expand-arrow {
    transition: transform 0.3s ease;
}

/* Rotate 180 degrees when class 'rotated' is applied */
#expand-arrow.rotated {
    transform: rotate(180deg);
}


/* select 2 styles */

.select2-container--default .select2-selection--single {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 12px;
    height: auto;
    color: var(--black);
    direction: rtl;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--black);
    padding-left: 0;
    padding-right: 0;
    line-height: normal;
    direction: rtl;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: auto;
    left: 5px;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 8px;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    overflow: hidden !important;
    top: 2px;
    background-color: var(--light);
    border-radius: 0px 0px 10px 10px !important;
    padding: 0px 0 8px;
    border: 1px solid var(--border) !important;
    color: var(--success);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary) !important;
}

.select2-selection__arrow {
    background-image: url('View/1018/icons/eva--arrow-down-fill.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 16px;
}

.select2-selection__arrow b {
    display: none;
}

.select2-container--open i.icon:before {
    transform: rotate(180deg);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: var(--border);
    border-radius: 6px;
    padding-inline: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M7%209.99988L12%2013.9999L17%209.99988%22%20stroke%3D%22%2328303F%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    transition: transform 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(180deg);
}

/* select 2 end */

#blur-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.input-error {
    border-color: red !important;
    color: red;
    font-size: 12px;
}

.input-error::placeholder {
    color: red !important;
    font-size: 12px;
}

/* حالت مخفی */
.hidden-sidebar {
    top: -144px;
    /* ارتفاع sidebar منفی */
    transition: top 0.3s ease;
}

/* حالت باز */
.visible-sidebar {
    top: 64px;
    /* یا 72px برای xl */
    transition: top 0.3s ease;
}

.Message,
.Overlay {
    display: none !important;
}

/* toastMessage  */

.toast-container {
    display: flex;
    width: 100%;
    max-width: 375px;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: -100%;
    right: 32px;
    transition: all 0.5s ease;
    z-index: 1000;
    border-right: 5px solid #41BD79;
    /* خط سبز کناری */
    direction: rtl;
}

.toast-container.show {
    top: 60px;
}

.toast-info {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
}

.toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.toast-body {
    flex: 1;
}

.toast-body h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #434343;
}

.toast-body span {
    font-size: 13px;
    color: #434343;
    display: block;
    margin-top: 4px;
}

.toast-icon .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #EAF8F1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon img {
    width: 32px;
    height: 32px;
}

.progress-container {
    display: none;
    /* در تصویر دیده نمی‌شه */
}

/* اتمام */

component[view="5798"] {
    position: sticky;
    top: 80px;
}

.icon,
.iconAfter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon:before,
.iconAfter:after {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    background: var(--textDark);
    transition: var(--Transition);
}

/*#region modal */

.backward {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 8;
    background-color: #3232328a;
    transition: all ease-in-out 0.3s;
}

modal,
inner-modal {
    max-width: 95%;
    max-height: calc(100vh - 30px);
    position: fixed;
    right: -100%;
    top: 50%;
    transform: translate(50%, -50%);
    background-color: white;
    border-radius: 24px;
    z-index: 9999;
    box-shadow: 0 2px 12px -40px #00000040;
    overflow: auto;
    padding: 30px;
    min-width: 400px;
    border: 1px solid #D8D8D8;
}

modal.show,
inner-modal.show {
    animation: showModal 0.3s forwards;
}

@keyframes showModal {
    from {
        right: -100%;
    }

    to {
        right: 50%;
    }
}

modal.hide,
inner-modal.hide {
    animation: hideModal 0.3s forwards;
}

@keyframes hideModal {
    from {
        right: 50%;
    }

    to {
        right: -100%;
    }
}

modal m-header,
inner-modal inner-m-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0E0E0;
}

modal m-header icon.icon {
    position: absolute;
    left: 20px;
}

modal m-header icon.icon:before,
inner-modal inner-m-header icon.icon:before {
    -webkit-mask-image: url(View/1019/svg/remove.svg) !important;
    background: #4E5156;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

modal m-header h1,
inner-modal inner-m-header h1 {
    font-size: 13pt;
    font-weight: 600;
    color: #434343;
}

modal m-content.gridImage,
modal m-content.modalImage,
inner-modal inner-m-content.gridImage,
inner-modal inner-m-content.modalImage {
    width: calc(100% - 40px);
    height: calc(90vh - 84px);
    border-radius: 8px;
    margin: 20px;
    margin-top: 0;
    display: flex;
}

modal m-content.gridImage img,
modal m-content.modalImage img,
inner-modal inner-m-content.gridImage img,
inner-modal inner-m-content.modalImage img {
    height: 100%;
    object-fit: contain;
}

modal .container.wrap,
inner-modal .container.wrap {
    width: 100%;
    min-width: 300px;
}

modal .column~.container .column,
inner-modal .column~.container .column {
    margin-bottom: 0;
}

@media (min-width: 0) and (max-width: 1024px) {

    modal,
    inner-modal {
        width: 100%;
        max-width: unset;
        max-height: calc(90vh - 25px);
        min-width: unset;
        top: 80%;
        padding: 20px 15px;
    }

    modal m-content.gridImage,
    inner-modal inner-m-content.gridImage {
        height: calc(90vh - 134px);
    }


}

modal img {
    width: 100%;
    height: 100%;
}

/*#endregion*/

.sectionLine {
    display: flex;
    height: 2px;
    width: calc(100% - 20px);
    margin: 22px 10px 16px;
    align-items: center;
    font-size: 13pt;
    background-color: var(--textDark);
    border-radius: 50px;
}

.sectionLine label {
    background-color: var(--light);
    padding-left: 20px;
    font-weight: bold;
    position: relative;
    padding-right: 30px;
    color: var(--textDark);
}

.sectionLine label:before {
    content: '';
    display: block;
    mask-repeat: no-repeat;
    mask-size: 14px;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 14px;
    -webkit-mask-position: center;
    mask-image: url(View/1018/icon/ArrowDown.svg);
    -webkit-mask-image: url(View/1018/icon/ArrowDown.svg);
    -webkit-mask-size: 14px;
    width: 14px;
    height: 14px;
    background: var(--textDark);
    position: absolute;
    right: 0;
    transform: rotate(90deg) translate(-50%, 50%);
    top: 50%;
}

label.inputAdd {
    width: 100%;
    cursor: pointer;
    display: block;
    border-radius: 25px;
    border: 0;
    background-color: var(--backColor);
    font-size: 12pt;
    padding: 8px 15px;
    box-sizing: border-box;
    color: var(--textDark);
    position: relative;
}

label.inputAdd::after {
    content: "";
    -webkit-mask-size: 18px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-image: url("View/1018/icon/Add.svg");
    background: var(--grdDanger);
    width: 18px;
    display: block;
    height: 18px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 12px;
}

label.inputAdd i {
    position: absolute;
    top: 50%;
    font-size: 12pt;
    color: var(--pink);
    transform: translate(0, -50%);
    left: 15px;
}

label.inputAdd>input {
    display: none;
}

.td a {
    color: var(--accent);
}

.downloadFile {
    display: none;
    margin: 6px 17px 0 0;
    color: var(--accent);
}

.rowColor {
    position: relative;
}

.rowColor::before {
    content: '';
    position: absolute;
    display: block;
    width: 6px;
    height: 32px;
    border-radius: 16px 0 0 16px;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.rowColor.rowSuccess::before {
    background-color: var(--success);
}

.rowSuccess {
    background-color: rgba(0, 179, 138, 0.1) !important;
    border-bottom-color: rgba(0, 179, 138, 0.2) !important;
}

.rowColor.rowDanger::before {
    background-color: var(--danger);
}

.rowDanger {
    background-color: rgba(255, 68, 78, 0.1) !important;
    border-bottom-color: rgba(255, 68, 78, 0.2) !important;
}

.rowColor.rowWarning::before {
    background-color: var(--warning);
}

.rowWarning {
    background-color: rgba(247, 166, 43, 0.1) !important;
    border-bottom-color: rgba(247, 166, 43, 0.2) !important;
}

.rowColor.rowInfo::before {
    background-color: var(--info);
}

.rowInfo {
    background-color: rgba(59, 171, 239, 0.1) !important;
    border-bottom-color: rgba(59, 171, 239, 0.2) !important;
}

.column.search {
    display: none;
}

.backward {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

.close {
    opacity: 0;
}
/* endregion */@media screen and (min-width: 0) and (max-width: 600px) {
.toast-container.show {
    inset-inline: 16px;
    max-width: 342px;
    padding: 10px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 28%);
}}
:root{
    --primary: #41BDBB;
    --primary-hover: #273b3b;
}

page{
    background-color: white !important;
}

nav{
    display: none;
}

footer{
    display: none;
}

#padding-none{
    padding: 0 !important;
}

.resend-code{
    cursor: pointer;
}

/* primary colors */

.primary-bg{
    background-color: var(--primary);
}

.primary-hover{
    background-color: var(--primary-hover);
}

.primary-text{
    color: var(--primary);
}

/* end */

@font-face{
    font-family: Noora;
    src: url(View/1019/fonts/Noora-FD-VF[DSTY,wght].woff2);
}


* {
    font-family: Noora;
}

body {
    font-family: Noora;
}

input, btn, button{
    font-family: Noora;
}

form{
    margin-bottom: 0;
}








