
    @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: linear-gradient(135deg, #0A192F, #1E3A8A);
      color: #F9FAFB;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      
   font-family: 'Poppins', sans-serif
    }
    header {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    header h1 {
      font-size: 1.2rem;
      color: #60A5FA;
      margin: 0;
    }
    nav a {
      color:#F9FAFB; 
      margin-right:15px;
      text-decoration: none;
    }
    main {
      flex: 1;
      padding: 20px;
      overflow-y: auto;
    }
    h2 {
      margin-top: 0;
      color: #93C5FD;
    }
    .groups-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }
    .group-card {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 20px;
      transition: 0.2s;
    }
    .group-card:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    .group-card h3 {
      margin: 0 0 10px;
      color: #60A5FA;
    }
    .group-card p {
      font-size: 0.9rem;
      line-height: 1.4;
    }
    .group-card button {
      margin-top: 15px;
      background: #2563EB;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.2s;
    }
    .group-card button:hover {
      background: #1D4ED8;
    }

    
/* --- Notifications 🔔 (centrées sous le bouton) --- */
.notif-wrapper {
  position: relative;
  display: inline-block;
  z-index: 2000;
}

.notif-dropdown {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 250px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  color: #000;
  z-index: 3000;
}

/* mark all as read */
/* Bouton "Mark all as read" */
#markAllReadBtn {
  display: block;
  width: 90%;
  margin: 5px auto 8px auto;
  padding: 6px 10px;
  font-size: 0.8rem;
  background-color: #f3f4f6;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
#markAllReadBtn:hover {
  background-color: #e5e7eb;
  color: #000;
}

/* Séparateur visuel sous le bouton */
#markAllReadBtn::after {
  content: "";
  display: block;
  margin-top: 8px;
  border-bottom: 1px solid #ddd;
}


/* --- Messages 💬 (alignés à gauche du bouton) --- */
.msg-wrapper {
  position: relative;
  display: inline-block;
  z-index: 2000;
  background-color: #000 :;
}

.msg-dropdown {
  display: none;
  position: absolute;
  top: 120%;   /* un peu sous le bouton */
  left: -50px;     /* commence pile au bord gauche */
  transform: none; /* supprime tout centrage hérité */
  background: #fff;
  min-width: 250px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  color: #000;
  z-index: 3000;
}
