/* GreenTV BuddyPress groups — dark theme overrides */

.gtv-groups-shell #buddypress.buddypress-wrap,
.gtv-groups-shell #buddypress {
  color: #e8fff0;
}

/* Group avatar — remove BP cover-header white plate behind rounded image */
.gtv-groups-shell #buddypress #item-header-cover-image #item-header-avatar,
.gtv-groups-shell #buddypress #item-header-avatar {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
}

.gtv-groups-shell #buddypress #item-header-cover-image #item-header-avatar a,
.gtv-groups-shell #buddypress #item-header-avatar a {
  display: inline-block;
  background: #0d1d17;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.gtv-groups-shell #buddypress #item-header-cover-image #item-header-avatar img.avatar,
.gtv-groups-shell #buddypress #item-header-avatar img.avatar,
.gtv-groups-shell #buddypress img.gtv-group-avatar {
  background: #0d1d17 !important;
  border: 2px solid rgba(0, 177, 64, 0.55) !important;
  border-radius: 14px !important;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.gtv-groups-shell #buddypress ul#groups-list .item-avatar img.avatar,
.gtv-groups-shell #buddypress .bp-list .item-avatar img.avatar {
  background: #0d1d17 !important;
  border: 2px solid rgba(0, 177, 64, 0.45) !important;
  border-radius: 12px !important;
  object-fit: cover;
}

/* Group description panel */
.gtv-groups-shell #buddypress .groups-header .desc-wrap,
.gtv-groups-shell #buddypress #item-header .desc-wrap {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.gtv-groups-shell #buddypress .groups-header .desc-wrap .group-description,
.gtv-groups-shell #buddypress #item-header .group-description {
  background: rgba(7, 18, 14, 0.88) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 177, 64, 0.18) !important;
  border-radius: 10px;
  color: rgba(232, 255, 240, 0.88) !important;
}

.gtv-groups-shell #buddypress .groups-header .desc-wrap .group-description p,
.gtv-groups-shell #buddypress #item-header .group-description p {
  color: rgba(232, 255, 240, 0.88) !important;
}

/* Activity empty state + BP notices */
.gtv-groups-shell #buddypress .bp-feedback,
.gtv-groups-shell #buddypress .bp-messages,
.gtv-groups-shell #buddypress .bp-feedback.bp-messages,
.gtv-groups-shell #buddypress .bp-feedback.info,
.gtv-groups-shell #buddypress .bp-messages.info {
  background: rgba(16, 31, 24, 0.94) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2) !important;
  color: #e8fff0 !important;
}

.gtv-groups-shell #buddypress .bp-feedback p,
.gtv-groups-shell #buddypress .bp-feedback .text,
.gtv-groups-shell #buddypress .bp-messages p {
  color: #e8fff0 !important;
}

.gtv-groups-shell #buddypress .bp-feedback.info .bp-icon,
.gtv-groups-shell #buddypress .bp-messages.info .bp-icon {
  background: rgba(0, 177, 64, 0.35) !important;
}

/* Group header meta on dark */
.gtv-groups-shell #buddypress .groups-header .group-status,
.gtv-groups-shell #buddypress .groups-header .bp-group-type-list,
.gtv-groups-shell #buddypress .groups-header .item-meta,
.gtv-groups-shell #buddypress .groups-header .activity {
  color: rgba(232, 255, 240, 0.78) !important;
}

.gtv-groups-shell #buddypress div#item-header-cover-image h2,
.gtv-groups-shell #buddypress div#item-header-cover-image h2 a {
  color: #fff !important;
}