.like-btn.active {
    background-color: #b8b8b8ff; 
}

.dislike-btn.active {
    background-color: #b8b8b8ff; 
}

.timer {
    padding-right: 5px;
}

em {
    vertical-align: middle;
}

.actions span {
    width: auto !important;
    height: auto !important;
    font-size: 18px;
}

.counter-wrapper {
    height: 2em;
    overflow: hidden;
    position: relative;
}

.counter-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    transform: translateY(0);
}

.counter-value {
    font-size: 2em;
    line-height: 2em;
    text-align: center;
}

.flip-container {
  transform-origin: center;
  transition: .5s ease-in-out;
}
.flip-front {
  backface-visibility: hidden;
  transition: .5s ease-in-out;
  opacity: .5;
}

.user-info {
    color: black;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer; 
    top: 3px;
    background-color: transparent !important;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.serf {
    width: 20px;
    height: 20px;
    position: relative;
    margin-left: 3px;
}

.spacererws {
    width: 960px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    color: #BCBCBC;
    font-size: 14px;
}

.comments {
    width: 960px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.096) !important;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.comment {
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    background-color: #F9F9F9;
}

#new-comment-content {
  border: none !important;
}

textarea {
    all: unset;
    resize: none;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box; 
    overflow-y: hidden;
}

#comment {
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.btns {
    width: 100%;
    height: auto;
    background-color: #F9F9F9;
    padding: 20px;
    margin-top: -10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    justify-content: flex-end;
}

.spacerees {
    height: 100px;
}

.children {
    border-left: 1px solid  #E9E9E9;
}

.child-comment {
  margin-top: 15px;
}

.userboyes {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
  position: relative;
}

.more-options-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .1s ease-in-out;
  border-radius: 100%;
}

.y {
  background-color: white;
}

.q {
  background-color: #F9F9F9;
}

.more-options-btn:active {
  transition: .1s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.more-options-btn svg {
  height: 24px !important;
  width: 24px !important;
}

.reply-form {
  position: relative;
  min-height: 100px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
}

.reply-form button {
  padding: 10px;
  background-color: #c7c7c7;
  opacity: .5;
  border-radius: 12px;
  font-family: 'sf-pro-display-medium', sans-serif;
  z-index: 2;
}

.reply-form button.down {
  opacity: 1;
  background-color: rgb(0, 0, 255);
  color: white;
}

.reply-form button.down:hover {
  background-color: rgb(1, 1, 211);
  color: white;
}

.buttons-container {
  position: absolute;
  display: flex;
  gap: 10px; 
  bottom: 0;
  right: 0;
  justify-content: flex-end; 
  padding: 10px;
}

.reply-form button:hover {
  transform: scale(1);
}

.options-container {
  top: 65px;
  left: calc(100% - 45px);
  position: absolute;
  background-color: white;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  z-index: 9;
}

.options-container button {
  padding: 5px 7.5px;
  line-height: 130%;
  border-radius: 12px;
  text-align: center;
}

.edit-textarea {
  min-height: 40px !important;
}

.options-container button:hover {
  background-color: #3333332c;
}

.avatares {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #ccc;
}

.buttons-containeres {
  width: 100%;
  height: auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px;
  font-family: 'sf-pro-display-medium', sans-serif;
}

.btnesus {
  display: flex;
}

.toggle-answers-btn {
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}

.toggle-answers-btn:hover {
  transform: scale(1) !important;
  opacity: 1 !important;
  background-color: rgba(128, 128, 128, 0.158);
}

.toggle-answers-btn span {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: rgba(128, 128, 128, 0.459);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reply-btn {
  color: rgb(66, 66, 253);
  padding: 5px 7.5px;
  border-radius: 12px;
  margin-left: 50px;
}

.reply-btn:hover {
  background-color: rgba(128, 128, 128, 0.123);
}

.buttons-containeres button {
  padding: 10px;
  border-radius: 12px;
  background-color: #c7c7c7;
  line-height: 130%;
  opacity: .5;
}

.buttons-containeres button:hover {
  opacity: 1;
  transform: scale(1) !important;
}

.user-infoes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.namees {
  font-size: 14px;
  color: #333;
  padding: 1px 8px 1px 8px;
  border-radius: 100px;
  font-family: 'sf-pro-display-medium', sans-serif;
}

.user-id {
  position: relative;
}

.rolele {
  position: absolute;
  top: 35px;
  color: #575757;
  left: 60px;
}

.role-admin {
  background-color: #ff4d4d;
  color: #fff;
}

.role-moderator {
  background-color: #4d90ff;
  color: #fff;
}

.role-user {
  background-color: #ccc;
  color: #333;
}

.nameres {
  font-size: 14px;
  display: flex;
  line-height: 140%;
  margin-top: 0;
  width: 100%;
  margin-top: -20px;
  gap: 7.5px;
}

.nameres span {
  color: #a5a7ad;
  line-height: 130%;
}

.cont-more {
  height: auto;
  width: auto;
  position: absolute;
  right: 0;
  padding: 5px;
  display: flex;
  gap: 5px;
  margin-top: -20px;
}

.you {
  font-size: 14px;
  padding: 1px 8px 1px 8px;
  font-family: 'sf-pro-display-medium', sans-serif;
  color: white;
  display: flex;
  align-self: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: blue;
  border-radius: 100%;
}

.edit-form {
  background-color: white;
  border-radius: 12px;
}

.you span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment p {
  margin-left: 40px;
  padding-left: 20px;
}

.datates {
  font-size: 13px;
  color: #A5A5A5;
  margin-top: 5px;
  margin-left: 5px;
}

.new-comment-form {
  position: relative;
  height: auto !important;
  background-color: #F9F9F9;
  min-height: 100px;
  border-radius: 12px;
}

.btnses {
  width: 28px;
  height: 28px;
  margin-left: calc(100% - 50px);
  margin-bottom: 25px;
}

.resent_messeng {
  border-radius: 10px;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: #ffffff;
  opacity: .5;
}

.resent_messeng.active {
  opacity: 1;
}

.resent_messeng:hover {
  background-color: #ffffff00;
}

.btnsn {
  height: 28px;
}

.ccw {
  font-size: 18px;
  font-family: 'sf-pro-display-semibold', sans-serif;
}
.count_comment {
  font-size: 18px;
  font-family: 'sf-pro-display-semibold', sans-serif;
}

.count_c {
  display: inline-flex;
  gap: 8px;
}