/* [project]/src/app/chat/page.module.css [app-client] (css) */
body {
  overflow: hidden auto;
  padding-bottom: 0 !important;
}

.app-shell {
  overflow: hidden visible;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

.page-module__-5BmTW__wrapper {
  background: var(--chat-bg, var(--bg-secondary));
  box-sizing: border-box;
  background-image: radial-gradient(circle at 20%, #7877c626 0%, #0000 50%), radial-gradient(circle at 80% 80%, #7877c626 0%, #0000 50%), repeating-linear-gradient(0deg, #0000, #0000 2px, #00000008 2px 4px);
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 72px);
  min-height: calc(100vh - 72px);
  margin: 0;
  padding: 0;
  transition: background .3s;
  position: relative;
  overflow: hidden visible;
}

.page-module__-5BmTW__wrapper:before {
  content: "";
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 10% 20%, #0088cc14 0%, #0000 40%), radial-gradient(circle at 90% 80%, #7877c614 0%, #0000 40%);
  position: absolute;
  inset: 0;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__wrapper {
    height: calc(100vh - 80px);
    min-height: calc(100vh - 80px);
  }
}

.page-module__-5BmTW__container {
  background: var(--bg-primary);
  max-width: 100%;
  box-shadow: none;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: calc(100vh - 72px);
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden visible;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__container {
    max-width: 100%;
    height: calc(100vh - 80px);
    box-shadow: none;
    border-radius: 0;
    flex-direction: row;
    margin: 0;
  }
}

.page-module__-5BmTW__chatsPanel {
  background: var(--bg-primary);
  z-index: 1;
  border-right: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__chatsPanel {
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    width: 350px;
    height: 100%;
  }
}

.page-module__-5BmTW__panelHeader {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  display: flex;
}

.page-module__-5BmTW__panelHeader .page-module__-5BmTW__title {
  padding: 16px 0;
}

.page-module__-5BmTW__chatHeaderActions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.page-module__-5BmTW__menuContainer {
  position: relative;
}

.page-module__-5BmTW__menuButton {
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  transition: all .2s;
  display: flex;
}

.page-module__-5BmTW__menuButton:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: var(--bg-primary);
}

.page-module__-5BmTW__dropdownMenu {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  z-index: 1000;
  border-radius: 12px;
  flex-direction: column;
  min-width: 200px;
  display: flex;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px #00000026;
}

.page-module__-5BmTW__hiddenInput {
  opacity: 0;
  pointer-events: auto;
  width: .1px;
  height: .1px;
  position: absolute;
  overflow: hidden;
}

.page-module__-5BmTW__menuItem {
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  background: none;
  border: none;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
  display: block;
}

.page-module__-5BmTW__menuItem:hover {
  background: var(--bg-secondary);
}

.page-module__-5BmTW__blockedBadge {
  color: #d64545;
  background: #ffecec;
  border-radius: 8px;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
}

