﻿@import url(../font/VazirFaNum/css/vazir.css);
@import url(../font/VazirEnNum/css/vazir.css);

:root {
    --default: #767676;
    --accent: var(--warning);
    --disable: var(--hint);
    --success: #00c9ae;
    --danger: #FF656D;
    --pink: #fc4298;
    --purple: #c642fc;
    --info: #1DA1F2;
    --warning: #FCB242;
    --textLight: #CAC9C9;
    --textDark: #737373;
    --hint: #CAC9C9;
    --light: #fff;
    --backColor: #F0F0F0;
    --bgColor: #f7f7f7;
    --shadowColor: #cac9c98c;
    --lightBlue: #42fceb;
    --grdAccent: linear-gradient(45deg, var(--warning), var(--danger));
    --grdInfo: linear-gradient(45deg, var(--info), var(--purple));
    --grdSuccess: linear-gradient(45deg, var(--lightBlue), var(--success));
    --grdDanger: linear-gradient(45deg, var(--danger), var(--pink));
    --grdDefault: linear-gradient(45deg, var(--default), var(--textDark));
    --grdPink: linear-gradient(45deg, var(--pink), var(--purple));
    --grdLightBlue: linear-gradient(45deg, var(--purple), var(--lightBlue));
    --faFont: VazirFaNum;
    --enFont: VazirEnNum;
    --transition: all ease-in-out 0.3s;
    --radius: 6px;
}


/*#region Grid*/

.w100 {
    width: calc(100% - 19px);
}

.w66 {
    width: calc(66.66% - 19px);
}

.w60 {
    width: calc(60% - 19px);
}

.w50 {
    width: calc(50% - 19px);
}

.w40 {
    width: calc(40% - 19px);
}

.w33 {
    width: calc(33.33% - 19px);
}

.w25 {
    width: calc(25% - 19px);
}

.w20 {
    width: calc(20% - 19px);
}

.full {
    display: block !important;
    width: 100% !important;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
    float: left;
    justify-content: flex-end;
}

.container.wrap {
    width: 90%;
    max-width: 1200px;
}

