.navbar-green {
  background: url('../images/tab.jpg') center/cover no-repeat;
}

.navbar-green .nav-link,
.navbar-green .navbar-brand,
.navbar-green .navbar-toggler-icon {
  color: #fff !important;
}

.navbar-green .navbar-toggler {
  border-color: #fff;
}

.navbar-green .navbar-toggler-icon {
  filter: invert(1);
}

/* Liens nav */
.navbar-green .nav-link {
  position: relative;
  padding: .5rem .8rem;
  transition: all .25s ease-in-out;
}

.navbar-green .nav-link:hover {
  color: #ffc107 !important;
  transform: translateY(-2px);
}

/* Icônes */
.navbar-green .nav-link i {
  font-size: 1.5rem;
  transition: all 0.25s ease;
}

.navbar-green .nav-link:active i {
  transform: scale(1.3);
  color: #ffd75f;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Tooltips */
.tooltip {
  opacity: 1 !important;
}

.tooltip .tooltip-inner {
  background: rgba(30,30,30,0.85);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 6px 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* User pill */
.user-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: .25rem .8rem;
  color: #fff;
  white-space: nowrap;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: #155724;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

.user-name {
  font-weight: 600;
}

/* Badges de rôle */
.role-badge {
  position: relative;
  font-size: .75rem;
  padding: .2rem .5rem;
  border-radius: .5rem;
  font-weight: 600;
  margin-left: .3rem;
  overflow: hidden;
}

.role-parent      { background: #28a745; color: #fff; }
.role-membre      { background: #0d6efd; color: #fff; }
.role-prof        { background: #6610f2; color: #fff; }
.role-president   { background: #ffc107; color: #1f2e1f; }
.role-vice_president { background: #fd7e14; color: #fff; }
.role-tresorier   { background: #20c997; color: #fff; }
.role-secretaire  { background: #17a2b8; color: #fff; }
.role-directeur   { background: #6f42c1; color: #fff; }
.role-admin       { background: #dc3545; color: #fff; }

/* Effet brillance dorée */
.role-badge::after {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.2) 100%);
  transform: skewX(-25deg);
  animation: shine 3.5s infinite;
}

@keyframes shine {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

.brand-frame {
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Notifications */
.notif-bell {
  position: relative;
}

.notif-bell .badge {
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 992px) {
  .user-pill {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
    text-align: center;
  }
}
