 body {
      margin: 0;
      font-family: 'Inter', sans-serif;
      background-color: #f8f9fa;
      color: #212529;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    header {
      background-color: #0d1b2a;
      color: white;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    header h1 {
      margin: 0;
      font-size: 1.5rem;
      font-weight: 600;
    }
    .auth-button {
      color: white;
      background: transparent;
      border: 1px solid white;
      padding: 0.4rem 1rem;
      border-radius: 0.4rem;
      text-decoration: none;
      font-size: 0.9rem;
    }
    .auth-button:hover {
      background-color: white;
      color: #0d1b2a;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }
    .card-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .card {
      background: white;
      border-radius: 1rem;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      padding: 2rem;
      width: 300px;
      text-align: center;
      transition: transform 0.3s ease;
      margin-top: 2rem;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .card h2 {
      font-size: 1.4rem;
      margin-bottom: 1rem;
      color: #0d1b2a;
    }
    .card p {
      font-size: 0.95rem;
      color: #495057;
      margin-bottom: 1.5rem;
    }
    .card a {
      display: inline-block;
      padding: 0.6rem 1.2rem;
      border-radius: 0.5rem;
      background-color: #00b4d8;
      color: white;
      text-decoration: none;
      font-weight: 600;
    }
    .card a:hover {
      background-color: #0096c7;
    }
    .card a.disabled {
      background-color: #ced4da;
      pointer-events: none;
      cursor: default;
    }
    /* Badge tâches sur carte portail */
.badge-target { position: relative; display:inline-flex; align-items:center; gap:.5rem; }
.notif-badge {
  position: absolute; top: -8px; right: -8px;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: #ff3b30; color: #fff; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.notif-badge.overdue { background: #ff9500; } /* orange si des tâches en retard */

    footer {
      text-align: center;
      padding: 1rem;
      font-size: 0.85rem;
      color: #868e96;
    }