.smilesBox {
    transition: 0.25s linear;
    box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #8b00ff, 0 0 5px #8b00ff, 0 0 6px #8b00ff inset;
    border: 1px solid #876c99;
    border-radius: 20px 20px 0px 0px;
    width: 500px;
    font-size: 0;
    padding-left: 12px;
    background-size: 105%;
    background-position: center center;
    background-image:url(https://img.freepik.com/premium-vector/vibrant-purple-white-gradient-background-wide-web-header-web-banner-design_1261355-28.jpg);
    
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
/*активный пункт в меню начало*/
.chatTopLineWrapper > ul > li > ul > li > a {
  transform: rotateX(0deg);
  transition: background-color 0.5s ease-in-out,
              border-radius 0.5s ease-in-out,
              color 0.5s ease-in-out;
}

.chatTopLineWrapper > ul > li > ul > li > a:hover {
  animation: flipAndReturn 1s ease-in-out;
  background-color: #2b003d; 
  border-radius: 20px;
  color: #ffffff;
  font-style: oblique;
}

@keyframes flipAndReturn {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(180deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}/*активный пункт в меню конец*/


/* --- Кнопка входа посередине --- */
.chatSetupNickname {
  left: 43%;
}

/*рамка у списка пользователей начало*/.chatPeople {
background-image: url("");
background-position: center center;border-radius: 20px 20px 20px 20px;
background-repeat: no-repeat;
background-size: 150% 108%;
border-image-width: 10px;
border-image-source: url();
border-image-slice: 30;
border-image-repeat: stretch;
box-shadow:  1px 1px 1px 1px #333;
}/*рамка у списка пользователей конец*/
/*рамка у ника начало*/
.chatPeople ul.chatPeopleList li {
    background-image: url('');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-weight: bold;
    padding: 12px 15px 12px 15px;
    border: 1px solid #ffffff;
    border-radius: 25px;
    box-shadow: 
        inset 0 3px 8px rgba(0, 0, 0, 0.25),
        inset 0 3px 8px rgba(252, 255, 255, 0.15),
        0 3px 8px 3px rgba(0, 0, 0, 0.1);
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.chatPeople ul.chatPeopleList li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: -1; /* Помещаем градиент позади содержимого */
}
/* Для элемента с аватаркой */
.chatPeople ul.chatPeopleList li a.chatUserSex0,
.chatPeople ul.chatPeopleList li a.chatUserSex1 {
    position: relative;
    z-index: 2; /* Авatars should be above other elements */
}
.chatPeople ul.chatPeopleList li:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset 0 3px 8px rgba(0, 0, 0, 0.3),
        inset 0 3px 8px rgba(252, 255, 255, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #ffffff;
    z-index: 2;
    background-color: rgba(139, 69, 19, 0.1);
}
/* Если у вас есть конкретные классы для аватарок */
.chatPeople ul.chatPeopleList li .chatUserAvatar,
.chatPeople ul.chatPeopleList li b {
    position: relative;
    z-index: 3; /* Автарки выше всего */
}/*рамка у ника конец*/


/* Список пользователей слева */
.chatMain .chatPeople {
    left: 0 !important;
}
.chatMain .chatMessages, .chatMain .chatPrivateMessages {
    right: 0 !important;
    left: 170px !important;
}
.chatTabs {
    left: 171px !important;
    right: 0 !important;
}
a.chatUser+img[title="Администратор"] { display: none; }/*убираем иконку админа*/
a.chatUser+img[title="Модератор"] { display: none; }/*убираем иконку модера*/
/*время в чате начало*/
.chatTime {
  float: right;
  padding: 2px 8px;
  background: #520099;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.6s;
  position: relative;
  overflow: hidden;
}

.chatTime:hover {
  animation: quickFlip 0.9s ease;
}

@keyframes quickFlip {
  0% { transform: rotateX(0); background: #120a8f; }
  50% { transform: rotateX(180deg); background: #a358e8; }
  100% { transform: rotateX(0); background: #711bc2; }
}
/*время в чате конец*/

.chatHeader .chatTopLine a {
    color: 2b003d;
    font-size: 12px;
    font-weight: 700;
}/*украшение меню конец*/






/*вся нижняя панель начало*/

/*вся нижняя панель конец*/
/*---выделение сообщений начало--*/
.chatMessage {
  padding: 6px 10px;
  margin: 4px 0px;
  border-radius: 35px 35px 35px 35px;
  transition: all 0.5s ease;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.chatMessage:hover {
  opacity: 0.8;
  background-color: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.1);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.1);
}
/*--выделение сообщений конец---*/



/*крутящиеся табы*/.chatTabs > ul > li.chatTab > a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
    background: #e0e5ec;
    color: #002238;
    text-decoration: none;
    font-weight: 600;
    margin: 0 5px;
    box-shadow: 
        8px 8px 16px #b8bec7,
        -8px -8px 16px #ffffff;
    transition: all 0.6s ease;
    border: 2px solid transparent;
}

.chatTabs > ul > li.chatTab > a:hover {
    transform: rotate(360deg);
    box-shadow: 
        inset 8px 8px 16px #b8bec7,
        inset -8px -8px 16px #ffffff,
        0 0 0 3px rgba(102, 126, 234, 0.3);
    color: #00406b;
    background: linear-gradient(145deg, #f0f5fd, #caced6);
}/*крутящиеся табы конец*/
/*рамка табов начало*/
.chatTabs ul {
    text-shadow: 0px 1px 0 #000;
    background-color: #;
    background-image: url();
    background-position: right 0 bottom 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: 1px solid #;
    border-radius: 20px;
    box-shadow: 1px 1px 6px #000, -1px -1px 1px #fff;
}
.chatTabs ul {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 8px;
    height: 24px;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 0;
}
.chatTabs ul:hover {
    border-radius:20px;
    transition: all 0.4s ease;
}
/*рамка табов конец*/
/*табы начало*/
.chatTabs > ul > li.chatTab > a {
    text-decoration: none;
    text-align: center;
    padding: 0px 5px;
    border: solid 0px #;
    font-weight: bold;
    color: #;
    background-color: #;
    border: 0px solid #;


}
.chatTabs > ul > li.chatTab > a {
border-radius: 20px;
 background-image: url();
/*табы сообщений*/
}




/*табы конец*/
/*приложения начало*/
.chatTabs ul {
  display: flex;
  gap: 10px;
  list-style: none;
  
  margin: 0;
  align-items: left;
  justify-content: left;
}

.chatTabs ul li.appTab {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transform: translateY(0);
  ;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
  visibility: visible;
}

.chatTabs ul li.appTab:hover {
  color: #f80000; text-decoration: underline; font-weight: bold;
  
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Добавляем свечение */
  transform: translateY(-3px) scale(1.05);
  border-radius: 50% 20% 50% 20%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  box-shadow: 
    0 10px 25px rgba(102, 126, 234, 0.2),
    0 0 0 3px rgba(255,255,255,0.2),
    inset 0 0 10px rgba(255,255,255,0.1);
  z-index: 5;
  animation: pulse 2s infinite;
  opacity: 1;
  visibility: visible;
}

/* Пульсирующий эффект */
@keyframes pulse {
  0% { box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2); }
  50% { box-shadow: 0 10px 35px rgba(102, 126, 234, 0.3); }
  100% { box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2); }
}

/* Эффект "звездной пыли" */
.chatTabs ul li.appTab:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.8); }
}

