@import "/fonts/style.css";

[class^="icon-"], [class*=" icon-"]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

:root{
    --dark500: #343a40;
    --dark400: #5d676e;

    --darkBlue300: #a6b2ba;

    --gray500: #CCC;
    --gray200: #EFEFEF;

    --white: #FFF;

    --red: #FF0000;
    --pink: #e81d62;
    --purple: #9b26af;
    --blue: #2095f2;
    --lightBlue: #03a9f4;
    --green: #00A851;
    --lightGreen: #8ac249;
    --lime: #ccdb38;
    --yel: #feea3a;

    --boxhadow: 0 0 10px rgba(0,0,0,0.3);
}

body{
    background: #f5f5f5;
}

.dashBoardSection{
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dashBoardSection .cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dashBoardSection .card{
    flex: 1;
    background-color: #f5f9fa;
    transition: transform 0.2s;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    min-width: 150px;
}

.dashBoardSection .card:hover {
    transform: scale(1.02);
}

.cardActionPlus{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #e0e0e0;
    color: #007BFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.fs-14{font-size: 14px}
.fs-12{font-size: 12px}
.fs-10{font-size: 10px}

table{
    border-spacing: 0;
    border-collapse: separate;
}

.noSelect{
    user-select: none;
}



.header {
    display: flex;
    justify-content: space-between;
    background: #202020;
    color: #FFF;
}

.header a{
    display: flex;
    justify-content: space-between;
    background: #202020;
    color: #FFF;
    padding: 10px;
    text-decoration: none;
}


.box{
    padding: 1em;
    background: #FFF;
    border-radius: 0.75em;
}

.box.shadow{
    box-shadow: 0 0 10px #CCC;
}



.hide{
    display: none !important;
}

.hide_text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%
}




.customScrollbar::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}
.customScrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.customScrollbar::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}





.err_field_content {display: block;line-height: 1.4em;padding: 5px}
.err_field_mess {background: #ff3030;
    padding: 5px 12px;
    color: #FFF;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    line-height: 1.4em;
    margin-bottom: 5px;
    font-size: 14px;}
.err_field_mess:after {content: ''; width: 0; height: 0;
    border: 5px solid transparent;
    border-top-color: #ff3030;
    position: absolute; bottom: -10px; left: 5px}
/* Oh Snap */
#notice { position: fixed; bottom: 10px; right: 10px; z-index: 9999; max-width: 100%}
.alert { text-align: left; margin: 10px auto auto auto; padding: 15px; border-radius: 3px; background-color: white; color: white }
.alert li{
    list-style: none;
}
.alert-red { background-color: rgba(218, 68, 83, 0.7) }
.alert-green { background-color: rgba(22, 226, 120, 0.7) }
.alert-blue { background-color: rgba(74,137,220, 0.7) }
.alert-yellow { background-color: rgba(246,187,66, 0.7) }
.alert-orange { background-color: rgba(233,87,63, 0.7) }
.alert-black { background-color: rgba(0,0,0, 0.7) }






.flex-col {
    display: flex;
    flex-direction: column;
}

.gap-1{
    gap: 1em;
}

.flex-row{
    display: flex !important;
    flex-direction: row;
}

.grid-row{
    display: grid;
}



.flex-between{
    justify-content: space-between;
}

.flex-start{
    align-items: flex-start;
}

.flex-end{
    justify-content: flex-end;
}

.pd-10{
    padding: 10px;
}
.pd-20{
    padding: 20px;
}

.textCenter{
    text-align: center;
}



.transition { -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out}


.word-wrap {
    hyphens: auto;
    overflow-wrap: break-word;
}


