.table__edit {
    display: flex;
}

.d-flex {
    display: flex;
}

.form-control {
    width: 100%;
}

.table__icon-edit, .table__icon-download {
    margin-right: 5px;
}

.pagination__link {
    text-decoration: none;
}

.js-edit, .js-save {
    background: none;
    border: none;
    color: #0070F4;
    font-size: inherit;
    padding: 0;
}

.js-delete {
    background: none;
    border: none;
    color: #fff;
    font-size: inherit;
    padding: 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    outline: none;
}

.js-edit, .table__download a {
    background: none;
    border: none;
    color: #0070F4;
    font-size: inherit;
    text-decoration: none;
}

.edit-wrap {
    min-width: 165px;
}

.table-wrap {
    overflow-x: auto;
}

.table-wrap .conf-list {
    display: table; /* check so these really applies */
    width: 100%;
}
/* Верстка админки */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}



@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
}


@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-Bold.ttf") format("truetype");
    font-weight: 700;
}


@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"), url("../fonts/OpenSans/OpenSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Thin.ttf") format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-ExtraLight.ttf") format("truetype");
    font-weight: 200;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Regular.ttf") format("truetype");
    font-weight: 400;
}


@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Bold.ttf") format("truetype");
    font-weight: 700;
}


@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-ExtraBold.ttf") format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Inter";
    src: local("Inter"), url("../fonts/Inter/Inter-Black.ttf") format("truetype");
    font-weight: 900;
}

.text {
    margin: 0;
    padding: 0;
    text-decoration: none; }
.text--uppercase {
    text-transform: uppercase; }
