.comments_section__head_form_wrap .input_btn {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}

.comments_section__head_form_wrap .input_btn.is-visible {
  max-height: 48px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.comments_section__head_form--reply {
  display: flex !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.comments_section__head_form--reply.is-visible {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.comments_section__head_form--auth {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.comments_section__head_form-auth {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  padding: 24px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
}

.comments_section__head_form-auth_title {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.comments_section__head_form-auth_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.comments-auth-provider {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.comments-auth-provider--yandex > div {
  min-width: 228px;
  min-height: 44px;
  height: 52px;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
}

.comments-auth-provider--yandex > div iframe {
  height: 100%;
  overflow: hidden;
}

.comments_section__head_form-auth_buttons .vk-auth-container {
  min-height: auto !important;
}

.comments_section__head_form-auth_buttons .vk-auth-button,
.comments-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #176de5;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.comments_section__head_form-auth_buttons .vk-auth-button:hover,
.comments-auth-button:hover {
  opacity: 0.92;
}

.comments_section__head_form-auth_buttons .vk-auth-button:active,
.comments-auth-button:active {
  transform: translateY(1px);
}

.comments_section__head_form-auth_buttons .vk-icon {
  width: 20px;
  height: 20px;
}

.comments-auth-unavailable {
  color: #999;
  font-size: 14px;
  line-height: 20px;
}

.comments__list_it_comment_buttons-answer--login {
  color: #176de5;
}

.comments__list_children {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.comments__list_it > .comments__list_it_comment[data-depth="0"] {
  max-width: 640px;
}

.comments_section__body .comments__list_it_comment[data-depth="0"],
.comments_section__body .comments_section__head_form--reply[data-depth="0"] {
  margin-left: 0;
}

.comments_section__body .comments__list_it_comment[data-depth="1"],
.comments_section__body .comments_section__head_form--reply[data-depth="1"] {
  margin-left: 40px;
}

.comments_section__body .comments__list_it_comment[data-depth="2"],
.comments_section__body .comments_section__head_form--reply[data-depth="2"] {
  margin-left: 80px;
}

.comments_section__body .comments__list_it_comment[data-depth="3"],
.comments_section__body .comments__list_it_comment[data-depth="4"],
.comments_section__body .comments__list_it_comment[data-depth="5"],
.comments_section__body .comments__list_it_comment[data-depth="6"],
.comments_section__body .comments_section__head_form--reply[data-depth="3"],
.comments_section__body .comments_section__head_form--reply[data-depth="4"],
.comments_section__body .comments_section__head_form--reply[data-depth="5"],
.comments_section__body .comments_section__head_form--reply[data-depth="6"] {
  margin-left: 120px;
}

.comments_section__head_form-message {
  display: none;
  font-size: 14px;
  line-height: 20px;
}

.comments_section__head_form-message.is-error,
.comments_section__head_form-message.is-success,
.comments_section__head_form-message.is-loading {
  display: block;
}

.comments_section__head_form-message.is-error {
  color: #c62828;
}

.comments_section__head_form-message.is-success {
  color: #2e7d32;
}

.comments_section__head_form-message.is-loading {
  color: #666;
}

.letu-comment-form.is-loading .btn.black {
  opacity: 0.7;
  cursor: progress;
}

.comments__list_it_comment_buttons_rating .btn_rating {
  cursor: pointer;
}

.comments__list_it_comment_buttons_rating .btn_rating.is-active svg path {
  fill: #176de5;
}

.comments_section__head_form-text span {
  color: #176de5;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.comment_message {
  display: inline-flex;
  align-items: center;
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(100%) translateZ(0);
  bottom: 0;
  column-gap: 8px;
  padding: 8px 14px 8px 14px;
  border-radius: 20px;
  z-index: 10;
  width: max-content;
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  will-change: transform;
  transition: transform 0.4s;
}

.comment_message.active {
  transform: translateX(-50%) translateY(-20px) translateZ(0);
}

@media screen and (max-width: 1199px) {
  .comment_message.active {
    transform: translateX(-50%) translateY(-10px) translateZ(0);
  }
}

.comment_message .icon {
  display: flex;
  width: 14px;
  height: 10px;
  flex-shrink: 0;
}

.comment_message .icon svg {
  width: 100%;
  height: 100%;
}

.comment_message .icon-error {
  display: none;
  width: 10px;
  height: 10px;
}

.comment_message.is-success {
  background: #2e7d32;
}

.comment_message.is-error {
  background: #d32f2f;
}

.comment_message.is-error .icon-success {
  display: none;
}

.comment_message.is-error .icon-error {
  display: flex;
}