/* Анимация появления */
.chatTabs ul li.appTab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  animation: slideIn 0.5s forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes slideIn {
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

/* Анимация при клике */
.chatTabs ul li.appTab:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Активное состояние */
.chatTabs ul li.appTab.active {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(238, 90, 36, 0.3) 100%);
  box-shadow: 
    0 8px 20px rgba(255, 107, 107, 0.2),
    0 0 0 2px rgba(255,255,255,0.2);
  transform: scale(1.08);
  color: rgba(255, 255, 255, 1);
  opacity: 1;
  visibility: visible;
}
/*приложения конец*/



.chatTabs > ul > li.chatTab > a { border-radius: 20px 20px 20px 20px; background-color: #E9E4F0; }  
.chatSendButton {border-radius: 20px 20px 20px 20px;} 

.chatUserAvatar{ border-radius:10px; rotate(360deg);}
/*кнопка входа начало*/
#join-chat-button {
  background: 
    /* Темный полупрозрачный слой */
    linear-gradient(rgba(43, 0, 61, 0.8), rgba(86, 19, 148, 0.8)),
    /* Гифка */
    url(https://i.pinimg.com/originals/57/67/f3/5767f31a76b530945ced1baa6fd97204.gif);
  color: #7b68ee;
  padding: 14px 28px;
  border: 2px solid #561394;
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  background-size: cover; /* Заполняет кнопку */
  background-position: center;
  background-repeat: no-repeat;
  text-shadow: 0 1px 3px #000;
  margin: auto;
}

#join-chat-button:active {
  background: 
    linear-gradient(rgba(18, 10, 143, 0.9), rgba(71, 7, 54, 0.9)),
    url(https://i.pinimg.com/originals/57/67/f3/5767f31a76b530945ced1baa6fd97204.gif);
  color: #cbc3f7;
  box-shadow: 0 0 20px #470736;
  transform: scale(0.95);
  transition: 0.15 s  linear;
}

/*кнопка входа конец*/


.chatHeader .chatTopLine {
    border-radius: 20px;
    border-radius: 20px;
}
.chatTopLineWrapper > ul > li:first-child > a {
    border-top-left-radius: 20px ;
    border-bottom-left-radius:  20px;
    background-image:url(https://i.pinimg.com/originals/e6/1e/fd/e61efd5cb0a6e09a3f0cbf2dbf9e562f.gif);
}
.chatTopLineWrapper > ul > li:last-child > a {
    border-top-right-radius: 20px ;
    border-bottom-right-radius: 20px;
    background-image:url(https://i.pinimg.com/originals/e6/1e/fd/e61efd5cb0a6e09a3f0cbf2dbf9e562f.gif);
}
.chatTopLineWrapper > ul > li:nth-child(2) > a {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px ;
    background-image:url(https://i.pinimg.com/originals/e6/1e/fd/e61efd5cb0a6e09a3f0cbf2dbf9e562f.gif);
}

.chatFooter .chatFooterWrapper .chatPanel div.chatSoundPanel a span {
  display: none;
}
















#chatMainMenuProfile {border-radius: 20px 20px 20px 20px; background-color: #E9E4F0;
box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2; padding:5px; }
 .chatSendExitPanel select { height: 21px; background: transparent; color: #E9E4F0; border-radius: 40px 40px 40px 40px;  color: #283c86; box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2;  }

#chatMainMenuChat{ border-radius: 20px 20px 20px 20px; background-color: #E9E4F0; 
box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2;padding: 5px; }
#chatMainMenuChatovod { border-radius: 20px 20px 20px 20px; background-color: #E9E4F0; 
box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2; padding: 5px;}














.chatPeople .chatPeopleTitle { color: #ff0000; font-size: 12pt; text-shadow: 1%; margin: 14px 0 4px 8px; font-family: Monotype 
Corsiva; }.chatFull .transparent{ background: url() no-repeat center top 
fixed; -moz-background-size: 100% auto; -webkit-background-size: 100% auto; -o-background-size: 100% auto; background-size: 100% auto;}.chatFooter 


.chatUserAvatar{ border-radius:10px;}
#chatMainMenuChat{ border-radius: 20px 20px 20px 20px; background-color: #E9E4F0; 
box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2; }

.chatMain { border-radius:25px;  box-shadow: 0 0 1px #777, 0 0 2px #777, 0 0 3px #777, 0 0 4px #777, 0 0 5px #777, 0 0 6px #777, 0 0 
7px #777, 0 0 20px #777 inset; }






.chatUserIcon { background-color: #E9E4F0; border-radius: 10px; border: 1px solid #E9E4F0; margin: 1px 2px 1px 2px;  }
/*кнопка отправки соо начало*/
.chatSendButton {
  background-color: #926eae;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 60px;
  font-size: 13px;
}

.chatSendButton:hover {
  background-color: #8a2be2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.chatSendButton:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(138, 43, 226, 0.2);
}

.chatSendButton:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}/*кнопка отправки соо конец*/


.chatSendExitPanel select {
  appearance: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: black;
  border: none;
  
  border-radius: 20px;
  cursor: pointer;
  font-weight: 200;
  position: relative;
  min-width: 100px;
  font-size: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.chatSendExitPanel select:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2, #667eea);
}

.chatSendExitPanel select:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
}

.chatSendExitPanel select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.4);
}



