﻿@charset "utf-8";

@font-face {
    font-family: 'tisheh';
    src: url('/content/global/fonts/yekan.eot') format('embedded-opentype'), url('/content/global/fonts/yekan.ttf') format('truetype'), url('/content/global/fonts/yekan.woff') format('woff'), url('/content/global/fonts/yekan.woff2') format('woff2');
}




*:not(.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas) {
    font-family: 'tisheh',sans-serif !important;
}

* {
    font-size: 14px;
}

.fade-out {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

    .fade-out.hidden {
        opacity: 0;
    }

#app .loader-container {
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
}

.FullWidth {
    width: 100% !important;
    width: -webkit-fill-available;
}

    .FullWidth .mud-alert-message {
        width: 100% !important;
        width: -webkit-fill-available;
    }

.loader-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #f4bc0a;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-image {
    width: 80px;
    height: 80px;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .loader-container {
        width: 70px;
        height: 70px;
    }

    .spinner {
        width: 70px;
        height: 70px;
    }

    .loading-image {
        width: 35px;
        height: 35px;
    }
}


.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* برای مرکز کردن عمودی */
}

.loading-text {
    color: #3f51b5; /* رنگ متن */
    font-weight: bold;
    animation: fadeInOut 2s linear infinite; /* انیمیشن محو شدن */
}

/* تعریف انیمیشن محو شدن */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.mud-listShipp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mud-navmenu .mud-icon-size-medium {
    /*font-size: 110%;*/
    /*font-size: 100% !important;*/
}

.DeliveryMethod .mud-card-content {
    padding: 2px;
}

.Mapdiv {
    /*margin: 15px;*/
    /*position: relative;*/
    height: calc(100vh - 200px);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

    .Mapdiv.Full {
        height: 80vh !important;
    }

    .Mapdiv.Geofence {
        height: 85vh !important;
    }

#map {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    width: 99%;
    height: 98%;
    background: #eee;
    border: 2px solid #aaa;
    position: absolute;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}

.ListLocations {
    position: absolute;
    right: 0;
    left: 0;
    top: 9%;
    z-index: 1101;
    background-color: #fff;
    border: 1px solid #00000054;
    box-shadow: 0 0 3px #00000054;
    width: 100%;
    bottom: 0;
    overflow-x: hidden;
}

    .ListLocations ul {
        height: 100%;
    }

    .ListLocations .mud-list-item {
        padding: 5px;
        margin: 0;
        border-bottom: 1px solid #d6d6d6;
    }

    .ListLocations .mud-list-item-text {
    }

.mud-overlay {
    z-index: 1100;
}

label {
    font-size: 90%;
}
/*Toolbar Name Form*/
.mud-toolbar.mud-toolbar-gutters.ToolbarName {
    background-color: #fff;
    border-bottom: 1px solid #00000030;
    padding: 5px;
    margin: 0;
    margin-bottom: 10px;
    --mud-internal-toolbar-height: unset;
}


/*drawer*/
.mud-drawer-header {
    border-bottom: 1px solid #bcbcbc;
    box-shadow: 0 0 1px #000;
}

header .mud-badge-root .mud-badge-wrapper {
    top: 2px;
    left: 2px;
}

header .mud-icon-button {
    padding: 5px !important;
}

header .mud-badge-root .mud-badge-wrapper span {
    background-color: #e20000;
    color: #fff;
}

.mud-dialog-title * {
    color: #fff !important;
}

.mud-dialog-title .mud-input-label {
    background-color: rgb(17 47 101);
}

.mud-dialog-title .mud-input.mud-input-outlined {
    border: #b1b1b1 1px solid;
}

.mud-dialog-title {
    background-color: rgb(17 47 101);
    border-bottom: 1px solid #b0b0b0;
    box-shadow: 1px 1px 10px #00000013;
}

.mud-dialog .mud-dialog-title {
    padding: 4px 4px;
}

    .mud-dialog .mud-dialog-title > div {
        display: inline-flex;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        align-items: center;
    }

.mud-dialog-content {
    min-width: 350px !important;
    min-height: 70px !important;
}

.mud-dialog-title .mud-typography.mud-typography-h6 {
    display: contents;
}

