/* SuperAgents — superagents-home.css
 * Module : home
 * Généré depuis index.html
 */

/* ── WELCOME / HOME ─────────────────────── */
.welcome-screen {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: 32px 24px; text-align: center;
  overflow-y: auto; min-height: 0;
}
.welcome-screen h2 {
  font-size: 26px; font-weight: 800; margin-bottom: 6px;
  color: var(--zen-text);
}
.welcome-screen p {
  font-size: 14px; color: var(--zen-text-secondary); max-width: 480px;
  line-height: 1.6; margin-bottom: 24px;
}

/* ── TEAM GRID ──────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; max-width: 720px; width: 100%;
}

.team-card {
  padding: 22px 16px 16px; background: var(--zen-surface);
  border: 1px solid var(--zen-border); border-radius: 16px;
  cursor: pointer; transition: all 0.25s ease; text-align: center;
  position: relative; overflow: hidden;
}
.team-card:hover {
  border-color: var(--zen-primary); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.team-card.manager-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border: 2px solid var(--zen-primary);
  display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 18px 24px;
}
.team-card.manager-card:hover {
  box-shadow: 0 8px 28px rgba(45,212,168,0.15);
  transform: translateY(-2px);
}
.team-card.transversal-card {
  grid-column: 1 / -1;
  background: var(--zen-surface);
  border: 2px solid #26ABFF;
  display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 16px 22px;
}
.team-card.transversal-card:hover {
  box-shadow: 0 4px 16px rgba(38,171,255,0.15);
  transform: translateY(-1px);
  border-color: #26ABFF;
}
.team-card.transversal-card .team-card-avatar {
  width: 90px; height: 90px; margin: 0; flex-shrink: 0;
  border-color: var(--zen-border);
}
.team-card .transversal-badge {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; background: #26ABFF;
  color: #fff; padding: 3px 10px; border-radius: 6px;
  display: inline-block; margin-bottom: 4px;
}

.team-card-avatar {
  width: 110px; height: 110px; border-radius: 18px;
  margin: 0 auto 10px; overflow: hidden;
  border: 2px solid var(--zen-border);
  background: var(--zen-bg);
}
.team-card.manager-card .team-card-avatar {
  width: 110px; height: 110px; margin: 0; flex-shrink: 0;
  border-color: var(--zen-primary);
}
.team-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card-avatar svg { width: 100%; height: 100%; }

.team-card h4 {
  font-size: 14.5px; font-weight: 700; margin-bottom: 3px;
  color: var(--zen-text);
}
.team-card-color-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.team-card .team-card-role {
  font-size: 11.5px; color: #3A4A52; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.4; margin-bottom: 2px; letter-spacing: 0.1px;
}
.team-card .team-card-agents {
  display: flex; flex-wrap: wrap; gap: 3px; justify-content: center;
  margin-top: 8px;
}
.team-card .agent-tag {
  font-size: 9px; padding: 2px 6px; border-radius: 4px;
  background: var(--zen-bg); color: var(--zen-text-secondary);
  font-weight: 600; white-space: nowrap;
}

.team-card .manager-badge {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; background: var(--zen-primary);
  color: #fff; padding: 3px 10px; border-radius: 6px;
  display: inline-block; margin-bottom: 4px;
}

.team-card .manager-desc {
  font-size: 13px; color: var(--zen-text-secondary); line-height: 1.5;
}

.team-card-add {
  border-style: dashed !important; border-width: 2px !important;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; opacity: 0.6;
}
.team-card-add:hover { opacity: 1; }


/* ── Bouton suppression carte agent ── */
.team-card-remove {
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(239,68,68,0.4);
  color: #EF4444; font-size: 10px; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: all 0.15s ease; z-index: 10; padding: 0; line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  font-family: system-ui, sans-serif; font-weight: 600;
}
.team-card { overflow: visible; }
.team-card:hover .team-card-remove { display: flex; }
.team-card-remove:hover {
  background: #EF4444; color: #fff; border-color: #EF4444;
  transform: scale(1.15); box-shadow: 0 2px 8px rgba(239,68,68,0.4);
}
