.chat-window {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 400px;
}

.chat-window .user {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  height: 60px;
  font-size: 20px;
  font-weight: 600;
  background-color: #feffff;
  border-radius: 6px;
  filter: drop-shadow(0 0 5px #c5c5c5);
  transition: 0.2s;
  overflow: hidden;
}

.chat-window .user.active {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px #c5c5c5);
}

.chat-window .user.active .mute {
  background-color: rgb(78, 146, 59);
}

.chat-window .user .user-logo {
  width: 60px;
  height: 60px;
  padding: 5px;
}

.chat-window .user .user-logo img {
  width: 100%;
  height: 100%;
}

.chat-window .user .name {
  flex-grow: 1;
  padding-left: 20px;
  user-select: none;
}

.chat-window .user .volume {
  position: absolute;
  left: 0;
  top: 0;
  width: 340px;
  height: 60px;
}

.volume-slider {
  width: 340px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #feffff;
}

.volume-track {
  position: relative;
  width: 100%;
  height: 60px;
}

.volume-fill {
  position: absolute;
  height: 100%;
  background: #313131;
  border-radius: 4px 0 0 4px;
  width: 50%; /* Пример заполнения: 50% */
  transition: 0s;
}

.chat-window .user .mute {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  color: #feffff;
  border-radius: 0 6px 6px 0;
  background: #313131;
  padding: 13px;
  transition: 0.2s;
}

.chat-window .user .mute.percent {
  background: #313131 !important;
  user-select: none;
}

.chat-window .user .mute.percent svg {
  display: none;
}

.chat-window .user.owner .mute:hover {
  background: #252525;
  cursor: pointer;
}

.chat-window .user .mute svg {
  pointer-events: none;
}

.chat-window .user .mute svg path {
  fill: #555555;
  transition: 0.2s;
}

.chat-window .user:not(.owner) .mute svg path {
  fill: transparent;
}

.chat-window .user.owner .mute:hover svg path {
  fill: #d8d8d8;
}