.mud-dialog-title > .mud-icon-root.mud-svg-icon {
    border: 1px solid #000;
    border-radius: 100%;
    margin-left: 10px;
}

.mud-dialog-actions {
    border-top: 1px solid #b0b0b0;
    margin-top: 10px;
}

.mud-dialog .mud-dialog-title {
    display: inline-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

    .mud-dialog .mud-dialog-title .mud-button-close {
        top: unset !important;
        right: unset !important;
        position: absolute;
    }

.mud-dialog.mud-dialog-rtl .mud-dialog-title .mud-button-close {
    left: 15px !important;
}
/*Toolbar*/
.ToolBarMain {
    background-color: var(--mud-palette-primary-lighten) !important;
    box-shadow: 0 0 5px #dbdbdb;
    border-bottom: 1px solid #d1d1d1;
    width: 100%;
}

.mud-button-group-outlined.mud-button-group-override-styles .mud-button-root {
    padding: unset !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.mud-menu .mud-icon-button-label {
    display: flow-root !important;
}

.DividerToolbar {
    margin-right: 10px;
    margin-left: 10px;
}
/*MudNavMenu*/
.mud-nav-link {
    display: inline-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.mud-nav-item.mud-ripple.active .mud-nav-link {
    color: var(--mud-palette-info);
    background-color: var(--mud-palette-info-hover);
}

    .mud-nav-item.mud-ripple.active .mud-nav-link:not(.mud-nav-link-disabled) .mud-nav-link-icon.mud-nav-link-icon-default {
        color: var(--mud-palette-info);
    }

.mud-nav-group.Bold .mud-nav-link.mud-ripple.mud-expanded > .mud-nav-link-text {
    font-weight: bold !important;
}
/*Tabs*/
.mud-tabs-toolbar .d-inline-block {
    width: 100% !important;
}

.mud-tabs-toolbar .mud-tab.mud-ripple {
    min-width: 160px;
    width: 100% !important;
    text-align: right !important;
    justify-content: right !important;
}

.mud-tabs-panels .mud-alert {
    font-size: 80%;
    line-height: 0.5;
}

.mud-tabs-panels .mud-alert-message, .mud-tabs-panels .mud-alert-icon svg {
    font-size: 90%;
}

.mud-tabs-panels .mud-alert-position {
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.mud-tabs-panels.mud-tabs-vertical {
    display: block !important;
}

.flexDiv {
    /*justify-self: start;*/
    /*height: 100% !important;*/
    display: flex !important;
    -ms-flex-align: center !important;
    -webkit-align-items: center !important;
    -webkit-box-align: center !important;
    align-items: center !important;
    align-self: center !important;
}

    .flexDiv.ComboProject .mud-input-helper-text .me-auto {
        font-size: 100%;
    }

.MudTableVehiclesShipps span, .MudTableVehiclesShipps p {
    font-size: 100%;
}

.flexVerticalDiv {
    justify-self: start;
    display: inline-block !important;
    -ms-flex-align: center !important;
    -webkit-align-items: center !important;
    -webkit-box-align: center !important;
    align-items: center !important;
    align-self: center;
}

/*    .flexVerticalDiv > div:last-child {
        padding: 10px;
    }*/

.mud-tabs-panels.mud-tabs-vertical .mud-grid-item-xs-3, .mud-tabs-panels.mud-tabs-vertical .mud-grid-item-xs-6 {
    display: inline-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.CheckBoxInput {
    display: inline-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

    .CheckBoxInput .mud-input.mud-input-outlined.mud-input-adorned-end {
        padding-inline-start: 0 !important;
    }

    .CheckBoxInput .mud-input-control.mud-input-control-boolean-input {
        margin-left: 10px;
    }
/*CheckBox*/
.HiddenCheckBox {
    /*display:none;*/
    visibility: hidden;
}

/*Grid*/
.mud-grid.flexcenter {
    display: inline-flex !important;
    -ms-flex-align: center !important;
    -webkit-align-items: center !important;
    -webkit-box-align: center !important;
    align-items: center !important;
}
/*CostPriceList*/
.MudTextDistance {
    font-size: 82%;
    color: #cc1414;
    white-space: pre;
}

/*.SelectsultPrice {
    display: inline-block;
    width: 100px;
    margin-right: 10px;
}*/
/*DataGrid*/
/*.mud-data-grid .mud-table-root .mud-table-head {
    box-shadow: 1px 1px 10px #00000073 !important;
}

    .mud-data-grid .mud-table-root .mud-table-head .mud-table-cell {
        background-color: #3875ac !important;
        color: white !important;
        border: 1px solid #618ab5;
    }

    .mud-data-grid .mud-table-root .mud-table-head .mud-table-cell {
        color: white !important;
        border: 1px solid #618ab5;
    }

        .mud-data-grid .mud-table-root .mud-table-head .mud-table-cell svg {
            fill: white !important;
        }

.mud-data-grid .mud-table-cell .column-header .mud-sort-index {
    color: white !important;
}
.mud-data-grid .mud-table-row.selected:nth-of-type(odd) {
    background-color: #96b8db !important;
    transition: 0.5s all;
}
.mud-data-grid .mud-table-row.UnActivate {
    background-color: #6d6d6d78 !important;
}
.mud-data-grid .mud-table-row.selected {
    background-color: #96b8db !important;
    transition:0.5s all;
}
.mud-data-grid .mud-table-row:hover:not(.selected):not(.UnActivate) {
    background-color: #bababa59 !important;
}
.mud-data-grid .mud-table-row:hover:nth-of-type(odd):not(.selected):not(.UnActivate) {
    background-color: #bababa59 !important;
}
.mud-button-root.mud-icon-button.mud-ripple.mud-ripple-icon.mud-table-row-expander {
    -webkit-transform: rotate(180deg);
    margin-left:20px;
}
.mud-toolbar.mud-toolbar-gutters.mud-table-toolbar {
    display: inline-table;
    background-color: #f5f5f5 !important;
    width: 100%;
}
*/
/*Toolbar*/
/*/*Table*/
.mud-table.mud-elevation-1 {
    box-shadow: unset !important;
}

.max-height .mud-table-container {
    max-height: 50vh;
}

.mud-table-cell .mud-icon-button {
    padding: 0 !important;
}

.mud-table-container .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: unset !important;
}

.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell, .mud-simple-table * tr th {
    background-color: #c4d4eb !important;
    border: 1px solid #97afd4;
    border-radius: 0;
    color: #000;
}

.mud-simple-table.mud-table-bordered .mud-table-container table tbody tr td {
    border-right: 1px solid var(--mud-palette-table-lines) !important;
}

.mud-table-root .mud-table-body .mud-table-cell {
    border-right: 1px solid var(--mud-palette-table-lines) !important;
}

tbody .selected {
    background-color: #4c668d !important;
    transition: .3s all;
}

tbody .UnActivate:not(.selected) {
    background-color: #f3c3c3 !important;
}

tbody .Archived:not(.selected) {
    background-color: #dbdbdb !important;
}

tbody .selected td, tbody .selected td p, tbody .selected td input, tbody .selected td span, tbody .selected td i, tbody .selected td svg {
    color: #fff !important;
    fill: #fff;
}

/*/*pagination*/
/*.mud-table-pagination-toolbar .mud-table-pagination-information, .mud-table-pagination-toolbar .mud-table-page-number-information {
    font-size: 80%;
    font-weight: bold;
}*/
/*
.mud-table-pagination-display.mud-tablepager-right {
    direction: ltr;
}

    .mud-table-pagination-display.mud-tablepager-right .mud-table-pagination-caption {
        padding-left: 0px;
        padding-right: 10px;
    }

    .mud-table-pagination-display.mud-tablepager-right .mud-select {
        padding-left: 0px;
        padding-right: 0px;
    }

.mud-table-pagination-caption {
}
*/
/*.mud-table-page-number-information {
    direction: rtl;
    padding-right: 30px;
    padding-left: 30px;
}
*/
/*ToolBar*/
/*.mud-drawer.mud-drawer-temporary.mud-drawer-pos-right:not(.max-width) {
    width: 350px;
}*/

.mud-drawer.mud-drawer-pos-right.mud-drawer--closed {
    width: var(--mud-drawer-width,var(--mud-drawer-width-right));
    transition: 0.5s all;
}

.mud-button-root.mud-fab {
    box-shadow: none;
    margin-left: 10px;
}

    .mud-button-root.mud-fab.mud-fab-size-small.mud-ripple:hover {
        box-shadow: none;
    }
/*/*FilterOn*/
.FilterOn .mud-expand-panel-text:before {
    content: '* ';
}

.FilterOn {
    color: #b93d3d;
    font-weight: bold;
}

/*/*ToolBar*/
/*.ToolBarMudDateRangePicker {
    width: 350px;
}*/
/*/*FormDialog*/
/*.mud-dialog .mud-dialog-title {
    background-color: #efefef !important;
    display: inline-flex;
}

.mud-dialog .mud-typography.mud-typography-h6 {
    font-weight: bold;
    font-size: 110%;
}
.mud-dialog .mud-icon-root.mud-svg-icon.mud-icon-size-medium {
    font-size: 170%;
    font-weight: bold;
    border: none;
}
.mud-table-cell span {
    font-size: 100%;
}*/
/*/*Table*/
/*.mud-table-head .mud-icon-button {
    color: #ffffff89 !important;
}
.mud-table-row.selected > td .mud-input {
    color: #ffffff89 !important;
}

.mud-table-row {
    transition: .2s all;
}
    .mud-table-row.selected {
        background-color: #96b8db !important;
        transition: .3s all;
    }
    .mud-table-row.UnActivate {
        background-color: #48484854 !important;
        transition: .3s all;
    }

.mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover:not(.selected):not(.UnActivate) {
    background-color: #bababa59 !important;
    transition: .5s all;
}

/*.me-auto {
    font-size: 85%;
}*/
/*TreeTable*/
.TreeTable .content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    min-height: 30px;
}

.TreeTable p {
    font-size: 90%;
}

.TreeTable .mud-checkbox svg {
    font-size: 90%;
}

.TreeTable .Content .Right {
    justify-self: start;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

    .TreeTable .Content .Right > * {
        margin-right: 5px;
        margin-left: 5px;
    }

.TreeTable .Content .Left {
    justify-self: end;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

    .TreeTable .Content .Left .Description {
        color: #cf3535ae !important;
    }

    .TreeTable .Content .Left .Supplying {
        color: #4acf35ff !important;
    }

.TreeTable .Content .UnActivate {
    color: #cf3535ff !important;
    transition: .3s all;
    /*background-color: #00000021;*/
}

.TreeTable .Content .Archive {
    color: #949494ff !important;
    transition: .3s all;
    /*background-color: #00000021;*/
}

.TreeTable .mud-treeview-item.Model .mud-treeview-item-arrow {
    width: 68px;
}

.EditModel .mud-list.mud-height-full {
    max-height: 70vh;
    overflow-x: hidden;
}

/*Menu*/
.MudNavMenu .mud-nav-link-text {
    text-align: center !important;
    justify-content: center !important;
}

.MudNavMenu .mud-nav-link.mud-ripple {
    border-top: 1px solid #0000001f;
}

.MudNavMenu:last-child {
    margin-bottom: 20px;
}
/*.mud-drawer.mud-drawer-temporary.mud-drawer-pos-bottom.mud-drawer--closed {
    bottom: calc(-1.1*var(--mud-drawer-content-height)) !important;
}*/
.Red {
    color: #cf3535 !important;
    transition: .3s all;
}

.DialogContentDeliveryMethod {
    overflow-x: hidden;
    max-height: 200px;
}

.DialogEditPrice .mud-simple-table.mud-table-sticky-header .mud-table-container {
    overflow: hidden !important;
}
/*Input*/
.mud-input-helper-text {
    position: absolute;
    top: 28px;
    background: rgba(255, 255, 255, 1);
    font-weight: bold;
}

    .mud-input-helper-text .me-auto {
        font-size: 80%;
        line-height: 2.5;
        color: #cf3535ff;
    }

.InputHidden {
    display: none;
}

/*tab Budge*/
.mud-tabs-toolbar svg {
    font-size: 110%;
}

.mud-tabs .mud-badge-root.mud-tab-badge {
    top: 0px;
    left: -10px;
}

/*<select>*/
.options {
    border: 1px solid #e5e5e5;
    padding: 10px;
}

    .options select {
        font-size: 14px;
        border: none;
        width: 100%;
        background: white;
    }

/*Dashboards*/



.TextRed {
    color: #d82525;
    font-size: 105%;
    font-weight: bold;
}

.mud-table-row:last-child > .mud-table-cell span {
    padding-left: 5px;
}
/*.mud-table-row:last-child > .mud-table-cell, .mud-table-row:last-child > .mud-table-cell * {
    font-size: 95% !important;
}*/
/*.DashboardSale .mud-drawer.mud-drawer-temporary.mud-drawer-pos-right {
    width: 80%;
    max-width: 550px;
}
.DashboardSale .mud-drawer.mud-drawer-pos-right.mud-drawer--closed {
    right: -550px !important;
    transition: right 1.5s ease;*/ /* اعمال انتقال با تغییر right */
/*animation: -550 225ms cubic-bezier(0, 0, 0.2, 1) forwards !important;
}*/
.flexDiv > div {
    margin-left: 5px;
    margin-right: 5px;
}

.mud-drawer {
}

    .mud-drawer.max-width {
        max-width: 80% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mud-drawer.max-height {
        max-height: 80% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mud-drawer.mud-drawer-temporary.mud-drawer--open {
        min-width: 350px !important;
    }

.MudTextTitr {
    padding: 5px;
    border-bottom: 1px solid;
    padding-top: 15px;
    margin-bottom: 5px;
}

.mud-icon-button {
    padding: 6px !important;
}

.TitleContactConnect {
    border-bottom: 2px solid #5e5e5e;
    border-radius: 0;
    margin-bottom: 10px;
}

    .TitleContactConnect td *, .TitleContactConnect * {
        font-size: 101% !important;
        font-weight: bold !important;
    }

    .TitleContactConnect td:first-child {
        width: 20%;
    }

.TableContact .mud-input-control.mud-input-control-boolean-input {
    margin-right: 30px;
}

.TableContact .mud-icon-button-label {
    rotate: 180deg;
}
/*.mud-table-row .d-flex .mud-input-control[tabindex='-1']{
    display: none;
}*/

.DetailsTable {
    border: 1px solid #d1d1d1;
    margin: 10px;
    box-shadow: 0px 0px 1px #3a3a3a59,0px 0px 1px #3a3a3a59;
}

.mud-popover.mud-popover-open {
    z-index: 10000 !important;
}

.Form {
    border: 1px solid #c9c9c9;
    padding: 20px;
    position: relative;
    width: 100% !important;
}

.BtnFilter {
    margin-top: 20px;
    padding-top: 5px;
    border-top: 1px solid #9e9e9e;
}

    .BtnFilter, .BtnFilter div, .BtnFilter div button {
        width: 100%;
    }

.MudTableParentSale .mud-table-row td {
    padding: 5px !important;
    margin: 0 !important;
    font-size: 95%;
    cursor: pointer;
}

.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: unset;
}

.mud-grid-item {
    position: relative;
}

.mud-grid .TitleItem { /*در حصار جغرافیایی*/
    position: absolute;
    top: 15px;
    top: -12px;
    padding-right: 10px;
    padding-left: 10px;
    background: #fff;
    font-size: 90%;
    font-weight: bold;
}

.TitleForm p {
    font-size: 100%;
    padding: 5px;
    padding-left: 100px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

    .TitleForm p::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: linear-gradient(to left, black, transparent);
        position: absolute;
        bottom: 0;
        left: 0;
    }


.NavMenuMain .mud-icon-size-medium {
    font-size: 1rem;
}

.NavMenuMain.d-inline-flex {
    flex-flow: column !important;
}

.mud-combobox-item-bordered-primary {
    border-left: none !important;
    border-right: 4px solid var(--mud-palette-primary);
}

.ListAccessSystem {
    background-color: #f0f0f08c !important;
    border-radius: 10px;
    overflow-x: hidden !important;
    height: 55vh !important;
    min-height: 25vh !important;
    padding: 10px;
}

.ListAccessSystemForm {
    position: relative;
    margin-top: 20px;
    border: 1px solid #0000002d;
}

.TreeTable .mud-treeview-group {
    margin-inline-start: 46px !important;
}

.EditModel .mud-drop-item {
    padding: 10px;
}

.DialogEditPrice .mud-tabs-border-right .mud-tab {
    justify-content: right !important;
    text-align: right !important;
}

.SignInUser {
    margin-top: 20%;
}

    .SignInUser .mud-paper.mud-elevation-1.mud-card {
        box-shadow: 1px 1px 10px #00000021, -1px -1px 10px #00000021;
        padding-top: 25px;
        border: 1px solid #0003;
    }

..mud-list-item-icon {
    min-width: 30px !important;
}

.NavMenuMain > .mud-list > .mud-list-item > .mud-list-item-text > .mud-typography {
    font-weight: bold;
}

.MudAppBarMain img {
    width: 50px;
}

.MudAppBarMain a {
    color: #fff !important;
    display: contents;
}

.CheckBoxflexVerticalDiv p {
    font-size: 90% !important;
}

.mud-table-head .header-centered th {
    text-align: center;
}

.DeliveryMethod {
    overflow-x: hidden;
}

    .DeliveryMethod form {
        width: 100% !important;
    }

    .DeliveryMethod span {
        font-size: 100% !important;
    }

    .DeliveryMethod .mud-alert-message span {
        font-size: 80% !important;
    }

    .DeliveryMethod .Tooltip {
        padding-left: 10px;
        padding-right: 10px;
    }

        .DeliveryMethod .Tooltip .Tooltipspan {
            font-size: 10% !important;
        }

    .DeliveryMethod table tr {
        cursor: pointer;
    }

    .DeliveryMethod table th {
        overflow-x: auto;
        background-color: #8a8a8a !important;
        color: #fff;
        border-radius: 0 !important;
        border: 1px solid #9d9d9d;
    }

.GreenText {
    color: #2da41e;
}

.RedText {
    color: #cf3535ff;
}

.BtnCart {
    min-width: 100px;
}

.DiscountDeliveryMethod {
    position: relative;
    display: inline-block;
    color: #111111a6 !important; /* رنگ متن تخفیف خورده */
    margin-left: 20px;
    font-size: 100% !important; /* اندازه فونت */
}

    .DiscountDeliveryMethod.Activate::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1.5px; /* ضخامت خط */
        background-color: #e54040ff; /* رنگ خط */
        transform: rotate(-10deg); /* زاویه خط */
        transform-origin: center;
    }

.PriceTitleDeliveryMethod p {
    font-size: 110%; /* اندازه فونت */
    color: #000;
}

.ValueTitleDeliveryMethod {
    margin-right: 5px;
}


.GridSpilter > div {
    border-left: 1px solid #cecece;
    padding: 10px;
    /*background-color:#000;*/
}

    .GridSpilter > div:last-child {
        border-left: none;
        /*background-color:#000;*/
    }

.TdDiscount .TextRed {
    font-size: 80% !important;
}

.MudDrawerShipp {
    background-color: #f1f0ff;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
    -ms-touch-action: none;
    touch-action: none !important;
}


/*cart*/
.scrollable-cart-content {
    max-height: calc(100vh - 280px); /* یا مقدار دلخواه نسبت به هدر و فوتر */
    overflow-y: auto;
    padding: 16px;
    background-color: white;
}

.cart-footer {
    padding: 16px;
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
    position: absolute;
    bottom: 0;
    z-index: 100;
    left: 0;
    right: 0;
}

.sticky-header-table thead th {
    position: sticky;
    top: 0;
    background-color: white; /* یا رنگ دلخواه */
    z-index: 10;
}

.PageCart {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.TableCart {
    flex: 1;
}

.delivery-row {
    height: 50px !important;
}

    .delivery-row td:first-child {
        border-right: 1px solid #a3a3a3 !important;
    }

    .delivery-row td {
        border-bottom: 1px solid #a3a3a3 !important;
    }

        .delivery-row td .mud-checkbox p, .delivery-row td .mud-checkbox svg {
            font-size: 90%;
        }

    .delivery-row .MudTooltipCart {
        text-align: center;
    }

.table-row-warning {
    background-color: #fff8e1; /* زرد خیلی ملایم */
}

.table-row-error {
    background-color: #ffebee; /* قرمز ملایم */
}



/* ============================
   Global & Screen Styles
   ============================ */
.invoice-box > * {
    font-size: 90% !important;
}
.invoice-box {
    font-family: "Tahoma", sans-serif;
    direction: rtl;
    font-size: 100%;
    color: #000;
    padding: 0 !important;
    font-size: 120% !important;
}

.invoice-box {
    position: relative;
    padding-bottom: 100px; /* فضای کافی برای نوار در پایین */
}

.invoice-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 80px; /* ارتفاع لوگو را تنظیم کنید */
}
.footer-address {
    text-align: center;
    padding: 10px 0;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none; /* در حالت پیش‌فرض مخفی است */
}

.invoice-box table {
    width: 100%;
    border-collapse: collapse;
}

    .invoice-box table, .invoice-box th, .invoice-box td {
        border: 1px solid #ddd;
    }
.invoice-box .TdMarsoulePrint{
    width:40px;
}
.invoice-box th {
    background-color: #f2f2f2;
    padding: 5px;
}

    .invoice-box td {
        text-align: center;
        padding: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .invoice-box h1, .invoice-box h2 {
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .invoice-box h4, .invoice-box h5 {
        text-align: left;
        margin: 0;
        padding: 0;
        font-weight: 100;
    }

.invoice-box h6 {
    text-align: right;
    margin: 0;
    padding: 0;
    font-weight: 100;
}

    .invoice-box .TdTitlePrint {
        text-align: right;
    }

    .invoice-box .NoborderFooter {
        border: none;
        text-align:right;
    }
    .invoice-box .NoborderFooter p{
    }
    .invoice-box .PayPriceFooter td {
        font-weight: bold;
        min-height: 80px !important;
        line-height:200%;
        height:100px;
        text-align:right;
    }
.invoice-box table {
    width: 100%;
    border-collapse: collapse;
}

        .invoice-box th, .invoice-box td span {
        }
     .print-button {
        margin-bottom: 2px;
        padding: 10px 20px;
        background-color: #0078d4;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

         .print-button:hover {
            background-color: #005a9e;
        }

    .invoice-box .print-footer-last {
        display: none !important;
        visibility: hidden !important;
    }

    .invoice-box .signature-text, .invoice-box .driver-info {
        display: block;
        margin-top: 4mm;
    }
.invoice-box .driver-Address {
    display: block;
    margin-top: 4mm;
}
.print-footer {
    margin-top: 20px;
    padding-top:20px;
}
.a5-print-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    page-break-inside: avoid;
}

.half-page {
    height: 49%;
    border-bottom: 1px dashed #999;
    padding: 16px;
    box-sizing: border-box;
}

/* ============================
   Print Styles
   ============================ */
@media print {
    .no-print {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
    }
    .footer-address {
        display: block; /* فقط در حالت چاپ نمایش داده می‌شود */
    }

    @page {
        /*size: A5 landscape;*/
        /*size: A5 portrait;*/
        margin: 0 !important;
        padding: 0 !important;
    }
    html, body, .invoice-box {
        margin: 0 !important;
        margin-left: 17px !important;
        margin-right: 10px !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    html, body {
        width: 210mm !important; /*portrait*/
        width: 210mm; /*landscape*/
        height: auto;
        overflow: hidden;
    }
    body {
        position: static !important;
    }


        /* اجازه بده thead در هر صفحه تکرار شود */
        thead {
            display: table-header-group;
        }
        /* تبدیل tfoot به بخش معمولی جدولی تا فقط یک‌بار و در انتها بیاید */
        tfoot {
            display: table-row-group !important;
        }

    .print-page {
        page-break-after: always;
        box-sizing: border-box;
        overflow: visible;
        padding: 0 !important;
        margin: 0 !important;
    }

        .print-page:last-child {
            page-break-after: auto !important;
        }
    .print-footer-last {
        display: block !important;
        visibility: visible !important;
    }

    .a5-print-wrapper {
        height: 100%;
    }

    .half-page {
        height: 47vh;
        page-break-inside: avoid;
    }
}
