@import "base";
@import "ui/btn";
@import "ui/radio";
@import "ui/table";
@import "ui/select";
@import "ui/input";
@import "ui/textarea";
@import "ui/checkbox";
@import "ui/multiselect";
@import "ui/dragNDrop";

/*main*/
.main {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    &__menu {
        background-color: @main;
    }
    &__content {
        width: 100%;
    }
    &__container {
        padding: 20px;
    }
    @media (max-width: 1279px) {
        &__container {
            padding: 30px 15px;
        }
        &__menu {
            position: fixed;
            top: 0;
            bottom: 0;
            height: 100%;
            left: -100%;
            transition: .3s;
            z-index: 5;
            &.active {
                left: 0%;
                .menu__close {
                    right: -58px;
                    transition: .3s;
                    transition-delay: .3s;
                }
            }
        }
    }
}

/* menu */
.menu {
    position: relative;
    &__container {
        padding: 0 20px;
    }
    &__title {
        text-transform: uppercase;
        display: block;
        margin-bottom: 52px;
        h3 {
            color: @gray-2;
        }
    }
    &__links {
        margin-bottom: 93px;
    }
    &__link {
        transition: background .3s;
        a {
            padding: 12px 20px;
            display: flex;
            align-items: center;
            color: @gray-2;
        }
        svg {
            width: 24px;
            height: 24px;
            margin-right: 11px;

            fill: @text-2;
        }
        span {
            line-height: 1.2;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        &:hover {
            background: @text;
            span {
                //font-weight: 500;
            }
        }
    }
    &__support {
        margin-bottom: 15px;
    }
    &__contacts {
        margin-bottom: 55px;
    }
    &__pictures {
        display: flex;
        justify-content: space-between;
    }
    &__content {
        min-width: 210px;
        max-width: 210px;
        padding: 28px 0;
        background-color: @main;
        z-index: 5;
        height: 100%;
    }
    &__close {
        position: absolute;
        width: 58px;
        height: 58px;
        right: -58px;
        top: 0;
        background-color: @main;
        display: none;
        &:before, &:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
            width: 13px;
            height: 2px;
            background-color: @white;
        }
        &:after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }
    }
    @media (max-width: 1279px) {
        &__content {
            overflow: auto;
            max-height: 100vh;
            position: relative;
        }
        &__close {
            display: block;
            right: 0;
            z-index: 3;
        }
    }
}

/* support */
.support {
    &__title {
        color: @white;
        margin-bottom: 5px;
    }
    &__name {
        color: @white;
        margin-bottom: 5px;
    }
    &__support {
        color: @gray;
    }
}

