

.comment-box {
  background: white;
  padding: 15px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment, .reply {
  display: flex;
  margin-top: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-content {
  flex: 1;
}

.comment-header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.comment-text {
  margin-top: 5px;
  font-size: 15px;
}

.comment-actions {
  margin-top: 5px;
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.comment-actions i {
  margin-right: 5px;
}

.replies {
  margin-left: 50px;
  position: relative;
}

.reply-line {
  position: absolute;
  top: 0;
  left: -30px;
  width: 2px;
  height: 100%;
  background: #ccc;
}

.reply-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.reply-form.show {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}


.reply-form textarea {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  resize: vertical;
  font-family: Arial;
}

.reply-form button {
  margin-top: 5px;
  background-color: #007BFF;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.reply-form button:hover {
  background-color: #0056b3;
}

.show-replies-btn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #007BFF;
  cursor: pointer;
  font-size: 14px;
}

.main-comment-form {
  max-width: 700px;
  margin: 20px auto;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-comment-form h3 {
  margin-bottom: 10px;
}

.main-comment-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  font-size: 15px;
}

.main-comment-form button {
  margin-top: 10px;
  background-color: #28a745;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.main-comment-form button:hover {
  background-color: #1e7e34;
}

.tag {
  color: #007BFF;
}
