<div class="dashboard-projects-container">
  <!-- En-tête Dashboard Projets -->
  <div class="dashboard-header">
    <div class="header-content">
      <div class="title-section">
        <mat-icon class="dashboard-icon">assignment</mat-icon>
        <div class="title-text">
          <h1>Dashboard Projets</h1>
          <p class="subtitle">Suivi des projets en cours</p>
        </div>
      </div>
      
      <div class="header-actions">
        <button mat-icon-button [class.active]="autoRefresh" 
                (click)="toggleAutoRefresh()" 
                matTooltip="Actualisation automatique">
          <mat-icon>{{autoRefresh ? 'sync' : 'sync_disabled'}}</mat-icon>
        </button>
        
        <button mat-stroked-button (click)="refreshProjectData()">
          <mat-icon>refresh</mat-icon>
          Actualiser
        </button>
      </div>
    </div>
  </div>

  <!-- Placeholder Content -->
  <div class="placeholder-section">
    <div class="placeholder-card">
      <mat-icon>construction</mat-icon>
      <h2>Dashboard Projets</h2>
      <p>Ce dashboard affichera les métriques et analyses des projets.</p>
      <p class="note">À implémenter selon vos besoins spécifiques.</p>
    </div>
  </div>

  <!-- Footer informatif -->
  <div class="dashboard-footer">
    <div class="footer-content">
      <div class="system-info">
        <div class="info-item">
          <mat-icon>schedule</mat-icon>
          <span>Dernière synchronisation: {{ getCurrentTime() | date:'dd/MM/yyyy HH:mm:ss' }}</span>
        </div>
        <div class="info-item">
          <mat-icon>security</mat-icon>
          <span>Données projets sécurisées</span>
        </div>
      </div>
    </div>
  </div>
</div>