.container {
    display: flow-root;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.column {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin: 8px;
}

form {
    width: 100%;
    display: flow-root;
}

    form .column {
        margin-bottom: 16px;
    }

        form .column.select2 {
            position: relative
        }

            form .column.select2 .parsley-errors-list {
                position: absolute;
                bottom: -30px
            }


@media screen and (min-width: 1001px) and (max-width: 1440px) {
    .container.laptop > .column {
        width: calc(100% - 19px);
    }

    .container.laptop2 > .column {
        width: calc(50% - 19px);
    }

    .container.laptop3 > .column {
        width: calc(33.33% - 19px);
    }

    .container.laptop4 > .column {
        width: calc(25% - 19px);
    }

    .container.laptop5 > .column {
        width: calc(20% - 19px);
    }
}

@media screen and (min-width: 600px) and (max-width: 1000px) {
    .container.tablet1 > .column {
        width: calc(100% - 19px);
    }

    .container.tablet2 > .column {
        width: calc(50% - 19px);
    }

    .container.tablet3 > .column {
        width: calc(33.33% - 19px);
    }

    .container.tablet4 > .column {
        width: calc(25% - 19px);
    }

    .container.tablet5 > .column {
        width: calc(20% - 19px);
    }
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .container.mobile1 > .column {
        width: calc(100% - 19px);
    }

    .container.mobile2 > .column {
        width: calc(50% - 19px);
    }

    .container.mobile3 > .column {
        width: calc(33.33% - 19px);
    }

    .container.mobile4 > .column {
        width: calc(25% - 19px);
    }

    .container.mobile5 > .column {
        width: calc(20% - 19px);
    }
}


/* #endregion Grid*/

/*#region General*/

* {
    box-sizing: border-box;
    font-family: var(--faFont) !important;
}

    *[lang=en] {
        font-family: var(--enFont) !important;
    }

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

html,
body {
    line-height: 1;
    overflow: hidden;
    background-color: var(--bgColor);
    font: 400 12px var(--faFont);
    position: relative;
    display: block;
    min-height: 100vh;
    color: var(--textDark);
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

/*button,
textarea,
input,
select,
a,
span {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}*/

img {
    object-fit: contain;
    object-position: center;
    display: block;
}

a,
button[type=submit] {
    cursor: pointer;
}

input,
textarea {
    border: none;
    outline: none;
    direction: rtl;
    font: 400 12px;
    font-family: VazirFaNum;
}

i {
    display: block;
    mask-repeat: no-repeat;
    mask-size: 20px;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 24px;
    -webkit-mask-position: center;
    width: 24px;
    height: 24px;
    background: var(--textDark);
}

    i.logout {
        mask-image: url(../icons/Logout.svg);
        -webkit-mask-image: url(../icons/Logout.svg);
    }

    i.notification {
        mask-image: url(../icons/Notification.svg);
        -webkit-mask-image: url(../icons/Notification.svg);
    }

    i.search {
        mask-image: url(../icons/Search.svg);
        -webkit-mask-image: url(../icons/Search.svg);
    }

    i.Show {
        mask-image: url(../icons/Show.svg);
        -webkit-mask-image: url(../icons/Show.svg);
        -webkit-mask-size: 26px;
    }

    i.product {
        mask-image: url(../icons/Product.svg);
        -webkit-mask-image: url(../icons/Product.svg);
    }

    i.order {
        mask-image: url(../icons/Bag.svg);
        -webkit-mask-image: url(../icons/Bag.svg);
    }

    i.chat {
        mask-image: url(../icons/Chat.svg);
        -webkit-mask-image: url(../icons/Chat.svg);
    }

    i.category {
        mask-image: url(../icons/Category.svg);
        -webkit-mask-image: url(../icons/Category.svg);
    }

    i.bookmark {
        mask-image: url(../icons/Bookmark.svg);
        -webkit-mask-image: url(../icons/Bookmark.svg);
    }

    i.discount {
        mask-image: url(../icons/Discount.svg);
        -webkit-mask-image: url(../icons/Discount.svg);
    }

    i.arrowRight {
        mask-image: url(../icons/Arrow.svg);
        -webkit-mask-image: url(../icons/Arrow.svg);
    }

    i.arrowFirst {
        mask-image: url(../icons/Arrow2.svg);
        -webkit-mask-image: url(../icons/Arrow2.svg);
        background-color: var(--textDark);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        width: 100%;
        height: 100%;
    }

    i.arrowLast {
        mask-image: url(../icons/Arrow2.svg);
        -webkit-mask-image: url(../icons/Arrow2.svg);
        background-color: var(--textDark);
    }

    i.arrowLeft {
        mask-image: url(../icons/Arrow.svg);
        -webkit-mask-image: url(../icons/Arrow.svg);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
    i.ShieldDone {
        -webkit-mask: url(/icons/ShieldDone.svg);
        -webkit-mask-image: url(/icons/ShieldDone.svg);
    }

.card {
    display: flex;
    float: right;
    align-items: center;
    min-height: 146px;
    padding: 16px;
    position: relative;
    text-decoration: none;
    background: var(--grdDefault);
    color: var(--light);
    direction: rtl;
    position: relative;
    margin-bottom: 16px;
    transition: var(--transition);
    border-radius: var(--radius);
    box-shadow: 0px 4px 13px -6px var(--shadowColor);
}

    .card.process:after {
        content: '';
        width: 100%;
        height: 100%;
        display: flex;
        font-size: 11pt;
        position: absolute;
        opacity: 0.8;
        z-index: 10;
        border-radius: var(--radius);
        transform: none;
        top: 0;
        align-items: center;
        right: 0;
        justify-content: center;
        -webkit-mask-image: url(../icons/loadding.svg);
        -webkit-mask-size: 128px;
        mask-image: url(../icons/loadding.svg);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
    }

    .card.process::before {
        content: '';
        width: 100%;
        height: 100%;
        display: flex;
        font-size: 11pt;
        position: absolute;
        background: #f8f8f8;
        opacity: 0.8;
        z-index: 10;
        border-radius: var(--radius);
        transform: none;
        top: 0;
        align-items: center;
        right: 0;
        justify-content: center;
        -webkit-mask-image: none;
    }

    .card:hover {
        transform: scale(1.01);
    }

    .card::before {
        content: '';
        position: absolute;
        -webkit-mask-image: url(../images/hover-box.svg);
        -webkit-mask-size: 128px;
        mask-image: url(../images/hover-box.svg);
        mask-size: 128px;
        width: 128px;
        height: 128px;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        mask-position: center;
        -webkit-mask-position: center;
        background: var(--light);
        right: 84px;
        top: -29px;
        transform: rotate( -28deg);
    }

    .card::after {
        content: '';
        position: absolute;
        -webkit-mask-image: url(../images/hover-box.svg);
        mask-image: url(../images/hover-box.svg);
        mask-size: 80px;
        -webkit-mask-size: 80px;
        width: 80px;
        height: 80px;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        background: var(--light);
        right: 24px;
        top: 65px;
        transform: rotate( -95deg);
    }

    .card.info {
        background: var(--grdInfo);
    }

    .card.danger {
        background: var(--grdDanger);
    }

    .card.success {
        background: var(--grdSuccess);
    }

    .card.accent {
        background: var(--grdAccent);
    }

    .card.pink {
        background: var(--grdPink);
    }

    .card.lightBlue {
        background: var(--grdLightBlue);
    }

    .card .cardIcon {
        display: block;
        width: 100px;
        height: 100px;
        -webkit-mask-size: contain;
        mask-size: 120px;
        background-color: var(--light);
    }

    .card .cardInfo {
        font-size: 14px;
        margin-right: 16px;
    }

    .card .cardTitle {
        font-size: 20px;
        font-weight: 600;
    }

    .card ul li {
        position: relative;
        padding-right: 12px;
        display: flex;
        align-items: center;
    }

        .card ul li::before {
            content: '';
            width: 6px;
            height: 6px;
            position: absolute;
            right: 0;
            border-radius: 25px;
            background-color: var(--light);
        }

        .card ul li span {
            margin-right: 6px;
        }

.box {
    display: flex;
    float: right;
    align-items: center;
    min-height: 146px;
    padding: 16px;
    background: var(--light);
    direction: rtl;
    position: relative;
    margin-bottom: 16px;
    transition: var(--transition);
    border-radius: var(--radius);
    box-shadow: 0px 4px 13px -6px var(--shadowColor);
}

.alignLeft {
    text-align: left;
}


toast {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    background: var(--light);
    padding: 16px;
    justify-content: center;
    border-radius: var(--radius);
    direction: rtl;
    box-shadow: 0px 4px 13px -6px var(--shadowColor);
    color: var(--textDark);
}

    toast i {
        display: block;
        margin-left: 6px;
        -webkit-mask: url(/icons/Info.svg) !important;
        mask: url(/icons/Info.svg) !important;
    }

    toast span {
        font-size: 16px;
    }

    toast.accent {
        background: var(--accent);
        color: var(--light);
    }

        toast.accent i {
            background: var(--light);
            -webkit-mask: url(/icons/Info.svg) !important;
            mask: url(/icons/Info.svg) !important;
        }



    toast.warning {
        background: var(--warning);
        color: var(--light);
    }

        toast.warning i {
            background: var(--light);
            -webkit-mask: url(/icons/Danger.svg) !important;
            mask: url(/icons/Danger.svg) !important;
        }


    toast.danger {
        background: var(--danger);
        color: var(--light);
    }

        toast.danger i {
            background: var(--light);
            -webkit-mask: url(/icons/Danger.svg) !important;
            mask: url(/icons/Danger.svg) !important;
        }


    toast.success {
        background: var(--success);
        color: var(--light);
    }

        toast.success i {
            background: var(--light);
            -webkit-mask: url(/icons/Tick.svg) !important;
            mask: url(/icons/Tick.svg) !important;
        }


    toast.info {
        background: var(--info);
        color: var(--light);
    }

        toast.info i {
            background: var(--light);
            -webkit-mask: url(/icons/Info.svg) !important;
            mask: url(/icons/Info.svg) !important;
        }


.hide {
    display: none !important;
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .card {
        display: block;
        text-align: center;
    }

        .card .cardIcon {
            margin: 0 auto;
        }

        .card .cardInfo {
            margin: 0;
        }

        .card .cardTitle {
            margin-bottom: 10px;
        }

        .card ul li {
            justify-content: center;
            padding-right: 0;
        }

            .card ul li::before {
                content: none;
            }

    .mobileHide {
        display: none !important;
    }
}

@media screen and (min-width: 0) and (max-width: 1000px) {
    .tabletHide {
        display: none !important;
    }
}


/*#endregion General*/

/* #region  Toggle */

.toggle {
    position: relative;
}

    .toggle .toggleBtn {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
        cursor: pointer;
        z-index: 1;
    }

        .toggle .toggleBtn::after {
            content: "";
            display: block;
            background: var(--textDark);
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
            -webkit-mask-size: contain;
            transition: transform ease-in-out 0.3s;
            mask: url(/icons/Arrow.svg);
            left: 16px;
            position: absolute;
            transform: rotate(90deg);
            -webkit-mask: url(/icons/Arrow.svg) center center / contain no-repeat;
            width: 16px;
            height: 16px;
        }

    .toggle.toggle.open > .toggleBtn {
        background: #FFF7EC;
    }

    .toggle .toggleBtn.disable:after {
        content: none !important;
    }

    .toggle.open > .toggleBtn:after {
        transform: rotate(270deg);
    }

    .toggle .toggleContent {
        display: none;
        margin: 8px 0;
        overflow: hidden;
        background: var(--backColor);
        border-radius: var(--radius);
        transition: all ease-in-out 0.3s;
    }

    .toggle.open > .toggleContent {
        display: block;
    }

/* #endregion */

/*#region Table*/

.table {
    display: block;
}

    .table .tools {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

        .table .tools .items .icoAdd {
            margin: 0
        }

    .table .title {
        font-size: 20px;
        padding: 8px;
        font-weight: 600;
    }

    .table .search {
        display: inline-flex;
        position: relative;
    }

    .table .thead, .table .tbody {
        display: block;
        border-bottom: 1px solid var(--backColor);
    }

    .table .tr {
        display: grid;
    }

    .table .tbody .tr:not(:last-child) {
        border-bottom: 1px solid var(--backColor);
    }

    .table .th,
    .table .td {
        display: block;
        padding: 10px 16px;
        font-size: 12px;
        position: relative;
        font-weight: 600;
    }

        .table .td.center {
            justify-content: center;
        }

    .table .td {
        display: flex;
        align-items: center;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--default);
        font-size: 14px;
    }

        .table .td.media img {
            border-radius: 25px;
            width: 36px;
            height: 36px;
            object-fit: cover;
            margin-left: 10px;
        }

.tfoot {
    margin-top: 16px;
    justify-content: space-between;
}

    .tfoot,
    .tfoot .pagination {
        display: flex;
        align-items: center;
    }

        .tfoot .pagination .item {
            width: 24px;
            line-height: 1;
            height: 24px;
            margin: 0 4px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 25px;
            text-decoration: none;
            transition: var(--transition);
            background-color: var(--backColor);
            color: var(--textDark);
        }

            .tfoot .pagination .item.active {
                background: var(--grdAccent);
                color: var(--light);
                transform: scale(1.1);
            }

            .tfoot .pagination .item:hover {
                transform: scale(1.1);
            }

        .tfoot .pagination i {
            background: var(--grdAccent);
        }

        .tfoot .info {
            display: block;
            font-size: 14px;
        }

@media screen and (min-width: 0) and (max-width: 600px) {
    .table:not(.empty) {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

        .table:not(.empty) .tools,
        .table:not(.empty) .tfoot,
        .table:not(.empty) .tr {
            display: block;
            background-color: var(--light);
            box-shadow: 0px 4px 13px -6px var(--shadowColor);
            padding: 16px;
            border-radius: var(--radius);
        }

        .table:not(.empty) .title {
            text-align: center;
            margin-bottom: 16px;
        }

        .table:not(.empty) .items > .container {
            display: flex;
            align-items: center;
        }

        .table:not(.empty) .items .search {
            width: 100%
        }

    .table .thead {
        display: none;
    }

    .table .tr {
        margin-bottom: 16px;
    }

    .table .td[lable] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        justify-content: start !important;
        width: 100%;
        padding-right: 40%;
        padding-left: 0;
    }

        .table .td[lable]::before {
            content: attr(lable);
            position: absolute;
            right: 0;
            font-size: 10px;
        }

    .tfoot,
    .tfoot .pagination {
        justify-content: center;
    }

        .tfoot .info {
            text-align: center;
            margin-top: 16px
        }
}

.table.empty {
    position: relative;
}

    .table.empty .tbody,
    .table.empty .thead,
    .table.empty .tfoot,
    .table.empty:not(.filtered) .search {
        display: none;
        border: 0;
    }

    .table.empty::after {
        display: flex;
        margin: 0 auto 36px;
        justify-content: center;
        align-items: flex-end;
        font-size: 16px;
        content: 'موردی برای نمایش وجود ندارد';
        width: 256px;
        height: 256px;
        background: url(../images/empty.svg) no-repeat center;
        background-size: contain;
    }
/*#endregion Table*/

/*#region Form*/

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--hint);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--hint);
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--hint);
}