/* contacts */
.contacts {
    &__mail, &__phone {
        color: @white;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    &__chat .btn {
        padding: 5px 11px;
    }
    svg {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }
}

/* header */
.header {
    &__container {
        padding: 21px 22px;
        background-color: @gray-2;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    svg {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
    &__content {
        display: flex;
        align-items: center;
    }
    &__user, &__logout {
        a {
            display: flex;
            align-items: center;
            margin-left: 46px;
            color: @text;
        }
    }
    &__menuButton {
        display: none;
        width: 58px;
        height: 58px;
        background-color: @main;
        div {
            width: 18px;
            height: 12px;
            position: relative;
            &:after, &:before {
                content: '';
                position: absolute;
                top: 0;
                width: 100%;
                height: 2px;
                background-color: @white;
                transition: .3s;
            }
            span {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 100%;
                display: block;
                background-color: @white;
                height: 2px;
                opacity: 1;
                transition: .3s;
            }
            &:after {
                top: auto;
                bottom: 0;
            }
        }
        &.active {
            span {
                opacity: 0;
            }
            div {
                &:after {
                    top: 50%;
                    transform: translateY(-50%) rotate(45deg);
                }
                &:before {
                    top: 50%;
                    transform: translateY(-50%) rotate(-45deg);
                }
            }

        }
    }
    &__title {
        display: flex;
        align-items: center;
    }
    @media (max-width: 1279px) {
        display: flex;
        align-items: center;
        width: 100%;
        &__container {
            width: calc(100% - 58px);
            padding: 15px 20px;
        }
        &__menuButton {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            min-width: 58px;
        }
    }
    @media (max-width: 767px) {
        flex-wrap: wrap;
        &__container {
            padding: 10px 15px;
            height: 58px;
        }
        &__user, &__logout {
            a {
                margin-left: 20px;
                font-size: 13px;
            }
        }
        &__user a {
            margin-left: 0;
        }
        &__title-mobile {
            padding: 10px 15px;
            font-weight: 500;
        }

    }
}

/* footer */
.footer {
    padding: 20px;
    &__text {
        margin-bottom: 20px;
    }
    &__email {
        font-size: 24px;
        line-height: 1;
        font-weight: 500;
    }
    &__content {
        margin-bottom: 50px;
    }
    @media (max-width: 767px) {
        &__copyright {
            font-size: 13px;
        }
    }
}

/*client*/
.client {
    &__title {
        margin-bottom: 45px;
        h1 {
            margin-bottom: 15px;
        }
    }
    &__contractor {
        margin-bottom: 45px;
    }
    &__restoreEmail {
        margin-bottom: 45px;
    }
}

/* contractor */
.contractor {
    &__title {
        margin-bottom: 25px;
    }
    &__stock {
        margin-bottom: 25px;
    }
    &__list {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    &__item {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    &__content {
        width: 328px;
        padding: 30px 44px;
        border: 1px solid @gray;
        background: @gray-2;
        position: relative;
        cursor: pointer;
        transition: .3s;
        &:hover {
            border: 1px solid @primary;
            background: @primary-200;
            .contractor__radio {
                border: 2px solid @primary;
            }
        }
        &.active {
            border: 1px solid @primary;
            background: @primary-200;
            .contractor__radio {
                border: 2px solid @primary;
                &:before {
                    background-color: @primary;
                }
            }
        }
    }
    &__name {
        margin-bottom: 20px;
    }
    &__contacts {
        display: flex;
        flex-direction: column;
    }
    &__contacts:not(:last-of-type) {
        margin-bottom: 20px;
    }
    &__radio {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 2px solid @gray;
        position: absolute;
        top: 33px;
        left: 13px;
        transition: .3s;
        &:before {
            content: '';
            position: absolute;
            width: 10px;
            height: 10px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background-color: transparent;
            transition: .3s;
        }
    }
    @media (max-width: 1279px) {
        &__item {
            width: 50%;
        }
        &__content {
            width: 100%;
        }
    }
    @media (max-width: 767px) {
        &__item {
            width: 100%;
        }
    }
}

/* emailBlock */
.emailBlock {
    &__title {
        margin-bottom: 25px;
    }
    &__radio {
        margin-bottom: 10px;
    }
}

/* manager */
.manager {
    &__title {
        margin-bottom: 25px;
    }
    &__name {
        margin-bottom: 15px;
        h1 {
            margin-bottom: 5px;
        }
    }
    &__list {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    &__item {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    &__content {
        width: 241px;
        padding: 30px 25px;
        background-color: @gray-2;
        border: 1px solid @gray;
    }
    &__group {
        color: @text-2;
    }
    &__contacts {
        .contacts span {
            color: @text;
        }
        .btn {
            width: 100%;
        }
    }
    @media (max-width: 1279px) {
        &__item {
            width: 50%;
        }
        &__content {
            width: 100%;
        }
    }
    @media (max-width: 767px) {
        &__item {
            width: 100%;
        }
    }
}

/* stock */
.stock {
    &__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
        flex-wrap: wrap;
        h1 {
            margin-right: 15px;
        }
        a {
            text-transform: uppercase;
            border-bottom: 1px dashed @primary;

        }
    }
    &__stockTable {
        margin-bottom: 45px;
        .table {
            margin-bottom: 20px;
            width: 100%;
        }
        .td-mobile-name {
            b {
                background-color: #ccefd9;
            }
        }
    }
    &__preOrder {
        margin-bottom: 45px;
        .emailBlock {
            margin-bottom: 45px;
        }
        .table__title {
            background-color: @gray-2;
        }
    }
    &__preOrder-summ {
        margin-top: 25px;
        text-align: right;
    }
    &__buyer {
        max-width: 331px;
        margin-bottom: 45px;
    }
    &__buyer-title {
        color: @main;
        margin-bottom: 8px;
    }
    &__form {
        .form__content {
            max-width: 331px;
            margin-bottom: 45px;
        }
    }
    &__form-title {
        margin-bottom: 30px;
    }
    &__payment {
        .emailBlock {
            margin-bottom: 36px;
        }
        &-buttons {
            display: flex;
            .btn:not(:last-child) {
                margin-right: 20px !important;
            }
        }
    }
    &__search {
        display: flex;
        margin: 0 -10px 20px;
        align-items: flex-end;
        &-select {
            width: 25%;
            padding: 0 10px;
        }
        &-input {
            width: 50%;
            padding: 0 10px;
        }
        &-filter {
            display: none;
        }
    }
    &__filter {
        margin-bottom: 45px;
        &-title {
            font-weight: 500;
            margin-bottom: 20px;
        }
    }


    @media (max-width: 1279px) {
        &__preOrder-summ {
            margin-top: 15px;
            text-align: left;
        }
        &__search {
            &-filter {
                display: inline-block;
                width: 126px;
                padding: 0 10px;
                white-space: nowrap;
                .btn {
                    font-size: 14px;
                    padding: 5px 11px;
                    display: flex;
                    align-items: center;
                }
                svg {
                    width: 20px;
                    height: 18px;
                    margin-right: 5px;
                }
            }
            &-input {
                width: 33.33%;
            }
        }
        &__filter {
            margin-bottom: 35px;
            &-title {
                display: none;
            }
        }
    }
    @media (max-width: 767px) {
        &__title {
            flex-direction: column;
            align-items: baseline;
            justify-content: flex-start;
            h1 {
                margin-bottom: 15px;
            }
            a {
                font-size: 14px;
            }
        }
        &__form {
            .form__content {
                max-width: 100%;
            }
        }
        &__buyer {
            max-width: 100%;
        }
        &__payment {
            &-buttons {
                flex-wrap: wrap;
                align-items: baseline;
                .btn:not(:last-child) {
                    margin-bottom: 10px !important;
                }
                .btn {
                    white-space: nowrap;
                }
            }
        }
        &__search {
            flex-wrap: wrap;
            margin-bottom: 35px;
            &-select {
                width: 50%;
                margin-bottom: 20px;
            }
            &-input {
                width: calc(100% - 126px);
            }
        }
    }
}

/* pagination */
.pagination {
    &__content {
        display: flex;
        align-items: center;
    }
    &__arrows {
        display: flex;
        &_left {
            a {
                transform: scale(-1,1);
            }
        }
        a {
            margin-right: 5px;
            width: 24px;
            height: 24px;
        }
        svg {
            width: 24px;
            height: 24px;
        }
    }
    &__block {
        display: flex;
    }
    &__item {
        margin-right: 5px;
        width: 24px;
        height: 24px;
        border-radius: 5px;
        border: 1px solid @gray;
        display: flex;
        align-items: center;
        justify-content: center;
        color: @main;
        transition: .3s;
        font-size: 14px;
        font-weight: 500;
        &:hover, &.active {
            border: 1px solid @primary;
            color: @primary;
        }
    }
}

/* form */
.form {
    &__input {
        margin-bottom: 20px;
        position: relative;
        &.viewErrorMessage {
            .form__error {
                display: block;
            }
        }
        label {
            position: absolute;
            top: 7px;
            left: 8px;
            font-size: 14px;
        }
        &_password {
            position: relative;
            .input {
                padding-right: 32px;
            }
            .form__icon {
                position: absolute;
                background-image: url("/img/icon-visible-on.svg");
                right: 8px;
                top: 50%;
                transform: translateY(-50%);
                cursor: pointer;
                &.off {
                    background-image: url("/img/icon-visible-off.svg");
                }
            }
        }
        &_date {
            //&:before {
            //    content: '';
            //    display: inline-block;
            //    font-size: 14px;
            //    color: @text-2;
            //    position: absolute;
            //    top: 8px;
            //    left: 8px;
            //}
            //&-from {
            //    .input {
            //        padding-left: 16px;
            //    }
            //    &:before {
            //        content: 'с';
            //    }
            //}
            //&-to {
            //    .input {
            //        padding-left: 24px;
            //    }
            //    &:before {
            //        content: 'по';
            //        left: 16px;
            //    }
            //}
        }
        &-title {
            font-weight: 500;
            color: @main;
            margin-bottom: 8px;
        }
    }
    &__error {
        display: none;
        font-size: 12px;
        line-height: 1.2;
        color: @error;
        margin-top: 8px;
    }
    &__info {
        font-size: 13px;
        line-height: 1.2;
        color: @text-2;
    }
    &__icon {
        width: 24px;
        height: 24px;
    }
    &__block {
        display: flex;
        margin: 0 -10px;
        .form__input {
            padding: 0 10px;
            width: 100%;
        }
    }
    &__dragNDrop {
        margin-bottom: 30px;
        &-title {
            font-weight: 500;
            margin-bottom: 15px;
        }
    }
}

/* search */
.search {
    display: flex;
    .input {
        border-radius: 2px 0 0 2px;
        border-right: 0;
    }
    svg {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }
    .btn {
        display: flex;
        align-items: center;
        max-width: 101px;
        width: 100%;
        height: 32px;
    }
    @media (max-width: 1279px) {
        .btn {
            width: 32px;
            padding: 7px;
            span {
                display: none;
            }

        }
    }
}

/* filter */
.filter {
    &__list {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    &__item {
        padding: 0 10px;
        margin-bottom: 20px;
        width: 25%;
    }
    &__cancel {
        a {
            text-transform: uppercase;
            border-bottom: 1px dashed @primary;
        }
    }
    @media (max-width: 1279px) {
        display: none;
    }
}

/* filterMobile */
.filterMobile {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    background: #fff;
    height: 100%;
    z-index: 10;
    transition: .3s;
    &__close {
        position: absolute;
        width: 58px;
        height: 58px;
        left: 0;
        top: 0;
        background-color: @main;
        z-index: 2;
        //display: none;
        &:before, &:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
            width: 13px;
            height: 2px;
            background-color: @white;
        }
        &:after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }
    }
    &__content {
        width: 268px;
        height: 100%;
        max-height: 100%;
        z-index: 3;
        position: relative;
        background-color: @white;
        overflow-x: hidden;
        overflow-y: auto;
    }
    &__form {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    &__top {
        padding: 18px 15px 18px 20px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        border-bottom: 1px solid @gray;
        span {
            font-weight: 500;
            color: @main;
        }
        a {
            text-transform: uppercase;
            border-bottom: 1px dashed @primary;
        }
    }
    &__item {
        border-bottom: 1px solid @gray;
        &-title {
            padding: 12px 18px 12px 28px;
            font-weight: 500;
            position: relative;
            cursor: pointer;
            transition: .3s;
            &:before {
                content: '';
                background-image: url("/img/icon-select-arrow.svg");
                width: 8px;
                height: 6px;
                position: absolute;
                right: 18px;
                top: 20px;
            }
        }
        &-info {
            height: 0;
            overflow: hidden;
            transition: .3s;
            .checkboxCustom {
                padding: 7px 18px;
            }
        }
        &.active {
            padding-bottom: 10px;
            .filterMobile__item-title {
                &:before {
                    transform: rotate(180deg);
                }

            }
        }
    }
    &__bottom {
        padding: 20px;
        .btn {
            width: 100%;
        }
    }
    &.active {
        right: 0;
        .filterMobile__close {
            left: -58px;
            transition: .3s;
            transition-delay: .3s;
        }
    }
    @media (max-width: 1279px) {

    }
}

/* auth */
.auth {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    &__content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    &__bg {
        background-color: #191c2f;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: -1;
        &:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-image: url(/img/auth-bg-ap.webp);
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.4;
            background-size: cover;
        }
    }
    &__logos {
        display: flex;
        justify-content: center;
        padding: 0;
    }
    &__logo {
        height: 80px;
    }
    &__form {
        max-width: 360px;
        width: 100%;
        margin: 45px auto 90px;
        padding: 25px;
        background: rgba(25, 28, 47, .5);
        border-radius: 5px;
        h1 {
            color: @white;
            margin-bottom: 30px;
        }
        .form__bottom {
            display: flex;
            color: @gray-1;
            margin-bottom: 20px;
            span {
                margin-right: 15px;
            }
            a {
                border-bottom: 1px dashed;
            }
        }
    }
    &__bottom {
        padding: 25px 15px 25px;
        background-color: @main;
        &-content {
            max-width: 450px;
            margin: 0 auto 29px;
            color: @white;
            text-align: center;
            h1 {
                color: @white;
                margin-bottom: 15px;
            }
            span {
                display: block;
                margin-bottom: 15px;
            }

        }
    }
    &__copyright {
        color: @text-2;
        padding: 0 15px;
        text-align: center;
    }
    @media (max-width: 1279px) {
        &__bg {
            &:before {
                background-position: top;
            }
        }
        &__form {
            margin: 190px auto;
            max-width: 390px;
        }
        &__logos {
            padding-top: 40px;
        }
        &__bottom {
            padding-top: 70px;
        }
        &__content {
            justify-content: space-between;
        }
    }
    @media (max-width: 767px) {
        &__bg {
            &:before {
                background-position: center;
            }
        }
        &__form {
            margin: 120px auto 80px;
            h1 {
                text-align: center;
            }
            .form {
                text-align: center;
            }
            .form__bottom {
                justify-content: center;
            }
        }
        &__bottom {
            padding: 48px 15px 10px;
            &-content {
                margin-bottom: 72px;
            }
        }
    }
}

/* tooltip */
.tooltipCustom {
    position: absolute;
    &.active {
        .tooltipCustom__text {
            display: block;
        }
    }
    &.up {
        .tooltipCustom__text {
            top: auto;
            right: -12px;
            bottom: calc(100% + 6px);
            left: auto;
            transform: none;
            &:before {
                left: auto;
                bottom: -4px;
                transform: rotate(45deg);
                top: auto;
                right: 20px;
            }
        }
    }
    &__icon {
        cursor: pointer;
        height: 20px;
        width: 20px;
        &:hover {
            opacity: .7;
        }
        svg {
            width: 24px;
            height: 24px;
            fill: #4BB059;
        }
    }
    &__text {
        position: fixed;
        max-width: 280px;
        min-width: 280px;
        font-size: 13px;
        line-height: 19px;
        color: #333;
        left: -15px;
        top: calc(100% + 4px);
        background: @gray-2;
        padding: 7px 16px;
        display: none;
        z-index: 1;
        border-radius: 5px;
        box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
        filter: drop-shadow(0px 6px 16px rgba(0, 0, 0, 0.08));
        &:before {
            content: '';
            width: 16px;
            height: 16px;
            background: @gray-2;
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
        }
        &.active {
            display: inline-block;
        }
        &.left {
            &:before {
                left: auto;
                right: -8px;
            }
        }
        &.top {
            &:before {
                top: 25px;
                transform: rotate(45deg);
            }
        }
    }
}

/* tooltipMini */
.tooltipMini {
    position: relative;
    &__text {
        position: absolute;
        background: #F8F8F9;
        border-radius: 5px;
        padding: 7px 16px;
        box-shadow: 0px 3px 6px -4px rgb(0 0 0 / 12%), 0px 9px 28px 8px rgb(0 0 0 / 5%);
        filter: drop-shadow(0px 6px 16px rgba(0, 0, 0, 0.08));
        font-size: 13px;
        color: #44506B;
        text-align: left;
        opacity: 0;
        pointer-events: none;
        left: 50%;
        transform: translateX(-50%);
        transition: .3s;
        &:before {
            content: '';
            width: 16px;
            height: 12px;
            position: absolute;
            bottom: -12px;
            background-image: url('/img/arrow.svg');
            left: 50%;
            transform: translateX(-50%);
        }
    }
    &.active {
        .tooltipMini__text {
            opacity: 1;
        }
    }
}

/* orders */
.orders {
    &__table {
        margin-bottom: 48px;
        &-title {
            margin-bottom: 22px;
        }
    }
    &__info {
        margin-bottom: 30px;
        &-title {
            margin-bottom: 25px;
        }
        &-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 20px;
        }
        &-item {
            &:not(:last-of-type) {
                margin-bottom: 10px;
            }
        }
        &-sum {
            text-align: right;
        }
        .table {
            margin-bottom: 20px;
        }
    }
    &__filter {
        //max-width: 1030px;
        display: flex;
        margin: 0 -10px 40px;
        align-items: flex-end;
        flex-wrap: wrap;
        &-title {
            width: 100%;
            margin-bottom: 8px;
        }
        &-period {
            display: flex;
            flex-wrap: wrap;
            padding: 0 10px;
            width: 22%;
            justify-content: space-between;
            .form__input {
                width: calc( 50% - 8px );
                margin-bottom: 0;

                &_date-from {
                    margin-right: 5px;
                }

                &_date-to {
                    margin-left: 5px;
                }
            }
        }
        &-input {
            width: 12%;
            padding: 0 10px;
        }
        &-select {
            width: 15%;
            padding: 0 10px;
        }
        &-button {
            //width: 25%;
            width: 200px;
            padding: 0 10px;
            .btn {
                width: 100%;
            }
        }
    }
    @media (max-width: 1279px) {
        &__filter {
            &-period {
                width: 33.33%;
                margin-bottom: 20px;
            }
            &-input {
                margin-bottom: 20px;
            }
            &-select {
                width: 25%;
                margin-bottom: 20px;
            }
            &-button {
                width: 33.33%;
                margin-bottom: 20px;
            }
        }
        &__info-sum {
            text-align: left;
        }
    }
    @media (max-width: 767px) {
        &__filter {
            &-period {
                width: 100%;
            }
            &-input {
                width: 100%;
            }
            &-select {
                width: 50%;
            }
            &-button {
                width: 100%;
            }
        }
        &__info {
            &-table {
                .table__item {
                    padding-right: 20px;
                    &:nth-child(2n) {
                        background-color: @gray-2;
                    }
                }
            }
            &-content {
                flex-direction: column;
                align-items: flex-start;
            }
            &-item {
                b {
                    display: inline-block;
                }
            }
            &-list {
                margin-bottom: 25px;
            }
        }

    }
}

/* file */
.file {
    &__content {
        display: flex;
        align-items: center;
    }
    &__img {
        margin-right: 10px;
        svg {
            width: 40px;
            min-width: 40px;
            height: 40px;
        }
    }
    &__title {
        margin-bottom: 5px;
        span {
            color: @text-2;
            font-size: 13px;
        }
        .unseen {
            color: #57c44b;
        }
    }
    &__link {
        a {
            font-weight: 500;
            text-transform: uppercase;
            border-bottom: 1px dashed @primary;
            color: @primary;
        }
    }
}

/* status */
.status {
    font-size: 13px;
    padding: 1px 5px;
    background: @primary-200;
    border: 1px solid @primary;
    width: auto;
    display: inline-block;
    &.waiting {
        background: #FDEFCF;
        border: 1px solid #FAC402;
    }
    &.success {
        background: #CCEFD9;
        border: 1px solid #00AD42;
    }
    &.fail {
        background: #FCD6D6;
        border: 1px solid #F03031;
    }
}

/* claims */
.claims {
    &__file {
        margin-bottom: 35px;
    }
    &__filter {
        display: flex;
        margin: 0 -10px 40px;
        flex-wrap: wrap;
        align-items: flex-end;
        max-width: 1030px;
        width: 100%;
        &-period {
            padding: 0 10px;
            display: flex;
            flex-wrap: wrap;
            width: 25%;
            margin-bottom: 20px;
            .form__input {
                width: 50%;
                margin-bottom: 0;
                &:first-of-type {
                    padding-right: 10px;
                }
                &:last-of-type {
                    padding-left: 10px;
                }
            }
        }
        &-title {
            width: 100%;
            margin-bottom: 8px;
        }
        &-select, &-input {
            width: 12.66%;
            padding: 0 10px;
            margin-bottom: 20px;
        }
        &-buttons {
            width: 41.66%;
            padding: 0 10px;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-end;
        }
        &-button {
            width: auto;
            .btn {
                width: 100%;
                white-space: nowrap;
            }
            &:first-of-type {
                padding-right: 10px;
            }
            &:last-of-type {
                padding-left: 10px;
            }
        }
    }
    &__table {
        margin-bottom: 45px;
        .table td {
            vertical-align: middle;
        }
    }
    @media (max-width: 1279px) {
        &__file {
            margin-bottom: 48px;
        }
        &__filter {
            &-period {
                width: 33.33%;
            }
            &-select {
                width: 41.66%;
            }
            &-input {
                width: 25%;
            }
            &-buttons {
                width: 58.33%;
            }
        }
        &__table {
            .table {
                span {
                    white-space: normal;
                }
            }
        }
    }
    @media (max-width: 767px) {
        &__table {
            .table__item {
                padding-bottom: 0;
                padding-right: 25px;
            }
        }
        &__file {
            margin-bottom: 33px;
        }
        &__filter {
            margin: 0 -10px 20px;
            width: auto;
            &-period, &-select, &-input, &-buttons {
                width: 100%;
            }
            &-button {
                width: 100%;
                &:first-of-type {
                    margin-bottom: 10px;
                }
                &:last-of-type, &:first-of-type {
                    padding: 0;
                }
            }
            &-buttons {
                flex-wrap: wrap;
                .btn {
                    width: 100%;
                }
            }
        }
    }

    &-create {
        &__info {
            display: flex;
            margin: 0 -8px 20px;
            span {
                display: block;
                width: 83.33%;
                padding: 0 8px;
            }
            a {
                width: 16.66%;
                text-transform: uppercase;
                border-bottom: 1px dashed;
                font-size: 14px;
                white-space: nowrap;
            }
        }
        &__link {
            padding: 0 8px;
        }
        &__search {
            max-width: 330px;
            margin-bottom: 40px;
            p {
                font-weight: 500;
                margin-bottom: 8px;
            }
        }
        &__table {
            h1 {
                margin-bottom: 25px;
            }
            .table {
                margin-bottom: 10px;
            }
            .table__content {
                min-width: auto;
            }
        }
        @media (max-width: 767px) {
            &__info {
                flex-direction: column-reverse;
            }
            &__link {
                margin-bottom: 30px;
            }
        }
    }
    &-claim {
        &__table {
            margin-bottom: 57px;
            h1 {
                margin-bottom: 26px;
            }
            .table__content {
                min-width: auto;
            }
            .table td {
                padding: 10px 5px;
            }
        }
        &__form {
            max-width: 505px;
            .form__input {
                margin-bottom: 30px;
            }
            .form__checkboxes {
                margin-bottom: 30px;
                .checkboxCustom:not(:last-of-type) {
                    margin-bottom: 12px;
                }
            }
        }
        &__form-contact {
            h2 {
                margin-bottom: 30px;
            }
            .form__block {
                .form__input label {
                    left: 18px;
                }
            }
        }
    }
}

/* claim */
.claim {
    &__title {
        margin-bottom: 25px;
    }
    &__info {
        padding: 20px 0;
        border-top: 1px solid @gray;
        border-bottom: 1px solid @gray;
        display: flex;
        margin: 0 -10px 20px;
        span:not(:last-of-type) {
            margin-bottom: 10px;
        }
        &-detail {
            padding: 0 10px;
            display: flex;
            flex-direction: column;
            width: 50%;
        }
        &-count {
            padding: 0 10px;
            display: flex;
            flex-direction: column;
            width: 16.66%;
        }
        &-addition {
            padding: 0 10px;
            width: 33.33%;
            display: flex;
            flex-direction: column;
        }
    }
    &__file {
        margin-bottom: 25px;
        a {
            text-decoration: underline;
        }
    }
    &__result {
        padding: 30px 20px;
        background: @gray-2;
        margin-bottom: 60px;
        &-info {
            margin-bottom: 25px;
        }
        h3 {
            margin-bottom: 15px;
        }
    }
    @media (max-width: 1279px) {
        &__info {
            flex-direction: column;
            margin: 0 0 20px;
            &-detail, &-count {
                margin-bottom: 10px;
            }
            &-detail, &-count, &-addition {
                width: 100%;
                padding: 0;
            }
        }
        &__result {
            margin-bottom: 20px;
        }
    }
}

/* documents */
.documents {
    &__title {
        margin-bottom: 45px;
        h2 {
            margin-bottom: 15px;
        }
    }
    &__groups {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    &__group {
        width: 50%;
        padding: 0 10px;
        margin-bottom: 20px;
        &-content {
            background: @gray-2;
            border: 1px solid @gray;
            display: flex;
            align-items: center;
            padding: 20px;
            a {
                color: @title;
                font-size: 17px;
                border-bottom: 1px dashed;
                font-weight: 500;
                margin-right: 20px;
            }
            .notification {
                color: #fff;
            }
        }
    }
    &__list {
        margin: 0 -10px;
        display: flex;
        flex-wrap: wrap;
        .file__content {
            align-items: flex-start;
        }
    }
    &__item {
        width: 50%;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    &__block {
        margin-bottom: 45px;
        &-title {
            margin-bottom: 35px;
        }
        .documents__item {
            width: 25%;
        }
    }
    @media (max-width: 1279px) {
        &__group {
            width: 100%;
        }
    }
    @media (max-width: 767px) {
        &__item {
            width: 100%;
        }
        &__block {
            .documents__item {
                width: 50%;
            }
        }
    }

}

/* news */
.news {
    &__title {
        margin-bottom: 45px;
        h2 {
            margin-bottom: 15px;
        }
    }
    &__groups {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    &__group {
        width: 50%;
        padding: 0 10px;
        margin-bottom: 20px;
        &-content {
            background: @gray-2;
            border: 1px solid @gray;
            display: flex;
            align-items: center;
            padding: 20px;
            a {
                color: @title;
                font-size: 17px;
                border-bottom: 1px dashed;
                font-weight: 500;
                margin-right: 20px;
            }
            .notification {
                color: #fff;
            }
        }
    }
    &__list {
        margin: 0 -10px;
        display: flex;
        flex-wrap: wrap;
        .file__content {
            align-items: flex-start;
        }
    }
    &__item {
        width: 25%;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    &__block {
        margin-bottom: 45px;
        &-title {
            margin-bottom: 35px;
        }
        .news__item {
            width: 25%;
        }
    }
    @media (max-width: 1279px) {
        &__group {
            width: 100%;
        }
    }
    @media (max-width: 767px) {
        &__item {
            width: 100%;
        }
        &__block {
            .news__item {
                width: 50%;
            }
        }
    }

}

//TODO разнести по файлам
.cart-desktop-widget {
    margin-bottom: 45px;
}
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.btn-cancel {
    margin-top: 20px;
}

.table_order-list {
    td:last-of-type {
        vertical-align: middle;
        text-align: center;
    }
    .tooltipCustom {
        position: unset;
        text-align: left;
    }
}

#change-delivery {
    display: flex;
    margin: 50px 0;
    width: 300px;
    display: none;

    form {
        width: 100%;
    }

    .form__input {
        margin-bottom: 0;
    }

    .mt-2 {
        margin-top: 20px;
    }

    .info {
        padding: 10px 15px;
        background-color: #F8F8F9;
        border: 1px solid #CCD3DB;
        font-size: 10px;
    }
}

#request-download-delivery {
    margin: 50px 0;
    width: 300px;
    display: none;
    float: right;
}
.request-download-delivery-item-text {
}
.request-download-delivery-item-input {
    display: none;
    background: #9BA0DC !important;
}

#cartForm {

    .help-block {
        font-size: 13px;
        line-height: 1.2;
        color: #667A94;
        margin-top: 5px;
    }

    .help-block.help-block-error {
        color: red;
    }

    .customSelect {
        margin-bottom: 20px;
    }

    .choices {
        margin: 0;
    }

    textarea {
        font-family: 'Roboto', sans-serif;
    }

    .has-error {
        .choices {
            .choices__inner {
                border-color: red;
            }
        }
        input {
            border-color: red;
        }
    }
}

.hide-prices {
    padding-bottom: 20px;
    a {
        text-transform: uppercase;
        border-bottom: 1px dashed @primary;
    }
}

.is-price-invisible {
    display: none;
}

.prod-list-widget {
    span.label {
        display: none;
    }
    .prod-list-widget__header-note {
        float: right;
        margin-top: -1.5em;
    }
    @media (max-width: 767px) {
        .prod-list-widget__header-note {
            display: block;
            margin: 0;
            float: none;
        }
        .table {
            &__content {
                width: 100%;
                min-width: 10px;
            }
            thead {
                display: none;
            }
            tr {
                border-top: 1px solid #CCD3DB;
                padding: 0 0 20px 0;
                display: block;
                td {
                    background-color: #FFF;
                    border: none;
                    display: flex;
                    padding: 12px 0 0 0;
                    span {

                    }
                    span.label {
                        position: absolute;
                        font-size: 11px;
                        line-height: 120%;
                        color: #667A94;
                        display: block;
                        margin-top: -16px;
                        text-transform: capitalize;
                    }
                }
                .td-mobile-label {
                    margin-top: 16px;
                    padding: 16px 0 0 0;
                }
                .td-mobile-brand {}
                .td-mobile-name {}
                .td-mobile-price {}
                .table__count {
                    span {
                        border-bottom: none;
                    }
                }
                .td-order-link {
                    .cart-add-widget {
                        display: block;
                    }
                    a {
                        display: block;
                        margin: 20px 0 0 0;
                    }
                }
            }
        }
    }
}

.cart-desktop-widget {
    @media (max-width: 767px) {
        .table {
            border: 1px solid blue;
            &__content {
                width: 100%;
                min-width: 10px;
            }
            thead {
                display: none;
            }
            td {
                display: flex;
            }
        }
    }
}

td.currency {
    white-space: nowrap;
}

.order-list-widget {
    span.label {
        display: none;
    }
    span.number-order-unread {
        display: inline-block;
        float: right;
        height: 0.5rem;
        width: 0.5rem;
        margin: 0.4em 0.5em 0 0;
        -webkit-border-radius: 1em;
        border-radius: 1em;
        background-color: #f03031;
    }
    span.order-status {
        border: 1px solid;
        padding: 3px 5px;
    }

    span.status-saved {
        background: #e5f1fa;
        border-color: #52a2dc;
    }
    span.status-new {
        background: #fdede1;
        border-color: #f08633;
    }
    span.status-wait {
        background: #fdefcf;
        border-color: #fac402;
    }
    span.status-partial-done {
        background: #fdefcf;
        border-color: #fac402;
    }
    span.status-ready-to-ship {
        background: #ccefd9;
        border-color: #00ad42;
    }
    span.status-done {
        background: #e6e9ee;
        border-color: #667a94;
    }
    span.status-cancel {
        background: #fcd6d6;
        border-color: #f03031;
    }
    span.status-special {
        background: #e1e3f5;
        border-color: #9ba0dc;
    }

    .status-ship-not-done {
        color: #f03031;
    }
    .status-ship-process {
        color: #f7b110;
    }
    .status-ship-done {
        color: #00ad42;
    }
    @media (max-width: 767px) {
        .table {
            &__content {
                width: 100%;
                min-width: 10px;
            }
            thead {
                display: none;
            }
            tr {
                border-top: 1px solid #CCD3DB;
                padding: 0 0 20px 0;
                display: block;
                td {
                    background-color: #FFF;
                    border: none;
                    display: flex;
                    padding: 12px 0 0 0;
                    span.label {
                        position: absolute;
                        font-size: 11px;
                        line-height: 120%;
                        color: #667A94;
                        display: block;
                        margin-top: -16px;
                        text-transform: capitalize;
                    }
                }
                .td-mobile-label {
                    margin-top: 16px;
                    padding: 16px 0 0 0;
                }
                .td-mobile-label-block {
                    display: block;
                }
                .td-mobile-brand {}
                .td-mobile-name {}
                .td-mobile-datetime {
                    span.table__date {
                        color: #000;
                    }
                    span.table__time {
                        color: #667a94;
                        margin-left: 10px;
                    }
                }
                .td-mobile-price {
                    display: inline-block;
                    text-align: left;
                    width: 50%;
                }
                .td-mobile-paid {
                    display: inline-block;
                    text-align: left;
                    width: 50%;
                }
                .table__count {
                    span {
                        border-bottom: none;
                    }
                }
                .td-order-link {
                    .cart-add-widget {
                        display: block;
                    }
                    a {
                        display: block;
                        margin: 20px 0 0 0;
                    }
                }
            }
        }
    }
}

.seller__form {
    .help-block {
        font-size: 13px;
        line-height: 1.2;
        color: #667A94;
        margin-top: 5px;
    }

    .add-seller-form-delimiter {
        border-top: 1px solid #CCD3DB;
        padding-top: 1.5em;
        margin-top: 1.5em;
    }

    .seller-permission {
        padding-bottom: 2em;
    }
}

.div-sellersettings-users {
    margin-left: 6em;
}
