/* FORMULÁRIO */
#comment-form-outer {
  width: 100%;
  padding: 8px 0 4px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#comment-form-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: stretch;
  background: #f6f7f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 4px 7px;
  gap: 6px;
}
#comment-content {
  width: 100%;
  min-height: 28px;
  max-height: 54px;
  padding: 4px 10px 4px 8px;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  background: #fff;
  color: #222;
  outline: none;
  resize: none;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  line-height: 18px;
  margin: 0;
  align-self: stretch;
}
#submit-comment {
  display: none;
  height: 36px;
  min-width: 62px;
  background: #4267b2;
  color: #fff;
  border: 1px solid #29487d;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
  margin-left: 6px;
  box-shadow: 0 1px 0 #e5e5e5;
  transition: opacity .13s, background .13s;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
#comment-form-wrapper.button-ready #submit-comment {
  display: flex;
  opacity: 1;
}

@media (max-width: 700px) {
  #comment-form-wrapper { max-width: 100vw; gap: 3px; }
  #comment-content { min-height: 24px; font-size: 12px; }
  #submit-comment { min-width: 45px; height: 26px; font-size: 12px; padding: 0 7px; }
}

/* MURAL - ALINHAMENTO DAS MENSAGENS */
#comment-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-block { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.comment-block.right { align-items: flex-end; }

/* AUTOR */
.comment-author {
  font-size: 12px;
  color: #555;
  margin-bottom: 2px;
  background: none !important;
  max-width: none !important;
  padding: 0;
}

/* BALÃO */
.comment-bubble {
  position: relative;
  overflow: visible !important;
  max-width: 70%;
  background: #e4e6eb;
  padding: 10px 15px;
  margin: 0 0 10px 0;
  border-radius: 15px;
  font-family: Arial, Helvetica, sans-serif;
  word-break: break-word;
  font-size: 13px;
  box-sizing: border-box;
}
.bubble-right {
  background: #d2e3fc;
}
.bubble-left::before, .bubble-right::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
}

.bubble-left::before {
  left: -6px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #e4e6eb;
}
.bubble-right::before {
  right: -6px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #d2e3fc;
}

.comment-date {
  display: inline-block;
  font-size: 11px;
  color: #555;
  text-align: right;
  margin-left: 7px;
  margin-top: 0;
}
.comment-edited {
  font-size: 11px;
  color: #2975c2;
  margin-left: 4px;
  cursor: pointer;
  text-decoration: underline dotted;
  position: relative;
}

/* BOTÕES - SOBREESCREVE ESTILO DO TEMA */
.comment-edit-btn,
.comment-delete-btn {
  display: inline-block;
  background: none !important;
  border: none !important;
  color: #4267b2;
  font-size: 13px;
  font-weight: bold;
  margin-left: 8px;
  cursor: pointer;
  border-radius: 3px;
  padding: 2px 8px;
  opacity: .85;
  box-shadow: none !important;
  outline: none !important;
  vertical-align: middle;
  text-decoration: none;
  transition: background .13s, color .13s;
}
.comment-delete-btn {
  color: #c22 !important;
}