@import url("./fonts/main.css");

:root {
    --font-main: "Inter Tight", sans-serif;
    --theme-bg: #FFF;
    --theme-body-bg: #FFF;
    --theme-head-bg: #f8fafd;
    --theme-table-border: rgba(231,234,243,.7);
    --white: #FFFFFF;
    --black: #1e2022;
    --text: #677788;
    --border: rgba(231, 234, 243, 0.7);
    --primary: #377dff;
    --primary-dark: #295ebf;
    --tabs-primary: #377dff;
    --container: 1190px;
    --theme-title: #1e2022;

    --bs-body-font-family:Inter,sans-serif;
    --bs-body-font-size:0.875rem;
    --bs-body-font-weight:400;
    --bs-body-line-height:1.5;
    --bs-body-color:#677788;
    --bs-body-bg:#fff;
    --bs-border-width:0.0625rem;
    --bs-border-style:solid;
    --bs-border-color:rgba(231,234,243,0.7);
    --bs-border-color-translucent:rgba(0,0,0,0.175);
    --bs-border-radius:0.5rem;
    --bs-border-radius-sm:0.3125rem;
    --bs-border-radius-lg:0.75rem;
    --bs-border-radius-xl:1rem;
    --bs-border-radius-2xl:2rem;
    --bs-border-radius-pill:50rem;
    --bs-link-color:#377dff;
    --bs-link-hover-color:#1366ff;
    --bs-code-color:#d63384;
    --bs-highlight-bg:#fdf4eb;
    --bs-btn-color:#677788;
}
body {
    font-size: .875rem;
    font-family: var(--bs-body-font-family), sans-serif;
    background: #fff;
    color: #677788;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: "Inter Tight", sans-serif;
}
@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 1.4109375rem;
    }
}
.h2,
h2 {
    font-size:calc(1.25625rem + .075vw)
}
@media (min-width:1200px) {
    .h2,
    h2 {
        font-size:1.3125rem;
    }
}
.h3,
h3 {
    font-size:1.1484375rem
}
.h4,
h4 {
    font-size:.984375rem
}
.h5,
h5 {
    font-size:.875rem
}
.h6,
h6 {
    font-size:.765625rem
}
p{
    font-family: "Inter Tight", sans-serif;
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 0;
}
p img {
    margin: 0;
}
.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}
.page-header {
    border-bottom: .0625rem solid rgba(231,234,243,.7);
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
}
.modal-close {
    position: absolute;
    top: -2px;
    right: 1px;
    z-index: 2;
}
.sidebar.collapsed .nav-link-title{
    opacity: 0;
    visibility: hidden;
}
/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 75px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    /*background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);*/
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    /**/color: #333;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 38px;
}

.sidebar-link:hover {
    color: #000;
    background-color: rgba(189,197,209,0.2);
    transform: translateX(5px);
}

.sidebar-link.active {
    /*color: #ffffff;*/
    color: #222;
    background-color: rgba(189,197,209,0.2);
    /*background: rgba(255, 255, 255, 0.1);*/
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.main-content {
    margin-left: var(--sidebar-width);
    background-color: #f8f9fa;
    min-height: 90vh;
    padding: 20px;
    transition: all 0.3s ease;
}
.collapsed ~ .main-content {
    margin-left: var(--sidebar-width-collapsed);
}
.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: -15px;
    top: 70px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    display: none;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    margin: 4px 8px;
    width: 60px;
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}
.sidebar.collapsed .parent-menu {
    margin-left: 30px;
}

.profile-info {
    transition: opacity 0.2s ease;
}
.sidebar.collapsed .hide-on-parent-collapse{
    opacity: 0;
    visibility: hidden;
}
.sidebar .nav-container {
    height: calc(100% - 3.875rem);
    overflow-y: auto;
}

.parent-menu{
    margin-left: 35px;
    border-left: 1px solid #ccc;
}

/*
 * Navbar
 */
