.commentsContainer {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--ifm-card-background-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.commentsContainer h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ifm-color-primary);
  border-bottom: 1px solid var(--ifm-color-primary-lightest);
  padding-bottom: 0.5rem;
}

.errorMessage {
  color: #e53e3e;
  padding: 1rem;
  border-radius: 6px;
  background-color: rgba(229, 62, 62, 0.1);
  margin-bottom: 1rem;
}

.noComments {
  text-align: center;
  padding: 2rem 0;
}

.commentsList {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.commentItem {
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--ifm-card-background-color);
  border: 1px solid var(--ifm-color-emphasis-300);
  transition: all 0.3s ease;
}

.commentItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.commentHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.userInfo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ifm-color-primary);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.8rem;
  border: 2px solid var(--ifm-color-primary-lighter);
}

.username {
  font-weight: bold;
  font-size: 1rem;
}

.commentDate {
  font-size: 0.85rem;
  color: var(--ifm-color-emphasis-600);
}

.commentBody {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.5rem 0;
  color: var(--ifm-font-color-base);
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.commentBody a {
  color: var(--ifm-color-primary);
  text-decoration: none;
}

.commentBody a:hover {
  text-decoration: underline;
}

.commentLink {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ifm-color-emphasis-600);
  text-decoration: none;
  margin-top: 0.5rem;
}

.commentLink:hover {
  color: var(--ifm-color-primary);
  text-decoration: underline;
}

.addCommentButton {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--ifm-color-primary);
  color: white !important;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.addCommentButton:hover {
  background-color: var(--ifm-color-primary-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 