.comment-char-counter {
  margin: 6px 0 10px;
  text-align: right;
  font-size: 12px;
  color: var(--muted, #a99bb8);
  transition: color .2s ease;
}

.comment-char-counter.limite {
  color: #ffb347;
}

.comment-feedback {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 5000;
  max-width: min(92vw, 520px);
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(31, 17, 44, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.comment-feedback.ativo {
  opacity: 1;
  transform: translate(-50%, 0);
}

.comment-feedback.erro {
  border-color: rgba(255, 92, 92, .45);
}

.comment-feedback.sucesso {
  border-color: rgba(87, 225, 153, .45);
}

.comment-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 4900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 2, 10, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.comment-delete-modal.ativo {
  opacity: 1;
  visibility: visible;
}

.comment-delete-dialog {
  width: min(92vw, 420px);
  padding: 30px 26px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 16, 43, .98), rgba(15, 8, 25, .98));
  border: 1px solid rgba(232, 58, 142, .28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62), 0 0 34px rgba(232, 58, 142, .13);
  text-align: center;
  transform: scale(.94) translateY(12px);
  transition: transform .22s ease;
}

.comment-delete-modal.ativo .comment-delete-dialog {
  transform: scale(1) translateY(0);
}

.comment-delete-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 58, 142, .14);
  border: 1px solid rgba(232, 58, 142, .45);
  color: #ff5ca8;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(232, 58, 142, .18);
}

.comment-delete-dialog h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #fff;
}

.comment-delete-dialog p {
  margin: 0 0 24px;
  color: var(--muted, #a99bb8);
}

.comment-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comment-delete-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.comment-delete-actions button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.comment-delete-actions button:disabled {
  opacity: .6;
  cursor: wait;
}

.comment-delete-cancel {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12) !important;
}

.comment-delete-confirm {
  background: linear-gradient(135deg, #e83a8e, #ff4f72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 58, 142, .28);
}

body.modal-open {
  overflow: hidden;
}

.comment-form-fake button:disabled,
.reply-form button:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 520px) {
  .comment-delete-actions {
    grid-template-columns: 1fr;
  }

  .comment-delete-dialog {
    padding: 26px 20px 20px;
  }
}