.text--type--12 {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; }
.text--type--14 {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px; }
.text--type--16 {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px; }
.text--type--20 {
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #000000; }
.text--type--bold-14 {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px; }
.text--type--bold-16 {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase; }
.text--type--bold-20 {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    text-transform: uppercase; }
.text--color--tertiary {
    color: #0070F4; }

.text--color--quaternary {
    color: #00BB4B; }
.button {
    padding: 10px 35px;
    background: #0070F4;
    border-radius: 32px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    border: 0;
    cursor: pointer;
    text-decoration: none; }
.button--disabled {
    background: #898989;
    cursor: not-allowed; }
html, body, h1, h2, h3, h4, p, ul, li {
    margin: 0;
    padding: 0;
}
li {
    display: block;
}
html, body, p, button, a, textarea, input {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}



.pagination {
    padding: 50px 0 74px; }

.delete-modal__title {
    text-align: center; }

.delete-modal__text {
    margin-top: 24px;
    max-width: 392px;
    text-align: center;
    text-transform: none; }

.delete-modal__submit {
    width: 100%;
    margin-top: 24px;
    display: block;
    padding: 16px;
    box-sizing: border-box; }

.delete-modal__back {
    width: 100%;
    margin-top: 16px;
    display: block;
    background-color: #898989;
    padding: 16px;
    box-sizing: border-box; }
.admin {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
.admin__menu {
    position: relative;
}
.admin__logout {
    position: absolute;
    bottom: 0;
    right: 30px;
    color: #000;
}
.admin__view {
    flex: 1 1;
}


.header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 15px 30px;
}
.header__logo {
    width: 122px;
    height: 56px;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-size: 100%;
}
.header__side {
    display: flex;
    align-items: center;
}
.header__contacts {
    display: flex;
    align-items: center;
}
.header__user {
    display: flex;
    align-items: center;
}
.header__icon {
    width: 19px;
    color: #0070F4;
    margin-right: 5px;
}
.header__text {
    color: #000;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.header__separator {
    margin: 0 43px 0 36px;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
}

.menu {
    display: flex;
    align-items: center;
}
.menu__item {
    flex: 1 1;
    padding-top: 16px;
    color: #000;
    cursor: pointer;
    position: relative;
}
.menu__item:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5ecff;
}
.menu__item--active:after {
    top: 0;
    background-color: #0070f4;
    height: 4px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination__prev {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-image: url('../icons/arrow-active.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
}
.pagination__prev.disabled {
    background-image: url('../icons/arrow.svg');
}
.pagination__next {
    display: block;
    margin-left: 15px;
    position: relative;
    width: 20px;
    height: 20px;
    background-image: url('../icons/arrow-active.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.pagination__next.disabled {
    background-image: url('../icons/arrow.svg');
}
.pagination__link {
    width: inherit;
    height: inherit;
    display: block;
    cursor: pointer;
    color: #000;
}
.pagination__page {
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-family: Inter, serif;
    font-weight: 500;
    text-transform: uppercase;
}
.pagination__page:not(:first-child) {
    margin-left: 14px;
}
.pagination__page.active {
    color: #0070f4;
}
.footer {
    background-color: #082840;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 40px 0 29px;
}
.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
}
.footer__link {
    color: #fff;
}
.copyright {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.address {
    max-width: 311px;
}
.address__row:not(:first-child) {
    margin-top: 15px;
}
.contacts__item {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.contacts__item:not(:first-child) {
    margin-top: 24px;
}
.contacts__icon {
    min-width: 18px;
    max-width: 18px;
    background-color: #00a0ff;
    padding: 15px;
    border-radius: 4px;
    color: #fff;
}
.contacts__text {
    margin-left: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-decoration: none;
    color: #fff;
}

.pagination__page.active a {
    color: #0070F4;
}

@media (max-width: 768px) {
    .footer {
        padding: 16px 12px 36px;
    }
    .footer__container {
        flex-direction: column;
    }
    .footer__link {
        position: absolute;
        top: 0;
        color: #fff;
    }
    .address {
        margin-top: 40px;
        order: 1;
    }
    .contacts {
        margin-top: 24px;
        order: 2;
    }
    .copyright {
        margin-top: 36px;
        order: 3;
    }
}

.conf_header {
    background-image: url("../images/orders_bg.png");
    padding-bottom: 35px;
}

.conf_header .admin__menu a {
    color: #fff;
}

.conf_header .header__side a {
    color: #fff;
}

/*Формы*/
.title {
    margin-top: 48px;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    text-align: center;
    text-transform: uppercase;
    color: #000;
}
.form {
    max-width: 310px;
    margin: 51px auto 51px;
}
.form__section:not(:first-child) {
    margin-top: 24px;
}
.form__input {
    margin-top: 12px;
}
.form__link {
    display: block;
    margin-top: 12px;
    text-decoration: none;
    color: #0070f4;
}
.form__button {
    width: 100%;
}
@media (max-width: 450px) {
    .title {
        font-size: 26px;
        line-height: 35px;
    }
    .form {
        margin-top: 24px;
    }
}

.input {
    padding: 16px;
    border: 1px solid #d1d4d8;
    border-radius: 4px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    outline: none;
    z-index: 0;
}
.input--disabled {
    border-color: #f1f1f1;
    color: #d1d4d8;
}
.input--required {
    border-color: #0070f4;
}

.title {
    margin-top: 48px;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    text-align: center;
    text-transform: uppercase;
    color: #000000; }

.table {
    margin-top: 26px;
    overflow: auto; }

.table__header {
    background: #0070F4;
    display: flex;
    padding: 18px 24px;}

.table__row {
    border-bottom: 1px solid #D9D9D9; }

.table__col {
    flex: 1 1; }
.table__col:not(:first-child) {
    margin-left: 20px; }
.table__col--size--xs {
    min-width: 65px;
    max-width: 65px; }
.table__col--size--s {
    min-width: 100px;
    max-width: 100px; }
.table__col--size--m {
    min-width: 154px;
    max-width: 154px; }
.table__col--size--l {
    min-width: 180px;
    max-width: 180px; }
.table__col--flex--center {
    display: flex;
    align-items: center; }

.table__title-wrapper {
    display: flex;
    align-items: center; }

.table__title {
    color: #fff;
    font-family: 'Inter',serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px; }

.table__sort-icon {
    width: 11px;
    margin-left: 6px;
    color: #fff; }

.table .table__input-wrapper, .table .table__title-wrapper {
    position: relative;
    padding: 0;
    background-color: initial;
    border: none;
    box-shadow: none;
}

.table__input {
    margin-top: 12px;
    height: 42px;
    width: 100%;
    padding-left: 35px;
    box-sizing: border-box; }

.table__loupe {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    margin-left: 11px;
    margin-top: -3px; }

.table__row {
    display: flex;
    align-items: center;
    padding: 28px 24px 39px; }

.table__copy {
    width: 16px;
    margin-right: 7px;
    cursor: pointer; }

.table__price {
    color: #00BB4B; }

.table__icon-edit {
    width: 15px;
    cursor: pointer; }

.table__icon-download {
    width: 18px;
    cursor: pointer; }

.table__icon-delete {
    width: 16px;
    cursor: pointer; }

.table__edit {
    color: #0070F4; }

.table__download {
    margin-top: 11px;
    color: #0070F4; }

.table__icon-delete {
    margin-left: 16px; }
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (min-width: 1024px) {
    .conf-table .table__col--size--m {
        min-width: 170px;
        max-width: 170px;
    }
}

.header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 9;
}
.header-mobile__logo {
    width: 62px;
    height: 28px;
    background-image: url("../images/logo-mobile.png");
    background-repeat: no-repeat;
    background-size: 100%;
}
.header-mobile__phone-link {
    display: flex;
    align-items: center;
}
.header-mobile__icons {
    display: flex;
    align-items: center;
}
.header-mobile__icon {
    width: 18px;
    padding: 15px;
    color: #000;
    cursor: pointer;
}
.header-mobile__menu {
    position: fixed;
    top: 48px;
    right: 0;
    height: calc(100% - 48px);
    background-color: #fff;
    box-sizing: border-box;
    padding: 24px 41px 56px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.header-mobile__menu.active {
    display: flex;
}
.header-mobile__menu-item {
    display: block;
    color: #000;
}
.header-mobile__menu-item:not(:first-child) {
    margin-top: 24px;
}
.header-mobile__menu-item a{
    color: #000;
    text-decoration: none;
}
.header-mobile__contacts-item {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.header-mobile__contacts-item:not(:first-child) {
    margin-top: 24px;
}
.header-mobile__contacts-icon {
    min-width: 18px;
    max-width: 18px;
    background-color: #00a0ff;
    padding: 15px;
    border-radius: 4px;
    color: #fff;
}
.header-mobile__contacts-text {
    margin-left: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-decoration: none;
    color: #000;
}
@media (min-width: 769px) {
    .admin__header-mobile{
        display: none;
    }
}
@media (max-width: 768px) {
    .admin__header, .conf_header {
        display: none;
    }
    .admin__menu {
        display: none;
    }

    .title {
        font-size: 38px;
    }
}

.header-mobile__menu-close {
    display: none;
}

.table-inner {
    min-width: fit-content;
}

.profile .form {
    max-width: 310px;
    margin: 50px 0;
}

.profile-saved {
    color: green;
    padding-bottom: 5px;
}

.form.import {
    margin: 63px 0;
    max-width: 100%;
}

.form.import .form__button {
    margin-top: 24px;
    width: 310px;
}

.form__button--color--secondary {
    background: #439D0B;
}

.form.import .form__text {
    max-width: 464px;
}

.empty-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 48px 0;
}

.empty-results-title {
    font-size: 68px;
    color: #C0C0C0;
    font-weight: 400;
    margin-bottom: 20px;
}

.modal__background, #preloaderContainer {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow: auto;
}
.modal__window {
    background: #FFFFFF;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 50px 80px;
    box-sizing: border-box;
    position: relative;
}
.modal__close {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 34px;
    right: 34px;
    cursor: pointer;
}
