/**
 * Quiniela Liga MX - Profile
 * Estilos del perfil de usuario y estadísticas
 */

/* ===== PROFILE & STATS SECTIONS ===== */
.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.profile-info h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.75rem;
}

.profile-info p {
  margin: 0.25rem 0;
  color: var(--text-secondary);
}

.profile-info .email {
  font-size: 0.875rem;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: linear-gradient(135deg, var(--bg-light), white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.stat-box .stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.stat-box .stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.weekly-stats {
  margin-top: 2rem;
}

.weekly-stats h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.stats-table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.stats-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.stats-table tbody tr:hover {
  background: var(--bg-light);
}

.stats-table .correct {
  color: var(--success);
  font-weight: 600;
}

.stats-table .bonus {
  color: var(--secondary-color);
  font-weight: 600;
}
