.popover {
  max-width: 250px;
}

.popover-header {
  background-color: #f8f9fa;
  font-size: 14px;
}

.feed-container {
  margin: 30px auto;
}

.card-box {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0; /* tambahkan garis batas tipis */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* bayangan sedikit lebih gelap & besar */
  margin-bottom: 20px;
  padding: 15px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Opsional: efek hover */
.card-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info .name-time {
  margin-left: 10px;
}

.user-info .name-time small {
  color: #888;
}

.post-image {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

.post-actions {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 10px;
}

.post-actions a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 15px;
}

.post-actions a i {
  margin-right: 5px;
}

.comment-box {
  display: flex;
  align-items: flex-start;
  margin-top: 15px;
}

.comment-box img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-input {
  background-color: #f0f2f5;
  border-radius: 20px;
  padding: 8px 15px;
  width: 100%;
}

.comment-input textarea {
  border: none;
  background: transparent;
  resize: none;
  width: 100%;
  height: 40px;
  outline: none;
  font-size: 14px;
}

.comment-icons {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 16px;
  color: #888;
}

.comment-text {
  font-size: 14px;
  padding: 5px 15px;
  background-color: #e8e8e8;
  width: 100%;
  border-radius: 12px;
}

.comment-text p {
  margin: 0;
  padding: 0;
}

.status-textarea textarea {
  border-radius: 20px;
  padding: 10px 15px;
  border: none;
  resize: none;
  background-color: #f0f2f5;
  width: 100%;
}

.status-action {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.comment-list {
  margin-top: 10px;
}

.comment-list .comment-box {
  margin-bottom: 10px;
}

.btn-like.liked i,
.btn-like.liked .like-text {
  color: #1877f2;
  /* Facebook blue */
  font-weight: bold;
}

.post-content {
  max-height: 100px;
  /* Adjust this value to control the initial visible height */
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  /* Remove default bottom margin if 'See More' is directly below */
  transition: max-height 0.3s ease-out;
  /* Optional: Smooth transition */
}

.post-content.expanded {
  max-height: 1000px;
  /* Set to a large value to ensure full content is visible */
  /* Or use max-height: none; if browser support is sufficient */
  overflow: visible;
}

.see-more-btn {
  display: block;
  /* Or inline-block */
  cursor: pointer;
  color: #007bff;
  /* Bootstrap primary color or your theme's link color */
  font-weight: bold;
  margin-top: 5px;
  /* Space between truncated text and button */
}

.see-more-btn:hover {
  text-decoration: underline;
}

.feed-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.feed-dropdown-toggle {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

.feed-dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 120px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  z-index: 1000;
  padding: 5px 0;
}

.feed-dropdown-item {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.feed-dropdown-item:hover {
  background-color: #f8f9fa;
}
