@media screen and (max-width: 550px) {
  .form-buttons .button-container {
    flex-direction: column;
    gap: 16px;
  }
  .form-buttons .first-button-group {
    flex-direction: column;
    margin-bottom: 30px;
  }
}
.form-buttons .button-container {
  display: flex;
  justify-content: space-between;
}
.form-buttons .first-button-group {
  display: flex;
  gap: 16px;
}
.bc-users-history-tab {
  width: 100%;
  max-width: 800px;
}
.bc-users-history-tab .container {
  display: flex;
  max-width: 800px;
  justify-content: space-between;
  align-items: center;
}
.bc-users-history-tab .container .label {
  min-width: 100px;
}
.bc-users-history-tab .container .second-column {
  max-width: 400px;
  width: 100%;
}
.bc-users-history-tab .container .second-column .date-container {
  display: flex;
  gap: 10px;
  align-items: center;
}
.bc-users-history-tab .container .second-column .date-container .date-container_label {
  min-width: 60px;
}
.bc-users-history-tab .space {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.bc-users-history-tab .action {
  margin-bottom: 30px;
}
.bc-users-history-tab .action .action-item {
  margin-left: 30px;
}
.bc-users-history-tab .action .action-item .action-item_icon {
  width: 30px;
  height: 10px;
  padding-bottom: 1px;
}
.bc-users-history-tab .action .action-item .action-item_icon-marker {
  width: 15px;
  height: 4px;
  padding-bottom: 4px;
}
@media screen and (max-width: 834px) {
  .bc-users-history-tab .divider {
    width: auto;
    max-width: 400px;
    min-width: none !important;
  }
  .bc-users-history-tab .ant-form-item {
    margin: 0;
    max-width: 400px;
    width: 100%;
  }
  .bc-users-history-tab .ant-form-item .ant-picker {
    max-width: 400px;
    width: 100%;
  }
  .bc-users-history-tab .space {
    flex-direction: column;
    max-width: 400px;
  }
  .bc-users-history-tab .container {
    width: 100%;
    flex-direction: column;
    align-items: baseline;
    gap: 10px;
  }
  .bc-users-history-tab .button {
    width: 100%;
  }
  .bc-users-history-tab .branches-container {
    width: auto;
  }
}
.bc-error-403-unauthorized {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.bc-error-403-unauthorized .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 550px) {
  .bc-error-403-unauthorized img {
    height: auto;
    width: 33.3333333333vw;
  }
}
.bc-error-404-not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}
.bc-error-404-not-found .error-container {
  max-width: 500px;
}
.bc-extended-message .alert-about-integration-type {
  align-items: flex-start;
}
.bc-extended-message .alert-about-integration-type svg {
  margin-top: 3px !important;
}
.bc-extended-message .message-and-footer-space {
  width: 100%;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons {
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  margin-bottom: 24px;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons:has(.ant-form-item-has-error) {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .message-form-item {
  margin: 0 !important;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .message-field {
  resize: vertical;
  min-height: 127.5px;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .message-field.small-message-text {
  font-size: 12px;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .message-field-divider {
  margin: 0 auto;
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .counter {
  padding-left: 7px;
  display: flex;
  justify-self: flex-start;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.025);
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .buttons-container {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.025);
}
.bc-extended-message .message-and-footer-space .message-field-with-buttons .buttons-container .key-words-icon {
  margin-bottom: 2px;
}
.bc-extended-message em-emoji-picker {
  margin-top: 263px;
  margin-right: 25px;
}
.bc-extended-message .leads-service em-emoji-picker {
  margin-top: 179px;
}
.bc-extended-message .ant-input-status-error {
  color: rgb(55, 58, 60);
}
.filter {
  position: relative;
  margin-right: 12px;
}
.filter.branches_filter .filter-overlay .filter-item {
  margin-top: 3px;
}
.filter .selected-items-count {
  margin-left: 3px;
  color: gray;
}
.filter .filter-label {
  display: flex;
  align-items: center;
}
.filter .filter-label .triangle {
  margin-left: 12px;
  font-size: 20px;
  display: inline-block;
  transform: rotate(90deg);
  transition: transform 0.5s;
}
.filter .filter-label .triangle.expanded {
  transform: rotate(0deg);
}
@keyframes rotation {
  50% {
    transform: rotate(0deg);
  }
}
.filter .filter-overlay {
  display: flex;
  flex-direction: column;
  position: absolute;
  min-width: 200px;
  background-color: white;
  z-index: 4;
  padding: 6px 12px;
  border: 1px solid rgb(245, 245, 245);
  max-height: 360px;
  overflow-x: auto;
  left: 0;
}
.filter .filter-overlay.right-aligned {
  left: auto;
  right: 0;
}
.filter .filter-overlay .search-input {
  margin-bottom: 6px;
}
.filter .filter-overlay .select-all {
  line-height: 24px;
  display: flex;
  font-weight: 600;
}
.filter .filter-overlay .select-all input[type=checkbox] {
  margin-right: 12px;
}
@media screen and (max-width: 550px) {
  .filter .filter-overlay {
    right: 0;
    top: 90px;
  }
}
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loader-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.loader-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.image-gallery-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.image-gallery-container .image-gallery-description {
  font-size: 12px;
}
.image-gallery-container .image-gallery-anchor {
  display: block;
  position: relative;
}
.image-gallery-container .image-gallery-anchor .image-gallery-preview {
  top: 0;
  border-radius: 10px;
}
.image-gallery-container .image-gallery-anchor .image-gallery-thumbnail {
  display: flex;
  border-radius: 10px;
  width: 100%;
  min-width: 140px;
  height: 100px;
  background-color: #fff;
  align-items: center;
  justify-content: center;
}
.image-gallery-container .image-gallery-anchor .image-gallery-thumbnail-icon svg {
  width: 24px;
  height: 24px;
}
.image-gallery-container .image-gallery-anchor .image-gallery-load-button {
  width: 25px;
  height: 25px;
  min-height: 25px;
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
}
.image-gallery-container .video-container {
  display: block;
  position: relative;
}
.image-gallery-container .video-container .image-gallery-load-button {
  width: 25px;
  height: 25px;
  min-height: 25px;
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
}
.text-area-field {
  align-items: flex-start !important;
}
.client-data_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: max-content;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}
.client-data_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.client-data_header {
  display: flex;
  width: 100%;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.client-data_title {
  margin: 0px 0px 10px 0px;
}
.client-data_content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: calc(100% - 12px);
  justify-content: flex-start;
  align-items: flex-start;
  padding-right: 12px;
}
.client-data_avatar {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.client-data_loading {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.client-data_form {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  height: max-content;
  overflow-y: auto;
}
.client-data_fields {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  justify-content: flex-start;
  align-items: flex-start;
}
.client-data_fields_item,
.client-data_fields .field-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-start;
  align-items: baseline;
}
.client-data_fields_item .ant-form-item,
.client-data_fields .field-container .ant-form-item {
  width: 100%;
}
.client-data_fields_item--textarea {
  align-items: flex-start;
}
.client-data_fields_input {
  width: 100%;
}
.client-data_fields_input input {
  width: 100%;
}
.client-data_fields_label,
.client-data_fields .ant-typography {
  width: 200px;
  min-width: 200px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.client-data_fields_label-holder {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  width: 200px;
  min-width: 200px;
}
.client-data_fields_label-holder .ant-typography {
  width: auto;
  min-width: 0;
  flex: 1;
}
.client-data_fields_label--important {
  font-weight: 600;
}
.client-data_fields_importance-toggle {
  color: rgba(0, 0, 0, 0.45);
}
.client-data_fields_importance-toggle--active {
  color: #faad14;
}
.client-data_fields_inline-create {
  width: 100%;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 24px;
}
.client-data_fields_inline-create_name {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  min-width: 200px;
  padding-right: 12px;
}
.client-data_fields_inline-create_actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 12px;
}
.client-data_fields_inline-create .client-data_fields_item {
  align-items: flex-start;
}
.client-data_fields .checkbox {
  margin-left: 200px;
  margin-top: 0px;
  margin-bottom: 12px;
}
.client-data_fields_select {
  width: 100%;
}
.client-data_fields .organization-comment {
  margin-top: 24px;
}
.client-data_fields_add-field {
  width: 100%;
  padding-left: 200px;
  margin-bottom: 24px;
}
.client-data_fields_add-field .ant-btn {
  width: 100%;
}
.client-data_footer {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 10px;
  padding-top: 24px;
}
.client-data_footer_button {
  min-width: 200px;
}
@media (max-width: 768px) {
  .client-data_content {
    width: 100%;
    padding-right: 0;
  }
  .client-data_form {
    flex-direction: column;
    gap: 16px;
  }
  .client-data_fields {
    max-width: 100%;
  }
  .client-data_avatar {
    flex-direction: row;
    height: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .client-data_footer_button {
    min-width: 0;
    flex: 1;
  }
}
@media (max-width: 480px) {
  .client-data_title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .client-data_fields_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .client-data_fields_label {
    width: 100%;
    min-width: unset;
  }
  .client-data_fields_label-holder {
    width: 100%;
    min-width: unset;
  }
  .client-data_fields_inline-create_name {
    width: 100%;
    min-width: unset;
    padding-right: 0;
  }
  .client-data_fields_input {
    width: 100%;
  }
  .client-data_fields_textarea {
    width: 100%;
  }
  .client-data_fields .checkbox {
    margin-left: 0;
    margin-bottom: 12px;
  }
  .client-data_fields_add-field {
    padding-left: 0;
  }
  .client-data_footer {
    padding-top: 16px;
    flex-direction: column;
  }
  .client-data_footer_button {
    width: 100%;
    flex: unset;
  }
}
@media (max-width: 360px) {
  .client-data_title {
    font-size: 15px;
  }
  .client-data_avatar {
    gap: 8px;
  }
}

.additional-phone-item {
  width: 100%;
}

.phone-info {
  margin-bottom: 24px !important;
}
.phone-info .ant-form-item {
  margin-bottom: 0px;
}
.financial-statistics-header-container {
  padding: 10px 16px 0 16px;
}
.financial-statistics-header-container > div {
  margin-bottom: 8px;
}
.financial-statistics-header-container .divider {
  margin: 12px 0 0 0;
}

.calendar-financial-statistics-header-container {
  display: flex;
  justify-content: end;
  background-color: #d9d9d9;
  height: 40px;
  align-items: center;
  padding: 0px 10px;
  border-radius: 8px 8px 0 0;
  width: 300px;
}
.calendar-financial-statistics-header-container .tag {
  color: white;
  margin: 0;
}
.calendar-financial-statistics-header-container .client-tag {
  background-color: #52c41a;
}
.calendar-financial-statistics-header-container .client-no-visited-tag {
  background-color: #f5222d;
}

.calendar-financial-statistics-header-container.space-between {
  justify-content: space-between;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-width: 250px;
}
@media screen and (max-width: 428px) {
  .calendar-financial-statistics-header-container {
    width: 100%;
    max-width: calc(100vw - 32px);
  }
  .financial-statistics-container .ant-dropdown {
    max-width: calc(100vw - 16px) !important;
    right: 8px !important;
  }
  .dropdown-item {
    min-width: unset;
  }
}

/*# sourceMappingURL=main~7.57214f3c.css.map*/