/* m-post.css */
body {
  background-color: #f8f9fa;
  font-size: 14px;
  padding-bottom: 30px;
}

.card {
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

img.rounded-circle {
  border: 1px solid #ddd;
}

#post-title {
  font-size: 1.2rem;
  margin-top: 10px;
}

#post-content {
  white-space: pre-wrap;
  font-size: 14px;
  color: #333;
}

#comment-input {
  resize: none;
  font-size: 14px;
  border-radius: 6px;
}

#comment-list .list-group-item {
  border: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

#comment-list .comment-author {
  font-weight: bold;
  margin-right: 8px;
  color: #333;
}

#comment-list .comment-time {
  color: #999;
  font-size: 12px;
  margin-left: auto;
}

#comment-list .comment-content {
  margin-top: 4px;
  font-size: 15px;
  color: #212529;
}

#comment-list .comment-actions {
  margin-top: 5px;
  display: flex;
  gap: 12px;
  padding-left: 30px;
}

#comment-list .comment-actions .action-item {
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#comment-list .comment-actions .action-item i {
  margin-right: 5px;
}

#comment-list .comment-actions .action-item:hover {
  color: #007bff;
}

#interaction-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.interaction-item {
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.interaction-item i {
  margin-right: 5px;
}

.interaction-item:hover {
  color: #007bff;
}

.comment-item {
  border: none;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0.5rem;
  background-color: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.comment-content {
  font-size: 15px;
  line-height: 1.5;
  margin-left: 0.25rem;
}

#comment-list .btn {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
}

.post-image-wrapper {
  display: none;
  justify-content: flex-start;
  padding-left: 0;
  margin-top: 12px;
}

.post-image-wrapper.active {
  display: flex !important;
}

#post-image-wrapper {
  display: none;
}

#post-image {
  display: none;
}

#post-image[src]:not([src=""]):not(:empty) {
  display: block;
}

.post-thumbnail {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}
