/* tribe-comments.css
   Reddit-style comment UI (updated + namespaced vote system)
*/

/* ===========================
   CONTAINER
=========================== */
.tribe-comments-area {
  margin-top: 25px;
}

/* ===========================
   COMMENT LIST
=========================== */
.tribe-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===========================
   SINGLE COMMENT BLOCK
=========================== */
.tribe-comment {
  display: block !important;
  width: 100%;
  margin-bottom: 20px;
}

/* COMMENT BODY */
.tribe-comment .comment-body {
  background: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

/* AVATAR */
.tribe-comment .avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  margin-right: 6px;
}

/* COMMENT META */
.comment-meta {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* COMMENT TEXT */
.comment-content {
  font-size: 15px;
  color: #111;
  line-height: 1.45;
  margin-bottom: 10px;
}

/* ===========================
   HORIZONTAL ACTION ROW
=========================== */
.comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  font-size: 14px;
}

/* ===========================
   REDDIT VOTE ROW (namespaced)
=========================== */
.vote-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Vote arrows */
.c-vote-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #878a8c;
  padding: 0;
  line-height: 1;
}

.c-vote-btn:hover {
  color: #0079d3;
}

/* Score */
.c-score {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

/* ===========================
   ACTIVE VOTE STATES (fixed names)
=========================== */
.tribe-comment.voted-up .c-vote-up {
  color: #ff4500 !important; /* Reddit ORANGE */
}

.tribe-comment.voted-down .c-vote-down {
  color: #7193ff !important; /* Reddit BLUE */
}

/* ===========================
   REPLY BUTTON
=========================== */
.reply-btn {
  background: none;
  border: none;
  color: #0079d3;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

/* ===========================
   CHILDREN (indentation)
=========================== */
.children {
  margin-left: 46px;
  margin-top: 10px;
  border-left: 2px solid #eee;
  padding-left: 14px;
}

/* ===========================
   MAIN COMMENT FORM (TOP)
=========================== */
.tribe-main-comment-box {
  margin-bottom: 25px;
}

.tribe-comment-form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
}

.tribe-comment-form .tribe-comment-submit {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #0079d3;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* ===========================
   INLINE REPLY FORM (full width)
=========================== */
.tribe-reply-form {
  margin-top: 12px;
  width: 100%;
}

.tribe-reply-form textarea {
  min-height: 90px;
}

/* ===========================
   COLLAPSE BUTTON
=========================== */
.tribe-collapse-toggle {
  cursor: pointer;
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}
