    body,
    html {
      font-family: Arial, sans-serif;
      background: #181a1b;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    /* Loader styles (copié d'e-maps) */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #0e0e0e;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    #loaderLogo {
      width: 200px;
      height: 200px;
      animation: zoomPop 1.5s ease-in-out;
    }

    @keyframes zoomPop {
      0% { transform: scale(0); opacity: 0; }
      50% { transform: scale(1.2); opacity: 1; }
      100% { transform: scale(1); opacity: 0; }
    }

    .main-layout {
      display: flex;
      min-height: 100vh;
    }

    .categories-bar {
      width: 180px;
      background: #202124;
      border-left: 1px solid #eee;
      padding: 24px 14px;
      box-shadow: -2px 0 8px rgba(0, 0, 0, 0.03);
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .categories-bar h3 {
      margin: 0 0 10px 0;
      font-size: 1.1rem;
      color: #00BBF0;
    }

    .categories-list {
      list-style: none;
      padding: 0;
      margin: 0 0 10px 0;
    }

    .categories-list li {
      padding: 6px 0;
      cursor: pointer;
      color: #ccc;
      border-bottom: 1px solid #333;
      transition: color 0.2s;
    }

    .categories-list li.selected {
      color: #00BBF0;
      font-weight: bold;
    }

    .add-category {
      display: flex;
      gap: 6px;
    }

    .add-category input {
      flex: 1;
      padding: 4px 6px;
      border-radius: 4px;
      border: 1px solid #444;
      font-size: 1rem;
      background: #2a2c2d;
      color: #fff;
    }

    .add-category button {
      background: #00BBF0;
      color: #fff;
      border: none;
      border-radius: 4px;
      padding: 4px 10px;
      font-size: 1rem;
      cursor: pointer;
    }

    .board {
      display: flex;
      gap: 10px;
      /* Moins d’espace entre les colonnes */
      justify-content: center;
      /* Centre les colonnes sans forcer un grand écart */
      padding: 20px;
      flex-grow: 1;
    }

    .column {
      background: #202124;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
      flex: 1;
      min-width: 220px;
      display: flex;
      flex-direction: column;
      padding: 18px 12px 12px 12px;
      max-width: 350px;
      flex: 0 0 500px;
      /* largeur fixe */
      margin: 0 70px;
      /* espace plus réduit */
    }

    .column h2 {
      text-align: center;
      color: #00BBF0;
      font-size: 1.2rem;
      margin: 0 0 12px 0;
      letter-spacing: 1px;
    }

    .task-list {
      flex: 1;
      min-height: 60px;
    }

    .task-card {
      background: #2a2c2d;
      color: #f6f8fc;
      border-radius: 8px;
      margin-bottom: 10px;
      padding: 10px;
      box-shadow: 0 1px 4px rgba(25, 118, 210, 0.1);
      display: flex;
      flex-direction: column;
      gap: 4px;
      cursor: grab;
      border: 1px solid #333;
    }

    .task-card:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(0, 191, 255, 0.15);
    }

    .task-card.dragging {
      opacity: 0.5;
    }

    .task-title {
      font-weight: bold;
      font-size: 1rem;
      color: #fff;
    }

    .task-category {
      font-size: 0.9rem;
      color: #aaa;
    }

    .task-actions {
      display: flex;
      gap: 8px;
      margin-top: 4px;
    }

    .task-actions button {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      color: #888;
      transition: color 0.2s;
    }

    .task-actions button:hover {
      color: #00BBF0;
    }

    .add-task-form {
      display: flex;
      gap: 6px;
      margin-bottom: 12px;
      justify-content: center;
      gap: 4px;
      margin-bottom: 8px;
      justify-content: center;
      font-size: 0.85rem;
    }

    .add-task-form input,
    .add-task-form select {
      padding: 6px 8px;
      border-radius: 4px;
      border: 1px solid #444;
      font-size: 1rem;
      background: #2a2c2d;
      color: #fff;
      padding: 4px 6px;
      font-size: 0.85rem;
    }

    .add-task-form button {
      background: #00BBF0;
      color: #fff;
      border: none;
      border-radius: 4px;
      padding: 6px 12px;
      font-size: 1rem;
      cursor: pointer;
      padding: 4px 8px;
      font-size: 0.85rem;
    }

    .add-task-form button:hover {
      background: #1256a3;
    }

    @media (max-width: 900px) {
      .main-layout {
        flex-direction: column-reverse;
      }

      .categories-bar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #eee;
        border-left: none;
        padding: 14px;
      }

      .categories-bar h3 {
        flex-basis: 100%;
        margin-bottom: 10px;
      }

      .categories-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .categories-list li {
        border: 1px solid #444;
        border-radius: 4px;
        padding: 4px 8px;
        background: #2c2d2e;
      }

      .add-category {
        flex: 1 1 100%;
        margin-top: 10px;
        flex-direction: column;
      }

      .add-category input,
      .add-category button {
        width: 100%;
      }

      .board {
        flex-direction: column;
        padding: 18px;
        gap: 24px;
      }

      .column {
        max-width: 100%;
        min-width: 0;
      }

      .add-task-form {
        flex-direction: column;
      }

      .add-task-form input,
      .add-task-form select,
      .add-task-form button {
        width: 100%;
      }
    }
    