/* ============================================================
   JORESSO — BuddyPress Skin (style Slaffik/default data preview)
   ============================================================ */
#buddypress { font-family: var(--font-body); }

/* Membres */
#buddypress .members-list li { padding: 1rem; background: #fff; border: 1px solid var(--j-grey-200); border-radius: var(--radius-lg); margin-bottom: .8rem; display: flex; align-items: center; gap: 1rem; }
#buddypress .members-list li:hover { box-shadow: var(--shadow-card); border-color: var(--j-sapphire); }
#buddypress .members-list .item-avatar img { border-radius: 50%; border: 3px solid var(--j-mint); }
#buddypress .members-list .item-title a { font-weight: 700; color: var(--j-navy); font-size: .95rem; }
#buddypress .members-list .item-meta { font-size: .75rem; color: var(--j-grey-500); }

/* Groupes */
#buddypress .groups-list li { background: #fff; border: 1px solid var(--j-grey-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; transition: var(--transition); }
#buddypress .groups-list li:hover { box-shadow: var(--shadow-card); border-color: var(--j-sapphire); }
#buddypress .groups-list .item-avatar img { border-radius: var(--radius-md); }
#buddypress .groups-list .item-title a { font-weight: 700; color: var(--j-navy); }

/* Activité */
#buddypress .activity-list .activity-item { border-left: 3px solid transparent; }
#buddypress .activity-list .activity-item:hover { border-left-color: var(--j-sapphire); }
#buddypress .activity-content .activity-header { font-size: .88rem; }
#buddypress .activity-content .activity-header a { font-weight: 700; color: var(--j-sapphire); }
#buddypress .activity-content p { font-size: .9rem; line-height: 1.6; color: var(--j-grey-900); }

/* Profil */
#buddypress #item-header-cover-image { border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: linear-gradient(135deg,var(--j-navy),#0A2472); min-height: 180px; }
#buddypress #item-header-content { background: #fff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 1.5rem 2rem; border: 1px solid var(--j-grey-200); border-top: none; }
#buddypress #item-header-content h2 a { font-size: 1.5rem; color: var(--j-navy); }
#buddypress #item-header-content .highlight { background: rgba(26,75,222,.08); color: var(--j-sapphire); padding: .2rem .7rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; }

/* Boutons d'action */
#buddypress #item-buttons .generic-button a,
#buddypress #item-buttons input[type=submit] {
  background: linear-gradient(135deg,var(--j-sapphire),var(--j-sky)) !important;
  color: #fff !important; border: none !important;
  border-radius: var(--radius-full) !important;
  padding: .55rem 1.3rem !important;
  font-weight: 600 !important; font-size: .88rem !important;
  cursor: pointer; transition: var(--transition) !important;
}

/* Tabs de navigation */
#buddypress #object-nav ul { display: flex; gap: .3rem; list-style: none; padding: 0; border-bottom: 2px solid var(--j-grey-200); margin-bottom: 1.5rem; }
#buddypress #object-nav ul li a { display: block; padding: .6rem 1rem; font-size: .85rem; font-weight: 500; color: var(--j-grey-500); border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); }
#buddypress #object-nav ul li.current a, #buddypress #object-nav ul li a:hover { color: var(--j-sapphire); border-bottom-color: var(--j-sapphire); background: rgba(26,75,222,.05); }

/* Messages privés */
#buddypress #message-threads .notice { background: #fff; border: 1px solid var(--j-grey-200); border-radius: var(--radius-lg); }
#buddypress #message-threads .notice:hover { box-shadow: var(--shadow-card); }
#buddypress #message-threads .thread-from { font-weight: 600; }

/* Notifications */
#buddypress #notifications-list li { background: #fff; border: 1px solid var(--j-grey-200); border-radius: var(--radius-md); padding: .75rem 1rem; margin-bottom: .5rem; }
#buddypress #notifications-list li.unread { border-left: 3px solid var(--j-sapphire); background: rgba(26,75,222,.03); }