.input {
    border: none;
    display: block;
    padding: 10px 16px;
    line-height: 16px;
    color: var(--textDark);
    border-radius: 25px;
    background-color: var(--backColor);
}

    .input[lang="en"], .textarea[lang="en"] {
        font-weight: 500;
    }

    .input.left {
        text-align: left;
        direction: ltr;
    }

/*#endregion Form*/

/*#region Header*/
.header {
    display: flow-root;
    width: calc(100% - 316px);
    padding: 0 16px;
    position: relative;
    float: left;
    box-shadow: 0 4px 64px 8px var(--shadowColor);
    background-color: var(--light);
}

    .header .column {
        position: relative;
        border-radius: 25px;
        width: 36px;
        float: left;
        height: 36px;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

        .header .column:last-child {
            display: none;
        }

        .header .column:hover {
            background-color: var(--backColor);
        }

        .header .column i {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .header .column.notify::before {
            content: attr(count);
            width: 18px;
            position: absolute;
            bottom: 0px;
            right: -6px;
            border-radius: 25px;
            font: 400 12px VazirFaNum;
            height: 18px;
            background-color: var(--danger);
            color: var(--light);
            text-align: center;
        }

    .header .searchBox {
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        background-color: transparent !important;
    }

        .header .searchBox .input {
            width: calc(100% - 46px);
            font-size: 13px;
            padding: 10px 16px;
        }

        .header .searchBox .searchBtn {
            width: 36px;
            position: relative;
            height: 36px;
            display: inline-block;
        }

@media screen and (min-width: 0) and (max-width: 1000px) {
    .header {
        width: 100%;
        float: none;
        display: block;
    }

        .header .column:last-child {
            display: inline-flex;
            position: absolute;
            background-color: transparent;
            border-radius: 0 0 0 6px;
            right: 16px;
        }

        .header .column:first-child {
            margin-left: 0;
        }

    .menuBtn {
        direction: rtl;
        display: flex;
        flex-direction: column;
        width: 36px;
        cursor: pointer;
    }

        .menuBtn span {
            background: var(--textDark);
            border-radius: var(--radius);
            height: 3px;
            margin: 2px 0;
            transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        }

            .menuBtn span:nth-of-type(1) {
                width: 75%;
            }

            .menuBtn span:nth-of-type(2) {
                width: 50%;
            }

        .menuBtn.open span:nth-of-type(1) {
            background: var(--light);
            transform-origin: top;
            transform: translate(-10px, 4px) rotate(-45deg);
            width: 50%;
        }

        .menuBtn.open span:nth-of-type(2) {
            transform-origin: bottom;
            background: var(--light);
            width: 50%;
            transform: translate(-10px, -4px) rotate(45deg);
        }
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .header .searchBox {
        position: absolute;
        width: 100%;
        bottom: calc(-100% - 12px);
        left: 0;
        display: flex;
        margin: 0;
        background: var(--light) !important;
        border-radius: 0;
        z-index: 1;
        height: 64px;
        padding: 0 16px;
        border-top: 1px solid var(--backColor);
        border-bottom: 1px solid var(--backColor);
    }

        .header .searchBox.sticky {
            bottom: 0;
            opacity: 0;
        }
}


/*#endregion Header*/

/*#region Aside*/

.aside {
    z-index: 1;
    display: flow-root;
    width: 316px;
    background-color: var(--light);
    position: relative;
    height: 100vh;
    overflow-y: auto;
    float: right;
    padding: 16px 0;
    box-shadow: 47px 0px 53px 16px rgb(112 112 112);
}

    .aside .avatar {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        height: 168px;
        text-align: right;
        background: url(../images/avatar.jpg?=v1) no-repeat;
        background-size: cover;
    }

        .aside .avatar .container {
            padding: 12px;
            display: flex;
            direction: rtl;
            z-index: 1;
            align-items: center;
        }

        .aside .avatar .userImg {
            display: block;
            width: 64px;
            height: 64px;
            object-fit: cover;
            object-position: center;
            border-radius: var(--radius);
        }

        .aside .avatar .userInfo {
            display: block;
            margin-right: 16px;
            color: var(--light);
            font-size: 16px;
        }

        .aside .avatar .userRole {
            padding-right: 16px;
            position: relative;
            font-size: 14px;
        }

            .aside .avatar .userRole::before {
                content: '';
                position: absolute;
                width: 10px;
                height: 10px;
                border-radius: 25px;
                background: var(--accent);
                top: 50%;
                right: 0;
                transform: translateY(-50%);
            }

    .aside .menu .link {
        display: flex;
        direction: rtl;
        width: 100%;
        position: relative;
        padding: 10px 16px;
        margin-bottom: 10px;
        align-items: center;
        color: var(--textDark);
        transition: var(--transition);
        background: var(--backColor);
        text-decoration: none;
        border-radius: var(--radius);
    }

    .aside .menu .toggleContent .link {
        margin-bottom: 0;
        border-radius: 0
    }

    .aside .menu .link:hover {
        background: #FFF7EC
    }

    .aside .menu .linkTitle {
        margin-right: 10px;
        font-weight: 500;
        font-size: 14px;
    }

    .aside .menu .linkIcon {
        width: 22px;
        height: 22px;
        transition: var(--transition);
        background: transparent;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .aside .menu .link:hover + .linkIcon {
        background: var(--warning)
    }

@media screen and (min-width: 0) and (max-width: 1000px) {
    .aside {
        transition: var(--transition);
        float: none;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        padding-top: 10px;
        opacity: 0;
        transform: translateX(104%);
    }

        .aside.open {
            opacity: 1;
            z-index: 99;
            transform: translateX(0);
        }

        .aside .avatar {
            margin-top: 0;
        }
}


/*#endregion Aside*/

/*#region Section*/

.section {
    display: flow-root;
    overflow-y: auto;
    width: calc(100% - 316px);
    padding: 56px 0;
    height: calc(100vh - 68px);
    float: left;
}

    .section .cards {
        margin: 0;
        width: 100%;
    }

        .section .cards > .container {
            display:
        }

    .section .box {
        margin-top: 32px;
    }

@media screen and (min-width: 0) and (max-width: 1000px) {
    .section {
        width: 100%;
        float: none;
    }
}


/*#endregion Section*/

/*#region Authorize Page*/

.container.wrap.authorize {
    max-width: 380px;
    align-self: center;
    margin: 0 auto;
}

.authorize .box .container {
    margin: 36px auto;
}

.authorize .title {
    margin-bottom: 16px;
}

    .authorize .title h1 {
        font-size: 18px;
        font-weight: bold;
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    .authorize .title img {
        width: 100%;
        max-width: 168px;
        display: block;
        margin: 0 auto;
        margin-bottom: 26px;
        border-radius: var(--radius);
    }

.authorize .box {
    border-radius: var(--radius) var(--radius) 0 0;
}

.authorize .addLink {
    position: absolute;
    bottom: -6%;
    border-radius: 0 0 var(--radius) var(--radius);
    width: 100%;
    margin: 0 auto;
    left: 0;
    background: var(--backColor);
    padding: 16px;
    text-align: center;
}

    .authorize .addLink a {
        margin-right: 6px;
        text-decoration: none;
        color: var(--info);
    }


/*#endregion Authorize Page*/

/*#region Error404*/

.errorPage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 100vh;
}

.error404 {
    display: flow-root;
    width: 70%;
    height: 52vh;
    margin: 16px auto;
    background-image: url(../images/error404.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

.textError404 {
    display: block;
    font-size: 14pt;
    color: var(--textDark);
}

.btnComeback {
    display: block;
    text-align: center;
    margin: 16px 0;
    background: var(--warning);
    text-decoration: none;
    color: var(--light);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11pt;
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .error404 {
        width: 80%;
        height: 18vh;
        font-size: 12pt;
    }
}

@media screen and (min-width: 600px) and (max-width: 1000px) {
    .error404 {
        width: 75%;
        height: 32vh;
    }
}

/*#endregion Error404*/

/* #region  Quantity */

.quantity {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    position: relative;
}

    .quantity del {
        display: block;
        padding-left: 36px;
        position: relative;
        color: var(--textLight);
    }

    .quantity::after {
        content: attr(unit);
        font-size: 12px;
        font-weight: 400;
        bottom: 0;
        margin-right: 4px;
    }

    .quantity del::after {
        content: attr(off);
        background: var(--danger);
        padding: 0 4px;
        border-radius: var(--radius);
        font-size: 12px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        color: var(--light);
        position: absolute;
        margin-right: 4px;
    }


/* #endregion */

/*#region OrderDetails*/
.detailsBox {
    padding: 28px 0;
    border-bottom: 1px solid var(--shadowColor);
    position: relative;
}

.profile .detailTitle {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--shadowColor);
    position: relative;
}

.titleArrow {
    display: flex;
    flex-direction: row;
}

    .titleArrow .title {
        color: var(--accent);
        font-size: 14pt;
        font-weight: bold;
    }

    .titleArrow a {
        padding: 16px 0 !important;
    }

.profile .detailTitle .item {
    display: inline-flex;
    align-items: center;
    padding: 16px 8px;
}

    .profile .detailTitle .item i {
        margin-left: 4px;
    }

.profile .btnLeftSide {
    position: absolute;
    left: 0;
}

.detailReceiverInfo {
    display: block;
}

i.phone {
    mask-image: url(/icons/Call.svg);
    -webkit-mask-image: url(/icons/Call.svg);
}

i.location {
    mask-image: url(/icons/location.svg);
    -webkit-mask-image: url(/icons/location.svg);
}

i.profile {
    mask-image: url(/icons/controls/Profile.svg);
    -webkit-mask-image: url(/icons/controls/Profile.svg);
}

i.backArrow {
    mask-image: url(/icons/BackArrow.svg);
    -webkit-mask-image: url(/icons/backArrow.svg);
}

i.calender {
    mask-image: url(/icons/Calendar.svg);
    -webkit-mask-image: url(/icons/Calendar.svg);
}

i.swap {
    mask-image: url(/icons/Swap.svg);
    -webkit-mask-image: url(/icons/Swap.svg);
}


i.id {
    mask-image: url(/icons/Scan.svg);
    -webkit-mask-image: url(/icons/Scan.svg);
}


icon i {
    width: 18px;
    height: 18px;
    -webkit-mask-size: 18px;
    margin: 4px 0 4px 4px;
}

.userInfo {
    display: block;
}

.itemInfo {
    display: inline-block;
}

    .itemInfo span {
        color: var(--hint);
    }

    .itemInfo.list:not(:last-child) {
        margin-left: 40px;
    }

    .itemInfo icon {
        display: inline-flex;
    }

.textInfo {
    display: inline-block;
    vertical-align: super;
    text-align: justify;
}

.itemInfoAddress {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 8px;
}

    .itemInfoAddress span {
        color: var(--hint);
    }

    .itemInfoAddress icon {
        display: inline-flex;
        min-width: 90px;
    }

.totalPrice {
    display: flow-root;
}

.paymentItem {
    display: inline-block;
    position: relative;
}

    .paymentItem span:first-child {
        color: var(--hint);
    }

    .paymentItem:not(:last-child) {
        margin-left: 30px;
    }

.paymentStatus {
    display: block;
    position: absolute;
    left: 0;
    width: 200px;
    top: 10px;
}

    .paymentStatus.fail span {
        color: var(--danger);
    }

    .paymentStatus.fail .range:before {
        background: var(--danger)
    }

    .paymentStatus span {
        font-size: 9pt;
        color: var(--success);
        font-weight: bold;
        margin: 14px 0 2px 0;
        display: block;
    }

/*#region Basket*/
.productItem {
    margin: 0;
    width: 100%;
    position: relative;
    padding: 16px 0;
}

    .productItem:not(:last-child) {
        border-bottom: 1px solid var(--shadowColor);
    }

.productItems .productItem .suggestOffer {
    display: flex;
    color: var(--danger);
    font-weight: 100;
    margin-right: 11px;
}

    .productItems .productItem .suggestOffer .offer-icon {
        -webkit-mask: url(/icons/offer.svg);
        background: var(--danger);
        margin-left: 6px;
    }

.productItems .productDetail {
    width: calc(100% - 200px);
    float: left;
    margin-left: 0;
}

    .productItems .productDetail .head,
    .productItems .actions {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .productItems .productDetail .head {
        align-items: center;
    }

.productItems .actions {
    width: calc(100% - 200px);
    margin: 0 auto 16px;
    float: left;
    align-items: center;
}

.productItems .productImage {
    width: 168px;
    float: right;
    margin-right: 0;
}

    .productItems .productImage img {
        overflow: hidden;
        width: 100%;
        min-height: 168px;
        height: 100%;
        border-radius: 12px;
        border: 1px solid var(--shadowColor);
        object-fit: contain;
        object-position: center;
    }

.productItems .productDetail h1 {
    font-size: 12pt;
    color: var(--textDark);
    font-weight: 500;
    width: calc(100% - 42px);
}

.productItems .productDetail .warranty,
.propriety {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    .productItems .productDetail .warranty label {
        font-size: 10pt;
        color: var(--default);
        font-weight: 100;
        padding-right: 6px;
    }

.productItems .productDetail .warranty-icon {
    -webkit-mask: url(/icons/ShieldDone.svg);
    background: var(--default);
    margin-right: -3px;
}

.productItems .productDetail .propriety .name {
    font-size: 10pt;
    color: var(--default);
    font-weight: 200;
    margin-right: 4px;
}

.section.productItems .quantity {
    font-size: 12pt;
    color: var(--success);
}

    .section.productItems .quantity.count {
        color: var(--textDark);
    }

.productItems .counter {
    border: 1px solid var(--shadowColor);
    width: max-content;
    justify-content: center;
    display: flex;
    text-align: center;
    border-radius: 6px;
    align-items: center;
}

    .productItems .counter .subtract.disable {
        cursor: default;
        opacity: 0.8;
        background: var(--hint);
    }

    .productItems .counter .math,
    .productItems .counter .subtract {
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 20px;
        -webkit-mask-position: center;
        background: var(--default);
        width: 100%;
        height: 30px;
        width: 30px;
        cursor: pointer;
        margin: 0 auto;
    }

    .productItems .counter .math {
        -webkit-mask-image: url(/icons/Math.svg);
    }

    .productItems .counter .subtract {
        -webkit-mask-image: url(/icons/Subtract.svg);
    }

    .productItems .counter input {
        border-left: 1px solid var(--shadowColor);
        border-right: 1px solid var(--shadowColor);
        height: 30px;
        width: 46px;
        cursor: default;
        text-align: center;
        padding: 4px 10px 0;
        color: var(--default);
        font-size: 12pt;
    }

.productItems .productDetail .quantity {
    color: var(--success);
    font-size: 14pt;
}

    .productItems .productDetail .quantity:before,
    .productItems .productDetail .quantity del {
        font-size: 12pt;
    }

.productPrice .priceInfo {
    margin-top: 100px;
    text-align: left;
}

    .productPrice .priceInfo .sellPrice {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

.productItems .productsInfo {
    width: 360px;
    float: left;
    position: sticky;
    top: 100px;
}

/*#endregion Basket*/
/*#region rangeslider*/
.range {
    width: 100%;
    height: 10px;
    margin-top: 10px;
    background: var(--backColor);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

    .range:before {
        content: '';
        position: absolute;
        width: 35%; /* Set a specific slider handle width */
        height: 100%; /* Slider handle height */
        background: var(--success); /* Green background */
        border-radius: var(--radius);
    }

.paymentStatus.face2 .range:before {
    width: 50% !important;
}

.paymentStatus.face3 .range:before {
    width: 75% !important;
}

.paymentStatus.face4 .range:before {
    width: 100% !important;
}

/*#endregion rangeslider*/
@media screen and (min-width: 0) and (max-width: 600px) {
    .profile .detailTitle {
        display: flex;
        align-items: self-start;
        border-bottom: 1px solid var(--shadowColor);
        flex-direction: column;
        justify-content: right;
        flex-wrap: wrap;
    }

        .profile .detailTitle .item {
            padding: 8px 0 8px 0;
        }

            .profile .detailTitle .item.btn {
                width: 100%;
            }

    .profile .btnLeftSide {
        position: relative;
        left: 0;
        margin: 12px 2px 32px 16px;
    }

    .itemInfoAddress {
        flex-direction: column;
        margin-top: 0;
    }

        .itemInfoAddress .textInfo {
            margin-top: 10px;
            padding-right: 24px;
        }

    .paymentItem {
        display: block;
        margin: 0 8px 16px 0;
    }

    .paymentStatus {
        display: flow-root;
        position: relative;
        width: 100%;
        padding: 0 8px 8px 8px;
    }

        .paymentStatus span {
            margin: 0px 0 2px 0;
        }

    .productItems .productItem {
        border: none;
    }

    .productItems .productImage {
        width: 100%;
        margin: 8px auto;
    }

    .productItems .productDetail {
        width: 100%;
        margin: 8px 0;
    }

    .productImage img {
        width: 100%;
        height: 200px;
        border-radius: 8px;
    }

    .productItems .productDetail h1 {
        font-size: 12pt;
        width: 100%;
    }

    .productDetail .warranty label,
    .productDetail .propriety .name {
        font-size: 11pt;
    }

    .productItems .productDetail .head {
        flex-direction: column-reverse;
    }

        .productItems .productDetail .head .btnLeftSide {
            width: 100%;
            margin: 8px 0 16px 0;
        }

    .productItems .actions {
        width: 100%;
    }
}
/*#endregion OrderDetails*/
