/* ===================================================
   PHL - ÉQUIPES (equipes.php)
   Dépend de phl.css (variables + base)
   =================================================== */

/* Page container */
.page-wrap{
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 16px 28px;
}

/* Titre page */
.page-wrap > h1{
  margin: 0 0 16px 0;
  font-weight: 900;
  letter-spacing: .4px;
  color: var(--phl-primary);
  text-shadow: 0 0 14px var(--phl-accent);
}

/* Bloc équipe (full width) */
.team-block{
  margin-bottom: 16px;
  background:
    radial-gradient(900px 140px at 20% 0%, rgba(255,0,184,.16), transparent 60%),
    radial-gradient(900px 140px at 85% 10%, rgba(61,220,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(21,18,40,.92), rgba(13,11,22,.92));
  border: 1px solid rgba(90,0,180,.85);
  border-radius: 16px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,0,184,.10) inset,
    0 0 18px rgba(255,0,184,.14);
}

/* Header équipe */
.team-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* Logo équipe */
.team-logo{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 0 14px rgba(255,0,184,.18);
}

/* Nom équipe */
.team-title{
  margin: 0;
  font-size: 20px;
  font-weight: 950;
  color: var(--phl-light);
  letter-spacing: .2px;
}

/* Badges (statut / cap) */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 10px rgba(0,0,0,.20);
  margin-right: 8px;
}

/* Sections */
.section-title{
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(244,244,255,.92);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Ligne décorative à gauche du titre */
.section-title::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--phl-primary);
  box-shadow: 0 0 12px var(--phl-accent);
}

/* Table roster */
.roster{
  width: 100%;
  border-collapse: collapse;
  background: rgba(15,12,28,.65);
  border: 1px solid rgba(90,0,180,.75);
  border-radius: 14px;
  overflow: hidden; /* important pour arrondis */
  box-shadow: 0 0 12px rgba(255,0,184,.10);
}

/* En-tête table */
.roster thead th{
  text-align: left;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .35px;
  color: rgba(244,244,255,.92);
  background:
    linear-gradient(90deg, rgba(90,0,180,.55), rgba(255,0,184,.10));
  border-bottom: 1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* Lignes table */
.roster tbody td{
  padding: 11px 12px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
}

.roster tbody tr:hover{
  background: rgba(255,255,255,.04);
}

/* Texte atténué */
.muted{
  opacity: .82;
}

/* Badge rôle (OWNER/GM) */
.role-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .4px;
  color: #fff;
  border: 1px solid rgba(255,0,184,.35);
  background: rgba(255,0,184,.14);
  box-shadow: 0 0 12px rgba(255,0,184,.14);
}

/* Message vide */
.team-block .muted[style*="Aucun"]{
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.20);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}

/* Responsive */
@media (max-width: 768px){
  .team-logo{
    width: 46px;
    height: 46px;
  }
  .team-title{
    font-size: 18px;
  }
  .roster thead th,
  .roster tbody td{
    padding: 10px 10px;
  }
}

@media (max-width: 520px){
  /* Sur mobile, on réduit un peu les colonnes */
  .roster thead th{
    font-size: 12px;
  }
  .roster tbody td{
    font-size: 13px;
  }
  .pill{
    margin-top: 6px;
    margin-right: 6px;
  }
  .team-head{
    align-items: flex-start;
  }
}
