* {
    outline: none;
}

html {
    min-height: 100%;
    max-height: 100%;
}

/* flexbox
-------------------------------------------------------*/
.body,
body {
    min-width: 320px;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
    padding-top: 55px;
    padding-left: 15px;
    padding-right: 15px;
}

.page-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    min-height: 100svh;
}

.header {
    background: #FFFFFF;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.05);
    max-width: 950px;
    border-radius: 20px;
}

.header__in {
    padding: 21px 15px 17px 32px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.header__code {
    margin-bottom: 10px;
}

.order-code {
    font-weight: normal;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: -0.03em;
    color: #565656;
}

.header__name {
    margin-bottom: 12px;
}

.order-name {
    font-weight: bold;
    font-size: 32px;
    line-height: 44px;
    letter-spacing: -0.03em;
    color: #000000;
}

.header__left {
    padding-right: 37px;
}

.order-img {
    border-radius: 14px;
}

.header__right {
    padding-top: 12px;
}

.header__time {
    padding-left: 2px;
}

.order-in-time {
    font-weight: bold;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: -0.03em;
}

.order-in-time__item:first-child {
    margin-right: 17px;
}

.order-in-time__item_grey {
    color: #6A6A6A;
}

.order-in-time__item_red {
    color: #F73859;
}

.main-content {
    height: 100%;
    flex-grow: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.main-content__in {
    flex-grow: 1;
    padding-top: 122px;
    height: 100%;
    padding-left: 17px;
    padding-right: 17px;
    padding-bottom: 30px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.bottom-buttons {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.bottom-button {
    display: inline-flex;
    justify-content: center;
    align-content: center;
    background: #F73859;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.03em;
    font-size: 19px;
    font-weight: 600;
    line-height: 176.4%;
    padding: 19px 83px;
    text-decoration: none;
    transition: 0.2s;
}

.bottom-button:hover {
    transition: 0.2s;
    color: #ffffff;
    text-decoration: none;
    background-color: #cc3a53;
}

h1 {
    font-weight: bold;
    font-size: 60px;
    line-height: 82px;
    letter-spacing: -0.03em;
    color: #384259;
    text-align: center;
    margin-bottom: 28px;
}

p {
    font-weight: 300;
    font-size: 25px;
    line-height: 176.4%;
    letter-spacing: -0.03em;
    color: #000000;
    text-align: center;
    margin-bottom: 32px;
}

.chat-block {
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
    height: 100svh;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

.chat-block * {
    outline: none;
    box-sizing: border-box;
}

.chat-block__in {
    height: 100svh;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    position: relative;
    /* width */
}

.chat-block__header {
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-grow: 0;
    -webkit-flex-grow: 0;
    -moz-flex-grow: 0;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    height: auto;
}

.chat-block__main {
    flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    -moz-flex-shrink: 1;
    -ms-flex-negative: 1;
    flex-grow: 1;
    -webkit-flex-grow: 1;
    -moz-flex-grow: 1;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background-color: #ffffff;
    border-bottom: 1px solid #F2F2F2;
}

.chat-header__in {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding-left: 24px;
    padding-top: 16px;
    padding-bottom: 11px;
    padding-right: 24px;
    background-color: #fff;
    width: 100%;
    top: 0px;
    max-width: 660px;
    z-index: 100;
}

.chat-header__in_order {
    padding-left: 16px;
    padding-top: 11px;
    padding-right: 26px;
}

.chat-header_booster__in {
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    padding-left: 10px;
    padding-right: 16px;
}

.chat-header__number {
    margin-left: auto;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    align-self: flex-start;
    padding-top: 3px;
}

.chat-header__btn {
    width: 24px;
    height: 24px;
    margin-right: 32px;
}

.chat-header__btn_order {
    margin-right: 5px;
    margin-top: 10px;
}

.chat-header__right {
    margin-left: 12px;
}

.chat-header__name {
    margin-bottom: 0;
}

.chat-header__name_order {
    margin-bottom: 4px;
}

.chat-header__quest {
    padding-top: 9px;
}

.chat-name {
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    font-style: normal;
}

.chat-header-text {
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #555555;
}

.chat-main {
    background-color: #F2F2F2;
    height: 100%;
    padding-bottom: 71px;
}

.chat-main_with-timer {
    padding-bottom: 94px;
}

.chat-main__in {
    padding-left: 10px;
    padding-right: 0px;
    padding-top: 0px;
    height: 100%;
    min-height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

.chat-date {
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 12px;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    border-radius: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 8px;
    position: sticky;
    width: 100px;
    margin: 0 auto;
    top: 3px;
    opacity: 1;
    z-index: 100;
    background-color: #f2f2f2;
}

.chat-date__past {
    opacity: 0;
}

.chat-date_actual {
    top: 197px;
    opacity: 1;
    z-index: 100;
    background-color: #f2f2f2;
    box-shadow: 0px 4px 4px 0px #f2f2f2f2;
}

.chat-message-list {
    -webkit-box-flex: 1;
    flex: 1;
    overflow-y: auto;
}

.chat-message-list__in {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    padding-right: 10px;
    /* Track */
    /* Handle */
    /* Handle on hover */
}

/*.chat-message-list__in::-webkit-scrollbar {*/
/*    width: 10px;*/
/*}*/

/*.chat-message-list__in::-webkit-scrollbar-track {*/
/*    background: #cacacaad;*/
/*}*/

/*.chat-message-list__in::-webkit-scrollbar-thumb {*/
/*    background: #9c9c9c99;*/
/*}*/

/*.chat-message-list__in::-webkit-scrollbar-Bthumb:hover {*/
/*    background: #9c9c9cc7;*/
/*}*/

.chat-message-list__in > div {
    margin-top: 20px;
}

.chat-message-list__in > div:first-child {
    margin-top: 0;
}

.chat-message-list__item {
    margin-bottom: 4px;
}

.chat-message-list__item_right + .chat-message-list__item_right {
    margin-top: 0;
    margin-bottom: 4px;
}

.chat-message-list__item_right {
    align-self: flex-end;
}

.chat-message {
    border-radius: 13px;
    background: #fff;
    padding: 12px;
    display: inline-block;
    max-width: 85%;
    width: fit-content;
    position: relative;
}

.chat-message.login-item{
    max-width: 100%;
    padding: 20px;
}

.chat-main.discord-login{
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
}

.chat-message .login-item .chat-booster__button {
    width: 100%;
    background: #3D74F2;
    border-radius: 8px;
    margin-top: 21px;
    color: #ffffff;
}

.chat-message::after {
    content: none;
    position: absolute;
    right: -21px;
    bottom: 5px;
    width: 18px;
    height: 18px;
    background: center no-repeat url('img/check1.svg');
    background-size: cover;
}

.chat-message__author {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 1;
    margin-top: -4px;
    margin-bottom: 4px;
    color: #555555;
}

.chat-message_read::after {
    background-image: url('img/check2.svg');
}

.chat-message.chat-message-list__item_right::after {
    content: '';
    right: auto;
    left: -21px;
}

.chat-message_admin-message {
    background: #3D74F2;
}

.chat-message_abonded {
    background: #FF4B0F;
}

.chat-message__text {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
}

.chat-message__text_admin-message {
    font-weight: 700;
    color: #ffffff;
}

.chat-message__text_abonded {
    font-weight: 700;
    color: #ffffff;
}

.chat-message__date {
    font-weight: 300;
    font-size: 8px;
    line-height: 16px;
    float: right;
    color: rgba(0, 0, 0, 0.7);
}

.chat-message_time {
    display: inline-flex;
}

.chat-message__left-time {
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
}

.circular-time-counter {
    position: relative;
}

.circular-time-counter__text {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    width: 71px;
    height: 71px;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 50%;
}

.circular-time-counter__text_small {
    width: 52px;
    height: 52px;
    font-size: 12px;
    line-height: 16px;
}

.circular-time-counter__svg {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    position: absolute;
    left: -2px;
    top: -2px;
}

.circular-time-counter__svg__circle {
    stroke-dasharray: 213;
    stroke-dashoffset: 213;
}

.circular-time-counter__svg__circle.circular-time-counter__svg__circle_small {
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
}

.chat-message__right-time {
    margin-left: 16px;
}

.chat-message__h {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.chat-fixed-block {
    position: fixed;
    background: #F2F2F2;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 650px;
    bottom: 0;
    z-index: 101;
}

.chat-send-message {
    width: 100%;
    padding-bottom: 13px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 13px;
    z-index: 101;
}

.chat-send-message__in {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-send-message__input {
    width: 100%;
    border: none;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #555555;
    background: #FFFFFF;
    border-radius: 18px;
    transition: 0.2s;
    padding: 10px 45px 10px 17px;
}

.chat-send-message__button {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 44px;
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    cursor: pointer;
}

.chat-booster {
    width: 280px;
    max-width: 100%;
}

.chat-booster__body {
    background-color: #fff;
    border-radius: 13px;
    padding: 4px;
    margin-bottom: 8px;
}

.chat-booster__middle {
    padding: 0px 20px;
}

.chat-booster__head {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding-top: 15px;
    padding-left: 16px;
    padding-bottom: 12px;
}

.chat-booster__name {
    padding-left: 13px;
}

.chat-booster__title {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.chat-booster__booster {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
}

.chat-booster__number {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #555555;
    margin-left: auto;
    border-top: 1px solid #E5E5E5;
    padding-right: 12px;
}

.chat-booster__table {
    width: 100%;
    border-top: 1px solid #E5E5E5;
}

.chat-booster__th {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    font-weight: 300;
    color: #555555;
    padding-left: 12px;
    padding-bottom: 18px;
    padding-right: 12px;
}

.chat-booster__td {
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    text-align: center;
    color: #000000;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 0px;
    padding-top: 15px;
    white-space: nowrap;
}

.chat-booster__buttons {
    margin-left: -4px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
}

.chat-booster__button {
    background: #FFFFFF;
    border-radius: 13px;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    width: 136px;
    height: 44px;
    margin-left: 4px;
    margin-right: 4px;
    color: #555555;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    text-decoration: none;
}

.chat-booster__button:hover {
    color: #fff;
    background-color: #3D74F2;
    text-decoration: none;
}

.chat-booster__button_full {
    width: 100%;
}

.chat-dots {
    background: #FFFFFF;
    border-radius: 13px;
    width: 76px;
    padding: 16px 20px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.chat-dots__item {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C4C4C4;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
    animation: dots 2s infinite cubic-bezier(1, 1, 0, 0);
}

.chat-dots__item-1 {
    animation-delay: 0s;
}

.chat-dots__item-2 {
    animation-delay: 0.2s;
}

.chat-dots__item-3 {
    animation-delay: 0.4s;
}

@keyframes dots {
    from {
        transform: scale(1);
    }
    25% {
        transform: scale(1.4);
    }
    50% {
        transform: scale(1);
    }
    to {
        transform: scale(1);
    }
}

.chat-top-block {
    background: #FFFFFF;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 4px;
}

.chat-top-block_time {
    max-width: 85%;
}

.chat-top-block_result {
    left: 0;
    position: relative;
    border-top: 1px solid #e5e5e5;
    margin-left: -10px;
    width: calc(100% + 10px);
    border-radius: 0;
    margin-bottom: 4px;
    z-index: 50;
}

.top-block-visible {
    position: sticky;
}

.chat-top-block__buttons {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
}

.chat-top-block__button {
    width: calc(50% - 4px);
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    border-radius: 8px;
    text-decoration: none;
    background: #F5F5F5;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #000000;
}

.chat-top-block__button:hover {
    text-decoration: none;
    opacity: 0.8;
}

.chat-top-block__in {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 14px;
}

.chat-top-block__time {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #000000;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
}

.chat-top-block__text {
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    margin-left: 12px;
}

.chat-top-block__in.chat-top-block__in_result {
    display: block;
}

.chat-top-block__table {
    width: 100%;
    margin-bottom: 16px;
}

.chat-top-block__th {
    font-weight: normal;
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    text-align: center;
    color: #555555;
}

.chat-top-block__th:first-child,
.chat-top-block__th:last-child {
    width: 50%;
}

.chat-top-block__tr {
    width: 50%;
}

.chat-top-block__td {
    font-weight: normal;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    color: #000000;
}

.chat-top-block__td:first-child,
.chat-top-block__td:last-child {
    width: 50%;
}

.chat-send-message + .chat-cancel-search {
    margin-top: 16px;
}

.chat-cancel-search {
    margin-top: auto;
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 16px;
    max-width: 633px;
    padding-left: 10px;
    padding-right: 10px;
    bottom: 0;
    padding-top: 16px;
    background: #F2F2F2;
}

.chat-new-search {
    margin-top: auto;
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 16px;
    max-width: 633px;
    padding-left: 10px;
    padding-right: 10px;
    bottom: 0;
    padding-top: 16px;
    background: #F2F2F2;
}

.chat-cancel-search__btn {
    width: 100%;
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    color: #555555;
}

.chat-cancel-search__btn:hover {
    text-decoration: none;
    color: #555555;
    opacity: 0.8;
}

.chat-new-search + .chat-send-message {
    margin-top: 16px;
}

.chat-cancel-search__btn {
    width: 100%;
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    color: #555555;
}

.chat-cancel-search__btn:hover {
    text-decoration: none;
    color: #555555;
    opacity: 0.8;
}

.chat-change-login {
    margin-top: 16px;
}

.chat-change-login__in {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
}

.chat-change-login__btn {
    width: calc(50% - 4px);
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    color: #555555;
}

.chat-change-login__btn:hover {
    text-decoration: none;
    color: #555555;
    opacity: 0.8;
}

.chat-header__quest {
    margin-left: auto;
}

.chat-quest-btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.popup-block {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    min-height: 100svh;
    z-index: 500;
    min-width: 320px;
}

.popup-block__in {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    min-height: 100svh;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}

.popup-block__item {
    background: #FFFFFF;
    border-radius: 18px;
    padding-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 32px;
    position: relative;
    width: 311px;
    box-sizing: border-box;
}

.popup-block__item_full {
    position: fixed;
    width: 100vw;
    height: 100svh;
    border-radius: 0px;
    padding: 0;
}

.popup-block__h {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #000000;
    margin-bottom: 6px;
}

.popup-block__p {
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #000000;
}

.popup-block__close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 16px;
    height: 16px;
}

.popup-block__buttons {
    padding-top: 24px;
}

.popup-block__button {
    background: #F5F5F5;
    border-radius: 8px;
    height: 44px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.popup-block__button:hover {
    text-decoration: none;
    opacity: 0.8;
}

.popup-block__button:last-child {
    margin-bottom: 0;
}

.popup-block__button_no-back {
    background-color: transparent;
}

.popup-block__link {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    line-height: 24px;
}

.popup-ask-support {
    width: 100%;
    max-width: 650px;
}

.popup-ask-support * {
    box-sizing: border-box;
}

.popup-ask-support__in {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 72px 20px 20px;
    height: 100%;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.popup-ask-support__close {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.popup-ask-support__h {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
    color: #000000;
    margin-bottom: 16px;
    padding-left: 12px;
    text-align: center;
}

.popup-ask-support__p {
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    padding-left: 13px;
    text-align: center;
    margin-bottom: 40px;
}

.popup-ask-support__select-block {
    margin-bottom: 12px;
}

.popup-ask-support__textarea-block {
    height: 100%;
}

.popup-ask-support__textarea {
    background: #FFFFFF;
    border: 1px solid #b7b7b7;
    border-radius: 8px;
    padding: 10px 16px;
    color: #555555;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    resize: none;
    width: 100%;
    height: 100%;
    max-height: 140px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #F5F5F5;
    color: #000;
}

.select2-search--dropdown {
    display: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 8px 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute;
    content: "";
    top: calc(50% - 5px);
    right: 10px;
    width: 15px;
    height: 9px;
    border: none;
    background: center no-repeat url('img/select-arrow.svg');
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotateX(180deg);
}

.select2-container .select2-selection--single {
    height: 44px;
}

.select2-container--default .select2-selection--single {
    border-color: #B7B7B7;
    border-radius: 8px;
}

/* Style the arrow inside the select element: */
/* Point the arrow upwards when the select box is open (active): */
/* style the items (options), including the selected item: */
.popup-ask-support__btn {
    margin-top: 20px;
}

.popup-ask-support__a {
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    font-size: 14px;
    text-decoration: none;
    line-height: 24px;
    color: #fff;
    background: #3D74F2;
}

.popup-ask-support__a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.popup-ask-support__a_unactive {
    background: #F5F5F5;
    color: #B7B7B7;
    cursor: default;
}

.popup-ask-support__a_unactive:hover {
    color: #B7B7B7;
    opacity: 1;
}

.popup-ask-support__a_back {
    background: transparent;
    color: #555555;
}

.popup-ask-support__a_back:hover {
    color: #555555;
    opacity: 0.8;
}

.chat-bottom-buttons {
    position: sticky;
    left: 0;
    margin-left: -6px;
    bottom: 54px;
    width: 100%;
    padding-top: 10px;
    background: #F2F2F2;
}

.chat-bottom-buttons__in {
    margin-left: -4px;
    margin-right: -4px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 0 5px;
}

.chat-bottom-buttons__item {
    width: 50%;
    margin-left: 4px;
    margin-right: 4px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    background: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    padding-top: 10px;
    padding-bottom: 10px;
}

.chat-bottom-buttons__item:hover {
    opacity: 0.8;
    text-decoration: none;
}

.css-yk16xz-control {
    border-radius: 13px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #9c9c9cbf;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #9c9c9cbf;
}

.chat-bottom-time {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    padding-left: 13px;
    margin-top: auto;
    height: 22px;
    flex: 0 0 22px;
}

.chat-bottom-time__icon {
    margin-right: 4px;
}

.chat-bottom-time__text {
    font-size: 12px;
    line-height: 16px;
    color: #555555;
}

.chat-bottom-time__strong {
    font-weight: bold;
}

@media screen and (min-width: 1920px) {
    .page-wrap {
        background-size: cover;
    }
}

@media screen and (max-width: 650px) {
    .chat-block {
        width: 100vw;
        height: 100%;
        min-height: auto;
    }

    .body {
        background-color: #F2F2F2;
    }

    .chat-block__in {
        height: 100%;
    }

    .chat-fixed-block {
        bottom: 0;
    }

    .page-wrap {
        min-height: 100%;
    }
}

@media screen and (max-width: 500px) {
    .header__in {
        padding: 24px 15px 15px 17px;
    }

    .page-wrap {
        background: none;
    }

    .header__left {
        display: none;
    }

    .container {
        padding: 0;
        height: 100%;
        min-height: 100svh;
    }

    .mobile {
        width: 100%;
        height: 100%;
        min-height: 100svh;
        margin-left: auto;
        margin-right: auto;
        background-position: center;
        background: center no-repeat url('img/phone-fon.jpg');
        background-size: cover;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
    }

    .header {
        border-radius: 0;
    }

    .order-name {
        font-weight: bold;
        font-size: 21px;
        line-height: 29px;
        letter-spacing: -0.03em;
        color: #000000;
    }

    .order-code {
        font-weight: normal;
        font-size: 11px;
        line-height: 15px;
        letter-spacing: -0.03em;
        color: #565656;
    }

    .order-in-time {
        font-weight: bold;
        font-size: 10px;
        line-height: 14px;
        letter-spacing: -0.03em;
    }

    h1 {
        font-weight: bold;
        font-size: 31px;
        line-height: 42px;
        letter-spacing: -0.03em;
        color: #384259;
    }

    p {
        font-weight: 300;
        font-size: 15px;
        line-height: 176.4%;
        letter-spacing: -0.03em;
        color: #000000;
    }

    .bottom-buttons {
        margin-top: auto;
    }

    .bottom-button {
        padding: 11px 56px;
    }
}

.chat-message__text_time-checklist {
    padding-top: 8px;
    padding-bottom: 8px;
}

.chat-message__text_check {
    margin-bottom: 5px;
}

.chat-message__text_check:last-child {
    margin-bottom: 0px;
}

.time-text-check {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    visibility: hidden;
}

.time-text-check:checked + .time-text-label::before {
    background: center no-repeat url('img/check3.svg');
    background-color: #3D74F2;
    border-color: #3D74F2;
}

.time-text-label {
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    color: #555555;
    position: relative;
    cursor: pointer;
    padding-left: 24px;
}

.time-text-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 1px solid #B9C3D6;
    border-radius: 3px;
}

.chat-message-btn_enter {
    border: 1px solid #2E5BFF;
    box-sizing: border-box;
    border-radius: 7px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: #2E5BFF;
    text-decoration: none;
    padding-top: 7px;
    padding-bottom: 7px;
    margin-top: 15px;
}

.chat-message-btn_enter svg {
    margin-top: 2px;
    margin-right: 5px;
}

.chat-message-btn_enter:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #2E5BFF;
}

.chat-message-btn_enter:hover svg {
    stroke: #fff;
}

.chat-message-btn_enter svg,
.chat-message-btn_enter i {
    margin-top: 2px;
    margin-right: 5px;
}

.chat-message-btn_entered {
    border: 1px solid #20B753;
}

.chat-message-btn_entered i {
    color: #20B753;
}

.chat-message-btn_entered {
    color: #20B753;
}

.chat-message-btn_entered:hover {
    background-color: #20B753 !important;
}

.chat-message-btn_entered:hover i {
    color: #ffffff;
}

.popup-block__item.popup-login {
    min-width: 500px;
    padding: 30px 25px 36px;
}

.popup-block__item.popup-login .popup-block__h {
    margin-bottom: 30px;
}

@media screen and (max-width: 600px) {
    .popup-block__item.popup-login {
        min-width: auto;
        max-width: 100%;
    }
}

.popup-block__intext-line {
    margin-bottom: 15px;
}

.popup-block__intext-label {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 9px;
}

.popup-block__intext-input {
    padding: 12px 35px 12px 17px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    color: #979494;
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    box-sizing: border-box;
    border-radius: 8px;
    width: 100%;
}

.popup-block__button_login {
    max-width: 180px;
    margin: 0 auto;
    border-radius: 7px;
    color: #ffffff;
    background: #2E5BFF;
}

.popup-block__button_login:hover {
    color: #ffffff;
    background: #2E5BFF;
    opacity: 0.8;
}

.popup-block__link_login {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
}

.popup-block__item.popup-code {
    min-width: 500px;
    padding: 30px 25px 36px;
}

.popup-block__item.popup-code .popup-block__h {
    margin-bottom: 30px;
}

@media screen and (max-width: 600px) {
    .popup-block__item.popup-code {
        min-width: auto;
        max-width: 100%;
    }
}

.chat-message.chat-message_no-check::after {
    content: none;
}

.chat-message_bi {
    position: relative;
    margin-bottom: 20px;
}

.chat-message__bottom-info {
    font-size: 11px;
    line-height: 1.5;
    color: #555555;
    position: absolute;
    top: 100%;
    right: 20px;
}
