
.activity-feed-wrapper-homepage {
  max-width: 550px !important;
}

.activity-feed-wrapper {
  margin: 0 245px;
  padding: 10px 10px 30px 10px;
  max-width: 750px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color:#ffffff;
  min-height: 100vh;

}
  .personalized-greeting {
    background: #d7d7d7;
    color: #916565;
    padding: .5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(42,141,212,0.5);
    user-select: none;
    margin-top: 10px;
  }

.padding-5
{
  padding: 5px;
}
.activity-post {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 13px rgb(0 0 0 / 41%);
  transition: box-shadow 0.2s ease;
  margin-bottom: 10px;
}
.mb-05{
  margin-bottom: 10px;
}
.btn-border-none
{
    width: 50%;
    margin: 0;
    border: none !important;
}
.active-comment
{
  background-color: #cfcdcd;
  box-shadow: 9px 5px 11px #9b9b9b;
  padding: 0 5px;
}
.post-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.user-action {
  margin: 0;
  font-size: 0.8rem;
}

.post-meta span {
  margin-right: 5px;
}

.post-body {
  
}

.post-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}

.post-meta {
  font-size: 0.8rem;
  color: #404040;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  display: inline-block;
}

.post-thumbnail {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
}
.btn-reaction-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid #eee;
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid #eee;
}

.action-btn {
  background: none;
  border: none;
  color: #4e73df;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.action-btn:hover {
  text-decoration: underline;
}

.total-interested
{
  border: 1px solid #eee;
  padding: 0 10px;
  border-radius: 5px;
  background-color: #c3bb00;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.total-going
{
  border: 1px solid #eee;
  padding: 0 10px;
  border-radius: 5px;
  background-color: #48857f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.top-value-section{
  border: 1px solid #cdcdcd;
  background-color: #ededed;
  border-radius: 5px;
  font-size: 12px;
}

.img-standard-container{
  background-color: #ededed;
  border-radius: 15px;
}
.img-standard-height{
     object-fit: scale-down;
    height: 250px;
}
.user-with-border{
  border: 1px solid #858585;
  padding: 5px;
  border-radius: 6px;
}
.featured-achievement {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-bottom: .5rem;
    gap: .5rem;
    align-items: center;
    font-size: 13px;
}
    .featured-achievement img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 0 10px #2a8dd4;
      flex-shrink: 0;
    }

    /*----------- home page activity distance summary ------------*/

    .distance-item {
      background: #f1f6ff;
      border-radius: 8px;
      justify-content: space-between;
      align-items: center;
      font-size: 1em;
      margin: 2px;
    }
    .distance {
      font-weight: bold;
      color: #ddffc4;
      font-size: 1rem;
      text-align: center;
      background-color: #837d6b;
      border-radius: 15px;
    }
    .distance-item span:first-child {
      font-weight: bold;
      color: #222;
    }

    .distance-item span:last-child {
      color: #0073e6;
      font-weight: 600;
    }

    @media (max-width: 600px) {
      .category h2 {
        font-size: 1.2em;
      }
      .distance-item {
        font-size: 0.95em;
      }
    }


    /* ACTIVITY */
    .btn-like
    {
      border: 1px solid #ffebeb !important;
      color: #e9bbbb;
      background-color: white;
      min-width: 70px;
    }

    .btn-like:hover
    {
      background-color: #f3dede !important;
    }
    .modal-popup {
      top: 15% !important;
    }
    .modal-popup-top {
      height: 100vh;
      width: 98%;
      top: 2% !important;
    }

    .btn-no-border
    {
      border: none !important;
    }
    .btn-selected{
      background-color: #656565 !important;
    }
    .btn-reaction
    {
        font-size: 0.9rem;
    padding: 5px 10px;
    background-color: #ffffff;
    }
    .btn-comment-reaction
    {
      border-left: 1px solid rgb(238, 238, 238) !important;
      border-radius: 0;
      width: 100%;
    }
/* .btn-reaction:hover{
  background-color: #c7d5eb;
} */

    .comment-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  background-color: #f0f2f5;
  border-radius: 5px;
  /* padding:5px; */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-username {
  font-weight: 600;
  font-size: 0.8rem;
}

.comment-date {
  font-size: 0.75rem;
  color: #888;
}

.comment-message {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1;
  word-break: break-word;
}

.comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.comment-actions button {
  font-size: 0.75rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: #555;
}

.comment-actions button:hover {
  text-decoration: underline;
}

.replies {
  margin-top: 6px;
}
.replies img{
  width: 25px;
  height: 25px;
}
.comment-section input.form-control {
  flex: 1;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
  outline: none;
}

.comment-section input.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.comment-section form button.btn {
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
}

.reply-form input.form-control {
  flex: 1;
  border-radius: 15px;
  padding: 4px 10px;
  font-size: 0.85rem;
}

.reply-form button.btn {
  border-radius: 15px;
  padding: 3px 10px;
  font-size: 0.8rem;
}

.comment-form input.form-control,
.reply-form input.form-control {
  width: 100%;
  border-radius: 15px;
  padding: 6px 10px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
}

.comment-buttons,
.reply-buttons {
  display: flex;
  gap: 8px;
}

.comment-buttons button,
.reply-buttons button {
  border-radius: 15px;
  font-size: 0.85rem;
  padding: 4px 12px;
}


/* Tabs container */
.reaction-tabs {
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
}

/* Each tab button */
.reaction-tab-btn {
  background: transparent;
  border: none;
  margin-right: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.reaction-tab-btn:hover {
  background: #f5f5f5;
}

/* Active tab */
.reaction-tab-btn.active {
    color: white;
    font-weight: 600;
    background-color: #af0000;
    padding: 0 10px;
    border-bottom: 2px solid white;
}

/* Count badge */
.reaction-tab-btn .count {
background: #000000;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 4px;
    color: white;
}
.reaction-user-item {
  display: flex;
  align-items: center;        /* vertically center avatar + text */
  justify-content: flex-start; /* 
  padding: 4px 8px; /* reduce padding if needed */
}

.reaction-user-item img.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px; /* small space between avatar and text */
}

.reaction-user-item .user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reaction-user-item .user-info .name {
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.reaction-user-item .user-info .reaction-name {
  font-size: 12px;
  color: #666;
  margin-top: 2px; /* optional small space between name and reaction */
}

