/* Card User - Style compact et épuré */
.user-info {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }
  
  .user-info:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
  }
  
  /* Nom utilisateur */
  .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
  }
  
  /* Container des stats */
  .user-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  /* Chaque stat */
  .stat-item {
    text-align: center;
    
    border-radius: 6px;
    background: #f9fafb;
    display: flex;
    padding: 0.5rem;
    justify-content: space-around;
    align-items: center;
  }
  
  .stat-label {
    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 500;
     
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .stat-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
  }
  
  /* Couleurs spécifiques */
  .stat-item:nth-child(1) {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: var(--secondary-light);
  }
  
  .stat-item:nth-child(1) .stat-value {
    color: var(--secondary-dark);
  }
  
  .stat-item:nth-child(2) {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: var(--accent-color);
  }
  
  .stat-item:nth-child(2) .stat-value {
    color: #d97706;
  }
  
  .stat-item:nth-child(3) {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    border-color: #a78bfa;
  }
  
  .stat-item:nth-child(3) .stat-value {
    color: #7c3aed;
  }
  
  .stat-item:nth-child(4) {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
    border-color: #67e8f9;
  }
  
  .stat-item:nth-child(4) .stat-value {
    color: #0891b2;
  }
  
  /* Animation d'apparition */
  .user-info {
    animation: fadeInUp 0.4s ease-out forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive */
  @media (max-width: 280px) {
    .user-stats {
      grid-template-columns: 1fr;
      gap: 0.4rem;
    }
    
    .user-info {
      padding: 0.75rem;
    }
  }