

/* Comment Section */
.comment-section {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px 0px;
  margin-top: 12px;
}

.comment-header {
  font-size: 1.5em;
  color: #ffffff;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
  margin-bottom: 15px;
  padding-left: 8px;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0px auto;
  width: 98%;
  flex-grow: 1;

}

/* Individual Comment */
.comment-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.comment-item:last-child {
  border-bottom: none;
}

/* Avatar */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  margin-right: 15px;
  justify-content: center;
  align-items: center;
}

/* Comment Details */
.comment-details {
  flex: 1;
}

.comment-author {
  font-weight: bold;
  color: #ffffff;
  font-size: 1em;
  display: flex;
    justify-content: space-between;
    position: relative;
}

.comment-age {
  font-size: 0.9em;
  color: #bbbbbb;
  margin-left: 5px;
}

.comment-text {
  margin: 10px 0;
  color: #cccccc;
  margin-right: 12px;
}

/* Reply Button */
.reply-button {
  background: transparent;
  color: #c7c3c7;
  border: none;
  font-size: 0.9em;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.superreply-button {
  background: transparent;
  color: #c7c3c7;
  border: none;
  font-size: 0.9em;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.reply-button:hover {
  text-decoration: underline;
}

/* Reply Form */
.reply-form,
.superreply-form {
  display: none;
  margin-top: 10px;
}

.reply-form input[type="text"],
.superreply-form input[type="text"] {
  width: 92%;
  padding: 8px;
  background: #333;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ffffff;
  margin-bottom: 8px;
}

.reply-form button,
.superreply-form button {
  background: #03a9f4;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* New Comment Form */
.new-comment-form {
  position: sticky;
  bottom: 0px;
  left: 0px;
  background-color: black;
  display: flex;
  width: calc(100% - 24px);
  padding: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
}

textarea{
  width: 90%;
  padding: 10px;
  background: #333;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ffffff;
}

.new-comment-form input[type="text"],.new-comment-form textarea{
  width: 70%;
  padding: 10px;
  background: #333;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ffffff;

}


.new-comment-form button {
  background: #03a9f4;
  color: white;
  border: none;
  padding: 10px 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Reply List (Nested Comments) */
.reply-list,
.superreply-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.reply-item,
.superreply-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reply-avatar,
.superreply-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  margin-right: 10px;
  justify-content: center;
  align-items: center;
}

.avatar img,
.reply-avatar img,
.superreply-avatar img {
  border-radius: 50%;
}

.reply-details,
.superreply-details {
  flex: 1;
}

.reply-author,
.superreply-author {
  font-weight: bold;
  color: #ffffff;
  font-size: 0.9em;
  display: flex;
    justify-content: space-between;
    position: relative;
}

.reply-text {
  margin: 5px 0;
  color: #bbbbbb;
}

.like-area{
  display: flex;
  color: #bbbbbb;
}
.like-area span{
  font-weight: 300;
}

.like-button {
  border: none;
  background-color: transparent;
}
.actions{
  display: flex;
  align-items: center;
  gap: 8px;
}