
.logo a{
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 6px;
}

.logo a img, header .logo a img{
    height: 48px;
}


.center_content{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.center_content.custom_height{
    height: unset;
    margin: 16px 0px;
}
.center_content > *{
    width: 450px;
}
@media (max-width: 700px){
    .center_content.custom_height{
        margin: 0px;
    }
    .center_content > *{
        width: 100%;
    }
}


.logo_square{
    text-align: center;
}

.logo_square img{
    width: 150px;
}

.auth_page{
    background: url('../img/bg.png') no-repeat center;
    background-size: cover;
}

.password {
    position: relative;
}
.password-control {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(https://snipp.ru/demo/495/view.svg) 0 0 no-repeat;
    cursor: pointer;
}

.password-control.view {
    background: url(https://snipp.ru/demo/495/no-view.svg) 0 0 no-repeat;
}

.menu .item{
    padding-right: 16px;
}
.menu .item.active::after{
    right: 8px;
}
.menu .item span.name{
    flex: 1;
}
.menu .item span.counter{
    background: #0067ad;
    color: white;
    display: flex;
    padding: 0px 10px;
    font-size: 13px;
    border-radius: 90px;
    font-weight: bold;
}
.menu .item span.counter.red{
    background-color: #e34132;
}
.conference.new{
    border-color: #0067ad;
}
.conference.hot{
    border-color: #e34132
}
.conference a:hover{
    opacity: 0.5;
}
.select2-container.bigger .select2-selection--multiple{
    min-height: 59px;
}
.select2-container--default .select2-selection--single .select2-selection__clear{
    margin-right: 0px;
    position: absolute;
    right: 35px;
    top: 0px;
    height: 97%;
    width: 22px;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear{
    top: 4px;
    right: 6px;
}

.date .remind span.red{
    color: #e34132;
}

.date .remind {
    width: 80% !important;
}

.date .remind span {
    font-size: 20px;
}


.daterangepicker .drp-buttons .btn{
    color: white;
    border: none;
    background: #0067ad;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 9px;
}

.grid_list{
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.horizontal_list_shoppers{
    border: none!important;
    gap: 25px!important;
    margin-bottom: 16px!important;
}
.inner_padding{
    padding: 12px 16px;
}
.block_shopper {
    padding: 18px 24px 18px 24px;
    border-radius: 18px ;
    background: var(--surface-surface-neutral-3, #E2E1DA);

}
.unset_width{
    min-width: unset !important;
}
.shopper_count {
    font-family: Montserrat;
    font-size: 36px;
    font-weight: 500;
    line-height: 43.2px;
    letter-spacing: -0.045em;
    text-align: center;
    color: var(--text-text-neutral-9, #292927);
}
.block_shopper_packet{
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--text-text-neutral-9, #292927);

}

.big_plus .plus_content{
    display: none;
}
.big_plus .big_plus_trigger{
    display: flex;
    padding: 16px 0px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.big_plus .big_plus_trigger .masked_icon{
    width: 40px;
    height: 40px;
    background-color: #83899b;
}
.big_plus .big_plus_trigger:hover .masked_icon{
    background-color: #0067ad;
}
.checkbox a{
    color: #0067ad;
}
.file.without_border{
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}
.mt0{
    margin-top: 0 !important;
}
.slide_with_text img{
    max-width: 130px;
}
.show_popup{
    cursor: pointer;
}
.popup .inner.scrollable{
    max-height: 90vh;
    overflow: auto;
}
.text.pre img{
    max-width: 200px;
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}
body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.content{
    flex: 1;
}
.container.big_content{
    grid-template-columns: 256px 1fr;
}
@media (max-width: 700px){
    .container.big_content{
        grid-template-columns: 1fr;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .container {
        grid-template-columns: 0px 1fr!important;
    }
}

footer{
    margin-top: 100px;
}
.card.small_padding_bottom{
    padding-bottom: 20px;
}

.author .remove{

}

.new_auth_page{
    background-image: url(../img/bg2.jpg);
}
.new_auth_page .inner .logo{
    text-align: center;
    gap: 15px;
    font-size: 29px;
}
.new_auth_page .inner .logo img{
    max-width: 150px;
}

.alert{
    color: #e34132;
    background: #e341322e;
    font-size: 13px;
    padding: 8px 16px;
    text-align: center;
    line-height: 18px;
    border-radius: 4px;
}
.alert .alert-body{

}

.new_auth_page .alert{
    max-width: 340px;
}
.document_item .trigger{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    cursor: pointer;
}
.document_item input{
    display: none;
}
.button.disabled{
    opacity: 0.6;
    cursor: default;
}
.button.disabled:hover{
    background: #0067ad;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading{
    position: relative;
    padding-bottom: 50px;
}
.loading:after{
    content: "";
    -webkit-mask: url('../img/fi/aperture.svg') no-repeat center;
    mask: url('../img/fi/aperture.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    background-color: #0067ad;

    width: 30px;
    height: 30px;
    position: absolute;
    left: 47%;
    left: calc(50% - 15px);
    bottom: 0px;
    animation: rotation 1s linear infinite;
}
.ajax_form .submit.loading{
    padding: 0px;
    font-size: 0;
    height: 48px;
    cursor: default;
}
.ajax_form .submit.loading:after{
    background-color: white;
    top: 8px;
}

.is_empty:after{
    content: "Список пуст...";
}
.show_personal{
    cursor: pointer;
}

.grid_double{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.grid_double > *{
    min-width: 1px;
}
.slide_with_text.bio_list .text{
    padding: 0;
}
.document_item:before{
    min-width: 24px;
}
.document_item .name{
    overflow: hidden;
}
.doctors_slide{
    position: relative;
}

.doctors_slide .remove{
    position: absolute;
    width: 24px;
    height: 24px;
    background: url(../img/icons/cross.svg) no-repeat center;
    right: 14px;
    top: 14px;
    cursor: pointer;
}

.steps_line.as_status p{
    padding-top: 5px;
    margin-bottom: 6px;
}
.steps_line.as_status p:before{
    background: none;
}
.steps_line.as_status p:after{
    display: none;
}

.steps_line.as_status p.declined{
    color: #e34132;
}
.steps_line.as_status p.declined:before{
    -webkit-mask: url(../img/icons/cross.svg) no-repeat center;
    mask: url(../img/icons/cross.svg) no-repeat center;
    -webkit-mask-size: 20px;
    mask-size: 20px;

    background: red;
    border: none;
    border-radius: 0px;
}
.steps_line p:before{
    bottom: unset;
    top: 9px;
}

.status{
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #8BB85E;
    color: white;
    padding: 1px 9px;
    border-radius: 7px;
}
.status.red{
    background: #e26161 !important;
}
.status.gray{
    background: #a5a7a4 !important;
}
.status.blue{
    background: #4da1ff !important;
}
.status.yellow{
    background: #e0e251 !important;
}
.status.with_addit_status{
    display: flex;
    align-items: center;
}
.status.with_addit_status:after{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../img/add.svg) white no-repeat center;
    border-radius: 4px;
    margin-left: 9px;
    background-size: 13px;
}
.status.with_addit_status.replace:after{
    background-image: url(../img/replace.svg);
}
.status.with_addit_status.both:after{
    background-image: url(../img/both.svg);
}

.chat_block{
    display: grid;
    grid-template-rows: 1fr 90px;
    grid-gap: 16px;
    max-height: 600px;
}

.chat_block .messages_list{
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0px 14px;
    align-items: flex-start;
}
.chat_block .message{
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
    padding: 16px;
    background: #f9f9fa;
    border-radius: 8px;
    color: #676c7c;
    position: relative;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}
.chat_block .message:before{
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    transform: rotate(45deg);
    bottom: 10px;
    background: #f9f9fa;
    left: -5px;
}
.chat_block .message.self{
    align-self: end;
    background: #902067;
    color: white;
    display: flex;
    flex-direction: column;
}
.chat_block .message.self:before{
    background: #902067;
    left: unset;
    right: -5px;
}
.images-block.self {
    align-self: end;
}
.chat_block .message .time{
    display: block;
    opacity: 0.4;
}
.chat_block .area{
    display: flex;
    align-items: center;
    border: 1px solid #ecedf0;
    border-radius: 8px;
    padding: 14px;
    gap: 20px;
}

.chat_block .area .area_input{
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat_block .area textarea{
    line-height: 1.3;
    flex: 1;
}

.chat_block.with_reply{
    grid-template-rows: 1fr 110px;
}
.chat_block.with_reply .area .reply_text{
    display: flex;
}
.chat_block .area .reply_text{
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 500;
    background: #3333330d;
    padding: 5px;
    border-radius: 4px;
    position: relative;
    max-height: 30px;
    display: none;
    justify-content: space-between;
    align-items: center;
}
.chat_block .area .reply_text .remove_reply{
    width: 20px;
    height: 20px;
    display: block;
    background: url(../img/fi/x-circle.svg) no-repeat center;
    background-size: 80%;
    cursor: pointer;
    opacity: 0.4;
    margin-left: 6px;
}

.chat_block .area .send{
    opacity: 0.8;
    cursor: pointer;

    width: 30px;
    height: 100%;
    mask-size: 20px;
    -webkit-mask-size: 20px;
}
.chat_block .area .send:hover{
    opacity: 1;
}

.chat_block .message .message_reply{
    display: flex;
    background: #00000024;
    padding: 8px;
    border-radius: 10px;
    opacity: 0.7;
    margin-bottom: 10px;
    align-self: end;
}
.chat_block .message .message_reply img{
    border-radius: 10px;
}
.message-text {
    display: flex;
    flex-direction: column;
}
.reply_icon {
    font-size: 14px;
    color: #ffffff;
    width: 16px;
    align-self: baseline;
    margin-left: 5px;

}
#goods_search_results{
    max-height: 300px;
    overflow: auto;
}
#goods_search_results .padding_corner{
    cursor: pointer;
    padding-right: 40px;
    position: relative;
    cursor: pointer;
}
#goods_search_results .padding_corner.selected:after{
    content: " ";
    background: url('../img/fi/check.svg') no-repeat center;
    width: 24px;
    height: 24px;
    top: 28px;
    top: calc(50% - 12px);
    right: 16px;
    position: absolute;
}
.tab_header.line .tab_item {
    padding: 16px 22px;
}

.tab_header .tab_item span{
    background: #902067;
    color: white;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}
.tab_header .tab_item i{
    margin-left: 10px;
}

@media (max-width: 1100px){
    .conference {
        flex-direction: row;
    }
    .conference .img{
        width: 100px;
        height: unset;
        padding: 10px;
    }

    .conference .img .tags{
        position: static;
        margin-bottom: 10px;
    }
    .conference .img img{
        height: unset;
        object-fit: contain;
        border-radius: 8px;
        width: 129%!important;
    }
    .conference .info{
        padding: 36px 24px;
    }
}

.conference .info .title {
    font-size: 20px;
}
.conference.red_bg{
    background: #ffefef;
    border-color: #ffd9d9;
}
.conference.blue_bg{
    background: #b8ecb8;
    border: 5px solid #0b490b;
}

.right_bottom_buttons{
    position: fixed;
    bottom: 182px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.right_bottom_buttons .item{
    display: block;
    position: relative;
    width: 70px;
    height: 70px;
    background: #e8e7e7;
    cursor: pointer;
    border-radius: 35px;
    transition: 0.1s ease all;
    margin-top: 20px;
}
.right_bottom_buttons .item .masked_icon{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-mask-size: 28px;
    mask-size: 28px;
    background: #902067;

    transition: 0.1s ease all;
}

.right_bottom_buttons .item.active{
    background: #902067;
    box-shadow: 0px 0px 20px #902067a6;
}
.right_bottom_buttons .item.active .masked_icon{
    background: white;
    -webkit-mask-size: 35px;
    mask-size: 35px;
}
.right_bottom_buttons .item.small{
    width: 50px;
    height: 50px;
}
.right_bottom_buttons .item.small .masked_icon{
    -webkit-mask-size: 20px;
    mask-size: 20px;
}
.right_bottom_buttons .item.small.active .masked_icon{
    -webkit-mask-size: 28px;
    mask-size: 28px;
}
#barcode_scanner input{
    font-size: 20px;
    position: absolute;
    opacity: 0;
}

.columns.end{
    align-items: flex-end;
}

.counter_span{
    display: inline-block;
    background: black;
    padding: 0px 9px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 12px;
}
.images_grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 70px));
    grid-gap: 16px;
}
.images_grid .image{
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.images_grid .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.table_outer{
    overflow: auto;
}
.content-table.min_head tr th{
    min-width: 120px;
}
.content-table {
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.content-table thead tr {
    background-color: #902067;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid #902067;
}

.content-table tbody tr.active-row {
    font-weight: bold;
    color: #902067;
}

.content-table .status{
    display: block;
    text-align: center;
    padding: 6px;
}

.content-table .inline_button{
    font-size: 13px;
    font-weight: bold;
}

.content-table.dynamic-table tr th{
    cursor: pointer;
}
.content-table.dynamic-table tr th.sort-asc::before, .content-table.dynamic-table tr th.sort-desc::before{
    content: " ";
    -webkit-mask: url('../img/fi/arrow-up.svg') no-repeat center;
    mask: url('../img/fi/arrow-up.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    background: white;
    width: 14px;
    height: 12px;
    margin-right: 4px;
    display: inline-block;
}
.content-table.dynamic-table tr th.sort-desc::before{
    -webkit-mask: url('../img/fi/arrow-down.svg') no-repeat center;
    mask: url('../img/fi/arrow-down.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}


.base_content.full{
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: 100;
    padding: 0;
    padding-bottom: 0 !important;
}
.base_content.full > div{
    height: 100%;
    overflow: auto;
}
.to_full{
    -webkit-mask: url('../img/fi/maximize-2.svg') no-repeat center;
    mask: url('../img/fi/maximize-2.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    width: 24px;
    height: 24px;
    display: block;
    cursor: pointer;
    background: black;
}
.to_full:hover{
    background-color: #902067;
}
.base_content.full .to_full{
    -webkit-mask: url('../img/fi/minimize-2.svg') no-repeat center;
    mask: url('../img/fi/minimize-2.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}
.show_item_history{
    cursor: pointer;
}
.info_text.gray{
    border-color: #f4f4f4;
}
.info_text.pink_fill{
    border-color: #902067;
    background-color: #902067;
    color: white;
}
.action_btn{
    background: white;
    border: 1px solid var(--accent-purple, #902067)!important;
    color:var(--accent-purple, #902067);
    border-radius: 360px;
}
.action_btn:hover{
    background: var(--surface-surface-primary-100, #902067)!important;
    color:white;
}
.btn_cancel{
    background:
            linear-gradient(0deg, var(--surface-surface-secondary-100, #f68e86), var(--surface-surface-secondary-100, #fb9c93)),
            linear-gradient(0deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28))!important;
    color: var(--text-text-neutral-9, #292927)!important;
    border-radius: 360px;
    border: none!important;
    margin-top: 40px;
}
.btn_cancel:hover{
    background: var(--surface-surface-secondary-100, rgba(255, 106, 95, 1))!important;
    color: var(--text-text-neutral-9, #292927)!important;
}
.data_btn{
    border: 1px solid #902067!important;
    border-radius: 360px;
}
.data_btn:hover{
    background: var(--surface-surface-primary-100, #902067)!important;
    color: white;
}

/*.popup-modal {*/
/*    display: none;*/
/*    justify-content: center!important;*/
/*    align-items: center;*/
/*    z-index: 1000;*/
/*}*/

.popup.show {
    display: flex;
    max-height: 50%!important;
}

.inner.small {
    background-color: #fff;
    padding: 32px;
    border-radius: 32px;
    text-align: left;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.popup-title {
    font-family: DM Sans;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.04em;
    text-align: left;
    color:  var(--text-text-neutral-9, #292927);

}

.popup-subtitle {
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px!important;
    text-align: left;
    color: var(--text-text-neutral-9, #292927);
    margin-bottom: 28px;
    width: 241px;
    margin-top: 4px;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.button.red.small {
    background-color: var(--surface-surface-secondary-100, #FF6A5F);
    color: var(--text-text-neutral-9, #292927);
    border-radius: 360px;
}

.button.ghost.small {
    border: 1px solid var(--accent-purple, #902067);
    color: #902067;
    border-radius: 360px;
}

.popup-descr {
    display: flex;
    align-items: center;
    width: 200px;
}

.right_bottom_buttons .whatsapp-button {
    background: #25D366!important;
    box-shadow: 0px 0px 20px #15803e !important;
    background-color: #25D366!important;
}


/* стили для чата */
.upload-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-button {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border: 2px dashed #902067;
    color: #902067;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(171, 71, 188, 0.5);
}
.upload-button:hover {
    background-color: #f8bbd0;
}
.upload-icon {
    font-size: 24px;
}

.upload_images_block {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.upload_images_block .item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload_images_block .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.message-images {
    display: contents;
}
.image-message{
    align-self: end;
}
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    background-color: transparent;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    display: block;
    max-width: 50%;
    max-height: 100%;
    object-fit: contain;
}

.message:not(.self) .timestamp {
    color: #676c7c;
    font-size: 9px;
    align-self: end;
    font-weight: 300;
    margin-right: 16px;
}
.chat_block .message.self .timestamp {
    color: white;
    font-size: 9px;
    align-self: end;
    font-weight: 300;
}
.hidden-photo-block {
    display: none;
}

#returns-badge, #new-orders-badge {
    font-weight: 900;
}

.status-chat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat_icon_wrapper {
    position: relative;
    display: inline-block;
}

.chat_icon_wrapper {
    position: relative;
    display: inline-block;
}

.chat_counter_badge {
    position: absolute;
    top: 45%;
    left: 46%;
    transform: translate(-50%, -50%);
    background-color: transparent !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.chat_counter_badge_text {
    font-size: 13px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

