body {
  background: #fff !important;
}

.mt-20 {
  margin-top: 20px;
}

li.bp-personal-sub-tab.current.selected a {
  background: #ff9800 !important;
  color: #fff !important;
}

.kampouss-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 2rem;
  align-items: stretch;
}

.kampouss-header-left {
  width: 40%;
  background: var(--bb-content-background-color);
  border-radius: 10px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
  padding: 25px;
}

.kampouss-header-right {
  width: 60%;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-center {
  align-items: center;
}

.flex-space-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 10px;
}
/* #content {
  padding-top: 100px !important;
} */

.subjects-block p {
  margin-bottom: 15px;
}

#secondary {
  display: none;
}

.site {
  margin-left: 0px !important;
}

.cover-image-container {
  background: var(--bb-content-background-color);
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  flex-direction: row;
  margin: 0;
  margin-top: 0px;
  padding: 0px;
  font-size: 14px;
  line-height: 1.3575;
  height: 100%;
  overflow: hidden;
}

div#cover-image-container {
  margin-top: 0px !important;
}

hr {
  background-color: transparent !important;
  display: block;
  height: 1px !important;
  border: 0 !important;
  border-top: 1px solid #cccccc42 !important;
  margin: 1em 0 !important;
  padding: 0 !important;
  margin-top: 18px !important;
  width: 126% !important;
  margin-left: -52px !important;
}

/**
 * Styles personnalisés pour la page profil Kampouss
 * Fichier: assets/css/profile-page.css
 */

/* ==========================================================================
   1. HEADER DU PROFIL
   ========================================================================== */

/* Container principal du header */
.kampouss-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

/* Avatar avec badge vérifié */
.kampouss-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.kampouss-avatar {
  width: 150px;
  border-radius: 50%;
  border: 4px solid white;
}

.kampouss-avatar-wrapper img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.verified-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kampouss-verify {
  background: #fdf6ee;
  color: #ff9800;
  border-radius: 10px;
  padding: 5px;
  margin-right: 10px;
}

.verified-badge svg {
  display: block;
  width: 24px;
  height: 24px;
}

.member-grade-text {
  font-weight: bold;
}

/* Informations utilisateur */
.kampouss-user-info {
  flex: 1;
  min-width: 0;
}

.kampouss-user-info h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kampouss-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: #999;
}

.kampouss-bio {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 15px 0;
}

.kampouss-bio p {
  line-height: 22px;
}

#header-cover-image {
  display: none;
  position: absolute;
  padding-right: 15px;
  background-color: transparent !important;
}

.header-cover-img {
  border-radius: 10px 10px 0px 0px;
}

.member-info-section {
  margin-top: 10px;
  width: 100%;
  text-align: left;
}

.member-stats-inline {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#cover-image-container {
  display: flex;
  flex-direction: row !important;
  flex-flow: row !important;
  justify-content: flex-start;
  background: transparent !important;
  border-radius: none !important;
  border: none !important;
  padding: 0 !important;
}

.member-name {
  font-size: 1.5rem;
  line-height: 25px;
  margin-bottom: 10px !important;
}

.member-info-etude {
  font-weight: bold;
}

nav#object-nav {
  display: flex;
  justify-content: center;
}

nav#object-nav ul {
  width: 100%;
  margin-left: 37%;
}

.kampouss-member-header {
  width: 50% !important;
  text-align: center;
  padding-bottom: 0px !important;
}

.member-actions {
  display: flex;
  align-self: flex-end;
  flex-flow: row wrap;
}

.bbp-user-page .bbct-filters {
  display: none;
}

.btn-action.btn-message.send-private-message {
  display: none;
}

/* ==========================================================================
   2. STATISTIQUES
   ========================================================================== */

.stat-item.stat-verified {
  margin-bottom: 15px;
}

