* {
    scrollbar-width: thin;
    scrollbar-color: #FFFFFF #ececec;
}

/* ��� Chrome/Edge/Safari */
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: #FFFFFF;
}

*::-webkit-scrollbar-thumb {
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 6px solid #ececec;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter'), local('Inter-Regular'), url('../fonts/Inter-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter-Bold'), url('../fonts/Inter-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}



body {
    margin: 0px 0px 0px 0px;
    background-color: #f6f7f8;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    overflow: hidden;
    font-family: "Inter"
}

textarea {
    font-family: "Inter"
}

input {
    font-family: "Inter";
}

button {
    outline: none !important;
}

.position-relative{
    position: relative;
}

.flex{
    display: flex;
}

.pointer{
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.content_wrapper {
    background-color: white;
    border-radius: 24px;
    padding: 24px;
}

.disable_button {
    opacity: 0.6;
    cursor: default !important; 
}

.w-100{
    width: 100%;
}

.w-50 {
    width: 50%;
}

.h-100{
    height: 100%;
}

.m-0 {
    margin: 0px !important;
}

.m-1 {
    margin: 4px !important;
}

.m-2 {
    margin: 8px !important;
}

.m-3 {
    margin: 12px !important;
}

.m-4 {
    margin: 16px !important;
}

.m-5 {
    margin: 20px !important;
}

.m-6 {
    margin: 24px !important;
}

.m-7 {
    margin: 28px !important;
}

.m-8 {
    margin: 32px !important;
}


.mt-0 {
    margin-top: 0px !important;
}

.mt-1 {
    margin-top: 4px !important;
}

.mt-2 {
    margin-top: 8px !important;
}

.mt-3 {
    margin-top: 12px !important;
}

.mt-4 {
    margin-top: 16px !important;
}

.mt-5 {
    margin-top: 20px !important;
}

.mt-6 {
    margin-top: 24px !important;
}

.mt-7 {
    margin-top: 28px !important;
}

.mt-8 {
    margin-top: 32px !important;
}


.mb-0 {
    margin-bottom: 0px !important;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mb-3 {
    margin-bottom: 12px !important;
}

.mb-4 {
    margin-bottom: 16px !important;
}

.mb-5 {
    margin-bottom: 20px !important;
}

.mb-6 {
    margin-bottom: 24px !important;
}

.mb-7 {
    margin-bottom: 28px !important;
}

.mb-8 {
    margin-bottom: 32px !important;
}


.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 4px !important;
}

.ml-2 {
    margin-left: 8px !important;
}

.ml-3 {
    margin-left: 12px !important;
}

.ml-4 {
    margin-left: 16px !important;
}

.ml-5 {
    margin-left: 20px !important;
}

.ml-6 {
    margin-left: 24px !important;
}

.ml-7 {
    margin-left: 28px !important;
}

.ml-8 {
    margin-left: 32px !important;
}


.mr-0 {
    margin-right: 0px !important;
}

.mr-1 {
    margin-right: 4px !important;
}

.mr-2 {
    margin-right: 8px !important;
}

.mr-3 {
    margin-right: 12px !important;
}

.mr-4 {
    margin-right: 16px !important;
}

.mr-5 {
    margin-right: 20px !important;
}

.mr-6 {
    margin-right: 24px !important;
}

.mr-7 {
    margin-right: 28px !important;
}

.mr-8 {
    margin-right: 32px !important;
}


.mx-0 {
    margin-inline: 0px !important;
}

.mx-1 {
    margin-inline: 4px !important;
}

.mx-2 {
    margin-inline: 8px !important;
}

.mx-3 {
    margin-inline: 12px !important;
}

.mx-4 {
    margin-inline: 16px !important;
}

.mx-5 {
    margin-inline: 20px !important;
}

.mx-6 {
    margin-inline: 24px !important;
}

.mx-7 {
    margin-inline: 28px !important;
}

.mx-8 {
    margin-inline: 32px !important;
}


.my-0 {
    margin-block: 0px !important;
}

.my-1 {
    margin-block: 4px !important;
}

.my-2 {
    margin-block: 8px !important;
}

.my-3 {
    margin-block: 12px !important;
}

.my-4 {
    margin-block: 16px !important;
}

.my-5 {
    margin-block: 20px !important;
}

.my-6 {
    margin-block: 24px !important;
}

.my-7 {
    margin-block: 28px !important;
}

.my-8 {
    margin-block: 32px !important;
}

.m-auto{
    margin: auto !important;
}

.p-0 {
    padding: 0px !important;
}

.p-1 {
    padding: 4px !important;
}

.p-2 {
    padding: 8px !important;
}

.p-3 {
    padding: 12px !important;
}

.p-4 {
    padding: 16px !important;
}

.p-5 {
    padding: 20px !important;
}

.p-6 {
    padding: 24px !important;
}

.p-7 {
    padding: 28px !important;
}

.p-8 {
    padding: 32px !important;
}


.pt-0 {
    padding-top: 0px !important;
}

.pt-1 {
    padding-top: 4px !important;
}

.pt-2 {
    padding-top: 8px !important;
}

.pt-3 {
    padding-top: 12px !important;
}

.pt-4 {
    padding-top: 16px !important;
}

.pt-5 {
    padding-top: 20px !important;
}

.pt-6 {
    padding-top: 24px !important;
}

.pt-7 {
    padding-top: 28px !important;
}

.pt-8 {
    padding-top: 32px !important;
}


.pb-0 {
    padding-bottom: 0px !important;
}

.pb-1 {
    padding-bottom: 4px !important;
}

.pb-2 {
    padding-bottom: 8px !important;
}

.pb-3 {
    padding-bottom: 12px !important;
}

.pb-4 {
    padding-bottom: 16px !important;
}

.pb-5 {
    padding-bottom: 20px !important;
}

.pb-6 {
    padding-bottom: 24px !important;
}

.pb-7 {
    padding-bottom: 28px !important;
}

.pb-8 {
    padding-bottom: 32px !important;
}


.pl-0 {
    padding-left: 0px !important;
}

.pl-1 {
    padding-left: 4px !important;
}

.pl-2 {
    padding-left: 8px !important;
}

.pl-3 {
    padding-left: 12px !important;
}

.pl-4 {
    padding-left: 16px !important;
}

.pl-5 {
    padding-left: 20px !important;
}

.pl-6 {
    padding-left: 24px !important;
}

.pl-7 {
    padding-left: 28px !important;
}

.pl-8 {
    padding-left: 32px !important;
}


.pr-0 {
    padding-right: 0px !important;
}

.pr-1 {
    padding-right: 4px !important;
}

.pr-2 {
    padding-right: 8px !important;
}

.pr-3 {
    padding-right: 12px !important;
}

.pr-4 {
    padding-right: 16px !important;
}

.pr-5 {
    padding-right: 20px !important;
}

.pr-6 {
    padding-right: 24px !important;
}

.pr-7 {
    padding-right: 28px !important;
}

.pr-8 {
    padding-right: 32px !important;
}


.px-0 {
    padding-inline: 0px !important;
}

.px-1 {
    padding-inline: 4px !important;
}

.px-2 {
    padding-inline: 8px !important;
}

.px-3 {
    padding-inline: 12px !important;
}

.px-4 {
    padding-inline: 16px !important;
}

.px-5 {
    padding-inline: 20px !important;
}

.px-6 {
    padding-inline: 24px !important;
}

.px-7 {
    padding-inline: 28px !important;
}

.px-8 {
    padding-inline: 32px !important;
}


.py-0 {
    padding-block: 0px !important;
}

.py-1 {
    padding-block: 4px !important;
}

.py-2 {
    padding-block: 8px !important;
}

.py-3 {
    padding-block: 12px !important;
}

.py-4 {
    padding-block: 16px !important;
}

.py-5 {
    padding-block: 20px !important;
}

.py-6 {
    padding-block: 24px !important;
}

.py-7 {
    padding-block: 28px !important;
}

.py-8 {
    padding-block: 32px !important;
}



.primary_button {
    display: flex;
    padding: 7px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background-color: #00a3ba;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    margin-top: 6px;
    color: white;
    min-width: 150px;
    height: min-content;
}

.secondary_button {
    display: flex;
    padding: 7px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background-color: #f2f2f2;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    margin-top: 6px;
    color: black;
    min-width: 150px;
    height: min-content;
}

.primary_button:disabled {
    opacity:0.5;
    cursor:no-drop;
}

.secondary_button:disabled {
    opacity: 0.5;
    cursor: no-drop;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    margin-right: 5px;
}

.dot_contract_new {
    border: 0.1px solid;
    background-color: white;
}

.dot_contract_active {
    background-color: green;
}

.dot_contract_frozen {
    background-color: blue;
}

.dot_contract_indebt {
    background-color: orange;
}

.dot_contract_blocked {
    background-color: yellow;
}

.dot_contract_finished {
    background-color: black;
}

.dot_contract_terminated {
    background-color: gray;
}


.dot_contract_cancelled {
    background-color: red;
}

.dot_servicecontract_new {
    border: 0.1px solid;
    background-color: white;
}

.dot_service_contract_active {
    background-color: green;
}

.dot_service_contract_frozen {
    background-color: blue;
}

.dot_service_contract_indebt {
    background-color: orange;
}

.dot_service_contract_blocked {
    background-color: yellow;
}

.dot_service_contract_finished {
    background-color: black;
}

.dot_service_contract_terminated {
    background-color: gray;
}

.dot_service_contract_done {
    background-color: black;
}

.dot_service_contract_cancelled {
    background-color: grey;
}

.dot_service_contract_refunded {
    background-color: red;
}

.dot_freeze_awaiting_activation {
    background-color: yellow;
}

.dot_freeze_active {
    background-color: green;
}

.dot_freeze_finished {
    background-color: black;
}

.dot_freeze_awaiting_finish {
    background-color: #cc8800
}

.dot_freeze_cancelled {
    background-color: grey;
}

.dot_order_not_processed {
    background-color: yellow;
}

.dot_order_processing {
    background-color: blue;
}

.dot_order_cancelled {
    background-color: black;
}

.dot_order_paid {
    background-color: green;
}

.dot_order_not_paid {
    background-color: grey;
}

.dot_order_refunded {
    background-color: red;
}

.dot_refund_order_not_processed {
    background-color: yellow;
}

.dot_refund_order_processing {
    background-color: blue;
}

.dot_refund_order_cancelled {
    background-color: black;
}

.dot_refund_order_refunded {
    background-color: green;
}

.dot_refund_order_not_refunded {
    background-color: red;
}


.dot_mailing_status_new {
    border: 0.1px solid;
    background-color: white;
}

.dot_mailing_status_awaiting_dispatch {
    background-color: orange;
}

.dot_mailing_status_sending {
    background-color: #AB0064;
}

.dot_mailing_status_sent {
    background-color: green;
}

.dot_mailing_status_not_ready {
    background-color: red;
}

.dot_mailing_status_stopped {
    background-color: grey;
}


.dot_training_block_not_paid {
    border: 0.1px solid;
    background-color: white;
}

.dot_training_block_active {
    background-color: green;
}

.dot_training_block_disactive {
    background-color: red;
}


.dot_training_not_paid {
    border: 0.1px solid;
    background-color: white;
}

.dot_training_accept {
    background-color: green;
}

.dot_training_reject {
    background-color: red;
}

.hide_in_desktop {
    display: none;
}

.wrapper {
    overflow: hidden;
    max-height: calc(100vh - 140px);
    min-height: 200px;
    display: flex;
    flex-flow: column;
}

.component_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    margin: 0px;
    margin-bottom: 20px;
}

.ql-toolbar {
    border-radius: 12px 12px 0 0;
    border: none !important;
    border-top: 1.5px solid #D5D5D5 !important;
    border-left: 1.5px solid #D5D5D5 !important;
    border-right: 1.5px solid #D5D5D5 !important;
}

.ql-container {
    border-radius: 0px 0px 12px 12px;
    border: 1.5px solid #D5D5D5 !important;
}

.edit_error .ql-toolbar {
    border-radius: 12px 12px 0 0;
    border-top: 1.5px solid red !important;
    border-left: 1.5px solid red !important;
    border-right: 1.5px solid red !important;
}

.edit_error .ql-container {
    border-radius: 0px 0px 12px 12px;
    border: 1.5px solid red !important;
}

.ql-editor {
    min-height: 150px;
}

.empty_table {
    margin-left: 12px;
    color: #65656F;
}

.empty_table_with_margin {
    text-align: center;
    margin-top: 50px;
    color: #65656F;
}

.last_viewed_client_wrapper {
    display: flex;
    height: 30px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.last_viewed_client {
    border-right: 1px solid #D5D5D5;
    border-top: 1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-radius: 0px 24px 24px 0px;
    position: relative;
    cursor: pointer;
    color: #65656F;
    max-width: 300px;
    margin-left: -13px;
    display: flex;
    justify-content: space-between;
}

.last_viewed_client:first-child {
    border-radius: 24px;
    border-left: 1px solid #D5D5D5;
    margin-left: 0px;
}

.last_viewed_client_active {
    border-radius: 24px;
    border-left: 1px solid #D5D5D5;
    background-color: white;
    cursor: default;
    color: black;
    margin-left: 0px;
}

.last_viewed_client_p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
    padding: 5px 0px 5px 20px;
    width: calc(100% - 48px);
}

.last_viewed_client_active .last_viewed_client_p {
    padding: 5px 0px 5px 10px;
    width: 100%;
}

.last_viewed_client_active .last_viewed_client_img {
    height: 11px;
    margin-left: 4px;
    margin-top: 9px;
}

.last_viewed_client_img_wrapper {
    width: 28px;
    cursor: pointer;
}

.last_viewed_client_img {
    height: 11px;
    margin-left: 8px;
    margin-top: 9px;
}

.last_viewed_client_hover {
    position: absolute;
    width: max-content;
    border-radius: 4px;
    top: -24px;
    padding: 1px 12px;
    background-color: white;
    border: 1px solid #D5D5D5;
    left: 8px;
    display: none;
    opacity: 0.7;
}

.last_viewed_client:hover .last_viewed_client_hover {
    display: flex;
}


.input_wrapper.edit_client_elment.phone_confirmation_required input.input_with_button{
        background-color: #f2f2f2;
        cursor: pointer;
    }

    .input_wrapper.edit_client_elment.phone_confirmation_required img.input_cancel_without_search{
        display: none;
    }


@media(max-width: 768px) {
    .wrapper {
        max-height: calc(100vh - 130px);
    }
}

@media(max-width: 650px) {
    .last_viewed_client_wrapper {
        display: none;
    }
}

@media(max-width: 500px) {
    .primary_button {
        width: 100%;
    }

    .secondary_button {
        width: 100%;
    }

    .hide_in_desktop {
        display: block;
        margin-right: 4px;
    }
}


@keyframes show {
    0% {
        top: -100%;
    }

    100% {
        top: 50%;
    }
}