/** @format */

button.popup-header-back,
button#popupCloseIcon,
button.send-message-button,
.paperclip,
.added-file-close,
.added-pdf-file-close,
.progress-close-button,
.tabs-items,
textarea.message-input-placeholder-text {
  all: unset;
  display: flex;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: inherit;
  resize: none;
}

.popup-support {
  width: 448px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #f0f0f3;
  margin-top: 0;
}

.popup-header-block {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.feedback-popup .btn-close {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.popup-content-empty {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.popup-content {
  width: 100%;
  height: 100%;
  padding-top: 16px;
  padding-bottom: 32px;
  padding-left: 16px;
  padding-right: 16px;
  align-items: center;
  max-width: 432px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
}

.popup-content--message {
  padding-left: 0px;
  padding-right: 0px;
}

.popup-no-requests {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.popup-no-requests-title {
  color: black;
  font-size: 24px;
  font-weight: 700;
  font-family: "Unbounded" !important;
  line-height: 1.5em;
}

.popup-no-requests-text {
  color: #3e3c3c;
  font-size: 16px;
  line-height: 24px;
  max-width: 400px;
}

.status-wrapper {
  display: flex;
}

.popup-content-list {
  display: flex;
  height: calc(100% - 77px);
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 16px;
  word-wrap: break-word;
  max-width: none;
  margin: 0;
}

.popup-content-list--message {
  overflow-y: unset;
  overflow-x: unset;
  padding-right: 0px;
  flex-grow: 1;
  padding-top: 0px;
}

.popup-category-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  margin-bottom: 0;
}

.popup-category-item {
  width: 100%;
  max-width: 432px;
  padding: 16px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d1cfd7;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.popup-category-text {
  color: black;
  font-size: 16px;
  font-family: "ALS Hauss", sans-serif;
  line-height: 22px;
  word-wrap: break-word;
  transition: color 0.3s ease;
}

.popup-icon {
  width: 24px;
  height: 24px;
  position: relative;
  fill: #8000ff;
  transition: border-color 0.3s ease;
}

.popup-icon div {
  position: absolute;
  border: 2px solid #8000ff;
  border-radius: 3px;
}

.feedback-popup.small .modal-dialog {
  width: 576px;
}

.feedback-popup__content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.popup-content .popup-content--message .popup-content-list .popup-content-list--message {
  flex-grow: 1;
}

.modal-body {
  height: 100%;
}

.modal-content {
  overflow: hidden !important;
}

.feedback-popup .modal-content {
  padding: 0px;
  border-radius: 24px !important;
  height: 608px;
  width: 576px;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.tabs-status {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
}

.tabs-items {
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "ALS Hauss";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 125% */
  cursor: pointer;
  transition: background-color 0.3s ease;
  background: transparent;
  color: var(--text-headers, #000);
}

/* Активное состояние */
.tabs-items.active {
  background-color: #8000ff;
  color: white;
}

/* Состояние наведения */
.tabs-items:hover {
  background-color: #9742ff;
  border-color: #9742ff;
  color: #ffffff;
}

.my-appeals {
  width: 100%;
  height: 447px;
  display: flex;
  flex-direction: column;
}

.popup-category-item {
  width: 100%;
  max-width: 380px;
  padding: 16px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d1cfd7;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.scrollable-container::-webkit-scrollbar {
  width: 4px;
  height: 100px; /* Высота скроллбара */
  position: absolute;
  right: 10px;
  top: 24px;
}

.scrollable-container::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background: #8000ff;
  border-radius: 4px;
}

.message-list {
  width: 100%;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 8px;
}

.message-card {
  padding: 16px;
  background: #f6f6f6;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticketList .message-card:last-child {
  margin-bottom: 42px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.message-title {
  color: #8b8b8b;
  font-size: 14px;
  line-height: 20px;
}

.message-status {
  display: flex;
  padding: 4px 8px;
  border-radius: 38px;
  font-size: 14px;
  background: #e4eaff;
  color: #5067de;
}

.status-number {
  width: 32px;
  height: 24px;
  padding: 2px 8px;
  background: #9742ff;
  border-radius: 38px;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.message-subject {
  color: black;
  font-size: 16px;
  line-height: 24px;
}

.message-description {
  color: #8b8b8b;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.message-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.long-text {
  width: 468px;
}

.status-created {
  padding: 4px 8px;
  background: #e3e3e3;
  border-radius: 38px;
  color: #3e3c3c;
  font-size: 14px;
}

.status-canceled {
  padding: 4px 8px;
  border-radius: 38px;
  background-color: rgb(255, 234, 214);
  color: rgb(255, 119, 60);
  font-size: 14px;
}

.status-completed {
  padding: 4px 8px;
  border-radius: 38px;
  background-color: #d6ffe1;
  color: #067000;
  font-size: 14px;
}

.status-in-progress {
  padding: 4px 8px;
  background: #e4eaff;
  border-radius: 38px;
  color: #5067de;
  font-size: 14px;
}

.quick-actions {
  position: absolute;
  bottom: 72px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 9;
}

.hidden-quick-actions {
  display: none;
}

.quick-action-item {
  width: fit-content;
  background: #8000ff;
  color: white;
  font-size: 16px;
  font-family: "ALS Hauss", sans-serif;
  font-weight: 400;
  line-height: 24px;
  padding: 12px 16px;
  border-radius: 16px;
  word-wrap: break-word;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quick-action-item:hover {
  background-color: #5a00bf;
}

.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #8000ff;
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: #8000ff;
  z-index: 10;
  cursor: pointer;
}

.icon-wrapper:hover {
  background-color: #9742ff;
  border-color: #9742ff;
}

.icon-wrapper.active {
  background: #ffffff;
}

.icon-container {
  position: relative;
  width: 24px;
  height: 24px;
}

.icon {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 4px;
  left: 4px;
}

button.popup-header-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.popup-header-back svg {
  width: 24px;
  height: 24px;
  transition: fill 0.3s ease;
}

.popup-header-title {
  flex-grow: 1;
  font-size: 24px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: black;
  font-weight: 500;
  line-height: 32px;
  font-family: "Unbounded" !important;
  line-height: 1.5em;
  word-wrap: break-word;
  margin: 0;
}

.popup-header-number {
  display: flex;
  font-size: 18px;
  color: #8b8b8b;
  align-items: center;
  font-weight: 500;
  line-height: 24px;
  padding-top: 3px;
}

.chat-body {
  width: 100%;
  padding: 24px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  display: flex;
  background-color: #f2f2f2;
  overflow-y: auto;
  flex-grow: 1;
}

.user_name {
  font-size: 14px;
}

.user-name-time {
  width: 100%;
  height: 100%;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px;
  display: inline-flex;
}

.support-name-time {
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: baseline;
  gap: 4px;
  display: inline-flex;
}

.user-name,
.user-message-time {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: inline-flex;
}

.support-name,
.support-time {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: inline-flex;
}

.user-name {
  color: #3e3c3c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
}

.support-name {
  color: #3e3c3c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
}

.user-message-time {
  color: #8b8b8b;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
}

.support-message-time {
  color: #8b8b8b;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
}

.message-box.user {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.message-box.support {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.chat-date {
  color: #3e3c3c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
  display: flex;
  justify-content: center;
}

.message-box.user-message {
  width: 80%;
  padding: 16px;
  background: white;
  border-radius: 16px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: flex;
}

.message-box.support-message {
  width: 80%;
  padding: 16px;
  background: #545454;
  border-radius: 16px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: flex;
}

.user-message-text-and-file {
  align-self: stretch;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
}

.user-message-text:not(:empty) + a .file-and-icon-pdf {
  margin-top: 15px !important;
}

.support-message-text-and-file {
  align-self: stretch;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
}

.support-message-text-and-file .file-name {
  color: #ffffff;
}

.support-message-text:not(:empty) + a .file-and-icon-pdf {
  margin-top: 15px !important;
}

.support_name {
  font-size: 14px;
}

.message-input-container {
  width: 100%;
  padding: 16px 24px;
  gap: 8px;
  background: white;
  justify-content: space-between !important;
  flex-direction: row !important;
  display: flex !important;
  border-radius: 0px 0px 24px 24px;
}

.message-input-content {
  display: inline-flex;
  width: 89% !important;
}

.message-input-placeholder {
  width: 100%;
  background: white;
  border-radius: 12px;
  border: 1px solid #d1cfd7;
  box-sizing: border-box;
  position: relative;
}

textarea.message-input-placeholder-text {
  width: 100%;
  height: 40px;
  max-height: 150px;
  padding: 11px 16px 0;
  border: 1px solid transparent;
  border-radius: 12px;
  resize: none;
  overflow-y: auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: black;
  background: white;
  display: block;
  word-wrap: break-word;
  box-sizing: border-box;
  padding-right: 43px;
}

.paperclip {
  position: absolute;
  width: 20px;
  height: 20px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
  right: 20px;
  bottom: 13px;
}

button.send-message-button {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  background: #d1cfd7;
}

button.send-message-button.active {
  background: #8000ff;
  border-radius: 12px;
}

.send-message-button.active svg path {
  fill: #ffffff;
}

.message-input-placeholder-text::placeholder {
  color: #8b8b8b;
}

.tooltip {
  position: absolute;
  right: -74px;
  bottom: 2px;
  width: 205px;
  transform: translateY(-50%);
  background-color: rgba(78, 78, 83, 0.85);
  color: #ffffff;
  padding: 8px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 250px;
  word-wrap: break-word;
  white-space: normal;
  display: none;
  opacity: 1;
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 4px solid rgba(78, 78, 83, 0.85);
  opacity: 1;
}

#paperclip:hover + .tooltip {
  display: block;
}

.file-load-container {
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: inline-flex;
  max-height: 300px;
  overflow-y: auto;
}

.progress-container {
  flex: 1 1 0;
  height: auto;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  display: none;
  width: 90%;
}

.progress-background {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.progress-line-percent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.progress-line {
  flex: 1 1 0;
  height: 16px;
  background: #d1cfd7;
  border-radius: 4px;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: #8000ff;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.progress-container.progress-normal .progress-bar {
  width: 0;
}

.progress-container.progress-fail .progress-bar {
  background: red;
}

.progress-status {
  color: #8b8b8b;
  font-size: 12px;
  font-family: ALS Hauss;
  font-weight: 400;
  line-height: 16px;
  word-wrap: break-word;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.progress-percent {
  color: #8b8b8b;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.progress-close {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px; /* Отступ между процентом и кнопкой */
}

.progress-close-button {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.progress-close-button svg {
  width: 15px;
  height: 15px;
  fill: #8b8b8b;
}

/* Стили для контейнера с фото */
.uploaded-image-container {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  align-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.uploaded-image-thumbnail {
  width: 50px; /* Задайте желаемый размер */
  height: 50px; /* Задайте желаемый размер */
  object-fit: cover; /* Обрезка изображения, чтобы оно заполнило контейнер */
}

/* Стили для вложенного контейнера с фото */
.added-file {
  display: flex;
  width: 140px;
  height: 100px;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
}

/* Стили для кнопки закрытия */
.added-file-close {
  display: flex;
  padding: 4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 0px 0px 0px 8px;
  background: var(--bg-plate, #f2f2f2);
}
.added-pdf-file-close {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 0px 0px 0px 8px;
  padding: 9px 9px 9px 17px;
}

/* Стили для SVG в кнопке закрытия */
.added-file-close svg {
  display: flex;
  align-items: flex-start;
}

/* Стили для всплывающего окна */
.tooltip-delete-file {
  display: flex;
  max-width: 220px;
  padding: 8px;
  align-items: flex-start;
  gap: 4px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.tooltip-delete-file p {
  width: 119.691px;
  height: 11.648px;
  font-size: 14px;
}

/* Показываем всплывающее окно при наведении на кнопку закрытия */
.added-file-close:hover + .tooltip-delete-file {
  visibility: visible;
  opacity: 1;
}

/* Стили для контейнера с изображением файлика */
.file-pdf-icon {
  display: flex;
  max-height: 220px;
  padding: 4px 4px 4px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.file-and-icon-pdf:hover .icon-pdf {
  display: none;
}
.file-and-icon-pdf:hover .icon-download {
  display: flex;
}
.icon-download {
  display: none;
}

/* Стили для контейнера с информацией о файле */
.file-pdf-name-size {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-secondary, #b6b6b6);
  font-variant-numeric: lining-nums tabular-nums;
  text-overflow: ellipsis;
}

/* Стили для текста информации о файле */

.file-name {
    color: black;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    word-break: break-word;
    overflow: hidden;
    color: var(--longrid-text-color, #3E3C3C);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'dlig' on;
    text-overflow: ellipsis;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
}

.file-size {
  overflow: hidden;
  color: var(--text-secondary, #b6b6b6);
  font-variant-numeric: lining-nums tabular-nums;
  text-overflow: ellipsis;
  padding-top: 2px;
  font-family: "ALS Hauss" !important;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}

/* Стили для иконки файла */
.file-icon svg {
  width: 16px;
  height: 16px;
  fill: #b6b6b6;
}

.message-and-deleate {
  display: flex;
  justify-content: space-between;
}

/* Модалка с удалением start */

.message-garbage {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

.message-and-archive {
  display: flex;
  justify-content: space-between;
}
.return-from-archive {
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: flex;
}

.feedback-popup .modal-small {
  height: fit-content;
}

.modal__message-warning {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.modal-warning {
  width: 100%;
}

.modal__body {
  height: 100%;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal__header-deleate {
  font-family: "Unbounded", sans-serif !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #8000ff;
}

.modal__header-lim {
  font-family: "Unbounded", sans-serif !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
}

.file-pdf-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-right: 15%;
  padding-left: 4%;
}

.file-pdf-container {
    padding-bottom: 0px !important;
}

.file-pdf-container:not(:last-child) {
    padding-bottom: 0px !important;
}

.file-pdf-container:last-child {
    padding-bottom: 20px !important;
}

.file-and-icon-pdf {
  display: flex;
  align-items: center;
  gap: 6px;
}

.message-input-and-file {
  width: 100%;
}

.ticketList-emptyIcon img {
  width: 120px;
  height: 120px;
}
.supportContent {
  height: 100%;
}

.ticketList {
  height: 100%;
}

.ticketList-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ticketList-emptyTitle {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
}

.ticketList-emptyDescription {
  font-size: 20px;
  text-align: center;
}

.popup-category-item svg {
  fill: #8b8b8b;
}

.indicatorMessage.indicatorMessage-visible {
  display: flex;
}
.indicatorMessage {
  display: none;
  width: 12px; 
  height: 12px;
  background-color: #8000ff;
  border-radius: 50%; 
  position: absolute;
  top: -3px; 
  right: -3px; 
  z-index: 4;
}

.file-upload-loading-message {
  padding: 20px 5%;
  color: #8b8b8b;
  font-size: 16px;
}

.text-garb {
  position: absolute;
  right: 0px;
  bottom: 27px;
  width: 136px;
  transform: translateY(-50%);
  background-color: rgba(78, 78, 83, 0.85);
  color: #ffffff;
  padding: 7px;
  border-radius: 12px;
  font-size: 12px;
  word-wrap: break-word;
  white-space: normal;
  display: none;
  opacity: 1;
}

.message-garbage-svg {
  position: relative;
}

.text-garb::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 90%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid rgba(78, 78, 83, 0.85);
  opacity: 1;
}

.message-garbage-svg:hover .text-garb {
  display: block;
}

.text-arch {
  position: absolute;
  right: 0px;
  bottom: 27px;
  width: 120px;
  transform: translateY(-50%);
  background-color: rgba(78, 78, 83, 0.85);
  color: #ffffff;
  padding: 7px;
  border-radius: 12px;
  font-size: 12px;
  word-wrap: break-word;
  white-space: normal;
  display: none;
  opacity: 1;
}

.message-archive-svg {
  position: relative;
}

.text-arch::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 90%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid rgba(78, 78, 83, 0.85);
  opacity: 1;
}

.message-archive-svg:hover .text-arch {
  display: block;
}

@media (min-width: 1024px) {
  .popup-category-item:hover {
    background-color: #f0e0ff;
    border-color: #8000ff;
  }

  .popup-category-item:hover .popup-category-text {
    color: #8000ff;
  }

  /* .popup-category-item:hover svg path,
	.popup-category-item:hover svg g {
		fill: #8000ff;
	} */

  .popup-category-item:hover svg {
    fill: #8000ff;
  }
}
/* Модалка с удалением end */

@media (max-width: 1024px) {
  .feedback-popup .modal-dialog {
    width: 100%;
    max-width: 576px;
  }

  .message-garbage {
    display: flex !important;
  }

  .notif {
    width: 92% !important;
    top: 85px !important;
    right: 4% !important;
    left: 4% !important;
    z-index: 100;
  }

  .my-appeals {
    width: 100%;
  }

  .modal__body {
    padding: 16px;
    gap: 12px;
  }

  #paperclip:hover + .tooltip {
    display: none;
  }

  .message-archive-svg:hover .text-arch {
    display: none;
  }
  .message-garbage-svg:hover .text-garb {
    display: none;
  }

  .feedback-popup.small .modal-dialog {
    max-width: 576px;
  }

  .feedback__title {
    font-size: 28px;
  }

  .feedback__text {
    font-size: 16px;
  }

  .feedback-popup-picture__img--1 {
    width: 165px;
  }

  .feedback-popup .modal-content {
    width: 100%;
    padding: 0;
    height: 100dvh;
    border-radius: 0px !important;
  }

  .message-list .modal-content {
    width: 100%;
    max-width: 576px;
    padding: 0;
  }

  .message-list.small .modal-dialog {
    max-width: 576px;
  }

  .long-text {
    width: 100%;
  }

  .feedback-popup .garb-modal {
    border-radius: 24px !important;
    height: 248px !important;
    width: 90% !important;
  }

  .modal__header-deleate {
    font-size: 20px;
  }

  .modal__header-lim {
    font-size: 20px;
  }

  .return-from-archive {
    display: flex;
  }

  .feedback-popup .modal-small {
    height: fit-content !important;
  }
}

@media (max-width: 984px) {
  .feedback-popup .modal-dialog {
    margin: auto;
  }

  .feedback-popup.small .modal-dialog {
    max-width: 576px;
  }

  .feedback-popup__block .message-list__block {
    flex-direction: column;
    gap: 16px;
  }

  .feedback-popup-picture {
    height: 163px;
  }

  .feedback-popup-picture__img--1 {
    width: 100px;
  }

  .feedback-popup-picture__img--2 {
    width: 200px;
  }

  .feedback__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .feedback__text--none {
    display: none;
  }

  .create-feedback__dropdown {
    margin: 16px 0;
  }

  .create-feedback__textarea {
    margin: 16px 0;
  }

  .message-list.small .modal-dialog {
    max-width: 576px;
  }

  .message-list .modal-content {
    max-width: 576px;
  }

  .long-text {
    width: 100%;
  }

  .quick-actions {
    bottom: 72px;
    right: 16px;
  }
}

@media (max-width: 488px) {
  .body {
    display: none;
  }

  .feedback-popup {
    min-height: 100dvh;
    flex-direction: column;
    color: #000;
    margin: 0;
    font-family: var(--bs-font-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .create-feedback__input--small {
    width: 100%;
  }

  .create-feedback__textarea {
    padding: 12px;
  }

  .feedback-popup .modal-content {
    width: 100%;
    padding: 0;
  }

  .popup-content-list .modal-content {
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
  }

  .message-card {
    width: 100%;
  }

  .long-text {
    width: 100%;
  }

  .chat-body {
    display: flex;
    overflow-y: auto;
  }
}

@media (max-width: 1024px) {
  .modal.show .modal-dialog {
    margin: 0 !important;
    width: 100%;
    max-width: none;
  }

  .chat-body {
    max-height: none;
  }
}

@media (max-width: 530px) {
  .ticketList-emptyTitle {
    font-size: 24px;
    text-align: center;
    font-style: normal;
    font-weight: 700;
  }

  .ticketList-emptyDescription {
    font-size: 16px;
    text-align: center;
    padding: 0% 14%;
  }
}