.kampouss-stats {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.member-stats-inline .stat-item {
  flex: 1;
  min-width: 140px;
  padding: 10px 20px;
  padding-left: 5px;
  align-items: start;
  gap: 0px;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #cccccc40;
  line-height: 15px;
}

.identite-info .stat-item {
  min-width: 140px;
  border-radius: 10px;
  align-items: left;
  transition: transform 0.2s;
  padding: 0px !important;
}

.member-identity {
  width: 150px;
  text-align: center;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.stat-details {
  flex: 1;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  line-height: 1.2;
}

.stat-value i {
  font-size: 25px;
  font-weight: 400;
  margin-right: 10px;
}

.stat-label {
  font-size: 15px;
  color: #666;
  margin-top: 0px;
  font-weight: 600;
}

/* Stats colorées */
.stat-rating {
  background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%);
}

.stat-rating .stat-value {
  color: #ff9800;
}

/* .stat-helps {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.stat-helps .stat-value {
  color: #2196f3;
}
 */
.stat-network {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.stat-network .stat-value {
  color: #9c27b0;
}

.stat-resources {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.stat-resources .stat-value {
  color: #4caf50;
}

/**
 * ============================================
 * STATUT EN LIGNE - PROFIL MEMBRE
 * ============================================
 */

.member-avatar-wrap {
  position: relative;
  display: inline-block;
}

/* Pastille "en ligne" de BuddyBoss */
.member-avatar-wrap .member-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #4caf50; /* Vert */
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Si l'utilisateur est hors ligne */
.member-avatar-wrap .member-status.offline {
  background-color: #9e9e9e; /* Gris */
}

/* Animation de pulsation pour "en ligne" */
.member-avatar-wrap .member-status.online {
  animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
}

.single-headers .member-status {
  right: 10px !important;
  top: 115px !important;
  width: 20px !important;
  height: 20px !important;
}

/* Badge vérifié (ne pas chevaucher la pastille) */
.verified-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 11;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

/* ==========================================================================
   3. ACTIONS DU PROFIL
   ========================================================================== */

.kampouss-profile-content {
  display: flex;
  flex-direction: row;
  background: transparent;
  gap: 1rem;
}

.kampouss-section.kampouss-daily {
  width: 70%;
  padding: 25px;
  background: var(--bb-content-background-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #0000000f;
}

/* .kampouss-section.kampouss-right {
  width: 30%;
  background: var(--bb-content-background-color);
  border-radius: 10px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
} */

.kampouss-goal {
  padding: 25px;
  background: var(--bb-content-background-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #0000000f;
  margin-bottom: 10px;
}

.kampouss-network-section {
  padding: 25px;
  background: var(--bb-content-background-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #0000000f;
}

.kampouss-profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kampouss-profile-actions button,
.kampouss-profile-actions a,
.kampouss-profile-actions .dropdown-toggle {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  outline: none;
}

/* Bouton principal */
.btn-primary {
  background: #007bff;
  color: #fff !important;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Bouton secondaire */
.btn-secondary {
  background: transparent;
  color: #333 !important;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* Dropdown menu */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 5px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  color: #666;
}

.btn-action {
  color: #222 !important;
  padding: 0px 10px !important;
  margin-right: 20px !important;
  border: 1px solid #cccccc73 !important;
  background-color: transparent !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  font-weight: 400px !important;
  line-height: 32px !important;
}

.icon-title {
  font-weight: 400;
  color: #ff9800;
  font-size: 30px;
  margin-right: 5px;
}

.btn-action:hover {
  color: #ff9800;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all linear 0.2s;
}

.friendship-button {
  font-weight: bold;
  color: #fff !important;
  background: #ff9800 !important;
  border: 1px solid #cccccc73 !important;
  border-radius: 10px !important;
  height: 36px;
}

div.friendship-button {
  margin: 8px 20px 8px 0px !important;
}

.friendship-button.not_friends {
  background-color: #ff9800 !important;
  color: #fff !important;
}

.friendship-button.pending_friend {
  background-color: #fff !important;
  color: #ff9800 !important;
}

.friendship-button.remove {
  background-color: #fff !important;
  color: #ff9800 !important;
  border: 1px solid #00000026 !important;
}

a.friendship-button.add::before {
  content: "\eef9";
  color: #fff;
  font-family: "bb-icons" !important;
  font-size: 20px;
  position: absolute;
  margin-top: 2px;
  margin-left: -25px;
  font-weight: 400;
}

.friendship-button.is_friend.remove::before {
  content: "\eed8";
  color: #fff;
  font-family: "bb-icons" !important;
  font-size: 20px;
  position: absolute;
  margin-top: 2px;
  margin-left: -25px;
  font-weight: 400;
}

a.friendship-button {
  border-radius: 10px;
  color: #fff !important;
  padding: 0px 20px !important;
  font-weight: bold;
  margin-right: 20px !important;
  border: 1px solid #cccccc73;
  background-color: #ff9800;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  min-height: 10px !important;
  height: 36px;
  padding-top: 0px !important;
  line-height: 32px !important;
}

.bp-members-list-hook .friendship-button {
  font-weight: bold;
  color: #222 !important;
  background: transparent !important;
  border: 1px solid #ff98003b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border-radius: 10px !important;
  height: 36px;
}

.bp-members-list-hook a.friendship-button.add::before {
  content: "\eef9";
  color: #ff9800;
  font-family: "bb-icons" !important;
  font-size: 20px;
  position: absolute;
  margin-top: 2px;
  margin-left: -25px;
  font-weight: 400;
  line-height: 1.6875rem !important;
}

.bp-members-list-hook a.friendship-button {
  line-height: 1.6875rem !important;
}

.friendship-button:hover {
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

a.friendship-button:hover {
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.bp-members-list-hook .friendship-button:hover {
  color: #ff9800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.bp-members-list-hook .friendship-button.is_friend.remove::before {
  content: "\eed8";
  color: #ff9800;
  font-family: "bb-icons" !important;
  font-size: 20px;
  position: absolute;
  margin-top: 2px;
  margin-left: -25px;
  font-weight: 400;
}

.bp-personal-tab.current.selected .bb-single-nav-item-point {
  color: #ff9800 !important;
  border-bottom: 2px solid #ff9800 !important;
  font-weight: bold !important;
}

nav#object-nav a:hover {
  color: #ff9800 !important;
}

.topic-icon {
  display: none;
}

.topic-item {
  border-bottom: 1px solid #00000014;
}

.kampouss-resources {
  background: var(--bb-content-background-color);
  border: 1px solid var(--bb-content-border-color);
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  flex-direction: row;
  margin: 0;
  margin-top: 0px;
  padding: 30px;
  font-size: 14px;
  line-height: 1.3575;
  border-radius: 10px !important;
  height: 100%;
  overflow: hidden;
}

/* Animation de succès */
.btn-recommend.pulse-success {
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   Compteur de recommandations
======================================== */

.recommandations-count {
  display: inline-block;
  margin-left: 12px;
  font-size: 14px;
  color: #666;
  vertical-align: middle;
}

.recommandations-count strong {
  color: #eaea34;
  font-weight: 700;
  font-size: 16px;
}

/* ========================================
   Notifications
======================================== */

.kampouss-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.5;
}

.kampouss-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.kampouss-notification.success {
  border-left: 4px solid #4caf50;
  color: #2e7d32;
}

.kampouss-notification.error {
  border-left: 4px solid #f44336;
  color: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
  .kampouss-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/**
 * ============================================
 * RÉSEAU - AVATARS CHEVAUCHÉS
 * ============================================
 */

/* Container principal */
.kampouss-network-stack {
  display: flex;
  align-items: center;
  margin: 15px 0;
  position: relative;
}

/* Chaque avatar */
.network-member-stack {
  position: relative;
  margin-left: -15px; /* Chevauchement */
  transition: all 0.3s ease;
  z-index: 1;
}

.network-member-stack:first-child {
  margin-left: 0; /* Premier avatar non décalé */
}

/* Au survol : avatar passe devant */
.network-member-stack:hover {
  z-index: 10;
  transform: translateY(-5px) scale(1.1);
}

/* Image avatar */
.member-avatar-stack {
  display: block;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid #ffe8cc;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.member-avatar-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-avatar-stack:hover {
  border-color: #ff9800;
  box-shadow: 0 4px 12px rgba(233, 191, 54, 0.3);
}

/* Badge vérifié mini */
.mini-verified-stack {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #1da1f2;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #fff;
  z-index: 2;
}

/* Avatar compteur "+X" */
.network-more .member-avatar-stack {
  background: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.count-overlay {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Tooltip au survol */
.network-member-stack[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 100;
}

.network-member-stack[data-tooltip]::after {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-disponibilite {
  cursor: not-allowed;
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Badge "À venir" */
.btn-disponibilite::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -15px;
  right: 10px;
  color: #ff9800;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  line-height: 1.4;
  letter-spacing: 0.3px;
  /* Orange */
  background: #ffe8cc;
  box-shadow: 0 2px 6px rgba(243, 156, 18, 0.4);
}

.btn-disponibilite:hover {
  transform: none !important;
}

.network-member-stack:hover::before,
.network-member-stack:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Lien "Voir tout le réseau" */
.network-view-all {
  margin-top: 15px;
  text-align: center;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f5f5f5;
  color: #333;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #2525bd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 37, 189, 0.2);
}

/* Version compacte (si besoin) */
.kampouss-network-stack.compact .member-avatar-stack {
  width: 60px;
  height: 60px;
  border-width: 2px;
}

.kampouss-network-stack.compact .network-member-stack {
  margin-left: -12px;
}

.no-friends {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 30px;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(-5px) scale(1.1) rotate(0deg);
  }
  25% {
    transform: translateY(-7px) scale(1.15) rotate(-5deg);
  }
  75% {
    transform: translateY(-7px) scale(1.15) rotate(5deg);
  }
}

.network-member-stack:hover {
  animation: wave 0.6s ease;
}

/* PROFIL */
.friend-count {
  color: #ff9800;
  font-weight: bold;
}

.kampouss-section {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 20px;
  font-size: 13px;
}

.subjects-block {
  margin-bottom: 20px;
  width: 50%;
}

.subjects-block:nth-child(1) {
  border-right: 1px solid #0000000f;
}

.subjects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.subject-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.badge-help {
  background: #e3f2fd;
}

.badge-need {
  background: #fff3e0;
}

.goal-content {
  line-height: 1.6;
}

.partners-avatars {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.partner-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partners-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.reponse-utile-text {
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbfff9 0%, #d9ffd39d 50%, #fbfff9 100%);
}

.help-text {
  padding: 6px;
  border-radius: 10px;
  background: #fdf6ee;
  color: #ff9800;
}

/* MEMBERS LIST */

#members-list {
  background: var(--bb-content-background-color);
  border-radius: 10px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
  padding: 25px;
}

#members-list.bp-list.grid .item-avatar img {
  max-width: 100px !important;
  margin-right: 10px !important;
}

#members-list .list-wrap-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.members-list .bp-member-type {
  background-color: #ffe8cc !important;
  color: #ff9800 !important;
}

#members-list .item-block {
  display: flex;
  flex-direction: column;
  align-items: start;
}

#members-list .item-entry {
  padding: 0 !important;
  max-width: 25%;
}

#members-list .list-wrap {
  border: none !important;
  padding: 10px !important;
  border-radius: 0px !important;
  border-bottom: 1px solid #0000000f !important;
  border-left: 1px solid #0000000f !important;
  overflow: hidden !important;
}

#members-list.item-list.grid.bp-list .item-avatar {
  margin: 0;
  margin-top: 10px;
}

#members-list .item {
  justify-content: center !important;
}

#members-list.item-list.grid .member-type {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

#members-list .list-title.member-name a {
  font-size: 22px;
  font-weight: bold;
}

#members-list .member-info-profile {
  font-weight: 400;
}

.buddypress-wrap .members-list li .list-wrap .last-activity {
  color: var(--bb-body-text-color) !important;
}

.bb-subnav-filters-container.bb-subnav-filters-search {
  display: none;
}

/* ==========================================================================
   4. RESPONSIVE MOBILE
   ========================================================================== */

@media (max-width: 1000px) {
  body.bbp-user-page #primary {
    padding: 0;
  }

  body #buddypress #item-header-cover-image,
  .kampouss-header-inner,
  .member-identity,
  .kampouss-member-header {
    width: 100% !important;
  }

  .kampouss-header-right {
    display: none;
  }

  .kampouss-verify {
    padding: 5px 20px;
    margin-right: 10px;
    width: fit-content;
    margin: auto;
  }

  .member-info-section {
    text-align: center;
  }

  .sujets-block {
    display: block !important;
  }

  .help-text {
    display: inline-block;
    margin-left: 0 !important;
  }

  #members-list {
    display: block !important;
  }

  #members-list .item-entry {
    max-width: 50%;
    width: 50%;
    min-width: 100px !important;
  }

  #members-list.item-list.grid.bp-list .item-avatar {
    margin-top: 0px !important;
  }

  .bb_more_options_action.bp-tooltip {
    display: none !important;
  }

  #members-list.item-list .member-name a {
    font-size: 15px !important;
  }

  #members-list .item-block {
    justify-content: center;
  }

  #members-list .list-wrap {
    padding: 25px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
  }

  #members-list.bp-list.grid .item-avatar img {
    max-width: 70px !important;
    margin-right: 10px !important;
  }

  .kampouss-header {
    display: block;
  }
  .kampouss-header-left {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-shadow: none;
  }

  .member-stats-inline {
    display: none;
  }

  #cover-image-container {
    flex-flow: row !important;
  }

  nav#object-nav ul {
    margin-left: 0;
  }

  nav#object-nav li {
    padding: 0 20px 0 0 !important;
  }

  /* Centrer la nav elle-même */
  nav.main-navs#object-nav {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* Centrer les éléments de la liste */
  nav.main-navs#object-nav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }

  /* Optionnel : espacement entre les items */
  nav.main-navs#object-nav > ul > li {
    display: flex;
    align-items: center;
  }

  .kampouss-profile-content {
    display: block;
  }

  .kampouss-section.kampouss-daily {
    width: 100%;
  }

  .kampouss-section.kampouss-right {
    width: 100%;
  }

  .kampouss-goal,
  .kampouss-network-section {
    padding: 10px;
  }

  .subjects-block {
    width: 100% !important;
  }

  .kampouss-header-right {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
  }

  .kampouss-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .kampouss-user-info h2 {
    justify-content: center;
    font-size: 24px;
  }

  .kampouss-user-meta {
    justify-content: center;
  }

  .kampouss-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-item {
    min-width: 100%;
  }

  .kampouss-profile-actions {
    flex-direction: column;
    width: 100%;
  }

  .kampouss-profile-actions button,
  .kampouss-profile-actions a {
    width: 100%;
    justify-content: center;
  }

  .member-avatar-stack {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }

  .network-member-stack {
    margin-left: -12px;
  }

  .count-overlay {
    font-size: 14px;
  }

  /* Tooltip plus compact sur mobile */
  .network-member-stack[data-tooltip]::before {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .kampouss-avatar-wrapper img {
    width: 100px;
    height: 100px;
  }

  .verified-badge svg {
    width: 20px;
    height: 20px;
  }

  .kampouss-user-info h2 {
    font-size: 20px;
  }
}

/* ==========================================================================
   5. UTILITAIRES
   ========================================================================== */

/* Masquer les éléments BuddyBoss par défaut si nécessaire */
#buddypress .item-header-cover-image .user-nicename,
#buddypress .item-header-cover-image .member-header-actions {
  display: none !important;
}

/* Assurer que le header custom prend toute la largeur */
.kampouss-profile-header-wrapper {
  width: 100%;
  max-width: 100%;
}
