body {
      font-family: 'Inter', sans-serif;
      background: #f4f4f4;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0;
    }

    .boite {
      background: #fff;
      border-radius: 10px;
      padding: 36px 32px;
      width: 100%;
      max-width: 420px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    h1 {
      font-size: 18px;
      font-weight: 500;
      color: #111;
      margin: 0;
    }

    .input {
      width: 100%;
      padding: 11px 14px;
      border: 1.5px solid #ddd;
      border-radius: 7px;
      font-size: 14px;
      font-family: inherit;
      outline: none;
      transition: border-color 0.15s;
    }

    .input:focus {
      border-color: #3a6df0;
    }

    .btn-group {
      display: flex;
      gap: 10px;
    }

    button {
      flex: 1;
      padding: 11px;
      font-size: 14px;
      font-family: inherit;
      font-weight: 500;
      border: none;
      border-radius: 7px;
      cursor: pointer;
    }

    .btn-crypt {
      background: #3a6df0;
      color: #fff;
    }

    .btn-crypt:hover { background: #2a5ce0; }

    .btn-decrypt {
      background: #eef2ff;
      color: #3a6df0;
    }

    .btn-decrypt:hover { background: #dde6ff; }

    .result {
      background: #f8f8f8;
      border-radius: 7px;
      padding: 12px 14px;
      font-size: 13px;
      color: #444;
      min-height: 44px;
      word-break: break-all;
      line-height: 1.6;
    }

    .result:empty::before {
      content: "Résultat…";
      color: #bbb;
}