.page-module__-5BmTW__blockedChat {
  opacity: .75;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__title {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  margin: 0;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 600;
  position: relative;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__chatsList {
  background: var(--bg-primary);
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 0;
  display: flex;
  overflow-y: auto;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__chatsList::-webkit-scrollbar {
  width: 6px;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__chatsList::-webkit-scrollbar-track {
  background: none;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__chatsList::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__emptyState {
  text-align: center;
  background: none;
  border: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  display: flex;
}

.page-module__-5BmTW__chatsPanel .page-module__-5BmTW__emptyState p {
  color: var(--text-tertiary);
  margin: 0;
  font-size: 15px;
}

.page-module__-5BmTW__chatPanel {
  background: var(--bg-secondary);
  background-image: radial-gradient(circle at 20%, #7877c64d 0%, #0000 50%), radial-gradient(circle at 80% 80%, #7877c64d 0%, #0000 50%);
  flex-direction: column;
  flex: 1;
  height: 100%;
  display: none;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__chatPanel {
    height: 100%;
    display: flex;
  }
}

.page-module__-5BmTW__emptyChatPanel {
  background: var(--bg-secondary);
  background-image: radial-gradient(circle at 20%, #7877c64d 0%, #0000 50%), radial-gradient(circle at 80% 80%, #7877c64d 0%, #0000 50%);
  flex: 1;
  justify-content: center;
  align-items: center;
  display: none !important;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__emptyChatPanel {
    display: flex !important;
  }
}

.page-module__-5BmTW__emptyChatPanel p {
  color: var(--text-tertiary);
  margin: 0;
  font-size: 16px;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__chatHeader {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  z-index: 20;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 16px;
  display: flex;
  position: relative;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__chatPanel .page-module__-5BmTW__chatHeader {
    gap: 16px;
    padding: 12px 20px;
  }
}

.page-module__-5BmTW__chatHeaderAvatar {
  cursor: pointer;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: flex;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__chatAvatar {
  background: var(--gradient-primary);
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px #0088cc4d;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__chatAvatar:before {
  content: "";
  background: radial-gradient(circle, #ffffff4d 0%, #0000 70%);
  width: 200%;
  height: 200%;
  animation: 3s ease-in-out infinite page-module__-5BmTW__pulseAvatar;
  position: absolute;
  top: -50%;
  left: -50%;
}

@keyframes page-module__-5BmTW__pulseAvatar {
  0%, 100% {
    opacity: 0;
    transform: scale(.8);
  }

  50% {
    opacity: .5;
    transform: scale(1.2);
  }
}

@media (min-width: 768px) {
  .page-module__-5BmTW__chatPanel .page-module__-5BmTW__chatAvatar {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }
}

.page-module__-5BmTW__chatHeaderInfo {
  flex: 1;
  min-width: 0;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__title {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 2px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__chatPanel .page-module__-5BmTW__title {
    font-size: 17px;
  }
}

.page-module__-5BmTW__titleLink {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.page-module__-5BmTW__adTitle {
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  font-size: 13px;
  overflow: hidden;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__deleteChatBtn {
  color: var(--text-secondary);
  cursor: pointer;
  opacity: .7;
  z-index: 15;
  background: none;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  display: flex;
  position: relative;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__deleteChatBtn:hover {
  background: var(--bg-tertiary);
  opacity: 1;
}

.page-module__-5BmTW__chatPanel .page-module__-5BmTW__deleteChatBtn:active {
  transform: scale(.95);
}

.page-module__-5BmTW__adPreview {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  z-index: 5;
  flex-shrink: 0;
  gap: 12px;
  padding: 12px 16px;
  display: flex;
  position: relative;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__adPreview {
    gap: 14px;
    padding: 14px 20px;
  }
}

.page-module__-5BmTW__adImageWrapper {
  background: var(--bg-tertiary);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  display: flex;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__adImageWrapper {
    width: 64px;
    height: 64px;
  }
}

.page-module__-5BmTW__adImage {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-module__-5BmTW__adPlaceholder {
  background: var(--accent-color);
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  font-weight: 700;
  display: flex;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__adPlaceholder {
    font-size: 28px;
  }
}

.page-module__-5BmTW__adDetails {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.page-module__-5BmTW__adDetails h3 {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 4px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__adDetails h3 {
    font-size: 16px;
  }
}

.page-module__-5BmTW__adPrice {
  color: var(--accent-color);
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__adPrice {
    font-size: 15px;
  }
}

.page-module__-5BmTW__messagesContainer {
  background: var(--bg-secondary);
  z-index: 1;
  background-image: radial-gradient(circle at 20%, #7877c626 0%, #0000 50%), radial-gradient(circle at 80% 80%, #7877c626 0%, #0000 50%), repeating-linear-gradient(0deg, #0000, #0000 2px, #00000005 2px 4px);
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-height: 0;
  padding: 20px 16px 160px;
  display: flex;
  position: relative;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__messagesContainer {
    background: var(--bg-secondary);
    background-image: none;
  }

  .page-module__-5BmTW__messagesContainer:before, .page-module__-5BmTW__messagesContainer:after {
    display: none;
  }
}

.page-module__-5BmTW__messagesContainer.page-module__-5BmTW__hasWallpaper {
  background: none !important;
}

.page-module__-5BmTW__messagesContainer.page-module__-5BmTW__hasWallpaper:before, .page-module__-5BmTW__messagesContainer.page-module__-5BmTW__hasWallpaper:after {
  display: none !important;
}

.page-module__-5BmTW__wallpaperLayer {
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
}

.page-module__-5BmTW__messagesContainer:before {
  content: "";
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 10% 20%, #0088cc0f 0%, #0000 40%), radial-gradient(circle at 90% 80%, #7877c60f 0%, #0000 40%);
  position: absolute;
  inset: 0;
}

.page-module__-5BmTW__messagesContainer:after {
  content: "";
  background: linear-gradient(to bottom, var(--chat-bg, #e5ddd5cc) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.page-module__-5BmTW__messagesContainer::-webkit-scrollbar {
  width: 6px;
}

.page-module__-5BmTW__messagesContainer::-webkit-scrollbar-track {
  background: none;
}

.page-module__-5BmTW__messagesContainer::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.page-module__-5BmTW__message {
  transform-origin: bottom;
  z-index: 1;
  max-width: 70%;
  margin-bottom: 6px;
  animation: .25s cubic-bezier(.16, 1, .3, 1) page-module__-5BmTW__fadeIn;
  display: flex;
  position: relative;
}

@keyframes page-module__-5BmTW__messageSlideIn {
  0% {
    opacity: 0;
    transform: translateY(15px)scale(.95);
  }

  50% {
    transform: translateY(-2px)scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.page-module__-5BmTW__myMessage {
  align-self: flex-end;
  margin-left: auto;
}

.page-module__-5BmTW__otherMessage {
  align-self: flex-start;
  margin-right: auto;
}

.page-module__-5BmTW__messageContent {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.page-module__-5BmTW__replyPreview {
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-color);
  border-radius: 4px;
  gap: 8px;
  margin-bottom: 4px;
  padding: 6px 8px;
  display: flex;
}

.page-module__-5BmTW__replyLine {
  background: var(--accent-color);
  border-radius: 2px;
  flex-shrink: 0;
  width: 3px;
}

.page-module__-5BmTW__replyContent {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.page-module__-5BmTW__replyAuthor {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
}

.page-module__-5BmTW__replyText {
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.page-module__-5BmTW__messageImageWrapper {
  border-radius: 8px;
  max-width: 250px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.page-module__-5BmTW__messageImage {
  object-fit: cover;
  width: 100%;
  max-height: 300px;
  display: block;
}

.page-module__-5BmTW__messageImagePlaceholder {
  background: var(--gradient-primary);
  color: #fff;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
  font-size: 48px;
  font-weight: 700;
  display: flex;
}

.page-module__-5BmTW__replyButton {
  background: var(--bg-tertiary);
  cursor: pointer;
  opacity: 0;
  z-index: 10;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  transition: opacity .2s, background .2s;
  display: flex;
  position: absolute;
  top: 50%;
  right: -35px;
  transform: translateY(-50%);
}

.page-module__-5BmTW__message:hover .page-module__-5BmTW__replyButton {
  opacity: 1;
}

.page-module__-5BmTW__replyButton:hover {
  background: var(--bg-secondary);
}

.page-module__-5BmTW__replyButton:active {
  transform: translateY(-50%)scale(.95);
}

.page-module__-5BmTW__myMessage .page-module__-5BmTW__replyButton {
  left: -35px;
  right: auto;
}

.page-module__-5BmTW__myMessage .page-module__-5BmTW__messageContent {
  align-items: flex-end;
}

.page-module__-5BmTW__otherMessage .page-module__-5BmTW__messageContent {
  align-items: flex-start;
}

.page-module__-5BmTW__messageText {
  word-wrap: break-word;
  border-radius: 18px;
  max-width: 100%;
  margin: 0;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.page-module__-5BmTW__myMessage .page-module__-5BmTW__messageText {
  color: #fff;
  background: linear-gradient(135deg, #5fb2ff 0%, #4a9eff 100%);
  border-bottom-right-radius: 4px;
  transition: all .2s;
  box-shadow: 0 2px 8px #5fb2ff40;
}

.page-module__-5BmTW__myMessage .page-module__-5BmTW__messageText:hover {
  box-shadow: 0 3px 12px #5fb2ff59;
}

.page-module__-5BmTW__otherMessage .page-module__-5BmTW__messageText {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 4px;
  transition: all .2s;
  box-shadow: 0 2px 8px #00000014;
}

.page-module__-5BmTW__otherMessage .page-module__-5BmTW__messageText:hover {
  box-shadow: 0 3px 12px #0000001f;
}

.page-module__-5BmTW__messageTime {
  color: var(--text-tertiary);
  opacity: .7;
  margin-top: 2px;
  padding: 4px 14px 0;
  font-size: 11px;
}

.page-module__-5BmTW__myMessage .page-module__-5BmTW__messageTime {
  color: #ffffffb3;
  text-align: right;
}

.page-module__-5BmTW__otherMessage .page-module__-5BmTW__messageTime {
  color: var(--text-tertiary);
}

.page-module__-5BmTW__inputForm {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  z-index: 150;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  margin-bottom: 0;
  padding: 8px 12px;
  display: flex;
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__inputForm {
    position: relative;
    bottom: auto;
  }
}

.page-module__-5BmTW__inputRow {
  align-items: center;
  gap: 8px;
  display: flex;
}

.page-module__-5BmTW__replyBar {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-color);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 8px 12px;
  display: flex;
}

.page-module__-5BmTW__replyInfo {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.page-module__-5BmTW__replyLabel {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
}

.page-module__-5BmTW__replyMessage {
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  overflow: hidden;
}

.page-module__-5BmTW__cancelReplyButton {
  color: var(--text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 20px;
  line-height: 1;
}

.page-module__-5BmTW__imagePreviewContainer {
  margin-bottom: 8px;
  position: relative;
}

.page-module__-5BmTW__imagePreview {
  object-fit: cover;
  border-radius: 12px;
  width: 100%;
  max-width: 200px;
  max-height: 200px;
}

.page-module__-5BmTW__removeImageButton {
  color: #fff;
  cursor: pointer;
  background: #f44;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
  display: flex;
  position: absolute;
  top: -8px;
  right: -8px;
}

.page-module__-5BmTW__fileInput {
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}

.page-module__-5BmTW__imageButton {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 21px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 20px;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 4px #00000014;
}

.page-module__-5BmTW__imageButton:hover {
  border-color: var(--accent-color);
  box-shadow: 0 2px 8px #004cff26;
}

.page-module__-5BmTW__imageButtonDisabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (min-width: 768px) {
  .page-module__-5BmTW__inputForm {
    gap: 10px;
    padding: 10px 16px;
  }
}

.page-module__-5BmTW__messageInput {
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  resize: none;
  box-sizing: border-box;
  border-radius: 21px;
  outline: none;
  flex: 1;
  min-height: 42px;
  max-height: 100px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: all .2s;
  box-shadow: 0 2px 4px #00000014;
}

.page-module__-5BmTW__messageInput:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 2px 8px #004cff26;
}

.page-module__-5BmTW__messageInput:disabled {
  background: var(--bg-tertiary);
  cursor: not-allowed;
  opacity: .6;
}

.page-module__-5BmTW__blockedNotice {
  color: #c0392b;
  background: #fff5f5;
  border: 1px solid #ffd6d6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.page-module__-5BmTW__sendButton {
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
  border: 2px solid #0000;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px #0088cc4d, 0 2px 4px #0000001a;
}

.page-module__-5BmTW__sendButton:before {
  content: "";
  background: #ffffff4d;
  border-radius: 50%;
  width: 0;
  height: 0;
  transition: width .6s, height .6s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-module__-5BmTW__sendButton:hover:not(:disabled) {
  background: var(--gradient-primary);
  transform: scale(1.1);
  box-shadow: 0 6px 16px #08c6;
}

.page-module__-5BmTW__sendButton:hover:not(:disabled):before {
  width: 200%;
  height: 200%;
}

.page-module__-5BmTW__sendButton:active:not(:disabled) {
  transform: scale(.95);
}

.page-module__-5BmTW__sendButton:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: var(--bg-tertiary);
}

.page-module__-5BmTW__sendIcon {
  stroke: currentColor;
  fill: none;
  width: 20px;
  height: 20px;
}

.page-module__-5BmTW__sendText {
  display: none;
}

.page-module__-5BmTW__loading {
  text-align: center;
  color: var(--text-tertiary);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 40px;
  font-size: 16px;
  display: flex;
}

.page-module__-5BmTW__loading:before {
  content: "";
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: .8s linear infinite page-module__-5BmTW__spin;
}

@keyframes page-module__-5BmTW__spin {
  to {
    transform: rotate(360deg);
  }
}

.page-module__-5BmTW__emptyState {
  text-align: center;
  background: none;
  border: none;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  display: flex;
}

.page-module__-5BmTW__emptyState h2 {
  color: var(--text-primary);
  margin: 0 0 12px;
  font-size: 20px;
}

.page-module__-5BmTW__emptyState p {
  color: var(--text-tertiary);
  margin: 0 0 24px;
  font-size: 15px;
}

.page-module__-5BmTW__loginButton {
  background: var(--accent-color);
  color: #fff;
  border-radius: 21px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.page-module__-5BmTW__loginButton:hover {
  background: var(--accent-hover);
}

.page-module__-5BmTW__chatItemWrapper {
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  align-items: center;
  gap: 0;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: relative;
  transform: translateX(0);
}

.page-module__-5BmTW__chatItemWrapper:hover {
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  transform: translateX(2px);
}

.page-module__-5BmTW__chatItemWrapper.page-module__-5BmTW__selected {
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-left: 3px solid var(--accent-color);
  position: relative;
  box-shadow: inset 0 0 20px #0088cc1a;
}

.page-module__-5BmTW__chatItemWrapper.page-module__-5BmTW__selected:before {
  content: "";
  background: var(--gradient-primary);
  width: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  box-shadow: 0 0 10px #0088cc80;
}

.page-module__-5BmTW__chatItemWrapper:active {
  transform: translateX(0)scale(.98);
}

.page-module__-5BmTW__chatItemWrapper.page-module__-5BmTW__selected .page-module__-5BmTW__chatItem {
  box-shadow: none;
  background: none;
  border: none;
}

.page-module__-5BmTW__chatItem {
  color: inherit;
  cursor: pointer;
  min-width: 0;
  box-shadow: none;
  background: none;
  border: none;
  flex: 1;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  position: relative;
}

.page-module__-5BmTW__deleteChatBtn {
  opacity: 0;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  background: #ff4444e6;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 6px;
  font-size: 14px;
  transition: opacity .2s;
  display: flex;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.page-module__-5BmTW__chatItemWrapper:hover .page-module__-5BmTW__deleteChatBtn {
  opacity: 1;
}

.page-module__-5BmTW__deleteChatBtn:active {
  transform: translateY(-50%)scale(.95);
}

.page-module__-5BmTW__chatImageWrapper {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  display: flex;
}

.page-module__-5BmTW__chatAvatar {
  background: var(--gradient-primary);
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  transition: all .3s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px #0088cc4d;
}

.page-module__-5BmTW__chatAvatar:before {
  content: "";
  background: linear-gradient(45deg, #0000, #fff3, #0000);
  width: 200%;
  height: 200%;
  transition: all .5s;
  position: absolute;
  top: -50%;
  left: -50%;
  transform: rotate(45deg);
}

.page-module__-5BmTW__chatItemWrapper:hover .page-module__-5BmTW__chatAvatar {
  transform: scale(1.05);
  box-shadow: 0 6px 16px #08c6;
}

.page-module__-5BmTW__chatItemWrapper:hover .page-module__-5BmTW__chatAvatar:before {
  animation: 1.5s infinite page-module__-5BmTW__shine;
}

@keyframes page-module__-5BmTW__shine {
  0% {
    transform: translateX(-100%)translateY(-100%)rotate(45deg);
  }

  100% {
    transform: translateX(100%)translateY(100%)rotate(45deg);
  }
}

.page-module__-5BmTW__chatInfo {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.page-module__-5BmTW__chatHeader {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.page-module__-5BmTW__chatUserName {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  position: relative;
  overflow: hidden;
}

.page-module__-5BmTW__unreadBadge {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 2px var(--bg-primary), 0 2px 8px #ff444480;
  background: linear-gradient(135deg, #f44 0%, #ff6b6b 100%);
  border-radius: 50%;
  flex-shrink: 0;
  animation: 2s infinite page-module__-5BmTW__pulseBadge;
}

@keyframes page-module__-5BmTW__pulseBadge {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .8;
    transform: scale(1.2);
  }
}

.page-module__-5BmTW__chatTime {
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 400;
}

.page-module__-5BmTW__chatAdTitle {
  color: var(--text-tertiary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
}

.page-module__-5BmTW__chatLastMessage {
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-module__-5BmTW__chatItem {
    gap: 12px;
    padding: 12px 16px;
  }

  .page-module__-5BmTW__chatImageWrapper {
    width: 54px;
    height: 54px;
  }

  .page-module__-5BmTW__chatAvatar {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .page-module__-5BmTW__chatUserName {
    font-size: 16px;
  }

  .page-module__-5BmTW__chatAdTitle, .page-module__-5BmTW__chatLastMessage {
    font-size: 14px;
  }

  .page-module__-5BmTW__deleteChatBtn {
    width: 28px;
    height: 28px;
    font-size: 14px;
    right: 16px;
  }
}

/*# sourceMappingURL=src_app_chat_page_module_e583162a.css.map*/