.stat-card {
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, outline .15s;
  }

  .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
  }

  .stat-card.active-filter {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

  .team-header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0d3b1e, #1e8449);
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(30, 132, 73, .25);
    color: #fff;
  }

  .team-initial-badge {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .18);
    font-size: 1.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .team-header-name {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .team-header-sub {
    font-size: .85rem;
    opacity: .8;
    margin-top: 3px;
  }

  .filter-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .4px;
    background: rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 3px 12px;
    margin-top: 6px;
    text-transform: uppercase;
  }

  /* Subtle pulse on active card */
  @keyframes pulse-border {
    0% {
      outline-color: rgba(255, 255, 255, 1);
    }

    50% {
      outline-color: rgba(255, 255, 255, .4);
    }

    100% {
      outline-color: rgba(255, 255, 255, 1);
    }
  }

  .stat-card.active-filter {
    animation: pulse-border 2s infinite;
  }

  .no-pending-msg {
    text-align: center;
    padding: 48px 24px;
    color: #2e7d32;
  }

  .no-pending-msg i {
    font-size: 3.5rem;
  }

  .no-pending-msg h5 {
    font-weight: 800;
    margin-top: 12px;
  }

  /* ── Table row hover ── */
  .member-row {
    transition: background .12s;
  }

  .member-row:hover {
    background: var(--green-100);
  }

  @media (max-width: 768px) {
    .team-header-bar { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
    .team-initial-badge { width: 44px; height: 44px; font-size: 1.3rem; }
    .team-header-name { font-size: 1.1rem; }
    .team-header-sub { font-size: .75rem; }
    .filter-label { font-size: .7rem; padding: 2px 10px; }
  }

  @media (max-width: 576px) {
    .no-pending-msg { padding: 32px 16px; }
    .no-pending-msg i { font-size: 2.5rem; }
    .no-pending-msg h5 { font-size: 1rem; }
  }