.btn-blue{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-red {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-green{
    color: #fff;
    background-color: #36c71b;
    border-color: #36c71b;
}

.btn-green-light{
    color: #fff;
    background-color: #1aec0c;
    border-color: #1aec0c;
}

.btn-dark{
    color: #fff;
    background-color: #47525E;
    border-color: #47525E;
}

.btn-transparent{
    color: #47525E;
    background-color: transparent;
    border-color: #47525E;
}

.btn-gray{
    color: #fff;
    background-color: #797979;
    border-color: #797979;
}

.btn-yel{
    color: #FFF;
    background: #ffc107;
    border-color: #ffc107;
}

.btn:active{
    box-shadow: 0 2px 3px rgba(0,0,0,0.3) inset;
}

.btn:disabled{
    background: #CCC;
    border-color: #CCC;
}




.form-control {
    /*display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d6e3e3;
    border-radius: 4px;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;*/
}

textarea.form-control{
    height: auto;
}

.form-control-min {
    height: 26px;
    padding: 0 10px !important;
    line-height: 26px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.08), 0 0 8px rgba(102,175,233,0.06);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.08), 0 0 8px rgba(102,175,233,0.06);
}

.form-control.error{
    border-color: #F00;
}

.form-control.error:focus{
    border-color: #F00;
}




.loginForm {
    margin: auto;
    padding: 30px;
    border: 1px solid #ebebeb;
    border-radius: 1em;
    box-shadow: 0 0 100px #e1e1e1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
}

.createCustomOrder textarea{

}

.loginVariants{
    cursor: default;
    text-decoration: underline;
}
.loginVariants > span:hover{
    color: var(--bs-blue);
}

.loginForm h2{
    margin-bottom: 20px;
}

.loginForm h3{
    text-align: center;
    margin-bottom: 1em;
}

.loginForm .btn{
    margin: 10px 0;
    float: right;
}

.loginForm .btnLogIn{
    display: none;
}

.loginForm .showCode .btnLogIn{
    display: inline-block;
}

/*.loginForm .showCode .btnSendCode{
    display: none;
}*/