.avatar-sm .avatar-img {
    font-size: 25px;
    vertical-align: middle;
    text-align: center;
}
.avatar:not(img) {
    background-color: #fff;
}
.avatar-sm, .avatar-sm .avatar-initials {
    width: 2.40625rem;
    height: 2.40625rem;
}
.avatar-circle {
    border-radius: 50%;
}
.avatar {
    position: relative;
    display: inline-block;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: .5rem;
}
.avatar-sm.avatar-circle .avatar-sm-status {
    bottom: -.08203125rem;
    right: -.08203125rem;
}
.avatar-status-success {
    color: #fff;
    background-color: #00c9a7;
}
.avatar-sm-status {
    width: .8203125rem;
    height: .8203125rem;
    font-size: .4375rem;
}
.avatar-status {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    text-align: center;
    border: .125rem solid #fff;
    line-height: 1;
    border-radius: 50%;
}
.avatar-status-primary {
    color:#fff;
    background-color:#377dff
}
.avatar-status-secondary {
    color:#fff;
    background-color:#71869d
}
.avatar-status-success {
    color:#fff;
    background-color:#00c9a7
}
.avatar-status-info {
    color:#fff;
    background-color:#09a5be
}
.avatar-status-warning {
    color:#000;
    background-color:#f5ca99
}
.avatar-status-danger {
    color:#fff;
    background-color:#ed4c78
}
.btn-status-danger {
    color: #ed4c78;
    background-color: #ed4c78;
}

.btn-status-primary {
    color:#377dff;
    background-color:#377dff;
}
.btn-status-secondary {
    color:#71869d;
    background-color:#71869d;
}
.btn-status-success {
    color:#00c9a7;
    background-color:#00c9a7;
}
.btn-status-info {
    color:#09a5be;
    background-color:#09a5be;
}
.btn-status-warning {
    color:#f5ca99;
    background-color:#f5ca99;
}
.btn-status-danger {
    color:#ed4c78;
    background-color:#ed4c78;
}
.btn-status-light {
    color:#f9fafc;
    background-color:#f9fafc
}
.btn-status-dark {
    color:#132144;
    background-color:#132144;
}
.btn-status {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border: .125rem solid #fff;
    padding: 0;
    border-radius: 50%;
}
.btn-sm-status {
    font-size: .65625rem;
    width: 12px;
    height: 12px;
}
.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}
.btn.rounded-circle .btn-sm-status {
    top: -.15625rem;
    right: -.15625rem;
}


.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
@media (max-width: 769px) {
    .navbar-expand-md .navbar-nav {
        flex-direction: row;
    }
    .h2, h2 {
        font-size: 20px;
    }
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    .nav-icon{
        padding-right: 10px;
    }
}

/*From old Style самописный (полезный код)*/

.page-content {
    width: 100%;
    padding: 24px;
}

.page-wrap {
    width: 100%;
    padding-left: 100px;
}

@media(max-width: 1023px) {
    .page-wrap {
        padding-left: 0px;
    }
}

.post-wrapper {
    padding: 24px;
    background-color: #FFF;
    border-radius: 8px;
}


.post-head {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 24px;
}

.post-head__item {
    font-size: 18px;
    line-height: 1.32;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.post-head__item.is-active {
    border-color: #007bff;
}

.post-content {
    display: none;
}

.post-content.is-active {
    display: block;
}

.post-show__title {
    font-size: 24px;
    line-height: 1.32;
    margin-bottom: 24px;
}

.post-show__text {
    font-size: 16px;
    line-height: 1.32;
}

.status-btn.is-online svg path {
    fill: rgb(61, 146, 61);
}

.btn-start {
    border-radius: 20px;
    color: #FFF !important;
    padding: 6px 8px !important;
    line-height: 1;
}

.no-select {
    border: 0;
    text-align: center;
    color: #007bff;
    background: none;
    padding: 0;
    height: auto;
}
.custom-select.no-select:focus  {
    box-shadow: none;
    border: 0;
}

.sidebar {
    height: 100vh;
    top: 0;
    z-index: 1;
    padding-top: 80px;
}

.post-head > a{
    color: #000000;
}
.thumb {
    width: 60px;
    height: 60px;
    margin: 0.2em -0.7em 0 0;
}
.remove_img_preview {
}

.remove_img_preview:before {
    content: "×";
    background : black;
    color: white;
    border-radius:50px;
    position:relative;
    font-size:0.9em;
    padding: 0 0.3em 0;
    text-align:center;
    cursor:pointer;
}



.comment-files {
    width: 150px;
    cursor: pointer;
}

.chat-form__file {
    cursor: pointer;
}


.refresh {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.20);
    padding: 8px;
    border: 0;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
}
.refresh .icon {
    fill: #323232;
}
.refresh:hover {
    background: #def4d7;
    cursor: pointer;
}

.asterisk-password {
    width: 90%;
}

.password-container{
    width: 400px;
    position: relative;
}
.asterisk-password-container input[type="password"],
.asterisk-password-container input[type="text"]{
    width: 100%;
    padding: 12px 36px 12px 12px;
    box-sizing: border-box;
}
.fa-eye-email{
    position: absolute;
    top: 46.5%;
    right: 2%;
    cursor: pointer;
}

