/* Vote bars and comments */
.vote-bar {
  display: flex;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #ddd;
}

.vote-bar-up {
  background: linear-gradient(90deg, #4caf50, #66bb6a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: width 0.3s;
}

.vote-bar-down {
  background: linear-gradient(90deg, #f44336, #e57373);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: width 0.3s;
}

.vote-bar-empty {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.public-note-card {
  margin-top: 12px;
}

.comment-item {
  padding: 10px;
  margin-top: 8px;
  border-left: 3px solid #ddd;
  background: #f9f9f9;
  border-radius: 4px;
}

.comment-text {
  margin-top: 6px;
  line-height: 1.6;
}

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background: #fff;
  font-size: 14px;
  min-width: 36px;
  text-align: center;
}

.pagination a:hover {
  background: #f0f0f0;
}

.pagination span.active {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
  font-weight: 700;
}

.pagination span:not(.active) {
  color: #999;
  cursor: not-allowed;
}