.loginForm .buttons.showCode {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.loginForm .typeAuth {
    display: flex;
    justify-content: space-around;
    padding: 1em;
}

.loginForm .typeAuth input{
    margin-left: 6px;
}



.shareOrdersContainer{
    height: 400px;
    display: flex;
}

.listShareOrders, .listSharedOrders {
    background: #f7f7f7;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    padding: 0.5em;
}

.orderItem{
    padding: 0.5em;
    margin-bottom: 0.25em;
    border-radius: 0.25em;
    user-select: none;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.orderItem:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.orderItem.active{
    background: #35a7ff;
    color:#FFF;
}

.shareOrdersContainer > div, .shareOrdersContainer > form {
    flex: 1 1 calc(50% - 60px);
    overflow-y: auto;
}

.shareOrdersContainer > div.action {
    flex: 0 0 60px;
    padding: 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.shareOrdersContainer > div.action button{
    height: 40px;
    width: 40px;
    font-size: 20px;
    margin: 5px 0;
}


.order-sharedOrders {

}

.order-sharedOrders .groupItem .name{
    padding: 0.5em 1em;
    display: flex;
    user-select: none;
    gap: 1em;
}

.order-sharedOrders .list{
    max-height: 400px;
    overflow: auto;
}

.order-sharedOrders .groupItem .list{
    display: none;
}

.order-sharedOrders .groupItem .list.visible{
    display: block;
}




.orderDetail-block {
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.orderDetail-block .title{
    line-height: 1.6em;
    padding: 0.25em 0;
}

.orderDetail-block .textInfo{
    border: 1px solid #CCC;
    padding: 0.5em;
    min-height: 2.4em;
    line-height: 1.4em;
    box-sizing: border-box;
}

.orderInfo .b{
    font-size: 1.25em;
    font-weight: 500;
}

.orderInfo .green{
    color: #00b600;
    font-weight: 500;
}

.workerInfo {
    background: #f5f5f5;
    padding: 0.5em;
    border-radius: 0.5em;
}

.uploadFile{
    position: relative;
}

.uploadFile input[type=file]{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}


.form_radio_group {
    display: flex;
}
.form_radio_group-item {
    display: inline-block;
    flex: 1 1 auto;
}
.form_radio_group-item.min{
    flex: 0 0 auto;
}
.form_radio_group input[type=radio] {
    display: none;
}
.form_radio_group label {
    display: inline-block;
    cursor: pointer;
    padding: 0 15px;
    line-height: 34px;
    border: 1px solid #999;
    border-right: none;
    user-select: none;
    width: 100%;
    text-align: center;
}

.form_radio_group .form_radio_group-item:first-child label {
    border-radius: 6px 0 0 6px;
}
.form_radio_group .form_radio_group-item:last-child label {
    border-radius: 0 6px 6px 0;
    border-right: 1px solid #999;
}

/* Checked */
.form_radio_group input[type=radio]:checked + label {
    background: #ffe0a6;
}

/* Hover */
.form_radio_group label:hover {
    color: #666;
}

/* Disabled */
.form_radio_group input[type=radio]:disabled + label {
    background: #efefef;
    color: #666;
}



.stepBlock{
    margin-bottom: 1em;
}

.stepBlock-content{
    padding: 1em;
}

.orderStatus{
    display: none;
}

.orderStatus.active{
    display: block;
}

.accessWorker{
    display: none;
}

.accessWorker.active{
    display: block;
}

.typeForm{
    display: none;
}
.typeForm.active{
    display: block;
}

.sharedItems .item{
    padding: 0.25em;
    margin-top: 0.25em;
}

.sharedItems .item .icon-cross:hover{
    color:#F00;
}


/*======== tabs ====================*/
.tabsPanel{
    display: flex;
    align-items: center;
    line-height: 2rem;
}
.tabsPanel > .tab{
    background: transparent;
    user-select: none;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    border-radius: 0.25em;
}

.tabsPanel > .tab.active{
    background: #323232;
}

.tabsPanel > .tab .text{
    display: flex;
    align-items: center;
    gap: 0.5em
}

.tabsContents{
    background: #FFF;
    min-height: calc(100% - 80px);
}
.tabContent{
    display: none;
    position: relative;
}
.tabContent.active{
    display: block;
}


.infoLeft{
    flex: 0 0 240px;
    margin: 1em;
}

.infoContent{
    flex: 1;
}

.moreInfoContainer{
    display: flex;
    flex-direction: column;
}

.moreInfoContainerBtn{
    display: none;
    border-radius: 0.25em 0 0 0.25em;
    font-size: 18px;
    padding: 0.25em;
    background: white;
    border-width: 1px 0 1px 1px;
    border-style: solid;
    border-color: var(--darkBlue300);
    box-shadow: var(--boxhadow);
}

.moreInfoContainer-close{
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    font-size: 22px;
    display: none;
}

.moreInfoContainer > div, .order-sharedOrders > fieldset{
    margin-bottom: 1em;
}

.order-sharedOrders > fieldset:last-child{
    margin-bottom: 0;
}

.order-sharedOrders .groupItem {
    background: #e6ebef;
    border-radius: 0.25em;
    margin-bottom: 0.5em;
}

.audio_mannager{
    padding-bottom: 1rem;
    border-bottom: 1px solid #CCC;
}

/*======== workerAssistant =========*/

.workerInterface {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 1em;
    margin-bottom: 20px;
    position: absolute;
    top: 80px;
    transform: translateX(-50%);
    left: 50%;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.22);
}

.lineInterface{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.workerInterface .recordProgress,
.lineInterface .recordProgress
{
    display: flex;
    justify-content: center;
    font-size: 1.6em;
}

.lineInterface .recordProgress
{
    font-size: 1.2em;
}

.workerInterface .cross{
    position: absolute;
    top: 10px;
    right: 10px;
    user-select: none;
}

.workerInterface .text{
    margin: 10px 20px 20px;
    font-size: 16px;
    text-align: center;
}

.workerInterface .startBtn,
.workerInterface .stopBtn,
.workerInterface .pauseBtn,
.workerInterface .resumeBtn,
.lineInterface .stopBtn,
.lineInterface .pauseBtn,
.lineInterface .resumeBtn
{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F00;
    border: 3px solid #FFF;
    position: relative;
}

.lineInterface .stopBtn,
.lineInterface .pauseBtn,
.lineInterface .resumeBtn
{
    width: 32px;
    height: 32px;
    background: #47525e;
}

.workerInterface .startBtn::before,
.workerInterface .stopBtn::before,
.lineInterface .stopBtn::before
{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
}

.lineInterface .stopBtn::before
{
    width: 12px;
    height: 12px;
}

.workerInterface .startBtn::before
{
    border-radius: 50%;
}

.workerInterface .pauseBtn::before,
.workerInterface .pauseBtn::after,
.lineInterface .pauseBtn::before,
.lineInterface .pauseBtn::after
{
    content: '';

    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate(-50%, -50%);
    background: #FFF;
}

.lineInterface .pauseBtn::before,
.lineInterface .pauseBtn::after
{
    width: 4px;
    height: 14px;
}

.workerInterface .pauseBtn::after,
.lineInterface .pauseBtn::after
{
    left: 64%;
}

.workerInterface .resumeBtn::before,
.lineInterface .resumeBtn::before
{
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    border-width: 10px 14px;
    border-style: solid;
    border-color: transparent transparent transparent #FFF;
    transform: translate(-4px, -50%);
}

.lineInterface .resumeBtn::before
{
    border-width: 6px 10px;
}


.microfoneControls{
    display: flex;
    justify-content: center;
}
.microfoneControls > button{
    display: none;
    margin: 5px;
}
.microfoneControls.stop > button.startBtn{
    display: block;
}
.microfoneControls.record > button.pauseBtn,
.microfoneControls.record > button.stopBtn {
    display: block;
}

.microfoneControls.pause > button.resumeBtn,
.microfoneControls.pause > button.stopBtn
{
    display: block;
}

.microfoneRecords audio {
    width: 100%;
    margin: 10px 0;
}

.nextSteps{
    display: flex;
    justify-content: center;
}
.nextSteps.hide{
    display: none;
}
.nextSteps button {
    margin: 10px;
    background: #0a2740;
    border-radius: 10px;
    border: none;
    color: #FFF;
    padding: 8px;
}

/*==================================*/







.recordContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.recordContainer .overlay {
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    opacity: 0.9;
}


.ui-autocomplete { z-index:1000 !important}

.wrapAutocomplete{
    position: relative;
}

.wrapAutocomplete .icon-cross{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.searchPillsInputContainer{
    position: relative;
}

.searchPillsInputContainer .microphoneBtn{
    position: absolute;
    top: 0.75em;
    right: 1em;
    background: transparent;
    color: black;
}

.searchPillsInputContainer .microphoneBtn.active{
    color: red;
}

.pillsVariants-item {
    border: 1px solid #ededed;
    line-height: 1em;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: default;
}

.pillsVariants-item:hover,
.pillsVariants-item.active{
    border: 1px solid var(--bs-info);
}

.pharmacologicContent .action:hover{
    color: var(--bs-info);
    cursor:pointer;
}

.apts-item{
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-gray-200)
}

.emptyblock {
    padding: 0.5rem;
    border: 1px dashed #CCC;
    text-align: center;
    border-radius: 0.5rem;
}

.farmBlock .disabled{
    opacity: 0.4;
}







.number-input input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input input[type=number]::-webkit-inner-spin-button,
.number-input input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    display: inline-flex;
}

.number-input,
.number-input * {
    box-sizing: border-box;
}

.number-input button {
    outline:none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    width: 1rem;
    height: 2px;
    background-color: #212121;
    transform: translate(-50%, -50%);
}
.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 5rem;
    border: 1px solid #ddd;
    font-weight: bold;
    text-align: center;
    height: 2rem;
}


.customerAssignmentsTable th{
    text-align: center;
    text-decoration: underline;
}

.customerAssignmentsTable td, .customerAssignmentsTable th{
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #CCC;
}

.customerAssignmentsTable tr:last-child td{
    border-bottom: none;
}

.customerAssignmentsTable tr td, .customerAssignmentsTable tr th{
    border-right: 1px solid #CCC;
}

.customerAssignmentsTable tr td:last-child, .customerAssignmentsTable tr th:last-child{
    border-right: none;
}


.action{
    cursor: pointer;
}

.customerAssignmentInfo{
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

.customerAssignmentInfo-text{
    display: none;
    position: absolute;
    bottom: 130%;
    left: -150%;
    border: 1px solid #CCC;
    border-radius: 0.25rem;
    background: white;
    padding: 0.5rem;
    min-width: 240px;
}

.customerAssignmentInfo:hover .customerAssignmentInfo-text{
    display: block;
}

.customerAssignmentInfo-text:before{
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-width: 8px 12px;
    border-color: #e1e1e1 transparent transparent transparent;
    border-style: solid;
    bottom: -17px;
    left: 20px;
}

.activePoint {
    color: #70b1cb;
    background: #eaf6ff;
}

.activePoint.-selected-{
    color: #FFF;
}

.intakeDatepicker{
    width: 0;
}

.intakeDatePicker{
    padding: 0 1rem;
    cursor: default;
}

.intakeCalendar > button{
    padding: 0.5rem 1em;
    border: none;
    border-radius: 0.25rem;
}

.intakesTable td{
    padding: 0.125rem 0.5rem;
}

.intakesTable label{
    display: block;
    border-bottom: 1px solid #CCC;
}

.assignCheckbox{
    width: 1.75rem;
    height: 1.75rem;
    display: block;
}

.intervalPicker{
    position: relative;
    cursor: default;
}

.intervalPicker .intervalList{
    display: none;
    position: absolute;
}

.cinnyChatElement{
    position: relative;
}

.cinnyChatContainer{
    position: absolute;
    top: calc(100% + 1em);
    right: 0;
    background: white;
    display: block;
    border-radius: 1em;
    width: 700px;
    max-width: 90vw;
    height: calc(100vh - 70px);
    z-index: 9;
}

.cinnyChatContainer iframe{
    display: none;
    width: 100%;
    height: 100%;
}

.cinnyChatContainer .loader{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}









.workerCard {
    display: flex;
    padding: 1.5em 1em;
    margin: 1em 0;
    background: #FFF;
    border-radius: 14px;
    user-select: none;
    position: relative;
    border: 1px solid #e5e5e5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.workerCard input.actionInput{
    display: none;
}

.workerCard.active{
    outline: 2px solid #0daffd;
}

.workerCard-infoContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workerCard-photo {
    width: 50px;
    height: 50px;
    background: #CCC;
    border-radius: 100%;
    margin: 0 1em 0 0;
    overflow: hidden;
    flex: 0 0 auto;
}

.workerCard-photo img {
    width: 100%;
}


.workerCard-name {
    line-height: 1.6em;
    font-weight: 500;
    font-size: 18px;
    /*color: var(--green);*/
}

.workerCard-spec {
    color: #cb3030;
    font-size: 14px;
}

.workerCard-filial {
    line-height: 1.2em;
}

.workerType-p {
    position: absolute;
    display: flex;
    top: 5px;
    right: 0;
    line-height: 1em;
    font-size: 0.8em;
}

.workerCard-tickets {
    display: flex;
}

.workerCard-tickets > .ticket {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eff0f6;
    padding: 2px 5px;
    margin-right: 10px;
    border-radius: 2px;
    flex: 1 1 20%;
    cursor: pointer;
    font-size: 0.8em;
}

.workerCard-tickets > .ticket:last-child {
    margin-right: 0;
}

.workerCard-more{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.workerCard-date{
    font-size: 18px;
    font-weight: 500;
}

.workerCard-filial{
    font-size: 14px;
}


    /*============ АНИМАЦИЯ AJAX ПОДГРУЗКИ =======================*/
.loaderbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 1rem;
}
.loader {
    width: 50px;
    height: 50px;
    position: relative;
    border-top: 5px solid rgba(72, 72, 72, 0.2);
    border-right: 5px solid rgba(72, 72, 72, 0.2);
    border-bottom: 5px solid rgba(72, 72, 72, 0.2);
    border-left: 5px solid #ffffff;
    border-radius: 50%;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: loader .6s infinite linear;
    animation: loader .6s infinite linear;
}
.loader-sm{
    width: 20px;
    height: 20px;
    border-top: 2px solid rgba(72, 72, 72, 0.2);
    border-right: 2px solid rgba(72, 72, 72, 0.2);
    border-bottom: 2px solid rgba(72, 72, 72, 0.2);
    border-left: 2px solid #ffffff;
}
button.btn_send .loader{
    width: 18px;
    height: 18px;
    border-top: 2px solid rgba(72, 72, 72, 0.2);
    border-right: 2px solid rgba(72, 72, 72, 0.2);
    border-bottom: 2px solid rgba(72, 72, 72, 0.2);
    border-left: 2px solid #ffffff;
}
@-webkit-keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/*===============================================*/

.createCustomerWrapper{
    display: block;
}

.jconfirm{
    z-index: 999 !important;
}

.air-datepicker-global-container{
    z-index: 9999 !important;
}

.timetableIntervalContainer{
    /*justify-content: center;*/
}


.timetableIntervalContainer button {
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none
}
.timetableTimeInput{
    width: 80px;
    text-align: center;
}
.timetableIntervalContainer input{
    text-align: center;
    width: 50px;
}


.sidebarMenu{
    position: relative;
    flex: 0 0 240px;
    width: 100%;
    max-width: 240px;
    min-height: 100vh;
    transition: transform 0.2s ease 0s;
}

.sidebarMenu.minify{
    max-width: 74px;
}

.sidebarMenu.minify .nav-link > span{
    display: none;
}

.sidebarMenu.minify .menuTextSpan{
    display: none;
}

.sidebarMenu.minify .sidebarHeader{
    justify-content: center;
}

.sidebarMenu.minify .minfySidebar{
    transform: rotateZ(180deg);
}

.sidebarMenuReception{
    flex: 0 0 480px;
    max-width: none;
}

.sidebarMenu .sidebar{
    height: 100%;
}

.sidebarBurger{
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    background: var(--dark400);
    color: #FFF;
    justify-content: center;
    border-radius: 6px;
    display: none;
    font-size: 24px;
}

.sidebarMenu-close {
    position: absolute;
    right: 0;
    top: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-content: center;
    align-items: center;
    justify-content: center;
    background: var(--dark500);
    color: #FFF;
    display: none;
    transform: translateX(50%);
}

.contentContainer{
    flex: 1 1 auto;
}

.sidebarMenu .nav-link{
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding-left: 14px;
}

.minfySidebar{
    background: none;
    border: none;
    color: #FFF;
}

.sidebarReceptionBoxes{
    display: flex;
    height: 100%;
    gap: 1.25em;
}
.sidebarReceptionBoxes .sidebarBoxes{
    flex: 1 0 auto;
}
.sidebarReceptionBoxes .sidebarOrders{
    flex: 1 0 auto;
}

.simpleCabinet_audios_list{
    padding-bottom: 1rem;
    border-bottom: 1px solid #CCC;
}

.protocolsRelevantList{
    max-height: 400px;
    overflow: auto;
}

.protocolsRelevantList-item{
    padding: 0 4px;
    border-radius: 4px;
}
.protocolsRelevantList-item:hover{
    background: #1F90E2;
    color: #FFF;
    user-select: none;
}

#protocolTwoInfo{
    max-height: calc(100vh - 100px);
}

#protocolTwoInfo-container{
    height: 100%;
}

#protocolsPdfSearchForm{
    flex: 0 0 60px;
    padding: 10px;
    background: #ededed;
    border-radius: 6px;
}