.fa-eye{
    position: absolute;
    top: 79%;
    right: 2%;
    cursor: pointer;
}

.audio-tooltip {
    position: relative;
}
.audio-tooltip__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #111;
}
.audio-tooltip__icon svg {
    width: 16px;
    height: 16px;
}
.audio-tooltip__icon svg path {
    fill: #fff;
}
.audio-tooltip__content {
    position: absolute;
    top: -50px;
    right: 0;
    opacity: 0;
    visibility: hidden;
}
.audio-tooltip:hover .audio-tooltip__content {
    opacity: 1;
    visibility: visible;
}

.daterangepicker {
    z-index: 1056 !important;
}
.navbar-vertical-aside-mini-mode > .layout-vertical-nav-bar {
    width: 5.75rem !important;
}
.layout-vertical-nav-bar {
    width: 19.25rem !important;
}

.avatar-img {
    font-size: 20px;
}
.btn-ghost-secondary{
    padding: 4px 9px;
}
.user-menu li{
    margin: auto 2px;
}

.card-body-height {
    height: 100% !important;
}

.create-or-update {
    cursor: pointer;
}

#status_lead_select {
    left: -60px;
    position: relative;
}

.modal-body > iframe {
    width: 100%;
    height: 350px;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.audio-checked {
    color: green;
}

.add-record-for-lead-js {
    border: none;
    font-size: 23px;
}

.modal-partner {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-partner {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close-partner {
    color: #aaa;
    float: right;
    font-size: 25px;
    font-weight: bold;
}

.close-partner:hover,
.close-partner:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-custom-filed {
    display: block;
    width: 100%;
}

th.text-center,
td.text-center {
    text-align: center;
    vertical-align: middle;
}

.underline-blue {
    text-decoration: underline;
    text-decoration-color: blue;
    text-decoration-thickness: 2px;
}

.underline-yellow {
    text-decoration: underline;
    text-decoration-color: yellow;
    text-decoration-thickness: 2px;
}

.underline-green {
    text-decoration: underline;
    text-decoration-color: green;
    text-decoration-thickness: 2px;
}

.underline-red {
    text-decoration: underline;
    text-decoration-color: red;
    text-decoration-thickness: 2px;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.status-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
}

.status-new {
    background-color: blue; /* Новый лид: синий */
}

.status-no-answer {
    background-color: yellow; /* Недозвон: желтый */
}

.status-partner {
    background-color: green; /* Передан партнеру: зеленый */
}

.status-other {
    background-color: red; /* Все остальное: красный */
}

.tooltip-custom {
    position: relative;
    max-width: 200px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
}

.tooltiptext {
    visibility: hidden;
    width: 170px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: fixed; /* Измените на fixed */
    z-index: 9999; /* Достаточно высокое значение */
    white-space: normal;
    word-wrap: break-word;
    top: calc(50% - 20px); /* Используйте точное позиционирование по вертикали */
    left: calc(50% - 85px); /* Используйте точное позиционирование по горизонтали */
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid;
}

.partners-tooltiptext {
    width: 400px;
}

.tooltip-custom:hover .tooltiptext:not(:empty) {
    visibility: visible;
    opacity: 1;
}

.mt-minus {
    margin-top: -4px;
}

.table-adaptive-th {
    max-width: 80px;
    width: 100%;
    margin: auto;
}
.table-adaptive-th select {
    width: 100%;
}

.status-bold-3, .status-bold-2 {
    font-weight: bold;
}


.time-status-danger {
    color: red;
}

.time-status-success {
    color: green;
}

.time-status-warning {
    color: rgb(128, 150, 48);
}

.form-comments {
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.form-comments__title {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 767px) {
    .form-comments__title {
        padding: 12px 16px;
        font-size: 14px;
    }
}

.form-comments__list {
    padding: 16px 24px;
    height: 300px;
    overflow-y: auto;
}

@media (max-width: 767px) {
    .form-comments__list {
        padding: 12px 16px;
    }
}

.form-comments__list::-webkit-scrollbar {
    display: none;
}

.form-comments__item {
    padding-left: 32px;
    position: relative;
}

@media (max-width: 767px) {
    .form-comments__item {
        padding-left: 0;
    }
}

.form-comments__item::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 10px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    border: 7px solid #EBF2FF;
    background-color: #377DFF;
}

@media (max-width: 767px) {
    .form-comments__item::before {
        display: none;
    }
}

.form-comments__item:not(:last-of-type) {
    margin-bottom: 16px;
}

.form-comments__item-date {
    font-size: 14px;
    font-weight: 500;
}

.form-comments__item-text {
    font-size: 16px;
    margin-bottom: 8px;
}

.form-comments__item-images {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
}

.form-comments__item-images::-webkit-scrollbar {
    display: none;
}

.form-comments__item-images img {
    max-width: 160px;
    height: 100px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.form-comments__item-audio {
    width: 100%;
}

.form-comments__item-audio audio {
    display: block;
    width: 100%;
}

.form-file {
    position: relative;
}

.form-file__input {
    position: absolute;
    width: 0;
    min-width: 0;
}

.form-file__label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-file__text {
    font-size: 16px;
}

@media (max-width: 767px) {
    .form-file__text {
        font-size: 14px;
    }
}

.form-file__icon {
    --size: 24px;
    width: var(--size);
    height: var(--size);
}

@media (max-width: 767px) {
    .form-file__icon {
        --size: 16px;
    }
}


.comment-text-right {
    text-align: right;
}

.form-comments__item.comment-text-right::before {
    left: auto;
    background-color: #43d569;
}

.leads-status-filter {
    min-width: 190px;
}

.ml-5 {
    margin-left: 5px;
}
@media (min-width: 576px) {
    .top-manager-statistics {
        margin-right: 160px;
    }
}
@media (max-width: 575.98px) {
    .top-manager-statistics {
        margin-right: 30px;
    }
    .custom-select{
        width: 100%;
    }
    .status-btn{
        padding: 7px;
    }
    header .navbar-nav{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    header nav.navbar{
        width: 100%;
        max-height: 60px;
    }
    .sidebar.collapsed {
        width: 50px;
    }
    .main-content{
        padding: 0;
    }
    .collapsed ~ .main-content {
        margin-left: 50px;
    }
    .card-header .form-control{
        width: 160px;
    }

}

@media (max-width: 768px) {
    .top-manager-statistics {
        margin-right: 30px;
    }
    .custom-select{
        width: 100%;
    }
    .status-btn{
        padding: 7px;
    }
}
.top-manager-statistics-top {
    color: #4db222;
}

.top-manager-statistics-middle {
    color: #0060ff;
}

.top-manager-statistics-low {
    color: #ff0000;
}
.border-calling-leads-stat {
    border-right: 1px solid #aaa;
}

.managers-rating-dropdown {
    width: 380px;
    height: 300px;
    overflow: auto;
}

.tooltip-custom-repeat-leads {
    white-space: nowrap !important;
}

.mic-icon {
    display: none;            /* по умолчанию скрыты */
    width: 350px;             /* настраиваем размер по желанию */
    height: auto;
    background: none;         /* прозрачный фон */
    cursor: pointer;          /* если захотите кликать */
}

.mic-container {
    /* фиксируем контейнер относительно окна */
    position: fixed;
    top: 50%;
    left: 50%;
    /* «сдвигаем» точку (50%,50%) контейнера в центр экрана */
    transform: translate(-50%, -50%);

    /* опционально — flex, чтобы иконка внутри была по центру контейнера */
    display: flex;
    justify-content: center;
    align-items: center;
    /* не даём контейнеру «съезжать» по размеру */
    width: auto;
    height: auto;
}

.mic-text {
    text-align: center;
    font-weight: 700;
}
.data-leads .ts-control{
    max-width: 250px;
    margin: auto;
}
.data-leads  a.btn-white{
    padding: 10px;
}
.data-leads button.btn-white{
    padding: 2px 16px;
    min-height: 44px;
}
.nav-control {
    display: flex;
    align-items: center;
    gap: 4px;
}
audio {
    min-width: 60px;
    display: block;
    width: 100%;
}

/*Старая тема*/
.card {
    --bs-card-cap-color: #677788;
    --bs-card-spacer-y: 1.3125rem;
    --bs-card-spacer-x: 1.3125rem;
    --bs-card-title-spacer-y: 0.25rem;
    --bs-card-border-width: 0.0625rem;
    --bs-card-border-color: rgba(231, 234, 243, 0.7);
    --bs-card-border-radius: 0.75rem;
    --bs-card-box-shadow: 0rem 0.375rem 0.75rem rgba(140, 152, 164, 0.075);
    --bs-card-inner-border-radius: 0.6875rem;
    --bs-card-cap-padding-y: 1.3125rem;
    --bs-card-cap-padding-x: 1.3125rem;
    --bs-card-cap-bg: transparent;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1.3125rem 1.3125rem;
    --bs-card-group-margin: 0.75rem;
    word-wrap: break-word;
}
.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(231, 234, 243, 0.7);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg:rgba(0, 0, 0, 0);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(231, 234, 243, 0.4);
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00c9a7;
    --bs-btn-border-color: #00c9a7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00ab8e;
    --bs-btn-hover-border-color: #00a186;
    --bs-btn-focus-shadow-rgb: 38,209,180;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00a186;
    --bs-btn-active-border-color: #00977d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #00c9a7;
    --bs-btn-disabled-border-color: #00c9a7;
}
.table thead th {
    font-size: .74375rem;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-white {
    background-color: #fff;
    border: .0625rem solid rgba(231,234,243,.7);
    border-top-color: rgba(231, 234, 243, 0.7);
    border-right-color: rgba(231, 234, 243, 0.7);
    border-bottom-color: rgba(231, 234, 243, 0.7);
    border-left-color: rgba(231, 234, 243, 0.7);
}
.btn-white:hover {
    color: #1366ff;
    border-color: rgba(231,234,243,.7);
    background-color: #fff;
    box-shadow: 0 3px 6px -2px rgba(140,152,164,.25);
}
.data-leads .btn {
    color: #677788;
}
.search-panel__btn {
    height: 43px;
    width: 120px;
    outline: none;
    border: none;
    background-color: #007bff;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}
.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: var(--bs-table-hover-bg);
    color: #677788;
}

.input-group-flush .form-control, .input-group-flush .form-select {
    background-color: transparent;
    border-top: none;
    border-right: none;
    border-left: none;
    box-shadow: none;
    border-radius: 0;
}
.table thead th {
    background-color: #f8fafd;
    color: #677788;
    font-size: .74375rem;
    font-weight: 600;
    text-transform: uppercase;
}
.input-group-prepend{
    background: unset;
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 0;
}
.form-control-lg {
    min-height: calc(1.5em + 1.625rem);
    padding: .75rem 1rem;
    font-size: .875rem;
    border-radius: .3125rem;
}.form-select {
     display: block;
     width: 100%;
     padding: .6125rem 2.25rem .6125rem 1rem;
     -moz-padding-start: calc(1rem - 3px);
     font-size: .875rem;
     font-weight: 400;
     line-height: 1.5;
     color: #677788;
     background-color: #fff;
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2371869d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
     background-repeat: no-repeat;
     background-position: right 1rem center;
     background-size: 13px 9px;
     border: .0625rem solid rgba(231,234,243,.7);
     border-radius: .3125rem;
     transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
 }
.chat-form__textarea {
    display: inline-block;
    width: 100%;
    outline: none;
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px 14px;
    margin-right: 16px;
    width: 100%;
    max-width: 100%;
}
.chat-form__action {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.chat-form__file {
    cursor: pointer;
    margin: 0 0 0 auto;
}
.list-separator .list-inline-item:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: .8rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "/";
    opacity: .4;
}
.list-separator .list-inline-item:not(:last-child) {
    padding-right: 2rem;
}
.list-separator .list-inline-item {
    position: relative;
    margin-left: 0;
    margin-right: -.25rem;
}
.list-inline-item {
    display: inline-block;
}
.text-body {
    color: rgba(103, 119, 136 ,1) !important;
}
@media (min-width: 768px) {
    .card-header-content-md-between {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: .5rem;
    }
}
.buttons-action {
    min-width: 185px;
}
@media (max-width: 1200px) {
    .buttons-action {
        min-width: unset;
    }
}
@media (max-width: 1600px){
    .data-leads.table td, .data-leads.table th {
        padding: .5rem 0;
    }
}

.card-header .btn{
    margin-top: auto;
    height: 40px;
}
.sidebar.collapsed .create-or-update{
    display: none;
}

.table>:not(caption)>*>* {
    color: unset;
}
.bs-color-blue{
    color:#6293d8;
}
.bs-color-green{
    color:green;
}
/*
.status-tr-ok{
    background-color: rgba(100, 255, 100, 0.1);
}*/
.status-tr-error{
    background-color: rgba(255, 100, 100, 0.1);
}.status-tr-warning{
     background-color: rgba(205, 205, 100, 0.1);
 }
.status-tr-good{
     background-color: rgba(100, 255, 100, 0.1);
}

.modal-dialog .btn-close{
    position: absolute;
    right: 4px;
    top: 4px;
    cursor: pointer;
}

.select2-container--open {
    z-index: 99999;
}
.hide-pass{
    width: 175px;
}
