/* ===== FASE 1 — Teambuilding ===== */

.fase-content {
  width: 100%;
}

/* Secciones de tarea */
.task-section {
  margin-bottom: 3rem;
}

.task-section > h2 {
  color: var(--color-primary-light);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Grid vertical de tarjetas */
.task-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Tarjeta de tarea */
.task-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}

.task-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(123, 108, 246, 0.2);
}

.task-card h3 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.task-card h4 {
  color: var(--color-accent);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.task-card p {
  font-size: 1rem;
  line-height: 1.75;
}

/* Imagen de competencias (radar chart) */
.competencias-img {
  max-width: 400px;
  margin: 1.5rem auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

/* Logo del equipo */
.logo-equipo {
  max-width: 360px;
  margin: 1rem 0;
  border-radius: var(--border-radius-sm);
}

/* Miembros con highlight */
.member-highlight {
  color: var(--color-accent);
  font-weight: 600;
}

.member-me {
  color: var(--color-primary-light);
  font-weight: 700;
}

/* Detalle de identidad */
.identity-detail {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.identity-detail h4 {
  margin-top: 0;
}

.identity-detail p {
  margin-bottom: 0.5rem;
}

.identity-detail p:last-child {
  margin-bottom: 0;
}

/* ===== Tabla de conocimientos previos ===== */
.table-container table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.table-container th {
  background-color: rgba(123, 108, 246, 0.12);
  font-family: var(--font-heading);
  color: var(--color-primary-light);
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}

.table-container td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(42, 47, 74, 0.5);
  font-size: 0.95rem;
}

.table-container tbody tr:hover td {
  background-color: rgba(123, 108, 246, 0.04);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .task-card {
    padding: 1.5rem 1.25rem;
  }

  .competencias-img {
    max-width: 100%;
  }

  .logo-equipo {
    max-width: 100%;
  }
}