#protocolsPdfViewer{
    flex: 0 0 calc(100% - 60px);
    overflow: auto;
}


#protocolsExaminations-frames iframe{
    width: 100%;
    height: 100%;
}

.searchBlanksContainer .blanksList{
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.searchBlanksContainer .blanksList-item{
    padding: 4px;
    border-radius: 4px;
    user-select: none;
}
.searchBlanksContainer .blanksList-item:hover{
    background: #1F90E2;
    color: #FFF;
    user-select: none;
}

.orderProtocolsList{
    padding: 10px 0;
}

.orderProtocolsList-item{
    padding: 4px;
    border-radius: 4px;
    user-select: none;
    display: flex;
    justify-content: space-between;
}

.orderProtocolsList-item:hover{
    background: #1F90E2;
    color: #FFF;
}



.receptionBoxIframe{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.receptionBoxIframe i{
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 2rem;
    z-index: 9;
}

.receptionBoxIframe iframe{
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 8;
}

/* Изменение цвета фона для выбранного элемента */
.chosen-container .chosen-single {
    background-color: #f0f0f0; /* Ваш цвет фона */
    border: 1px solid #ccc; /* Ваш цвет границы */
}

/* Изменение цвета текста для выбранного элемента */
.chosen-container .chosen-single span {
    color: #333; /* Ваш цвет текста */
}

/* Изменение стилей выпадающего списка */
.chosen-container .chosen-results li {
    background-color: #fff; /* Цвет фона для элементов списка */
    color: #333; /* Цвет текста для элементов списка */
}

/* Изменение стилей при наведении на элементы списка */
.chosen-container .chosen-results li:hover {
    background-color: #e0e0e0; /* Цвет фона при наведении */
}

/* Изменение стилей для выбранных элементов */
.chosen-container .chosen-results li.highlighted {
    background-color: #d0d0d0; /* Цвет фона для выделенного элемента */
}


@keyframes flash {
    0%{opacity: 0}
    20%{opacity: 0}
    100%{opacity: 1}
}

.flash {
    animation: flash .2s linear;
}


.dropdown-toggle-no-arrow::after {
    display: none !important;
}

.adminTable tr{
    cursor: default;
}
.adminTable tr > td:first-child{
    border-radius: 5px 0 0 5px;
}
.adminTable tr > td:last-child{
    border-radius: 0 5px 5px 0;
}

.adminTable tr:hover,
.adminTable tr.active{
    background: #CCC;
    color: #FFF
}

.context-menu {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    min-width: 160px;
    padding: 5px 0;
    font-family: sans-serif;
}
.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.context-menu li {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
}
.context-menu li:hover {
    background-color: #f2f2f2;
}
.context-menu .icon {
    margin-right: 8px;
}


table th.sortTableColumn{
    position: relative;
}

table th.sortTableColumn::before{
    content: url("/img/top-down-small-min.svg");
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

table th.sortTableColumn.sortASC::before{
    content: url("/img/down-small-min.svg");
}

table th.sortTableColumn.sortDESC::before{
    content: url("/img/top-small-min.svg");
}



.customerModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    font-size: 14px;
    line-height: 1em;
}
.customerModal-iconContainer{
    max-width: 150px;
}
.customerModal-icon{
    width: 100%;
    max-width: 150px;
    margin: auto;
    padding: 20px;
}
.customerModal-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}
.customerModal-container {
    background: white;
    width: 90%;
    height: 90%;
    overflow: auto;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.customerModal-header{
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    padding: 0 20px;
    border-bottom: 1px solid #CCC;
}
.customerModal-body{
    height: calc(100% - 80px);
    overflow-y: auto;
}

.customerModal-bottom{
    border-top: 1px solid #CCC;
    height: 40px;
    padding: 0 10px;
}
.customerModal-bottom button{
    padding: 4px 8px;
    border-radius: 4px;
}
.customerModal .close-btn {
    cursor: pointer;
}
.customerModal-sidebar {
    width: 300px;
    background-color: #e6f0fa;
    border-right: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
    line-height: 1.6em;
    flex: 0 0 auto;
}
.customerModal-sidebar button {
    display: block;
    width: 100%;
    padding: 2px 10px;
    margin-bottom: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: left;
    cursor: pointer;
}
.customerModal-sidebar button.active {
    background-color: #cce0f5;
    font-weight: bold;
}
.customerModal-content {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}
.customerModal .tab-content {
    display: none;
}
.customerModal .tab-content.active {
    display: block;
}
.customerModal .form-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.customerModal .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    flex: 1 1 200px;
}
.customerModal .form-group label {
    margin-bottom: 5px;
}
.customerModal .form-group input,
.customerModal .form-group select {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.customerModal .photo {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.customerModal .form-label{
    margin-bottom: 2px;
    padding: 0 4px;
}
.customerModal .form-control,
.customerModal .form-select
{
    padding: 0.125rem 0.35rem;
    font-size: 14px;
    min-height: auto;
}

.customerModal .form-check{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
}

.customerModal .form-check .form-check-input{
    margin-top: 0;
    flex: 0 0 auto;
}


.error_field{
    border: 1px solid #F00
}
.error_text{
    color: #F00;
}


.ui-widget.ui-widget-content{
    border-radius: 8px;
    margin-top: 5px;
    padding: 5px;
}


.customerModal-content tr.blue{
    background: #e8faff;
}
.customerModal-content tr.green{
    background: #c0dcc0;
}
.customerModal-content tr.red{
    background: #dcc0c0;
}




@media screen and (max-width: 1200px){

    .moreInfoContainerBtn{
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }

    .moreInfoContainerBtn.active{
        display: block;
    }

    .moreInfoContainer.active .moreInfoContainer-close {
        display: block;
    }

    .moreInfoContainer{
        position: absolute;
        background: white;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px !important;
        z-index: 99;
        height: 100%;
        transform: translateX(100%);
        display: none;
    }

    .moreInfoContainer.active{
        display: block;
        transform: translateX(0);
        box-shadow: var(--boxhadow);
    }

}


@media screen and (max-width: 992px){



}

@media screen and (max-width: 768px){

    .customerModal-sidebar{
        position: absolute;
        height: calc(100% - 40px);
        z-index: 99;
        display: none;
    }

    .customerModal-sidebar.active{
        display: block;
    }

    .dashBoardSection{
        margin: 0;
    }

    .loginForm{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .workerInterface{
        width: 90%;
    }

    .orderDetailContent{
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        z-index: 99;
        height: 100vh;
        padding: 0 !important;
        overflow-y: auto;
    }

    .orderDetailContent .hideOrderDetail{
        display: block !important;
    }

    .orderDetailContent > .box{
        border-radius: 0;
    }

    .orderDetailContent.active{
        transform: translateX(0);
    }

    .sidebarMenu{
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        z-index: 99;
        height: 100vh;
    }

    .sidebarMenu .minfySidebar{
        display: none;
    }

    .sidebarMenuReception{
        flex: 0 0 240px;
    }

    .sidebarMenu.active .sidebarMenu-close{
        display: flex;
    }

    .sidebarMenu.active{
        transform: translateX(0);
    }

    .sidebarMenu.active .ordersDatePicker{
        margin-right: 40px;
        margin-left: 20px;
    }

    .sidebarBurger{
        display: flex;
    }

    .tabsPanel > .tab{
        height: 40px;
        width: 40px;
    }

    .tabsPanel > .tab i{
        font-size: 22px;
    }

    .tabsPanel > .tab .text{
        display: none;
    }



    .aiProtocolsContent{
        display: flex;
        flex-direction: column;
    }

    .sidebarReceptionBoxes{
        flex-direction: column;
    }

    .intakeDatePicker{
        padding: 0 0.5rem;
    }

    .intakeCalendar > button{
        padding: 0.1rem 0.2rem;
    }

    .createCustomerWrapper label{
        display: block !important;
    }


    .workerCard-infoContainer{
        flex-direction: column;
        align-items: normal;
        gap: 1em;
    }

    .workerCard-more{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .workerCard-date{
        font-size: 16px;
    }

    .workerCard-filial{
        font-size: 16px;
    }


}
