body {
      font-family: 'Segoe UI', Roboto, sans-serif;
      margin: 0;
      padding: 20px;
      background: #f9f9f9;
      color: #333;
    }
    h1 {
      text-align: center;
      color: #2c3e50;
    }
    #q {
      display: block;
      margin: 20px auto;
      padding: 10px 15px;
      width: 80%;
      max-width: 400px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 16px;
    }
    #container {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 20px;
      margin-top: 20px;
    }
    #list {
      list-style: none;
      padding: 0;
      margin: 0;
      max-height: 70vh;
      overflow-y: auto;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: #fff;
    }
    #list li {
      padding: 10px 15px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      transition: background 0.2s;
    }
    #list li:hover {
      background: #f0f0f0;
    }
    #details {
      padding: 20px;
      background: #fff;
      border-radius: 8px;
      border: 1px solid #ddd;
      min-height: 200px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    #details h2 {
      margin-top: 0;
      color: #2980b9;
    }
    #details p {
      background: #f8f8f8;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #e0e0e0;
    }
    #alpha-filter {
  display: flex;
  flex-wrap: wrap;       /* retour à la ligne si trop de boutons */
  justify-content: center;
  margin: 15px 0;
  gap: 6px;
  }
  #alpha-filter button {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
  }

    #alpha-filter button:hover {
      background: #2980b9 !important;
      color: white;
      border-color: black;
      font-weight: bold;
    }