/* --- Вращение и увеличение аватарки при наведении --- */
.chatUserAvatar:hover {
  transition: 0.9s;
  border: 1px solid #ffffff;
  border-radius: 20px;
  -moz-transform: scale(1.6) translate(15px, 15px) rotate(360deg);
  -webkit-transform: scale(1.6) translate(15px, 15px) rotate(360deg);
  -o-transform: scale(1.6) translate(15px, 15px) rotate(360deg);
  -ms-transform: scale(1.6) translate(15px, 15px) rotate(360deg);
  transform: scale(1.6) translate(15px, 15px) rotate(360deg);
}
/* --- Рамки вокруг ников в списке пользователей --- */
.chatPeople ul.chatPeopleList li {
  border: 1px solid #ffffff; 
  border-radius: 25px;
}


.chatTabs > ul > li.chatTab > a { border-radius: 20px 20px 20px 20px; background-color: #E9E4F0; }
 .chatSendButton {border-radius: 20px 20px 20px 20px;} 
/*строка соо начало*/
.chatSendText.chatInputText { border-radius: 20px; height: 25px; background-color: #E9E4F0;font-weight:700;  font-size: 14px; border-radius: 10px; height: 25px; background-color: #E9E4F0; opacity: 0.8; color: #283c86; padding-left: 20px;  box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2; background:url(https://static.vecteezy.com/system/resources/thumbnails/029/497/589/small_2x/abstract-empty-gradient-background-design-photo.jpg); opacity: 0.8; color: #283c86; padding-left: 20px; filter: blur(1px); }  .chatSendText.chatInputText:focus{ filter: blur(0px); }/*строка соо конец*/
 
/*текст сообщений начало*/
.chatMessage {
font-family: 'Trebuchet MS', Helvetica, sans-serif;


}/*текст сообщений конец*/

/* при отошел и не беспокоить начало*/

.chatUserAway[title="Не беспокоить"] .chatUserWrapper { opacity: 2;position: absolute; -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); border: 0px; }
.chatUserAway[title="Свой статус"] .chatUserWrapper { opacity: 2;position: absolute; -moz-transform: rotate(180deg); -ms-transform: rotateY(180deg); -webkit-transform: rotateY(180deg); -o-transform: rotateY(180deg); transform: rotateY(180deg); border: 0px; }
.chatUserAway[title="Отошел"] .chatUserWrapper::after {
    content: "*Ещё вернусь*";
    font-style: italic;
    font-weight: 400;
    color: #00009a;
    margin-left: -18px;
    white-space: nowrap;
}
.chatUserAway[title="Не беспокоить"] .chatUserWrapper::after {
    content: "*qɔǝɓε ǝн*";
    font-style: italic;
    font-weight: 400;
    color: #2b003d;
    white-space: nowrap;
    
    /* Центрирование */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    /* Дополнительно для лучшего отображения */
    text-align: center;
    width: 100%;
}
/*при отошел и не беспокоить конец*/
/*обращение начало*/
/* Сообщения, адресованные мне */
.chatMessageToMe.chatToUser {
    background: linear-gradient(135deg, #6a5acd, #00bfff);
    border: 1px solid #d9d9d9;
    border-radius: 30px;
    padding: 15px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 16px;
    color: white;
}

/* При наведении */
.chatMessageToMe.chatToUser:hover {
    background: linear-gradient(135deg, #7a6bff, #00cfff);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}
.chatMessageToMe .chatToUser { border:2px; border-radius:5px; box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #C684C0, 0 0 5px #78DBE2, 0 0 6px #78DBE2, 0 0 7px #78DBE2, 0 0 10px #78DBE2;}
/*обращение конец*/
/*вся нижняя панель начало*/
.chatSendLinksPanel .chatLinkImage,
.chatSendLinksPanel .chatLinkProfile,
.chatSendLinksPanel .chatLinkModerate,
.chatSendLinksPanel .chatLinkVip,
.chatSendLinksPanel .chatLinkGold,
.chatSendLinksPanel .chatLinkMore,
.chatSendLinksPanel a.chatLinkSmiles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  border-radius: 15px;
  color: #1a162a;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
 
  gap: 8px;
}

.chatSendLinksPanel .chatLinkImage:hover,
.chatSendLinksPanel .chatLinkProfile:hover,
.chatSendLinksPanel .chatLinkModerate:hover,
.chatSendLinksPanel .chatLinkVip:hover,
.chatSendLinksPanel .chatLinkGold:hover,
.chatSendLinksPanel .chatLinkMore:hover,
.chatSendLinksPanel a.chatLinkSmiles:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(139, 69, 19, 0.5);
  font-weight:700;
  color: #000080;
}
/* Эффект подчеркивания */
.chatSendLinksPanel [class^="chatLink"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1d334a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.chatSendLinksPanel [class^="chatLink"]:hover::after {
  width: 80%;
}

/* Анимация иконок */
.chatSendLinksPanel [class^="chatLink"] i {
  transition: transform 0.3s ease;
}

.chatSendLinksPanel [class^="chatLink"]:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Эффект нажатия */
.chatSendLinksPanel [class^="chatLink"]:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}
/*вся нижняя панель конец*/
#scrollBottomBox {
  text-align: center;
  padding: 8px 12px;
  background-color: #b866ff; /* коричневый фон */
  border: 1px solid #8b00ff; /* более насыщенный коричневый контур */
  color: #331a00; /* тёмно-коричневый текст */
  position: absolute;
  cursor: pointer;
  opacity: 0.8;
  border-radius: 8px; /* стандартный радиус скругления */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* легкая тень */
  transition: all 0.3s ease; /* плавный переход */
  z-index: 10; /* чтобы элемент был поверх других */
}

#scrollBottomBox:hover {
  background-color: #cf99ff; /* изменение цвета при наведении */
  opacity: 1;
  transform: translateY(-2px); /* эффект поднятия при наведении */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/*показать новые сообщения конец*/